Run subroutine using UpdatePanel

Discussion in 'ASP .Net' started by DavidC, Feb 14, 2010.

  1. DavidC

    DavidC Guest

    I have a FormView that is inside an UpdatePanel that I use for inserting new
    records. However, when the ItemInserted runs it calls a code-behind page that
    contains code to set the dropdown and default values in preparation for
    additional new records. See the code below. The NewTrans() subroutine is not
    firing. How can I make it run? Thanks


    Protected Sub fvIncExpTrans_ItemInserted(ByVal sender As Object, ByVal e
    As System.Web.UI.WebControls.FormViewInsertedEventArgs) Handles
    fvIncExpTrans.ItemInserted
    NewTrans()
    lvIncExpTrans.DataBind()
    End Sub


    --
    David
    DavidC, Feb 14, 2010
    #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. Replies:
    0
    Views:
    529
  2. Replies:
    3
    Views:
    479
    Rob Meade
    Aug 8, 2007
  3. Nathan Sokalski
    Replies:
    1
    Views:
    588
    miher
    Jun 15, 2009
  4. king
    Replies:
    5
    Views:
    184
  5. Replies:
    2
    Views:
    271
Loading...

Share This Page