radajaxpanel onresponseend from code

4 posts, 0 answers
  1. Fit2Page
    Fit2Page avatar
    345 posts
    Member since:
    Feb 2007

    Posted 10 Sep 2015 Link to this post

    Hi,

     

    I like to set a conditional OnResponseEnd client event on RadAjaxPanel?

    Would it be possible to set like this:

     

     

     if............

    RadAjaxPanel1.ClientEvents.OnResponseEnd = "Doit"

     end if

     

    My page keeps on saying "Object reference not set to an instance of an object" on this line​

     

    Thanks,

    Marc

  2. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 14 Sep 2015 Link to this post

    Hello Marc,

    Find attached a sample runnable application that demonstrates the correct functionality of this approach. Test it on your end and see what the difference in your case is.

    Regards,
    Maria Ilieva
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Fit2Page
    Fit2Page avatar
    345 posts
    Member since:
    Feb 2007

    Posted 14 Sep 2015 in reply to Maria Ilieva Link to this post

    Does the trick thank you
  5. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 17 Sep 2015 Link to this post

    Hi,

    I'm glad to hear that the provided sample helps. Do not hesitate to contact us back in case further assistance is needed.

    Regards,
    Maria Ilieva
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top