473,385 Members | 1,856 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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 1295
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: RelaxoRy | last post by:
Reposted (not sure if got sent) I have results being displayed each with its own checkbox name "selected" and value "id". When someone checks a checkbox, and then continues to page through...
0
by: claudel | last post by:
Hi I have a newb PHP/Javascript question regarding checkbox processing I'm not sure which area it falls into so I crossposted to comp.lang.php and comp.lang.javascript. I'm trying to...
1
by: Jo | last post by:
Hi, I've tried the suggested solution but I'm still getting the same error. It seems that once the page postback is envoked the checkbox control is removed from the datagrid so all my changes...
0
by: Fresh Air Rider | last post by:
I am having trouble getting checkboxes to work within Repeaters and DataGrids I have tried to access the value of each checkbox within a repeater which has been ticked as follows :- string...
0
by: Sebi | last post by:
Hello All, I'm having problems, reading the new Values from CheckBox in a DataGrid. my Code Behind is C# I do exactly what other samples do, but I allways get the Initial Values instead of...
7
by: DJ Dev | last post by:
Hi All, I have a complex problem. I have dropdownlists (usually 3-5) and the user selects some value from these and for each value selected, datagrids are shown to the user. I am creating the...
0
by: Scott P. | last post by:
I'm creating an app using ASP .NET (my second app so bear with me here) that basically builds a PDF file based on a bunch of user selections. I have a page which displays a series of checkboxs...
3
by: Randy Rubin | last post by:
Here is what I'm trying to do. I need the user to make multiple row selections, either using a checkbox column or selecting Multiple Rows from the DataGrid. Is there a way to do this and if so...
3
by: delram | last post by:
I'm trying to get user selections (using checkboxes) on one JSP page(A.jsp) and pass them on to another page. So I have one page with a list of dynamically populated items like this 1 2 ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.