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. Advertising

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

  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. 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. Moe Sizlak
    Replies:
    4
    Views:
    794
    Moe Sizlak
    Jul 20, 2004
  2. Mad Scientist Jr
    Replies:
    0
    Views:
    682
    Mad Scientist Jr
    Mar 22, 2006
  3. Sachin Jagtap

    URGENT !! QUEUE STL PROBLEM URGENT!!

    Sachin Jagtap, Apr 28, 2005, in forum: C++
    Replies:
    4
    Views:
    1,065
    Mark Stijnman
    Apr 29, 2005
  4. Jonathan Wood

    User Control to Control Other User Control

    Jonathan Wood, Jan 24, 2010, in forum: ASP .Net
    Replies:
    4
    Views:
    585
    Jonathan Wood
    Feb 2, 2010
  5. Rob
    Replies:
    3
    Views:
    458
Loading...

Share This Page