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

[Solved] Treview comboboxes postback bypasses updatepanel

3 Answers 147 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
kgg
Top achievements
Rank 1
kgg asked on 20 Feb 2008, 06:29 PM
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

3 Answers, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 22 Feb 2008, 08:31 AM
Hello kjellgaute,

This is indeed weird. Can you isolate the problem in a small and running project and attach the files to a new support thread? We will test them locally and try to find a working solution for you.

Thanks for your time and cooperation.

Regards,
Nick
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Accepted
Nikolay
Telerik team
answered on 22 Feb 2008, 10:28 AM
Hello kjellgaute,

This is a follow up to my last message.

I consulted with our developers and it appeared that they were aware of this problem and a fix was prepared.

I am attaching the latest Web.UI build that addresses the issue. Please download the files and give them a go.

Let us know how this goes.

Regards,
Nick
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
kgg
Top achievements
Rank 1
answered on 22 Feb 2008, 02:26 PM
Yes, that worked.

Thanks a lot,

Kjell
Tags
TreeView
Asked by
kgg
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
kgg
Top achievements
Rank 1
Share this question
or