Custom DataGrid: Multiple ID's

Discussion in 'ASP .Net Datagrid Control' started by Haider, Aug 20, 2003.

  1. Haider

    Haider Guest

    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
     
    Haider, Aug 20, 2003
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. VB Programmer
    Replies:
    1
    Views:
    397
    Axel Dahmen
    Nov 3, 2003
  2. Jonah Olsson
    Replies:
    1
    Views:
    577
    Scott Allen
    Apr 5, 2005
  3. =?Utf-8?B?SW1hciBTcGFhbmphYXJz?=

    Databinding to custom properties of a custom class in ASP.NET 2

    =?Utf-8?B?SW1hciBTcGFhbmphYXJz?=, Apr 20, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    591
    =?Utf-8?B?SW1hciBTcGFhbmphYXJz?=
    Apr 20, 2005
  4. Andreas Klemt
    Replies:
    0
    Views:
    303
    Andreas Klemt
    Oct 8, 2003
  5. Terry Holland
    Replies:
    9
    Views:
    215
    Steven Cheng[MSFT]
    Oct 28, 2005
Loading...

Share This Page