When I drag a file node onto a folder node, I want the folder node expanded on the PostBack display.
On drop, the NodeDrop server event fires. I update my database table then set e.DestDragNode.Expanded to true (a breakpoint shows it was true anyhow). BTW, on PageLoad, I do not re-databind if IsPostBack.
I use the NodeDataBind event and this seems to fire even when IsPostBack is true. This fires after the NodeDrop and at this point, the Expanded property is false.
Is the NodeDataBind interfering with this property setting or am I missing something? Do I need client-side support for this? I don't think so since if I breakpoint within the NodeDataBind and manually set a few folder nodes Expanded property to true, they do display expanded when continuing from the breakpoint.
This is the control:
<telerik:radtreeview id="radTree" runat="server"
allownodeediting="True"
datafieldid="RowID"
datafieldparentid="ParentID"
datasourceid="sqlDataSourceCustomerContent"
datatextfield="ContentID"
datavaluefield="RowID"
enabledraganddrop="True"
multipleselect="True"
onclientcontextmenuitemclicking="onClientContextMenuItemClicking"
onclientdoubleclick="onClientDoubleClick"
oncontextmenuitemclick="radTree_ContextMenuItemClick"
onnodedatabound="radTree_NodeDataBound"
onnodedrop="radTree_NodeDrop"
onnodeedit="radTree_NodeEdit"
skin="Outlook">
[.... context menus ....]
<CollapseAnimation Type="OutQuint" Duration="100"></CollapseAnimation>
<ExpandAnimation Type="OutQuart" Duration="100"></ExpandAnimation>
</telerik:radtreeview>
Also, it would be nice if all currently expanded nodes remained expanded.
Can I wrap this in an Ajax panel so the "drop" postback is handled without the page-redisplay?
Thanks,
Gary Davis

Hi All,
I'm experiencing an issue when trying to load templates into the radEditor Template Manager dialog in SharePoint. I am working on a sharepoint site that contains a custom aspx page with the RadEditor and a Picture Library containing several HTML template files.
The url for my custom page is:
http://editorial:3718/graphics/tableeditor.aspx
The url for the template folder within the picture library is:
http://editorial:3718/graphics/Media/Templates
In my rad editor I have the following code in my aspx page that should point to the correct folder in the library:
<telerik:RadEditor ID="tableEditor" Runat="server" Skin="Default2006" EditModes="Design, Preview, HTML" EnableResize="False" Width="800" ToolsFile="tableEditorToolbar.xml" >
<TemplateManager ViewPaths="~/Media/Templates" UploadPaths="~/Media/Templates" DeletePaths="~/Media/Templates" />
<Content/>
</telerik:RadEditor>
This fails to load the appropriate files. I do not recieve an error message, but the dialog opens with nothing loaded. I've tried multiple variations of this and the template manager still doesn't load the files. I have a test program that runs outside of sharepoint and it works fine, so I'm guessing there is some lame sharepoint configuration that needs to go along with the above references. Any help is appreciated
Thanks,
John P.
| <script type="text/javascript"> |
| function openWin() |
| { |
| var url = "https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=bill@hotmail.com&item_name=iPod&amount=100.00"; |
| var oWnd = radopen(url,"RadWindow1"); |
| } |
| </script> |
| <asp:ScriptManager runat="server" ID="scriptMgr" /> |
| <telerik:RadWindowManager ID="WindowManager1" runat="server"></telerik:RadWindowManager> |
| <button onclick="openWin(); return false;">open window</button> |