tags:

views:

108

answers:

0

I have a combobox with a treeview ( tvCategory) inside it. ON the same web page I have a asp panel and on which I have a user Control. I am trying to use AJAXManagerProxy control. ON treeview node change I want to update panel on the web page. Following code I have used for this. On NodeClick event I am trying to set properties of user control. Protected Sub tvCategory_NodeClick(ByVal sender As Object, ByVal e As Telerik.Web.UI.RadTreeNodeEventArgs)

    If e.Node.Value.ToString <> vbNullString Then
        Category1.CategoryID = New Guid(e.Node.Value.ToString) 'setting up User control's  categoryId property
        Category1.LoadCategory = True
    End If

    pnlDetail.Visible = True
End Sub

Page Load of the user control is called before NodeClick event and I am not able to get the data because I need to know the node selected value to set up on the user control. How do I do this? Thanks is advance!!!