I have a templated radcombobox, which contains radtreeview inside. My treeview is loaded on demand using serversidecallback.
This Combobox is inside a formview and uses objectdatasource, and is supposed to contain the value "ParentId" which is retrieved from objectdatasource.
By using ajax javascript, i have managed to set the value of combobox using set_value() in treeview, onclientnodeclick. so when i click update after click a tree node it works.
but, since treeview is populated on demand, i would like to set the inital value of combobox to be retrieved from object datasource but don't populate the treenodes. if i dont set the intial value, that means i have not selected the node, so the parentnode is always 0 or null.
when the combobox is dropped down for the first time, i would like it to auto load the treenodes to the specified node.
i cannot use selectedvalue of the combobox because the treeview is populated on demand? any ideas?
This Combobox is inside a formview and uses objectdatasource, and is supposed to contain the value "ParentId" which is retrieved from objectdatasource.
By using ajax javascript, i have managed to set the value of combobox using set_value() in treeview, onclientnodeclick. so when i click update after click a tree node it works.
but, since treeview is populated on demand, i would like to set the inital value of combobox to be retrieved from object datasource but don't populate the treenodes. if i dont set the intial value, that means i have not selected the node, so the parentnode is always 0 or null.
when the combobox is dropped down for the first time, i would like it to auto load the treenodes to the specified node.
i cannot use selectedvalue of the combobox because the treeview is populated on demand? any ideas?
