Hi
We're having a very weird problem that we need to have solved as soon as possible.
We are using the radTooltipManager together with the radTreeview. This works very good, the tooltip shows correctly and the onajaxload event is fired and we can load the correct detailed information.
Now, in the tooltip some textfields are filled with dynamic bound information. When we change the content of the fields and force a postback, the viewstate of those fields is lost.
We searched everywhere but can't find the source of the problem.
Here are some code snippets:
The radTooltipManager
The ajaxUpdate event
In the usercontrol there are just some textfields that are filled and a save button. when we hit the save button, the fields are refilled with the original data and not the new data.
If we don't rebind the data when we hit the save button, the fields stay totally empty!
Any ideas Telerik Team?
Thx
A.
We're having a very weird problem that we need to have solved as soon as possible.
We are using the radTooltipManager together with the radTreeview. This works very good, the tooltip shows correctly and the onajaxload event is fired and we can load the correct detailed information.
Now, in the tooltip some textfields are filled with dynamic bound information. When we change the content of the fields and force a postback, the viewstate of those fields is lost.
We searched everywhere but can't find the source of the problem.
Here are some code snippets:
The radTooltipManager
<telerik:RadToolTipManager runat="server" ID="RadToolTipManager1" OnAjaxUpdate="RadToolTipManager1_AjaxUpdate" EnableViewState="true" ShowEvent="FromCode" Modal="true" Width="350" Height="700" AutoTooltipify="false" Position="TopCenter" RelativeTo="BrowserWindow" ManualClose="true" Animation="None" Sticky="true"></telerik:RadToolTipManager> |
The ajaxUpdate event
Protected Sub RadToolTipManager1_AjaxUpdate(ByVal sender As Object, ByVal e As Telerik.Web.UI.ToolTipUpdateEventArgs) |
Dim ctrl As blah = Page.LoadControl("~/blah.ascx") |
ctrl.ID = "blah" & e.Value |
ctrl.EnableViewState = True |
ctrl.Task_Id = e.Value |
ctrl.bindData() |
e.UpdatePanel.ContentTemplateContainer.Controls.Add(ctrl) |
End Sub |
In the usercontrol there are just some textfields that are filled and a save button. when we hit the save button, the fields are refilled with the original data and not the new data.
If we don't rebind the data when we hit the save button, the fields stay totally empty!
Any ideas Telerik Team?
Thx
A.