or
Is possible open two different Popup Edit Form (EditMode="PopUp") in one RadGrid?
For each row adding TWO button like:
<telerik:GridEditCommandColumn ItemStyle-Width="1%" UniqueName="EditCommandColumn1" ButtonType="ImageButton" EditImageUrl="../../file/edit.gif" CancelText="Cancel" EditText="Edit" />
open two (but also three or four) different WebUserControl (file .ascx) that on "OK" button return values in the standard
"Private Sub RadGrid1_UpdateCommand" function, easily like the normal edit popup-mode
??
Is possible? Any example?
}
protected void btnExcelExport_Click(object sender, EventArgs e) { HttpContext.Current.Response.Buffer = true; HttpContext.Current.Response.Clear(); HttpContext.Current.Response.ContentType = "application/vnd.ms-excel"; HttpContext.Current.Response.ContentEncoding = System.Text.Encoding.Default; HttpContext.Current.Response.AddHeader("content-disposition", "attachment; filename=Overview" + System.DateTime.Now.ToString("MMMddyyyy") + ".xls"); HttpContext.Current.Response.Charset = string.Empty; this.Page.EnableViewState = false; StringWriter _writer = new StringWriter(); HtmlTextWriter _textwriter = new HtmlTextWriter(_writer); btnExcelExport.Visible = false; Label1.BackColor = Color.White; Label1.ForeColor = Color.Black; Label2.BackColor = Color.White; Label2.ForeColor = Color.Black; Label3.BackColor = Color.White; Label3.ForeColor = Color.Black; Master.HeaderbackColor = Color.White; Master.HeaderForeColor = Color.Black; Master.LinkVisiblity = false; Master.NavigationVisibility = false; this.Page.RenderControl(_textwriter); HttpContext.Current.Response.Write(_writer.ToString()); HttpContext.Current.Response.Flush(); HttpContext.Current.Response.Close(); }

for (int i = 0; i<10; i++0){strategy = strategy + Convert.ToString(i); RadGrid RadGrid_Strategy = new RadGrid(); RadGrid_Strategy.ID = strategy; RadGrid_Strategy.Skin = "Office2010Blue"; RadGrid_Strategy.GridLines = System.Web.UI.WebControls.GridLines.Both; RadGrid_Strategy.DataSource = GetDataTableForStrategy(CY, i); RadGrid_Strategy.MasterTableView.CommandItemDisplay = GridCommandItemDisplay.Top; RadGrid_Strategy.ShowHeader = false; RadGrid_Strategy.BatchEditCommand += new GridBatchEditEventHandler(RadGrid_BatchEditCommand); RadGrid_Strategy.MasterTableView.EditMode = GridEditMode.Batch; RadGrid_Strategy.MasterTableView.BatchEditingSettings.EditType = GridBatchEditingType.Cell; RadGrid_Strategy.AllowAutomaticUpdates = true; RadGrid_Strategy.MasterTableView.CommandItemSettings.ShowAddNewRecordButton = false; RadGrid_Strategy.MasterTableView.CommandItemSettings.ShowSaveChangesButton = true; RadGrid_Strategy.MasterTableView.CommandItemSettings.ShowCancelChangesButton = true; PlaceHolder1.Controls.Add(RadGrid_Strategy); RadGrid_Strategy.Rebind();}<telerik:RadTabStrip runat="server" ID="rtsCommunicationTabs" MultiPageID="rmpCommunicationsMultiPage"EnableEmbeddedSkins="false" Skin="" ShowBaseLine="True" SelectedIndex="0" style="margin: 10px 0;"> <Tabs> <telerik:RadTab Text="Messages" CssClass="subtab" SelectedCssClass="active" DisabledCssClass="disabled"></telerik:RadTab> <telerik:RadTab Text="Files" CssClass="subtab" SelectedCssClass="active" DisabledCssClass="disabled"></telerik:RadTab> </Tabs></telerik:RadTabStrip><asp:Label ID="lblNew" runat="server" Visible="false" CssClass="new-badge">New!</asp:Label><TabTemplate> <asp:Label runat="server" ID="lbl" Text='<%# DataBinder.Eval(Container, "Text") %>'> </asp:Label> <asp:Label ID="lblNew" runat="server" Visible="false" CssClass="new-badge">New!</asp:Label></TabTemplate>