XmlHttpPanel and ServerSide Code

2 posts, 0 answers
  1. NTBuddy
    NTBuddy avatar
    4 posts
    Member since:
    Aug 2012

    Posted 11 Mar 2014 Link to this post

    I am updating the RadXmlHttpPanel  with ten RadTextBox's with no issues. My issue is when I go to hit SAVE within the application I want to be able to use those 10 textboxes data. Every time I try I get a NULL returned even though I know there is something there. I know I am missing something incredibly easy. 
  2. Slav
    Slav avatar
    1359 posts

    Posted 13 Mar 2014 Link to this post

    Hello John,

    Please check the following help article: http://www.telerik.com/help/aspnet-ajax/xmlhttppanel-vs-radajaxpanel.html. RadXmlHttpPanel uses client callbacks and web services, which do not offer a ViewState and only a few of the page lifecycle events are raised.

    Most probably the values of the RadTextBox controls are lost because of the limitations mentioned above. I would suggest replacing the RadXmlHttpPanel with a RadAjaxPanel or an UpdatePanel and if the values of the text boxes are persisted to keep this change as in this case it would appear that performing a partial postback is more suitable.


    DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.

Back to Top