or
function NavigateTo(path) { var explorer = $find("<%=FileExplorer.ClientID %>"); explorer.set_currentDirectory(path, true); explorer.refresh();}
Hello,
I was installed the RadControls for ASPNET AJAX Q1 2008. I study its help (RadControls for ASPNET AJAX Q1 2008 Live Examples) to know using with them. I don’t know why when I want to use the Grid control I encounter with error.
The error message page is:
Server Error in '/RadControls_AspNetAjax' Application.
An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
Please help me who can I solve this problem.
With Regards Mojtaba
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %><%@ 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></title></head><body style="margin: 0px"> <form id="form1" runat="server" method="post"> <telerik:RadScriptManager ID="RadScriptManager1" runat="server"> </telerik:RadScriptManager> <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Windows7" Height="22px" Width="16px"> </telerik:RadAjaxLoadingPanel> <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"> </telerik:RadAjaxManager> <div> <table> <tr> <td> </td> </tr> <tr> <td> <telerik:RadSplitter ID="rs_Pro" runat="server" Width="1000px" Height="600px" Skin="Web20" ForeColor="Gray" ResizeWithBrowserWindow="True" ResizeWithParentPane="True"> <telerik:RadPane ID="rp_Pro" runat="server" Width="700px" Height="600px" Scrolling="none" SkinID="Web20" PersistScrollPosition="False"> <telerik:RadTabStrip ID="rts_Pro" runat="server" MultiPageID="rmp_Pro" SelectedIndex="0" ShowBaseLine="True" Skin="Web20"> <Tabs> <telerik:RadTab runat="server" PageViewID="rpv_Pro" PostBack="true" SelectedIndex="0" Value="rpv_ProData" Text="rpv_Pro"> </telerik:RadTab> <telerik:RadTab runat="server" PageViewID="rpv_Peop" PostBack="true" SelectedIndex="1" Value="rpv_PeopData" Text="rpv_Peop" Selected="True"> </telerik:RadTab> </Tabs> </telerik:RadTabStrip> <telerik:RadMultiPage ID="rmp_Pro" runat="server" SelectedIndex="1"> <%--pro--%> <telerik:RadPageView ID="rpv_Pro" runat="server" Height="340px" Width="700px"> <telerik:RadGrid ID="rg_Pro" runat="server" AllowPaging="True" AutoGenerateColumns="False" PagerStyle-AlwaysVisible="true" GridLines="None" Height="340px" PageSize="8" SelectedItemStyle-BackColor="#ffff99" Skin="Web20" Width="700px"> <PagerStyle Mode="NextPrevAndNumeric" PageButtonCount="8" /> <MasterTableView BorderColor="#909090" BorderWidth="1px" CommandItemDisplay="Top" DataKeyNames="ProSeq"> </MasterTableView><SelectedItemStyle BackColor="#FFFF99" /> <ClientSettings> <Selecting AllowRowSelect="True" /> <Scrolling AllowScroll="True" SaveScrollPosition="True" UseStaticHeaders="True"> </Scrolling> </ClientSettings> </telerik:RadGrid></telerik:RadPageView> <%--peop--%> <telerik:RadPageView ID="rpv_Peop" runat="server" Height="340px" Width="700px" Selected="True"> <telerik:RadSplitter ID="RSplitterProMain" runat="server" ForeColor="Gray" Height="340px" Skin="Web20" Width="700px"> <telerik:RadPane ID="RPaneProDate" runat="server" Height="340px" Scrolling="none" Width="700px"> <telerik:RadSplitter ID="RSplitterPolicy" runat="server" ForeColor="Gray" Skin="Web20" Width="700px" Height="290px"> <telerik:RadPane ID="RPaneInsuredCust" runat="server" Width="700px" Scrolling="none" Height="290px"> <telerik:RadGrid ID="RadGriRel" runat="server" AutoGenerateColumns="False" GridLines="none" Height="93px" Skin="Web20" Width="700px"> <MasterTableView CommandItemDisplay="Top" DataKeyNames="Prpslrelseq"> </MasterTableView><SelectedItemStyle BackColor="#FFFF99" /> <ClientSettings> <Selecting AllowRowSelect="True" /> <Scrolling AllowScroll="True" SaveScrollPosition="True" UseStaticHeaders="True"> </Scrolling> </ClientSettings> </telerik:RadGrid> </telerik:RadPane> </telerik:RadSplitter> </telerik:RadPane> </telerik:RadSplitter></telerik:RadPageView> </telerik:RadMultiPage> <%--dtl--%> <telerik:RadGrid ID="rg_Dtl" runat="server" AutoGenerateColumns="False" BorderColor="#909090" BorderWidth="1px" GridLines="none" Height="180px" SelectedItemStyle-BackColor="#ffff99" Skin="Web20" Width="700px"> <MasterTableView DataKeyNames="DtlSeq" AllowSorting="true" AllowMultiColumnSorting="true"> </MasterTableView><ClientSettings> <Selecting AllowRowSelect="True" /> <Scrolling AllowScroll="True" SaveScrollPosition="True" UseStaticHeaders="True"> </Scrolling> </ClientSettings> </telerik:RadGrid> <%--botton--%> <telerik:RadSplitter ID="rs_ProButton" runat="server" ForeColor="Gray" Height="80px" ResizeWithBrowserWindow="True" ResizeWithParentPane="True" Skin="Web20" Width="700px"> <telerik:RadPane ID="rp_ProButton" runat="server" BackColor="#EFEFEF" Height="80px" PersistScrollPosition="False" Scrolling="None" SkinID="Web20" Width="700px"> <asp:Button ID="btn_1" runat="server" Text="btn_1" Width="90px" /> <asp:Button ID="btn_2" runat="server" Text="btn_2" Width="90px" /> <asp:Button ID="btn_3" runat="server" Text="btn_3" Width="90px" /> <asp:Button ID="btn_4" runat="server" Text="btn_4" Width="90px" /> <asp:Button ID="btn_5" runat="server" Text="btn_5" Width="105px" /> <asp:Button ID="btn_6" runat="server" Text="btn_6" Width="105px" /> <asp:Button ID="btn_7" runat="server" Text="btn_7" Width="100px" /> <br /> <asp:Button ID="btn_8" runat="server" Text="btn_8" Width="80px" /> <asp:Button ID="btn_9" runat="server" Text="btn_9" Width="80px" /> <asp:Button ID="btn_10" runat="server" Text="btn_10" Width="100px" /> <asp:Button ID="btn_11" runat="server" Text="btn_11" Width="80px" ForeColor="red" /> <asp:Button ID="btn_12" runat="server" Text="btn_12" Width="80px" /> <asp:Button ID="btn_13" runat="server" Text="btn_13" Width="90px" /> <%If Session("Agent") = "john" Then%> <script type="text/javascript"> function JohnDebug() { window.open("xxx.aspx", "_blank"); }</script> <asp:Button ID="btn_14" runat="server" Text="btn_14" Width="100px" /> <% End If%> </telerik:RadPane> </telerik:RadSplitter> </telerik:RadPane> </telerik:RadSplitter> </td> </tr> </table> </div> </form></body></html>