![]() |
|
|
|||||||
![]() |
General Help Related Topics - Disable ASP Button in a Datagrid |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
Hi all,
I am trying to restrict users from clicking on a submit button more then once in a datagrid. I have found code on the internet which disables a button with post back, so once it is clicked, it is disabled and an event postback is sent to fire off the remaining processes. The code i tried this with is (put in the OnInit section): aButton.Attributes.Add("onclick","javascript:this. disabled=true;" + this.GetPostBackEventReference(aButton)); Which works fine with a button... When i try to implement this into a Datagrid, the closest result i have achieved is to have the whole datagrid disabled but then the processes wont fire off... Please help if you can... Thanks in advance Code Gurus Chris ChrisClayko |
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Loading 24,000 rows into C# .net Datagrid | Kagu | Software | 0 | 03-10-2009 06:51 PM |
| RadioButtonList in a DataGrid | sathyanarayanan_v04 | Software | 0 | 06-25-2007 08:06 PM |
| How do find out if a button was clicked before the textchanged event of textbox fires | Jack | General Help Related Topics | 0 | 10-27-2006 10:19 AM |
| Re: Faulty PC power button | WinXP_Powered | A+ Certification | 5 | 03-09-2006 07:51 AM |
| Re: Faulty PC power button | Christopher Range | A+ Certification | 0 | 02-25-2006 12:02 AM |