or
<ExpandCollapseColumn Visible="false"></ExpandCollapseColumn> It doesn't matter if I choose True or False, the column is still there.
I change the button type or any of the options I get in intellisense but the grid renders the same.
I want to add a header to the column for my users since they don't seem to comprehend what the arrow is for
without instructions. I'm posting what I think is the relevant markup in case I did something wrong here.
Thanks for any help.
<telerik:RadGridID="RadGrid1"EnableAJAX="True"DataSourceID="sdsRefrigerantCylinders"runat="server"Width="100%"AutoGenerateColumns="False"PageSize="20"AllowSorting="True"Skin="Outlook"AllowPaging="True"AllowAutomaticUpdates="True"AllowAutomaticInserts="True"ShowStatusBar="True"GridLines="None"><PagerStyleMode="NextPrevAndNumeric"></PagerStyle><MasterTableViewDataSourceID="sdsRefrigerantCylinders"CommandItemDisplay="top"CommandItemSettings-AddNewRecordText="Insert New Cylinder"DataKeyNames="CylinderID,SiteID"AllowMultiColumnSorting="true"AllowAutomaticUpdates="true"AllowAutomaticInserts="true"Name="Cylinders"><ExpandCollapseColumnVisible="True"ButtonType="PushButton"ItemStyle-BackColor="red"></ExpandCollapseColumn><Columns><telerik:GridEditCommandColumnHeaderStyle-Width="50px"EditText="Edit Cylinder"><HeaderStyleWidth="50px"></HeaderStyle></telerik:GridEditCommandColumn><telerik:GridTemplateColumnUniqueName="CylinderID"HeaderText="Cylinder ID"SortExpression="CylinderID"DataField="CylinderID"ItemStyle-Width="50px"HeaderStyle-Width="50px"><ItemTemplate><asp:LabelID="lblCylinderID"runat="server"Text='<%# Eval("CylinderId") %>'></asp:Label></ItemTemplate><HeaderStyleWidth="50px"></HeaderStyle><ItemStyleWidth="50px"></ItemStyle></telerik:GridTemplateColumn><telerik:GridTemplateColumnUniqueName="CylinderSerNo"HeaderText="Serial No"SortExpression="CylinderSerialNO"HeaderStyle-Wrap="true"ItemStyle-Width="75px"HeaderStyle-Width="70px"><ItemTemplate><asp:LabelID="lblSerNo"runat="server"Text='<%# Eval("CylinderSerialNO") %>'></asp:Label></ItemTemplate><EditItemTemplate><telerik:RadTextBoxID="rtbSerNo"runat="server"Text='<%# Bind("CylinderSerialNo") %>'></telerik:RadTextBox></EditItemTemplate><HeaderStyleWidth="75px"></HeaderStyle><ItemStyleWidth="75px"></ItemStyle></telerik:GridTemplateColumn>
<telerik:RadDiagram ID="theDiagram" runat="server" Width="1050" Height="600"> <ShapesCollection> <telerik:DiagramShape Id="DiagramShape1" Width="100" Height="70" X="260" Y="100" Type="rectangle" Background="#25a0da"> <ContentSettings Text="Parent" /> </telerik:DiagramShape> <telerik:DiagramShape Id="DiagramShape2" Width="120" Height="50" X="60" Y="250" Type="circle" Background="#FFBE33"> <ContentSettings Text="Child 1" /> </telerik:DiagramShape> <telerik:DiagramShape Id="DiagramShape3" Width="120" Height="50" X="245" Y="250" Type="circle" Background="#FFBE33"> <ContentSettings Text="Child 2" /> </telerik:DiagramShape> <telerik:DiagramShape Id="DiagramShape4" Width="120" Height="50" X="440" Y="250" Type="circle" Background="#FFBE33"> <ContentSettings Text="Child 3" /> </telerik:DiagramShape> </ShapesCollection> <ConnectionsCollection> <telerik:DiagramConnection StartCap="None" EndCap="ArrowEnd"> <FromSettings Connector="Bottom" ShapeId="DiagramShape1" /> <ToSettings Connector="Top" ShapeId="DiagramShape2" /> </telerik:DiagramConnection> <telerik:DiagramConnection StartCap="FilledCircle" EndCap="ArrowEnd"> <FromSettings Connector="Bottom" ShapeId="DiagramShape1" /> <ToSettings Connector="Top" ShapeId="DiagramShape3" /> </telerik:DiagramConnection> <telerik:DiagramConnection StartCap="FilledCircle" EndCap="ArrowEnd"> <FromSettings Connector="Bottom" ShapeId="DiagramShape1" /> <ToSettings Connector="Top" ShapeId="DiagramShape4" /> </telerik:DiagramConnection> </ConnectionsCollection> </telerik:RadDiagram>hi
after upload a file and save it, when i refresh page with browser refresh button, this error showing:
System.IO.FileNotFoundException: Could not find file 'G:\Project\realpanacea\banners\temp\s0jenl45.iw4'.
is this a bug?
How I can fix it?
#wndShoppingList{ display: none; clear: both; position: relative; top: -1px; left: 14px; border-width: 3px; border-color: #2c72a0; border-style: solid; text-align: left; min-height: 400px; background-color: White; z-index:10;}<div class="slControlLabel"> <asp:Label ID="lblShoppingList" CssClass="lblShoppingList" runat="server">Master Shopping List</asp:Label></div><div class="slControlSeparator"> <img alt="" src="../Images/pxlGray.gif" style="width: 1px; height: 29px" /></div><div class="slControlDropDown"> <img alt="DropDown" src="../Images/btDropDownCharcoal.gif" style="width: 23px; height: 29px" /></div><div id="wndShoppingList">This is hidden using the CSS Above... and preloaded with ManageShoppingLists.aspx in JQuery below.</div>System.Text.StringBuilder sb = new System.Text.StringBuilder();sb.AppendLine(@"<script type=""text/javascript"">");sb.AppendLine(@"window.$ = $telerik.$;");sb.AppendLine(@"$(document).ready(function () {");sb.AppendLine(@"$.ajaxSetup({ cache: false }); ");// Dynamic Loading of contentsb.AppendLine(@" var slContent = $('#wndShoppingList'); ");sb.AppendLine(@" slContent.load('ManageShoppingLists.aspx'); ");// Add Click Function on the image to Show the wndShoppingListsb.AppendLine(@"$('.slControlLabel, .slControlDropDown').bind('click',function(event){");sb.AppendLine(@" $('#wndShoppingList').show(); ");sb.AppendLine(@" event.stopPropagation(); ");sb.AppendLine(@"});");// Binding Close wndShoppingList when clicking outside the DIVsb.AppendLine(@"// OnClick Event outside the wndShoppinglist.");sb.AppendLine(@"$('body').click(function(event){ ");sb.AppendLine(@" if(event.target.id != 'wndShoppingList'){ ");sb.AppendLine(@" $('#wndShoppingList').hide(); ");sb.AppendLine(@" } ");sb.AppendLine(@"});");sb.AppendLine(@"});");sb.AppendLine(@"</script>");ScriptManager.RegisterStartupScript(this, this.GetType(), "slScript",sb.ToString(), false);<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ManageShoppingLists.aspx.cs" Inherits="GrocerMania.ApplicationLayer.Pages.ManageShoppingLists" %><!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> <form id="form1" runat="server"> <telerik:RadScriptManager ID="ScriptManager" runat="server"></telerik:RadScriptManager> <telerik:RadAjaxManager ID="AjaxManager" runat="server"> </telerik:RadAjaxManager> <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Default" InitialDelayTime="3000" MinDisplayTime="3000"> </telerik:RadAjaxLoadingPanel> <div class="tableContainer"> <div class="header"> <div class="slHeaderLeft"> Select a Saved Shopping List </div> <div class="slHeaderRight"> <telerik:RadButton ID="btClose" runat="server" OnClientClicking="function(){$telerik.$(this).hide();}" Width="18" Height="20"> <Image ImageUrl="../Images/icoDeleteGrayX.gif" /> </telerik:RadButton> </div> </div> <div class="details"> <div class="gridDescription"> Select a saved Shopping List to open. The list you already have open will be automatically saved </div> <div class="gridContainer"> <telerik:RadAjaxPanel ID="pnlTemplateList" runat="server"> <telerik:RadGrid ID="grdTemplateList" runat="server" AutoGenerateColumns="False" CellSpacing="0" GridLines="None" ShowHeader="False" OnItemCommand="grdTemplateList_OnItemCommand" OnItemCreated="grdTemplateList_ItemCreated" Height="300px"> <MasterTableView DataKeyNames="Id"> <CommandItemSettings ExportToPdfText="Export to PDF"></CommandItemSettings> <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column"> </RowIndicatorColumn> <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column"> </ExpandCollapseColumn> <Columns> <telerik:GridButtonColumn ButtonType="ImageButton" CommandName="SelectList" CommandArgument="Id" FilterControlAltText="Filter SelectColumn column" ImageUrl="../Images/btSelectCharcoal.gif" UniqueName="SelectColumn"> </telerik:GridButtonColumn> <telerik:GridTemplateColumn FilterControlAltText="Filter TemplateColumn column" UniqueName="TemplateColumn"> <ItemTemplate> <asp:Label ID="lblTemplateName" runat="server"> <%# DataBinder.Eval(Container.DataItem, "Description") %></asp:Label><br /> <asp:Label ID="lblLastUpdated" runat="server"> <%# DataBinder.Eval(Container.DataItem, "LastUpdated") %></asp:Label> </ItemTemplate> </telerik:GridTemplateColumn> <telerik:GridBoundColumn FilterControlAltText="Filter ItemsColumn column" UniqueName="ItemsColumn" DataField="ItemsInList"> </telerik:GridBoundColumn> <telerik:GridButtonColumn ButtonType="ImageButton" CommandName="DeleteList" CommandArgument="Id" ConfirmText="Are you sure you want to delete this list ?" ConfirmTitle="Delete List" FilterControlAltText="Filter DeleteColumn column" ImageUrl="..\Images\icoDeleteRedX.gif" UniqueName="DeleteColumn"> </telerik:GridButtonColumn> </Columns> <EditFormSettings> <EditColumn FilterControlAltText="Filter EditCommandColumn column"> </EditColumn> </EditFormSettings> </MasterTableView> <FilterMenu EnableImageSprites="False"> </FilterMenu> <HeaderContextMenu CssClass="GridContextMenu GridContextMenu_Default"> </HeaderContextMenu> </telerik:RadGrid> </telerik:RadAjaxPanel> <asp:Label ID="lblNoTemplateList" runat="server" Visible="false">There are currently no Template list available.</asp:Label> </div> </div> <div id="divDeletedItems" runat="server" visible="false"> <asp:HyperLink ID="lnkDeletedItems" runat="server" NavigateUrl="#"></asp:HyperLink><br /> Click to view or restore deleted lists.<br /></div> </div> </form></body></html>
Hi
I have a radsplitter and I am trying to collapse it on a button click. OnClientClick of the button, I have this method called.
function OnCollapse()
{var splitter = "<%= RadSplitter1.ClientID %>";
var pane = "<%= radPaneAdminLeftMenu.ClientID %>"
pane.Collapse();
return false;
}
It says pane.Collapse() is not supported.
Microsoft JScript runtime error: Object doesn't support this property or method
Please advice.
Thanks.
