| function RefreshNode(nodeId2Refresh) |
| { |
| var treeView = $find('<%= radpanel.Items[0].Items[0].FindControl("rree").ClientID%>'); |
| var node = treeView.findNodeByValue(nodeId2Refresh).get_parent(); |
| treeView.trackChanges(); |
| node.get_nodes().clear(); |
| node.set_expanded(false); |
| treeView.commitChanges(); |
| node.set_expandMode(Telerik.Web.UI.TreeNodeExpandMode.ServerSideCallBack); |
| node.expand(); |
| } |

<form id="form1" runat="server">
<telerik:RadSplitter ID="RadSplitter1" runat="server" Width="100%" Height="600" FullScreenMode="true">
<telerik:RadPane id="LeftPane" runat="server" width="22" scrolling="none">
<telerik:RadSlidingZone id="SlidingZone1" runat="server" DockedPaneId="LeftSlidingPane" width="22">
<telerik:RadSlidingPane id="LeftSlidingPane" title="Menu" runat="server" width="180" >
<table>
<tr> <td> Menu goes here</td> </tr>
</table>
</telerik:RadSlidingPane>
</telerik:RadSlidingZone>
</telerik:RadPane>
<telerik:RadPane id="MiddlePane" runat="server" Scrolling="Both" Height="600">
<table style="width:100%">
<tr> <td>Header Info userControl</td> </tr>
<tr> <td><asp:ContentPlaceHolder ID="MainContent" runat="Server" /></td> </tr>
</table>
</telerik:RadPane>
</telerik:RadSplitter>
<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
</form>
Main Page (ASPX):
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" Runat="Server">
<script type="text/javascript">
window.onload =
function()
{
setTimeout(
function(){
window["<%= RadAjaxManager1.ClientID %>"].AjaxRequest("InitialPageLoad");
}, 200);
}
</script>
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="radAjaxManager1">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="TabPanel" LoadingPanelID="AjaxLoadingPanel1" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
few user controls go here <br />
<asp:Button ID="Button1" runat="server" Text="POSTBACK" />
<asp:Panel ID="TabPanel" runat="server">
<asp:Panel ID="Panel2" Visible="false" runat="server">
THIS IS WHAT I WANT TO SEE AFTER THE "InitialPageLoad" AJAX REQUEST
</asp:Panel>
</asp:Panel>
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Height="75px" Width="75px">
<img alt="Loading..." src='<%= RadAjaxLoadingPanel.GetWebResourceUrl(Page, "Telerik.Web.UI.Skins.Default.Ajax.loading.gif") %>' style="border: 0px;" />
</telerik:RadAjaxLoadingPanel>
</asp:Content>
Main page code behind:
Protected Sub RadAjaxManager1_AjaxRequest(ByVal sender As Object, ByVal e As Telerik.Web.UI.AjaxRequestEventArgs) Handles RadAjaxManager1.AjaxRequest
If e.Argument = "InitialPageLoad" Then
'simulate longer page load
System.Threading.Thread.Sleep(2000)
Panel2.Visible = True
End If
End Sub
| <telerik:RadScriptManager runat="server"> |
| </telerik:RadScriptManager> |
| <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"> |
| </telerik:RadAjaxManager> |
| <asp:Button runat="server" ID="btnOutside" Text="Outside Panel" /> |
| <asp:Panel runat="server" ID="pnlOne"> |
| <asp:Button runat="server" ID="btnInside" Text="Inside Panel" /> |
| </asp:Panel> |
| <asp:Panel runat="server" ID="pnlTwo"> |
| <asp:Label runat="server" ID="lbl"></asp:Label> |
| </asp:Panel> |
| Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load |
| Me.RadAjaxManager1.AjaxSettings.AddAjaxSetting(Me.pnlOne, Me.lbl) |
| Me.RadAjaxManager1.AjaxSettings.AddAjaxSetting(Me.btnOutside, Me.lbl) |
| End Sub |
| Private Sub btnInside_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnInside.Click |
| Me.lbl.Text = "btnInside" |
| End Sub |
| Private Sub btnOutside_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnOutside.Click |
| Me.lbl.Text = "btnOutside" |
| End Sub |
| Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load |
| Me.RadAjaxManager1.AjaxSettings.AddAjaxSetting(Me.btnOutside, Me.lbl) |
| Me.RadAjaxManager1.AjaxSettings.AddAjaxSetting(Me.pnlOne, Me.lbl) |
| End Sub |
| <?xml version="1.0" encoding="utf-8" ?> |
| <configuration> |
| <property name="AllowScripts">True</property> |
| <property name="AllowThumbGeneration">True</property> |
| <property name="ConvertToXhtml">True</property> |
| <property name="EnableDocking">False</property> |
| <property name="ShowHtmlMode">True</property> |
| <property name="ShowPreviewMode">False</property> |
| <property name="StripAbsoluteAnchorPaths">False</property> |
| <property name="StripAbsoluteImagesPaths">True</property> |
| <property name="ToolbarMode">ShowOnFocus</property> |
| <property name="ToolsWidth">800px</property> |
| <property name="MaxImageSize">2097152</property> |
| <property name="CssFiles"> |
| <item>(somelocation)/myDefaultCss.css</item> |
| </property> |
| <property name="Language">en-GB</property> |
| <property name="ImagesPaths"> |
| <item>SiteCollectionImages</item> |
| <item>PublishingImages</item> |
| </property> |
| <property name="ImagesFilters"> |
| <item>*.gif</item> |
| <item>*.jpg</item> |
| <item>*.jpeg</item> |
| <item>*.png</item> |
| <item>*.bmp</item> |
| </property> |
| </configuration> |
I had installed your Silverlight tools first, did up some examples, then a couple days later I installed ASP.Net version followed by the Prometheus version. I had no problems with the Silverlight version or samples.
After installing the other packages I could not get any of the examples to run and worse the examples that I had had working FAILED on the morning of my demo (of course). Makes it hard to justify 3 programmer licenses.
Failing code tests/demo's:
1 Treeview Promethous AJAXEnabledWebSite.zip
2 078228_TreeView_ShowLoadingMessage_WEB.UI.zip
The primary error is:
Control cannot be created because Visual Studio cannot find the control's type in the control assembly.
which leads to:
ERR: Error extracting manifest import from file (hr = 0x80131018).
<!--
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
-->
On that problem child Telerik.Web.UI which leads to other Controls failing.
057862_WebSite82.zip demo is a little different - started with same errors, dragged and dropped replacements into bin and thing worked. Of course it doesn't have that pesky bad boy Telerik.Web.UI version 2007.3.1425.20
Now I have tried all combinations of correction that I could find in your Knowledge base and Forums and general fixes from the internet. So, in desperation I replaced the Telerik.Web.UI that came in the Treeview demo with the smaller version from the Silverlight Bin.
The treeview worked first crack out of the box - except for the tooltips & pictures; but I did get a treeview into a browser. I am about to buy these Controls, but if I am going to have to spend 2 or 3 days getting each control to tenuously work each time I open the project, well you can guess.
Other notes, I used a couple tools from VS2005Pro and even though I believe there is a manifest none of the tools see it. Maybe something is malformed or corrupt.
The ASP.Net & Promethious DLL's just don't seem to Register.
Why does the Silverlight version work (mostly) and the others not? I need a reliable and consistent fix for this problem. I am already behind on time and I like your tool set. But I simply can't spend this kind of time debugging the product.
Windows XP Pro SP2 v2002; Visual Studio 2005 Pro; ASP.Net 2.0 AJAX 1.0; all updates current; Java current;
REPEAT ALL PROBLEMS ON REBOOT/RESTART. I need to get a permanent stable Fix or at least a quicker fix.