Hello,
Our goal is to add AJAX to a page that has a somewhat complicated architecture. The basic structure is:
Master Page
- RadAjaxManager
- RadScriptManager
Content Page
- RadAjaxManagerProxy
- RadGrid
- RadWindow (Opened from button click on RadGrid)
- 4 Buttons (Which execute server-side code that affects the contents of the RadWindow)
- User Control (Collection of labels to display information only)
- RadListView (Each item in the RadListView has controls to display or change data)
- Item Delete Button (One per RadListView item)
- RadComboBox (One per RadListView item) (Updates Label below)
- Label (One per RadListView item)
There are other controls on the page but they are out of scope, so to speak, of what the main issue is. For simplicity's sake they are not listed.
So, the Master Page holds the main RadAjaxManager and RadAjaxScriptManager, and the Content Page has the RadAjaxManagerProxy. Using the Proxy, I've been able to successfully AJAX the controls inside the Content Page, including the RadGrid and it opening the RadWindow after clicking a button in the row in the RadGrid.
However, we've hit a roadblock with trying to AJAXify the controls inside the RadWindow. At best, we can get it so that the Item Delete Button and ComboBox updating the Label work, but they cause the entire RadWindow to blink in and out or disappear/reappear. The buttons, which have to do with saving the data in the RadWindow to the database, adding an item to the RadListView, or deleting everything, are specifically the biggest problem. No attempt has made them work using AJAX. They always cause a full postback.
The complexity of the items in our RadListView may be an issue, though I'm not sure. Each item holds numerous controls that display or change the data of the object represented. I haven't found many examples of people using it this way, and fewer that try to AJAX them.
Any suggestions on what to try, or examples to look at, would be appreciated. Ideally, we would like all operations inside the RadWindow to be AJAX, and to have a seamless user experience -- no RadWindow blinking, and certainly not full postbacks.
Thanks for any help anyone can give!