Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > DataGrid ShowFooter Routine

Reply
Thread Tools

DataGrid ShowFooter Routine

 
 
Jon Turner
Guest
Posts: n/a
 
      10-10-2003
I am trying to set focus to a listbox control within the DataGrid when they
select Add. How do I find the control or ItemIndex of where the new row
will inserted, or is there another event that the DataGrid will throw that I
can tap into.

Dim dg as DataGrid

Sub AddNewElement

Dim lBox as DropDownList

dg.ShowFooter
lBox = dtgCharges.Items(????).Cells(1).FindControl("MyDro pDownList")

End Sub


Many 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
Showfooter not working? Nick C ASP .Net 1 02-02-2007 02:16 PM
Validator in Footer Causing Javascript Error (with ShowFooter) Chris S ASP .Net 0 04-06-2006 01:41 PM
Received non-routine Notify message: Invalid ID info f.pusch@klopotek.de Cisco 2 08-22-2005 09:35 AM
Where to set "ShowFooter" attribute Bren Besser ASP .Net Datagrid Control 1 06-25-2005 07:53 PM
AspNet DataGrid won't fire sort routine PatLaf ASP .Net Web Controls 4 10-30-2003 05:26 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