I have created a Custom control with telerik comboboxes and textboxes. I am using a ajax loading panel to avoid postback for the cutom control.
I have a scennario in which I have to pass some values from this custom control to another radEditor(Custom control). When i try to pass the values the postback is said to happen. so the values are not saved in the radEditor(Custom control). . This Happens due to the postback of the controls. please give me a solution to send values from one control to another even after the postback is done.
7 Answers, 1 is accepted
Try to save the values in the Hidden Field and when the post back occurs the information will be saved. So on the server side, in the handler of the event, that triggered the postback, you can set these values from Hidden Field to RadEditor.
Hope this approach helps you.
I have Created a custom control 1 with Comboboxes inside a Ajax loading Panel. I have another Custom control 2 with RadEditor / Textbox inside an Ajax Panel.Two Custom controls are in different Ajax Panels. In the postback of the custom control 1 i have to Pass the Data from to custom control 2 and display in the Radeditor. Does telerik provide provision to Pass the data after the postback event (for custom control 1) is happening, without the whole page being post back.
If the problem is that after ajax call the content in the second update panel is not refreshed, You can invoke the UpdatePanel2.Update() method. If you have something else in mind, please paste a code which illustrates what you want to achieve and I will try to help you.
As per your suggestion we have used the Update panel to update the data from one(Custom control1) Custom control to another(Custom control2),
We are using the Telerik controls throughout the appication and we feel that it be consistent if we use the Radjax panel rather than update panel.
please provide us a suggestion to proceed.
RadControls for ASP.NET AJAX are built on top of the .Net Framework and MS AJAX and they can interact with standard ASP.NET server controls. That said, our controls could be placed inside an Update Panel or a RadAjaxPanel. It is up to you to decide what is the best option for your specific scenario.
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
We faced a problem in updating the values from one custom control to another using Rad ajax panel.(it does not have .update method) as in update panel . Can you specify any other approach or method in rad ajax panel so that we can use that instead of update panel.