| paragraph 1 |
| pragraph 2 |
| paragraph 3 |
| ScriptManager.RegisterStartupScript(_updatePanel, _updatePanel.GetType(), "UpdateDetails", "var treeView = $find('" + _navigationTree.ClientID + "'); UpdateDetailDisplay();", true); |
| var treeView = $find('ctl00_controlArea_ctl01_ctl04_ctl02'); |
| UpdateDetailDisplay(); // internally uses treeView.get_selectedNode(); to read data... |
| Telerik.Web.UI.RadTreeView._preInitialize("ctl00_controlArea_ctl01_ctl04_ctl02","0"); |
<%
@ Page Language="C#" AutoEventWireup="true" CodeFile="Default3.aspx.cs" Inherits="Default3" %>
<%
@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!
DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html xmlns="http://www.w3.org/1999/xhtml">
<
head runat="server">
<title>Untitled Page</title>
<link rel="stylesheet" href="Styles/UDStyles.css" />
</
head>
<
body>
<form id="form1" runat="server">
<telerik:RadScriptManager ID="RadScriptManager1" runat="server">
</telerik:RadScriptManager>
<telerik:RadDockLayout ID="RadDockLayout1" runat="server">
<telerik:RadDockZone ID="RadDockZone1" runat="server" Height="300px" Width="300px">
<telerik:RadDock ID="RadDock1" Skin="Web20" runat="server" Width="300px">
<TitlebarTemplate>
<table class="TitleBar">
<tr>
<td width="17%">
Dipen
</td>
<td width="83%">
Shah
</td>
</tr>
</table>
</TitlebarTemplate>
<ContentTemplate>
<telerik:RadPanelBar ID="RadPanelBar1" Skin="Default" runat="server">
<Items>
<telerik:RadPanelItem runat="server" Text="Dipen's Team" Expanded="true">
<Items>
<telerik:RadPanelItem runat="server">
<ItemTemplate>
<table border="1" width="100" >
<tr>
<td>Dipen</td>
<td>Shah</td>
</tr>
<tr>
<td>ABC</td>
<td>DEF</td>
</tr>
<tr>
<td>HIJ</td>
<td>LMN</td>
</tr>
<tr>
<td>OPQ</td>
<td>RST</td>
</tr>
</table>
</ItemTemplate>
</telerik:RadPanelItem>
</Items>
</telerik:RadPanelItem>
</Items>
</telerik:RadPanelBar>
</ContentTemplate>
</telerik:RadDock>
</telerik:RadDockZone>
</telerik:RadDockLayout>
</form>
</
body>
</
html>
<
script type="text/javascript">
//<![CDATA[
var
theForm = document.forms['aspnetForm'];
if
(!theForm) {
theForm = document.aspnetForm;
}
function
doPostBack2() {
if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
theForm.__EVENTTARGET.value =
'ctl00$ContentPlaceHolder1$Test';
theForm.__EVENTARGUMENT.value =
'';
theForm.submit();
}
}
//]]>
</
script>
And here's my code on the Content Page to open the Radwindow:
<telerik:RadWindow
id="RadWindow1"
runat="server"
showcontentduringload="False"
width="900px"
height="520px"
onclientclose="doPostBack2"
title="My Professional Profile - Please be patient while loading..." Modal="true" VisibleStatusbar="false" Skin="Black" style="z-index: 1; display:none;" InitialBehavior="None" Left="" NavigateUrl="" Top="">
</telerik:RadWindow>
Protected Sub Test_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Test.Click
Call GetPPStatus()
End Sub
So as I said before, everything works fine when I physicallly click the "Test" linkbutton (it posts back and shows the Ajax Update Indicator). And when I close the RadWindow it actually posts back and does everything that I want it to do in the GetPPStatus() sub except it's not showing the ajax indicator.
Any help would be appreciated!
