or
<script type="text/javascript"> function openRadWin(code, bookingdate, category) { radopen("MyPage.aspx", "RadWindow1"); }</script> <telerik:RadWindowManager ID="RadWindowManager1" runat="server" EnableShadow="true" VisibleStatusbar="false"> <Windows> <telerik:RadWindow ID="RadWindow1" runat="server" ShowContentDuringLoad="false" Width="400px" Height="400px" Title="Telerik RadWindow" Behaviors="Default" > </telerik:RadWindow> </Windows></telerik:RadWindowManager>Server Error in '/' Application.Failed to load viewstate. The control tree into which viewstate
is being loaded must match the control tree that was used to save
viewstate during the previous request. For example, when adding
controls dynamically, the controls added during a post-back must
match the type and position of the controls added during the initial request.functionsetResultsTab(sender, args){vartabStrip = $find('<%=tabCriteria.ClientID%>');vartab = tabStrip.findTabByValue('1');tab.select();}
<telerik:RadButton ID="bAdvancedSearch" runat="server" Text="Search" SkinID="defaultButtonLargeSearch" OnClick="click_AdvancedSearch" meta:resourcekey="bAdvancedSearchResource2" OnClientClicking="setResultsTab"/><%@ Page Language="C#" MasterPageFile="~/MasterPages/LOLA.Master" AutoEventWireup="true" CodeBehind="ReportCellTypePropertyManagement.aspx.cs" Inherits="TSi.LOLA.ReportCellTypePropertyManagement" Culture="auto" meta:resourcekey="Page" UICulture="auto" %><asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server"> <%--<link href="Styles\LabelManagement.css" type="text/css" rel="stylesheet" id="CSSFileCT" />--%></asp:Content><asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server"> <div class="Wrapper" style="margin-left:10px;margin-right:10px;"> <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server"> <div style="float: left; width: 100%"> <tsi:TSiDropDownList runat="server" ID="DropDown_CellTypes" Meta:resourceKey="DropDown_CellTypes" DropDown-CssClass="TSIDropDownListStyle" DataTextField="Name" DataValueField="ID" AutoPostBack="false" DropDownHeight="180" Skin="Sunset" /> <tsi:TSiButton runat="server" ID="btnGetMapForCellType" meta:resourcekey="Button_GetMapForCellType" RadButton-Width="9%" OnClick="GetMapForCellType_Click" ButtonType="SkinnedButton" Skin="Sunset" /> </div> <div style="float: left; width: 100%"> <tsi:TSiDropDownList runat="server" ID="DropDown_CellProperties" DefaultMessage="<%$ Resources:DropDown_CellProperties.DefaultMessage %>" DropDown-CssClass="TSIDropDownListStyle" DataTextField="Name" DataValueField="ID" AutoPostBack="false" DropDownHeight="180" Skin="Sunset" /> <tsi:TSiButton runat="server" ID="btnGetMapForProperty" meta:resourcekey="Button_GetMapForProperty" RadButton-Width="9%" OnClick="GetMapForProperty_Click" ButtonType="SkinnedButton" Skin="Sunset" /> </div> <br /> <br /> <br /> <div class="SearchResults"> <%--<tsi:TSIGrid runat="server" />--%> <telerik:RadGrid runat="server" ID="Grid_CellTypePropertyMap" ClientIDMode="Static" AutoGenerateColumns="false" OnItemDataBound="GridCellTypePropertyMap_ItemDataBound" Skin="Sunset" > <ClientSettings> <Scrolling AllowScroll="True" UseStaticHeaders="True" /> </ClientSettings> <MasterTableView DataKeyNames="ID" ClientDataKeyNames="ID" TableLayout="Fixed"> <Columns> <telerik:GridTemplateColumn HeaderText="<%$ Resources:ColumnAttached.HeaderText %>" UniqueName="AttachedCol" > <ItemTemplate> <asp:CheckBox ID="chbAttached" runat="server" ClientIDMode="AutoID" ></asp:CheckBox> </ItemTemplate> </telerik:GridTemplateColumn> <telerik:GridBoundColumn DataField="CellTypeName" HeaderText="<%$ Resources:ColumnCellTypeName.HeaderText %>" UniqueName="CellTypeNameCol" /> <telerik:GridBoundColumn DataField="CellTypeID" HeaderText="<%$ Resources:ColumnCellTypeID.HeaderText %>" UniqueName="CellTypeIDCol" /> <telerik:GridBoundColumn DataField="PropertyName" HeaderText="<%$ Resources:ColumnCellPropertyName.HeaderText %>" UniqueName="PropertyNameCol" /> <telerik:GridBoundColumn DataField="PropertyID" HeaderText="<%$ Resources:ColumnCellPropertyID.HeaderText %>" UniqueName="PropertyIDCol" /> <telerik:GridTemplateColumn HeaderText="<%$ Resources:ColumnDisplayOrder.HeaderText %>" UniqueName="DisplayOrderCol" > <ItemTemplate> <asp:TextBox ID="txtDisplayOrder" runat="server" Width="26px" ></asp:TextBox> </ItemTemplate> </telerik:GridTemplateColumn> </Columns> </MasterTableView> </telerik:RadGrid> <br /> <br /> <tsi:TSiButton runat="server" ID="Button_Save" Text="<%$ Resources:Button_Save.Text %>" RadButton-Width="9%" OnClick="SaveCelltypePropertyMap_Click" Visible="false" /> </div> <div> <br /> <br /> <asp:PlaceHolder runat="server" ID="CellTypePropertySaveDetailsTable" Visible="true"> <asp:Literal ID="LabelCellTypePropertyDetail" runat="server" /> </asp:PlaceHolder> </div> </telerik:RadAjaxPanel> <script type="text/javascript"> </script> </div></asp:Content>
<telerik:GridTemplateColumn UniqueName="Column1" SortExpression="Column1" HeaderStyle-ForeColor="#245E9E" HeaderText="Column 1" ItemStyle-Wrap="true" Resizable="true" AutoPostBackOnFilter="true" CurrentFilterFunction="EqualTo" DataField="Column1">
<FilterTemplate>
<telerik:RadComboBox ID="RadComboBoxColumn1" DataTextField="Column1" DataValueField="Column1" Height="200px" AppendDataBoundItems="true" SelectedValue='<%# ((GridItem)Container).OwnerTableView.GetColumn("Column1").CurrentFilterValue %>' runat="server" OnClientSelectedIndexChanged="TitleIndexChanged">
<Items>
<telerik:RadComboBoxItem Text="All" />
</Items>
</telerik:RadComboBox>
<telerik:RadScriptBlock ID="RadScriptBlock1" runat="server">
<script type="text/javascript">
function TitleIndexChanged(sender, args)
{
var tableView = $find("<%# ((GridItem)Container).OwnerTableView.ClientID %>");
tableView.filter("Column1", args.get_item().get_value(), "EqualTo");
}
</script>
</telerik:RadScriptBlock>
</FilterTemplate>
<ItemTemplate>
<asp:Label ID="LblColumn1" Text='<%#Eval("Column1")%>' runat="server">
</asp:Label>
<asp:Label ID="LblDataSourceType" Text='<%#Eval("DataSourceType")%>' runat="server" Visible="false">
</asp:Label>
</ItemTemplate>
<HeaderStyle Width="280px" />
<ItemStyle Font-Names="Arial" Font-Size="11px" Wrap="true" />
</telerik:GridTemplateColumn>
<ClientSettings AllowKeyboardNavigation="true" EnablePostBackOnRowClick="true" > <ClientEvents /> <KeyboardNavigationSettings EnableKeyboardShortcuts="true" /> <Selecting AllowRowSelect="true" /></ClientSettings>
