DataGrid ShowFooter Routine

Discussion in 'ASP .Net Web Controls' started by Jon Turner, Oct 10, 2003.

  1. Jon Turner

    Jon Turner Guest

    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("MyDropDownList")

    End Sub


    Many Thanks
    Jon Turner, Oct 10, 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. D. Shane Fowlkes

    just tinkering with a Sub Routine in ASP.NET

    D. Shane Fowlkes, Nov 12, 2003, in forum: ASP .Net
    Replies:
    5
    Views:
    424
    Scott M.
    Nov 13, 2003
  2. Chris S
    Replies:
    0
    Views:
    463
    Chris S
    Apr 6, 2006
  3. Nick C

    Showfooter not working?

    Nick C, Feb 2, 2007, in forum: ASP .Net
    Replies:
    1
    Views:
    503
    =?Utf-8?B?TWlsb3N6IFNrYWxlY2tpIFtNQ0FEXQ==?=
    Feb 2, 2007
  4. Bren Besser

    Where to set "ShowFooter" attribute

    Bren Besser, Jun 23, 2005, in forum: ASP .Net Datagrid Control
    Replies:
    1
    Views:
    95
    Bren Besser
    Jun 25, 2005
  5. PatLaf

    AspNet DataGrid won't fire sort routine

    PatLaf, Oct 29, 2003, in forum: ASP .Net Web Controls
    Replies:
    4
    Views:
    171
    Alvin Bruney
    Oct 30, 2003
Loading...

Share This Page