Urgent User COntrol

Discussion in 'ASP .Net Web Controls' started by Prince Mathew, Apr 7, 2005.

  1. Hi All,



    I have a requirement. I am throwing an exception from my user control I want
    to catch this in my container page. Is this possible?

    I don't want any event to be raised.

    PLEASE HELP ME.



    Thanks

    Prince
     
    Prince Mathew, Apr 7, 2005
    #1
    1. Advertisements

  2. Steve Goodyear, Apr 8, 2005
    #2
    1. Advertisements

  3. Steve.
    I dont want to use Error event. I want to show the error in the same page.
    If you use handle Error event you cannot do anything in the current page.
    You are out of that context.
    Thanks
    Prince
    "Steve Goodyear" <> wrote in message
    news:...
    > Hi Mathew,
    >
    > Yes you can. The Page has a "Error" event which is where you can catch all
    > exceptions at the Page level:
    > http://msdn.microsoft.com/library/d...systemwebuitemplatecontrolclasserrortopic.asp
    >
    > Cheers,
    > Steve Goodyear
    > Vancouver, Canada
     
    Prince Mathew, Apr 9, 2005
    #3
    1. Advertisements

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. Tom Rowton
    Replies:
    2
    Views:
    923
    Tom Rowton
    Aug 1, 2003
  2. Moe Sizlak
    Replies:
    4
    Views:
    972
    Moe Sizlak
    Jul 20, 2004
  3. vatech1993
    Replies:
    4
    Views:
    5,903
    =?Utf-8?B?U8Opcmdpbw==?=
    Dec 11, 2004
  4. Replies:
    0
    Views:
    593
  5. Don
    Replies:
    3
    Views:
    5,702
    Karl Seguin
    Mar 11, 2005
  6. ABC
    Replies:
    1
    Views:
    2,844
    Larry
    Oct 4, 2005
  7. Mad Scientist Jr
    Replies:
    0
    Views:
    892
    Mad Scientist Jr
    Mar 22, 2006
  8. Jonathan Wood

    User Control to Control Other User Control

    Jonathan Wood, Jan 24, 2010, in forum: ASP .Net
    Replies:
    4
    Views:
    807
    Jonathan Wood
    Feb 2, 2010
Loading...