get_value in OnClientResponseEnding

5 posts, 0 answers
  1. Marshall Moorman
    Marshall Moorman avatar
    8 posts
    Member since:
    Sep 2007

    Posted 28 Oct 2009 Link to this post

    If the value is changed in the OnServiceRequest, is there any way to access the new value in OnClientResponseEnding?

  2. Pero
    Admin
    Pero avatar
    1156 posts

    Posted 29 Oct 2009 Link to this post

    Hi Marshall,

    You cannot use the panel.get_value() client-side method, because the only thing that is sent back to the client, from the callback, is the HTML within the RadXmlHttpPanel. My recommendation is to somehow send the changed (new) Value together with the HTML content.  

    Greetings,
    Pero
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. David
    David  avatar
    35 posts
    Member since:
    Dec 2008

    Posted 24 Jun 2010 Link to this post

    Hi Pero,

     Is there any OnClient Reponse that gets a value back from the code behind. I think I remember seeing a value pass back on one the telerik controls, maybe it was OnClientResponseError, not sure...    Is there a control with this feature?

      I ended up placing a value into a hidden field then use javascript to retrieve the value in the OnClientResponseEnding function. 

    David
  5. David
    David  avatar
    35 posts
    Member since:
    Dec 2008

    Posted 24 Jun 2010 Link to this post

    I just remember, I was able to get a value back from the RadWindow, after closing the window. 
  6. Pero
    Admin
    Pero avatar
    1156 posts

    Posted 29 Jun 2010 Link to this post

    Hello David,

    As I said in my previous post, you can't access the modified Value of the XmlHttpPanel, because the value remains unchanged on the client-side. You can either send the value within the HTML received from the WebService or Callback, or use a hidden field (like you have done at the moment) and retrieve the value in the OnClientResponseEnding event of the XmlHttpPanel.

    Greetings,
    Pero
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017