Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Datagrid Control > Custom DataGrid: Multiple ID's

Reply
Thread Tools

Custom DataGrid: Multiple ID's

 
 
Haider
Guest
Posts: n/a
 
      08-20-2003
I am making a custom DataGrid, that i inherit from DataGrid. The
custom DataGrid is customized to be editable, so there is always an
edit column. The Grid has methods to add editable columns easily...I
have no problem getting the new columns on the page, nor do i have a
problem seeing the correct data after it binds. I also do not have a
problem clicking the edit button and seeing the columns turn into
textboxes. My problem is if i click edit on a row, then cancel, then
click edit once again, then cancel, it will shoot up an error saying:

Multiple controls with the same ID '_ctl2' were found. FindControl
requires that controls have unique IDs.


If anyone can help, it would be most appreciated

haider
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom control within repeater with custom object binding - .net 1 =?Utf-8?B?SmF5YnVmZmV0?= ASP .Net 9 02-21-2006 03:38 AM
Custom html output with custom server control DKode ASP .Net 4 11-07-2005 12:40 PM
Databinding to custom properties of a custom class in ASP.NET 2 =?Utf-8?B?SW1hciBTcGFhbmphYXJz?= ASP .Net 0 04-20-2005 07:34 PM
Capturing event from other custom control within another custom control Jonah Olsson ASP .Net 1 04-05-2005 01:39 PM
Question: Invoking custom file type (file associated with custom app) VB Programmer ASP .Net 1 11-03-2003 11:49 PM



Advertisments