Urgent User Control

Discussion in 'ASP .Net Building 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. That's rather difficult since you haven't given any details about the error.
    Might I suggest wrapping the offending function call in a Try/Catch block?

    --
    I hope this helps,
    Steve C. Orr, MCSD, MVP
    http://SteveOrr.net


    "Prince Mathew" <> wrote in message
    news:...
    > 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
    >
    >
    Steve C. Orr [MVP, MCSD], Apr 7, 2005
    #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. Moe Sizlak
    Replies:
    4
    Views:
    762
    Moe Sizlak
    Jul 20, 2004
  2. Mad Scientist Jr
    Replies:
    0
    Views:
    624
    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,026
    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:
    526
    Jonathan Wood
    Feb 2, 2010
  5. Rob
    Replies:
    3
    Views:
    425
Loading...

Share This Page