Click here to Skip to main content
15,900,110 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionHi - Why does the javascript in this asp.net tutorial not work in firefox 3? Pin
hardboy11126-May-09 7:11
hardboy11126-May-09 7:11 
AnswerRe: Hi - Why does the javascript in this asp.net tutorial not work in firefox 3? Pin
sarang_k26-May-09 16:42
sarang_k26-May-09 16:42 
Questiondesigner generated hidden code Pin
bolly-8126-May-09 6:54
bolly-8126-May-09 6:54 
AnswerRe: designer generated hidden code Pin
Manas Bhardwaj26-May-09 10:34
professionalManas Bhardwaj26-May-09 10:34 
Questiongridview binding Pin
jainiraj26-May-09 6:51
jainiraj26-May-09 6:51 
AnswerRe: gridview binding Pin
Tuwing.Sabado26-May-09 15:37
Tuwing.Sabado26-May-09 15:37 
GeneralRe: gridview binding Pin
jainiraj26-May-09 18:07
jainiraj26-May-09 18:07 
QuestionCompositeControl with dynamic controls Pin
cgreathouse26-May-09 5:40
cgreathouse26-May-09 5:40 
I have a class that inherits from CompositeControl that dynamically creates controls at runtime (typically 2-5 DropDownList controls). All of the control creation is happening in CreateChildControls().

When a page using that control first loads everything is correct. However, after the selected index is not being remembered. It doesn't matter what is selected in the DropDownList controls, SeletedItem or SelectedValue is always the first item in the control.

I then found some posting that said AutoPostBack needs to be set on the DropDownList Controls and that a check for IsPostBack needed to be put in CreateChildControls(). I did that but when a new item in any of the DropDownList controls was selected, all of the DropDownList controls were empty.

I then saw something that said for the ViewState to be preserved, the DropDownList control must first be added (i.e. Controls.Add()) and then load the control. That didn't help either.

Has anyone done anything like this before? Any guidance and how to get this thing to work?

Thanks!
QuestionHow to concate various controls data into a TextBox Pin
Pawan Kiran26-May-09 5:27
Pawan Kiran26-May-09 5:27 
AnswerRe: How to concate various controls data into a TextBox Pin
Manas Bhardwaj26-May-09 10:39
professionalManas Bhardwaj26-May-09 10:39 
GeneralRe: How to concate various controls data into a TextBox Pin
Pawan Kiran27-May-09 0:28
Pawan Kiran27-May-09 0:28 
AnswerRe: How to concate various controls data into a TextBox Pin
Tuwing.Sabado26-May-09 15:47
Tuwing.Sabado26-May-09 15:47 
QuestionWeb Crystal Report from NT Current Event Log Pin
Yakimo26-May-09 4:31
Yakimo26-May-09 4:31 
Questionhow to use the share assembly in the .net Pin
lakshmichawala26-May-09 3:08
lakshmichawala26-May-09 3:08 
AnswerRe: how to use the share assembly in the .net Pin
Manas Bhardwaj26-May-09 3:41
professionalManas Bhardwaj26-May-09 3:41 
QuestionNot a valid virtual path Pin
samerh26-May-09 3:03
samerh26-May-09 3:03 
AnswerRe: Not a valid virtual path Pin
Herman<T>.Instance26-May-09 4:22
Herman<T>.Instance26-May-09 4:22 
GeneralRe: Not a valid virtual path Pin
samerh26-May-09 18:35
samerh26-May-09 18:35 
GeneralRe: Not a valid virtual path Pin
Herman<T>.Instance26-May-09 19:44
Herman<T>.Instance26-May-09 19:44 
GeneralRe: Not a valid virtual path Pin
samerh26-May-09 19:52
samerh26-May-09 19:52 
GeneralRe: Not a valid virtual path Pin
Herman<T>.Instance26-May-09 19:54
Herman<T>.Instance26-May-09 19:54 
GeneralRe: Not a valid virtual path Pin
Herman<T>.Instance26-May-09 20:09
Herman<T>.Instance26-May-09 20:09 
GeneralRe: Not a valid virtual path Pin
samerh26-May-09 20:29
samerh26-May-09 20:29 
GeneralRe: Not a valid virtual path Pin
Herman<T>.Instance26-May-09 20:31
Herman<T>.Instance26-May-09 20:31 
GeneralRe: Not a valid virtual path Pin
samerh26-May-09 22:10
samerh26-May-09 22:10 

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.