Click here to Skip to main content
15,895,142 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: pdf format Pin
N a v a n e e t h18-Sep-08 19:39
N a v a n e e t h18-Sep-08 19:39 
QuestionHow to Assign an image to Image control at Run time in ASP.NET Pin
salman_syed_0118-Sep-08 17:41
salman_syed_0118-Sep-08 17:41 
AnswerRe: How to Assign an image to Image control at Run time in ASP.NET Pin
Rocky#18-Sep-08 17:47
Rocky#18-Sep-08 17:47 
AnswerRe: How to Assign an image to Image control at Run time in ASP.NET Pin
Mohammad Al Hoss18-Sep-08 22:55
Mohammad Al Hoss18-Sep-08 22:55 
Questionpass query string............. Pin
ani_ikram18-Sep-08 16:53
ani_ikram18-Sep-08 16:53 
AnswerRe: pass query string............. Pin
Blue_Boy18-Sep-08 22:28
Blue_Boy18-Sep-08 22:28 
QuestionExport many pictures into a word document without DCOM ? Pin
clampid118-Sep-08 15:08
clampid118-Sep-08 15:08 
QuestionViewState and Enabled property in a textb Pin
allende18-Sep-08 8:42
allende18-Sep-08 8:42 
HI friends,

I have a web form with several controls I'm posting to a database. For two of them(textboxes) I'm looking up the values using a popop window, so the user cannot edit the actual textboxes values, they have to go through the lookup process, which populates the controls.

What is happening is that everytime I set the readonly=true or the enabled=false for these textboxes, the ViewState seems to not store their corrent values.

In both cases when I do the postback and the page comes back, the control shows up the the previous value, not the one I posted back with the page otherwise it will show the correct value(readonly = false; enabled = true)

This is the asp.net code for the textboxes:
<asp:textbox runat="server" id="txtSentBy" enabled="False" xmlns:asp="#unknown">


Any idea on this?
AnswerRe: ViewState and Enabled property in a textb Pin
Sandeep Akhare18-Sep-08 19:47
Sandeep Akhare18-Sep-08 19:47 
QuestionSet the connectionString for the sessionState element in web.config Pin
AlexeiXX318-Sep-08 7:57
AlexeiXX318-Sep-08 7:57 
Questionautosuggest textboxes Pin
enthusiastic47718-Sep-08 7:09
enthusiastic47718-Sep-08 7:09 
AnswerRe: autosuggest textboxes Pin
N a v a n e e t h18-Sep-08 7:16
N a v a n e e t h18-Sep-08 7:16 
Questionmvc preview - how can I validate which release I am using? Pin
Member 391904918-Sep-08 7:05
Member 391904918-Sep-08 7:05 
QuestionUsing AD to authenticate user on a website Pin
mlbrown18-Sep-08 6:42
mlbrown18-Sep-08 6:42 
QuestionProblems using DetailsView Pin
RJLuppino18-Sep-08 6:01
RJLuppino18-Sep-08 6:01 
QuestionRuntime error and compile time error? Pin
Aslesh18-Sep-08 5:44
Aslesh18-Sep-08 5:44 
AnswerRe: Runtime error and compile time error? Pin
Paul Conrad18-Sep-08 6:00
professionalPaul Conrad18-Sep-08 6:00 
GeneralRe: Runtime error and compile time error? Pin
Aslesh18-Sep-08 6:04
Aslesh18-Sep-08 6:04 
GeneralRe: Runtime error and compile time error? Pin
Paul Conrad18-Sep-08 6:07
professionalPaul Conrad18-Sep-08 6:07 
GeneralRe: Runtime error and compile time error? Pin
Aslesh18-Sep-08 6:09
Aslesh18-Sep-08 6:09 
GeneralRe: Runtime error and compile time error? Pin
Aslesh18-Sep-08 7:11
Aslesh18-Sep-08 7:11 
GeneralRe: Runtime error and compile time error? Pin
Paul Conrad18-Sep-08 10:11
professionalPaul Conrad18-Sep-08 10:11 
Questionımagebutton focus problem Pin
enginakkoca118-Sep-08 4:50
enginakkoca118-Sep-08 4:50 
Questionautomatically select tree node Pin
NikoTanghe18-Sep-08 4:07
NikoTanghe18-Sep-08 4:07 
AnswerRe: automatically select tree node Pin
eyeseetee18-Sep-08 4:32
eyeseetee18-Sep-08 4:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.