is there a way to raise this event

Discussion in 'ASP .Net' started by =?Utf-8?B?cm9kY2hhcg==?=, Oct 16, 2006.

  1. hey all,
    i have an add button inside the EmptyDataTemplate of my gridView. Is there
    any way to run that event manually in the code-behind? instead of the user
    actually clicking on the button itself

    thanks,
    rodchar
     
    =?Utf-8?B?cm9kY2hhcg==?=, Oct 16, 2006
    #1
    1. Advertising

  2. just call the handler routine. pass the button as source, null as arg.

    -- bruce (sqlwork.com)

    "rodchar" <> wrote in message
    news:...
    > hey all,
    > i have an add button inside the EmptyDataTemplate of my gridView. Is there
    > any way to run that event manually in the code-behind? instead of the user
    > actually clicking on the button itself
    >
    > thanks,
    > rodchar
     
    bruce barker \(sqlwork.com\), Oct 16, 2006
    #2
    1. Advertising

  3. so when you drag a button onto the designer and it's called button1 by
    default, you're saying pass Me.Button1 as the button source?


    "bruce barker (sqlwork.com)" wrote:

    > just call the handler routine. pass the button as source, null as arg.
    >
    > -- bruce (sqlwork.com)
    >
    > "rodchar" <> wrote in message
    > news:...
    > > hey all,
    > > i have an add button inside the EmptyDataTemplate of my gridView. Is there
    > > any way to run that event manually in the code-behind? instead of the user
    > > actually clicking on the button itself
    > >
    > > thanks,
    > > rodchar

    >
    >
    >
     
    =?Utf-8?B?cm9kY2hhcg==?=, Oct 17, 2006
    #3
    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. Thanh Nguyen
    Replies:
    0
    Views:
    447
    Thanh Nguyen
    Apr 1, 2004
  2. Jacol

    raise or not to raise [Newbie]

    Jacol, Feb 3, 2007, in forum: Python
    Replies:
    5
    Views:
    409
    Gabriel Genellina
    Feb 5, 2007
  3. ernest
    Replies:
    2
    Views:
    294
    Roy Smith
    Nov 14, 2010
  4. Jack Bates
    Replies:
    0
    Views:
    281
    Jack Bates
    May 2, 2011
  5. bvdp

    Raise X or Raise X()?

    bvdp, Mar 11, 2012, in forum: Python
    Replies:
    10
    Views:
    371
    Stefan Behnel
    Mar 12, 2012
Loading...

Share This Page