Raise Event

Discussion in 'ASP .Net' started by shapper, Oct 25, 2007.

  1. shapper

    shapper Guest

    Hello,

    I am creating a web user control that contains a link button.
    I need to raise an event from my web control and send a argument when
    the link button is clicked.

    How can I do this?

    Thanks,
    Miguel
    shapper, Oct 25, 2007
    #1
    1. Advertising

  2. The Button Controls has a property called CommandArguments.
    You can store your value in the same.

    Inside the event method use its 1st argument to retrieve the linkbutton
    object and then call CommandArguments property to get the value.

    - JIGNESH

    "shapper" wrote:

    > Hello,
    >
    > I am creating a web user control that contains a link button.
    > I need to raise an event from my web control and send a argument when
    > the link button is clicked.
    >
    > How can I do this?
    >
    > Thanks,
    > Miguel
    >
    >
    =?Utf-8?B?SklHTkVTSA==?=, Oct 25, 2007
    #2
    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:
    442
    Thanh Nguyen
    Apr 1, 2004
  2. Jacol

    raise or not to raise [Newbie]

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

    Raise X or Raise X()?

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

Share This Page