Internal/External DataGrid (get CHKBX Value when clicked)

B

BTHOMASinOHIO

I have fumbled around with this for a couple of days and have decided
to ask for help now.

I have an ASPX Page (webpage) with a DataGrid on it that will be used
for internal and external customers.

If the User is Internal,
- I need to capture the Checkbox Clicked event and send an update
statement to the DB which saves when Checked or Unchecked. I
understand that this will will be in the code behind as the page will
have to post to the db and save the value. I added an "OnClicked"
event to the Check box and it fires, but can't figure out how to get
the row ("e." ??) and Value??

If the User is External,
- I need to leave the checkbox as is was (as the external users can
not change the values of checkboxes). Since it is ugly when the
checkbox is not enabled, I plan on having the check box enabled, but
have JSCRIPT that will capture the Checkbox value and set it right
back to the value taken. Since this is JSCRIPT, it won't have to hit
the DB/or post back and will just look like it isn't changable (as it
is not to them). Anyone willing to help with the JSCRIPT Code?

Thanks
BTHOMAS
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,051
Latest member
CarleyMcCr

Latest Threads

Top