or
| private void AddGridButtonColumn(string name, string uniqueName, bool sortable) |
| { |
| //remove first if grid has a column with that name |
| RemoveGridColumn(uniqueName); |
| // Add a new column with the specified name |
| GridButtonColumn gridButtonColumn1 = new GridButtonColumn(); |
| gridButtonColumn1.HeaderText = name; |
| if (sortable) |
| gridButtonColumn1.SortExpression = uniqueName; |
| gridButtonColumn1.UniqueName = uniqueName; |
| gridButtonColumn1.DataTextField = uniqueName; |
| RadFileExplorer_SharedFolderBrowser.Grid.Columns.Add(gridButtonColumn1); |
| } |
but no button appears in grid.
any solution?

<div class="content1" style="margin:40px"> <asp:UpdateProgress ID="UpdateProgress1" runat="server" Visible="true"> <ProgressTemplate> <div id="progress" class="progress"> <img src="../Images/Progress/indicator_big.gif" /> <br /><br /> Please Wait </div> </ProgressTemplate> </asp:UpdateProgress> <asp:UpdatePanel ID="UpdatePanel1" runat="server"> <ContentTemplate> <asp:HiddenField ID="scrollOkay" runat="server" /> <%-- If set true then the tree's scrollIntoView function will be used. --%> <asp:Panel ID="panelPath" runat="server" Width="720px" style="padding:5px"> Path: <asp:Label ID="labelPath" runat="server" Text="" style="font-weight:bold" /> </asp:Panel> <div style="height:15px"></div> <asp:Panel ID="panelTree" runat="server" Width="350" Height="500" BorderColor="DarkGray" BorderStyle="Groove" BorderWidth="1" style="float:left"> <telerik:RadTreeView ID="treeViewMain" runat="server" ExpandAnimation-Duration="5" ShowLineImages="true" OnNodeExpand="treeViewMain_NodeExpand" OnNodeClick="treeViewMain_NodeClick" MultipleSelect="false" AllowNodeEditing="false" EnableDragAndDrop="true" OnNodeDrop="treeViewMain_NodeDrop" Height="500px" Width="350px" style="background-color:#F0F8FF" /> </asp:Panel> <div style="width:30px; float:left"></div> <asp:Panel ID="panelFields" runat="server" Width="340" Enabled="false" BorderColor="DarkGray" BorderStyle="Solid" BorderWidth="1" style="float:left; padding:10px"> <asp:Table ID="tableFields" runat="server" CellSpacing="5"> <asp:TableRow> <asp:TableCell HorizontalAlign="Right" style="padding-right:7px" Text="Type:" /> <asp:TableCell> <asp:DropDownList ID="dropDownListType" runat="server" Width="240px" AutoPostBack="true" OnSelectedIndexChanged="dropDownListType_SelectedIndexChanged" /> </asp:TableCell> </asp:TableRow> <asp:TableRow> <asp:TableCell HorizontalAlign="Right" style="padding-right:7px" Text="SubType:" /> <asp:TableCell> <asp:DropDownList ID="dropDownListSubType" runat="server" Width="240px" AutoPostBack="true" OnSelectedIndexChanged="dropDownListSubType_SelectedIndexChanged" /> </asp:TableCell> </asp:TableRow> <asp:TableRow> <asp:TableCell HorizontalAlign="Right" style="padding-right:7px" Text="Description:" /> <asp:TableCell> <asp:TextBox ID="textBoxDescription" runat="server" Width="236px" AutoPostBack="true" OnTextChanged="textBoxDescription_TextChanged" /> </asp:TableCell> </asp:TableRow> <asp:TableRow> <asp:TableCell HorizontalAlign="Right" style="padding-right:7px" Text="Equip No.:" /> <asp:TableCell> <asp:TextBox ID="textBoxEquipNo" runat="server" Width="50" style="text-align:right; padding-right:1px" AutoPostBack="true" OnTextChanged="textBoxEquipNo_TextChanged" /> </asp:TableCell> </asp:TableRow> <asp:TableRow> <asp:TableCell HorizontalAlign="Right" style="padding-right:7px" Text="MIMS:" /> <asp:TableCell> <asp:TextBox ID="textBoxMims" runat="server" Width="50" style="text-align:right; padding-right:1px" AutoPostBack="true" OnTextChanged="textBoxMims_TextChanged" /> </asp:TableCell> </asp:TableRow> <asp:TableRow> <asp:TableCell HorizontalAlign="Right" style="padding-right:7px" Text="Quantity:" /> <asp:TableCell> <asp:TextBox ID="textBoxQuantity" runat="server" Width="50" style="text-align:right; padding-right:1px" AutoPostBack="true" OnTextChanged="textBoxQuantity_TextChanged" /> </asp:TableCell> </asp:TableRow> </asp:Table> </asp:Panel> </ContentTemplate> </asp:UpdatePanel> <div style="position:absolute; left:275px; top:762px; font-size:12px"> <asp:LinkButton ID="linkButtonEquipSubtypeEditor" runat="server" Text="Equipment Subtypes" PostBackUrl="~/Editors/equipSubtypeEditor.aspx" style="color:Blue" /> </div></div>The requirement is to produce a multi-chart with stacked bar and line series. The line series will be for part periods only
a) One series for full date range scale
b) One series for past period of date range scale
c) One series for future period of date range scale
protected void Page_Load(object sender, EventArgs e) { this.DoSetDefaultMenuColumns(); } private void DoSetDefaultMenuColumns() { // lets create the columns. GridBoundColumn menuIDColumn = new GridBoundColumn(); menuIDColumn.HeaderText = "Menu ID"; menuIDColumn.DataField = "MenuID"; GridBoundColumn menuNameColumn = new GridBoundColumn(); menuNameColumn.HeaderText = "Menu Name"; menuNameColumn.DataField = "MenuName"; GridDropDownColumn menuOrderColumn = new GridDropDownColumn(); menuOrderColumn.HeaderText = "Menu Order ID"; menuOrderColumn.DataField = "MenuOrderID"; GridDropDownColumn parentIDColumn = new GridDropDownColumn(); parentIDColumn.HeaderText = "Parent ID"; parentIDColumn.DataField = "ParentID"; GridCheckBoxColumn isAdminColumn = new GridCheckBoxColumn(); isAdminColumn.HeaderText = "Is Admin"; isAdminColumn.DataField = "IsAdmin"; GridBoundColumn pageURLColumn = new GridBoundColumn(); pageURLColumn.HeaderText = "Page URL"; pageURLColumn.DataField = "PageURL"; GridCheckBoxColumn employeeAccessColumn = new GridCheckBoxColumn(); employeeAccessColumn.HeaderText = "Employee Access"; employeeAccessColumn.DataField = "EmployeeAccess"; GridCheckBoxColumn customerAccessColumn = new GridCheckBoxColumn(); customerAccessColumn.HeaderText = "Customer Access"; customerAccessColumn.DataField = "CustomerAccess"; this.radGridMenus.MasterTableView.Columns.Add(menuIDColumn); this.radGridMenus.MasterTableView.Columns.Add(menuNameColumn); this.radGridMenus.MasterTableView.Columns.Add(menuOrderColumn); this.radGridMenus.MasterTableView.Columns.Add(parentIDColumn); this.radGridMenus.MasterTableView.Columns.Add(pageURLColumn); this.radGridMenus.MasterTableView.Columns.Add(isAdminColumn); this.radGridMenus.MasterTableView.Columns.Add(employeeAccessColumn); this.radGridMenus.MasterTableView.Columns.Add(customerAccessColumn); }

.RadGrid
.rgHeaderDiv
{
border: 0px solid !important;
width: 100% !important;
}