Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Datagrid Control > textbox inside datagrid control

Reply
Thread Tools

textbox inside datagrid control

 
 
Calvin
Guest
Posts: n/a
 
      10-23-2003
I am writing a datagrid and group by the first column, just like the example
showing at
http://groups.google.com/groups?hl=e...phx.gbl&rnum=5

My code is very similar to the example above. Moreover, I have textboxes on
columns 3, 4 and 5 in the datagrid. I attached an onTextchanged event to the
textbox so that everything changed in the textbox will be triggered and keep
the datatable up to dated.
This method works fine if I don't do any grouping on itemdatabound. However,
if I do grouping just like in the example, remove the cell and add rowspan
on the first column, there is incorrect fired textchanged event on the
textbox. For example, I changed value in 1 textbox only and so I expect the
ontextchanged event fired once only. Actually, it doesn't and it fired many
times which is expected.
Anyone can tell me why?

Even though I tried to write a derived textbox control and bubble up the
textchanged event to the datagrid, the result is the same.
Thanks.


 
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
not declared error- control inside a control inside a webform DC Gringo ASP .Net 4 12-17-2007 02:22 AM
Accessing USER CONTROL which is inside Masterpagethrough Another USER Control inside normal page. Kiran More ASP .Net Web Controls 2 11-14-2006 12:58 PM
Access a control inside an usercontrol from another control inside another usercontrol nail ASP .Net 0 09-15-2004 03:55 PM
not declared error- control inside a control inside a webform DC Gringo ASP .Net Web Controls 3 09-14-2004 09:29 PM
Re: VERY STRANGE BUG? Adding a textbox control causes other textbox control to fail??? S. Justin Gengo ASP .Net 0 07-16-2003 06:51 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57