or
<head runat="server"> <title> <asp:ContentPlaceHolder ID="TitleContent" runat="server" /> </title> <telerik:RadCodeBlock runat="server"> <%= Html.MinifyStylesheet("~/Content/Site.css") %> <%= Html.MinifyStylesheet("~/Content/dark-hive-custom/jquery-ui-1.7.2.custom.css")%> <%= string.Format("<link REL='SHORTCUT ICON' HREF='{0}'>", CompilationSymbol.IsCableSolve ? Html.ResolveUrl("~/content/images/cs_icon.ico") : Html.ResolveUrl("~/content/images/id.ico"))%> </telerik:RadCodeBlock> <asp:ContentPlaceHolder ID="CssContent" runat="server"> </asp:ContentPlaceHolder></head>| function OnRowSelected() |
| { |
| var noOfRowsSelected; |
| noOfRowsSelected = this.SelectedRows.length |
| } |
| <rad:RadGrid ID="grdViewRegistries" runat="server" AutoGenerateColumns="False" GridLines="Vertical" |
| Height="220px" AllowPaging="false" AllowSorting="false" EnableAJAX="true" Skin="BlueCare" |
| OnItemDataBound="grdViewRegistries_ItemDataBound" HorizontalAlign="Center" AllowMultiRowSelection="true" |
| AllowMultiRowEdit="true" EnableOutsideScripts="true" EnableAJAXLoadingTemplate="true" |
| OnDetailTableDataBind="grdViewRegistries_DetailTableDataBind" OnItemCreated="grdViewRegistries_ItemCreated"> |
| <ClientSettings ApplyStylesOnClient="true" AllowExpandCollapse="true" ClientEvents-OnRowCreated="onRowCreated"> |
| <Selecting AllowRowSelect="true" EnableDragToSelectRows="false" /> |
| <ClientEvents OnRowMouseOver="ChangeColor" OnRowMouseOut="RemoveColor" OnRowDeselected="RowSelectColor" |
| OnRowSelected="RowSelectColor" /> |
| <Scrolling AllowScroll="true" UseStaticHeaders="true" ScrollHeight="220px" /> |
| </ClientSettings> <MasterTableView> </MasterTableView> |
| </rad:RadGrid> |