Click here to Skip to main content
16,004,887 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: how to store values to tables.... Pin
Member 387988124-May-07 18:40
Member 387988124-May-07 18:40 
GeneralRe: how to store values to tables.... [modified] Pin
N a v a n e e t h24-May-07 20:12
N a v a n e e t h24-May-07 20:12 
GeneralRe: how to store values to tables.... Pin
Member 387988124-May-07 20:18
Member 387988124-May-07 20:18 
GeneralRe: how to store values to tables.... Pin
N a v a n e e t h24-May-07 20:35
N a v a n e e t h24-May-07 20:35 
GeneralRe: how to store values to tables.... Pin
Member 387988124-May-07 22:38
Member 387988124-May-07 22:38 
Questionhow to get value selected in templatefiled of gridview Pin
mohd imran abdul aziz24-May-07 17:28
mohd imran abdul aziz24-May-07 17:28 
AnswerRe: how to get value selected in templatefiled of gridview Pin
Member 387988124-May-07 17:52
Member 387988124-May-07 17:52 
QuestionList of Controls--why does this work? Pin
Bob Vila24-May-07 12:50
Bob Vila24-May-07 12:50 
Hello all. Can anyone tell me why this works?

I dynamically create a bunch of Dropdownlists, and every time I do I add them by this.Controls.Add(), but I also add them to a Page.List<dropdownlist> that I made. This is all within Page_Load. I was trying to figure out a way to check the SelectedIndex of each list after Postback.

So after postback, all the dropdownlists stored in my List actually contain accurate SelectedIndex values. How can this be? My List only contains copies of my dropdownlist objects right? And I built the List before their view states should have been updated. Am I missing something?

So basically this works like I wanted, but I don't know why Smile | :)
Thanks!
John
AnswerRe: List of Controls--why does this work? Pin
kubben24-May-07 14:10
kubben24-May-07 14:10 
GeneralRe: List of Controls--why does this work? Pin
Bob Vila24-May-07 18:45
Bob Vila24-May-07 18:45 
GeneralRe: List of Controls--why does this work? Pin
kubben25-May-07 1:38
kubben25-May-07 1:38 
QuestionBeginner question - HTML tags in database? Pin
scottnkerr24-May-07 11:23
scottnkerr24-May-07 11:23 
Questionfiles on a linux box? Pin
MaryAnne24-May-07 9:21
MaryAnne24-May-07 9:21 
AnswerRe: files on a linux box? Pin
eggsovereasy24-May-07 10:22
eggsovereasy24-May-07 10:22 
GeneralRe: files on a linux box? Pin
MaryAnne25-May-07 3:53
MaryAnne25-May-07 3:53 
GeneralRe: files on a linux box? Pin
eggsovereasy25-May-07 5:22
eggsovereasy25-May-07 5:22 
GeneralRe: files on a linux box? Pin
MaryAnne25-May-07 6:18
MaryAnne25-May-07 6:18 
AnswerRe: files on a linux box? Pin
Vasudevan Deepak Kumar24-May-07 22:15
Vasudevan Deepak Kumar24-May-07 22:15 
GeneralRe: files on a linux box? Pin
MaryAnne25-May-07 3:55
MaryAnne25-May-07 3:55 
Questionminimize SSL Pin
KBTibbs24-May-07 7:46
KBTibbs24-May-07 7:46 
AnswerRe: minimize SSL Pin
KBTibbs4-Jun-07 13:50
KBTibbs4-Jun-07 13:50 
QuestionRetrieving Windows Login Pin
robw188824-May-07 5:42
robw188824-May-07 5:42 
AnswerRe: Retrieving Windows Login Pin
Not Active24-May-07 8:30
mentorNot Active24-May-07 8:30 
AnswerRe: Retrieving Windows Login Pin
kiran kumar[Intelligroup]24-May-07 19:14
kiran kumar[Intelligroup]24-May-07 19:14 
AnswerRe: Retrieving Windows Login Pin
Vasudevan Deepak Kumar24-May-07 22:17
Vasudevan Deepak Kumar24-May-07 22:17 

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.