List Info

Thread: Accessing Client Side Variables




Accessing Client Side Variables
user name
2007-03-07 10:17:04
 
I'm creating a Gridview with a checkbox next to each record.
 I'm grabbing
each unique checkbox value on the client side using
javascript and then
putting this value into a label control. 

I need to access these values in my label
control(lblCompIDList) in a block
of ASP.NET code.  I know this can be done on the server side
but I need to
do it on the client end.  Is this going to be possible? 
Thanks.

 
Javascript:
document.getElementById('lblCompIDList').innerHTML =
list.substring(1); 

ASP:
cmdInsert.Parameters.Add("CompID",
SqlDbType.VarChar).Value =
lblCompIDList.Text



Need SQL Advice? http://sqladvice.com
Need RegEx Advice? http://regexadvice.com
Need XML Advice? http://xmladvice.com

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )