Hi.
I didn't find anything on this in the forums.
What I've got is this:
One RadGrid using a usercontrol for editing. In this usercontrol I have one RadComboBox and a RadTreeView within the ItemTemplate, similar to your online example at http://www.telerik.com/DEMOS/ASPNET/Prometheus/TreeView/Examples/Functionality/TreeViewComboBox/DefaultCS.aspx.
In the ItemTemplate of the RadComboBox I have this code:
<telerik:RadTreeView ID="treeComboKapittel" runat="server"
OnNodeClick="treeComboKapittel_NodeClick">
</telerik:RadTreeView>
and code behind
Protected Sub treeComboKapittel_NodeClick(ByVal o As Object, ByVal e As Telerik.Web.UI.RadTreeNodeEventArgs)
comboKapittel.SelectedItem.Text = e.Node.Text
comboKapittel.SelectedItem.Value = e.Node.Value
End Sub
This worked just fine with the old RadControls, but when I converted to prometheus the application performs a complete postback and bypass the Ajax completely.
I need to set comboKapittel.SelectedItem.Value because the value property containts a table ID which is required upon saving the record.
I'm using Prometheus controls everywhere.
Any ideas what I'm doing wrong?
Thanks,
Kjell
I didn't find anything on this in the forums.
What I've got is this:
One RadGrid using a usercontrol for editing. In this usercontrol I have one RadComboBox and a RadTreeView within the ItemTemplate, similar to your online example at http://www.telerik.com/DEMOS/ASPNET/Prometheus/TreeView/Examples/Functionality/TreeViewComboBox/DefaultCS.aspx.
In the ItemTemplate of the RadComboBox I have this code:
<telerik:RadTreeView ID="treeComboKapittel" runat="server"
OnNodeClick="treeComboKapittel_NodeClick">
</telerik:RadTreeView>
and code behind
Protected Sub treeComboKapittel_NodeClick(ByVal o As Object, ByVal e As Telerik.Web.UI.RadTreeNodeEventArgs)
comboKapittel.SelectedItem.Text = e.Node.Text
comboKapittel.SelectedItem.Value = e.Node.Value
End Sub
This worked just fine with the old RadControls, but when I converted to prometheus the application performs a complete postback and bypass the Ajax completely.
I need to set comboKapittel.SelectedItem.Value because the value property containts a table ID which is required upon saving the record.
I'm using Prometheus controls everywhere.
Any ideas what I'm doing wrong?
Thanks,
Kjell
