or
on clicking GridEditCommandColumn postback occours but not able to perform inline editing..what methods i need to implement,i want to bind dropdown on editing that too from code behind,so where should i write that method
<rad:RadGrid runat="server" SkinID="CSFSelectionGrid" HeaderStyle-Wrap="true" ItemStyle-Wrap="true" AlternatingItemStyle-Wrap="true" AllowFilteringByColumn="false" EnableEmbeddedSkins="false" EnableEmbeddedBaseStylesheet="false" GroupingSettings-CaseSensitive="false" CssClass="SimpleGrid" ImagesPath="~/Skins/Plain/Grid" AllowMultiRowSelection="true" > <ClientSettings AllowColumnsReorder="False" ReorderColumnsOnClient="False" AllowExpandCollapse="True"> <Selecting AllowRowSelect="True"/> <Scrolling AllowScroll="false" UseStaticHeaders="True"/> </ClientSettings> <MasterTableView AllowNaturalSort="false" AllowCustomSorting="true" > </MasterTableView></rad:RadGrid>.SimpleGrid .rgSelectedRow td,.SimpleGrid .rgSelectedRow td.rgSorted{ background-color:#b0c5da; border-bottom:1px solid #ccc !important;}protected void RequestCSFs_ItemCommand(object source, GridCommandEventArgs e){ if (e.CommandName == RadGrid.ExpandCollapseCommandName && e.Item is GridDataItem) { ((GridDataItem)e.Item).ChildItem.FindControl(NESTED_VIEW_TEMPLATE_PANEL).Visible = e.Item.Selected = !e.Item.Expanded; }}// 1) User-code file, launched at body:onLoad() event
var oWnd = $find("helpWindow");oWnd.setSize(400,500);oWnd.setActive(false);// 2) Telerik code filesetActive:function(c){var f=this._popupElement;if(!c){Sys.UI.DomElement.addCssClass(f,"rwInactiveWindow"); // f is null
[...]// 3) Microsoft ASP.Net Ajax code fileSys.UI.DomElement.addCssClass = function Sys$UI$DomElement$addCssClass(element, className) { /// <summary locid="M:J#Sys.UI.DomElement.addCssClass" /> /// <param name="element" domElement="true"></param> /// <param name="className" type="String"></param> var e = Function._validateParams(arguments, [ {name: "element", domElement: true}, {name: "className", type: String} ]); if (e) throw e; // The exception is thrown here
if (!Sys.UI.DomElement.containsCssClass(element, className)) { if (element.className === '') { element.className = className; } else { element.className += ' ' + className; } }}<telerik:RadWindowManager ID="RadWindowManager1" ShowContentDuringLoad="false" VisibleStatusbar="false" ReloadOnShow="true" runat="server" EnableShadow="true"> <Windows> <telerik:RadWindow ID="HelpWindow" runat="server" NavigateUrl="Help.aspx" ReloadOnShow="true" VisibleOnPageLoad="false" ShowContentDuringLoad="false" Behaviors="Close, Maximize, Resize" Width="500px" Height="400px" Modal="true" Animation="Fade" KeepInScreenBounds="true" RestrictionZoneID="form2" AutoSizeBehaviors="Height"> </telerik:RadWindow>
<radG:RadGrid ID="radGdCopy" runat="server" AutoGenerateColumns="False" Skin="Office2007" Width="100%" UseEmbeddedScripts="false" GridLines="None" AllowPaging="True" AllowSorting="True" PageSize="10"> <MasterTableView CommandItemDisplay="None" Name="ParentGrid"> <CommandItemTemplate> <asp:Label ID="lblHeader" runat="server"></asp:Label> </CommandItemTemplate> <Columns> <radG:GridClientSelectColumn UniqueName="ClientSelectColumn" > <HeaderStyle HorizontalAlign="Center" Width="23px" /> </radG:GridClientSelectColumn> <radG:GridBoundColumn DataField="ID" UniqueName="ID" Visible="False"> </radG:GridBoundColumn> <radG:GridBoundColumn DataField="Name" HeaderText="Name" UniqueName="Name"> </radG:GridBoundColumn> </Columns> <DetailTables> <radG:GridTableView ShowHeadersWhenNoRecords="False" GridLines="None" runat="server" Name="ChildGrid" AllowSorting="True"> <Columns> <radG:GridBoundColumn DataField="subID" HeaderText="subID" UniqueName="subID"> </radG:GridBoundColumn> <radG:GridBoundColumn DataField="subName" HeaderText="subName" UniqueName="subName"> </radG:GridBoundColumn> </Columns> </radG:GridTableView> </DetailTables> <%-- <RowIndicatorColumn> <HeaderStyle Width="20px" /> </RowIndicatorColumn>--%> <ExpandCollapseColumn> <HeaderStyle Width="20px" /> </ExpandCollapseColumn> </MasterTableView> <PagerStyle Mode="NextPrevAndNumeric" /> <ClientSettings EnableClientKeyValues="true" ApplyStylesOnClient="true"> <Selecting AllowRowSelect="True" /> <ClientEvents OnRowSelected="Copy_RowSelected" OnGridCreated="Copy_GridCreated" /> </ClientSettings> </radG:RadGrid>