469,085 Members | 1,020 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,085 developers. It's quick & easy.

Runtime Datagrids and checkbox selections

Hi,
I am stuck at a problem for 3 days now. I create runtime datagrids
depending on the user selections and they may vary from 2-10 depending
on user selection at runtime. The datagrids are created in a loop at
runtime and I assign IDs as DG0, DG1...and so on in the loop itself.
The datagrid has a template column created at runtime with checkboxes.
They may vary from 3-7 varying from datagrid to datagrid. Once that is
done and i have been able to do it, the user further selects some
checkboxes and these values need to be used for further data
generation. Now my problem is -
In a normal datagrid (non-runtime), I can check the checkbox selection
using the ID of the datagrid. But in my case, I dont have a datagrid
ID until runtime. How can I then write a procedure to see what all
user selections has been made.
Please help!!! I am going crazy!
Nov 18 '05 #1
1 1182
I'm not sure I understand your question, but the answer may lie in the
"ClientID" property, whicih will tell you the client side ID assocaited with
a server control.

I may not be understand what you're trying to do.

--
Corey O'Mara
MCSD.NET, MCT

"DJ Dev" <ri*********@icn.siemens.com> wrote in message
news:11**************************@posting.google.c om...
Hi,
I am stuck at a problem for 3 days now. I create runtime datagrids
depending on the user selections and they may vary from 2-10 depending
on user selection at runtime. The datagrids are created in a loop at
runtime and I assign IDs as DG0, DG1...and so on in the loop itself.
The datagrid has a template column created at runtime with checkboxes.
They may vary from 3-7 varying from datagrid to datagrid. Once that is
done and i have been able to do it, the user further selects some
checkboxes and these values need to be used for further data
generation. Now my problem is -
In a normal datagrid (non-runtime), I can check the checkbox selection
using the ID of the datagrid. But in my case, I dont have a datagrid
ID until runtime. How can I then write a procedure to see what all
user selections has been made.
Please help!!! I am going crazy!

Nov 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by RelaxoRy | last post: by
reply views Thread by claudel | last post: by
1 post views Thread by Jo | last post: by
reply views Thread by Fresh Air Rider | last post: by
reply views Thread by Sebi | last post: by
7 posts views Thread by DJ Dev | last post: by
3 posts views Thread by Randy Rubin | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by kglaser89 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.