This is a migrated thread and some comments may be shown as answers.

XmlHttpPanel and ServerSide Code

1 Answer 36 Views
XmlHttpPanel
This is a migrated thread and some comments may be shown as answers.
NTBuddy
Top achievements
Rank 1
NTBuddy asked on 11 Mar 2014, 12:39 PM
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. 

1 Answer, 1 is accepted

Sort by
0
Slav
Telerik team
answered on 13 Mar 2014, 04:59 PM
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.

Regards,
Slav
Telerik
 

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

 
Tags
XmlHttpPanel
Asked by
NTBuddy
Top achievements
Rank 1
Answers by
Slav
Telerik team
Share this question
or