Re: Accessing dynamically created controls from code-behind
From: avnrao (avn_at_newsgroups.com)
Date: 05/06/04
- Next message: Miguel Dias Moura: "Re: Show 4 Records that occur more often...and how often they occur."
- Previous message: clintonG: "Re: HttpStatusCode Enumerations..."
- In reply to: Steve Black: "Accessing dynamically created controls from code-behind"
- Next in thread: Steve Black: "Re: Accessing dynamically created controls from code-behind"
- Reply: Steve Black: "Re: Accessing dynamically created controls from code-behind"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 6 May 2004 20:11:57 +0530
You can use Request.Form["controlName"] to access them. this is for just
reading the value.
Av.
"Steve Black" <Steve_Black@EagleCCI.com> wrote in message
news:7da91665.0405060619.3143c6ef@posting.google.com...
> Hello,
>
> I am dynamically creating checkboxes on my web page based on data in a
> SQL Server table. Therefore, these checkboxes do not exist at design
> time and I cannot refer to them in my server-side code at design time.
>
> Once the page is submitted, how can I access these checkboxes in my
> code-behind?
>
> Thanks for the help,
>
> Steve
- Next message: Miguel Dias Moura: "Re: Show 4 Records that occur more often...and how often they occur."
- Previous message: clintonG: "Re: HttpStatusCode Enumerations..."
- In reply to: Steve Black: "Accessing dynamically created controls from code-behind"
- Next in thread: Steve Black: "Re: Accessing dynamically created controls from code-behind"
- Reply: Steve Black: "Re: Accessing dynamically created controls from code-behind"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|