or
| ReportGrid.ExportSettings.IgnorePaging = true; |
| ReportGrid.ExportSettings.Excel.Format = Telerik.Web.UI.GridExcelExportFormat.Html; |
| ReportGrid.ExportSettings.ExportOnlyData = true; |
| this.ReportGrid.MasterTableView.ExportToExcel(); |
<AdvancedInsertTemplate> <div class="rsAdvancedEdit rsAdvancedModal" style="position: relative"> <div class="rsModalBgTopLeft"> </div> <div class="rsModalBgTopRight"> </div> <div class="rsModalBgBottomLeft"> </div> <div class="rsModalBgBottomRight"> </div> <div class="rsAdvTitle">
<h3 class="rsAdvInnerTitle">Appointment</h3> <asp:LinkButton runat="server" ID="AdvancedEditCloseButton" CssClass="rsAdvEditClose" CommandName="Cancel" CausesValidation="false" ToolTip='Cerrar'> <%# Container.Appointment.Owner.Localization.AdvancedClose%> </asp:LinkButton> </div> <div class="rsAdvContentWrapper"> .......... (my content) ........ </div> </div></AdvancedInsertTemplate><GroupByExpressions> <telerik:GridGroupByExpression> <SelectFields> <telerik:GridGroupByField HeaderValueSeparator=" am: " FieldName="Beginning" FormatString="{0:dddd, dd MMMM yyyy}" FieldAlias="Date" /> </SelectFields> <GroupByFields> <telerik:GridGroupByField FieldName="Beginning" SortOrder="Descending" /> </GroupByFields> </telerik:GridGroupByExpression></GroupByExpressions><asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolderMain" runat="server"> <telerik:RadScriptBlock ID="RadScriptBlockAssignmentManager" runat="server"> <script type="text/javascript"> </script> </telerik:RadScriptBlock> <telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxyAssignmentManager" runat="server"> <AjaxSettings> <telerik:AjaxSetting AjaxControlID="RadComboBoxCoordinators"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="PanelAssignmentManager" /> </UpdatedControls> </telerik:AjaxSetting> <telerik:AjaxSetting AjaxControlID="ButtonUpdate"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="PanelAssignmentManager" /> </UpdatedControls> </telerik:AjaxSetting> </AjaxSettings> </telerik:RadAjaxManagerProxy> <telerik:RadFormDecorator ID="RadFormDecoratorAssignmentManager" runat="server" DecorationZoneID="divRoot" DecoratedControls="All" /> <div id="divRoot" style="width: 890px;"> <asp:Panel runat="server" ID="PanelAssignmentManager" Width="890px"> <table id="tableRoot" width="400px" cellpadding="0" cellspacing="0"> <tr> <td style="width: 400px; text-align: left;"> <fieldset id="fieldsetCoordinators" style="width: 378px"> <legend>Locum Coordinator:</legend> <telerik:RadComboBox ID="RadComboBoxCoordinators" runat="server" SkinID="RadComboBoxWidthless" DataSourceID="LinqDataSourceLocumCoordinators" DataTextField="FullName" DataValueField="OID" Skin="Office2007" Width="100%" AppendDataBoundItems="True" AutoPostBack="True" OnDataBound="RadComboBoxCoordinators_DataBound" OnSelectedIndexChanged="RadComboBoxCoordinators_SelectedIndexChanged" /> </fieldset> </td> </tr> <tr> <td style="text-align: left; width: 400px;"> <fieldset id="fieldsetListCounties" style="width: 378px"> <legend>County List:</legend> <asp:Panel ID="PanelScroll" runat="server" ScrollBars="Vertical" Height="300px"> <asp:CheckBoxList ID="CheckBoxListCounties" runat="server" DataSourceID="LinqDataSourceCounties" DataTextField="CName" DataValueField="OID" Width="100%" /> </asp:Panel> </fieldset> </td> </tr> <tr> <td style="text-align: center; width: 400px"> <br style="clear: both;" /> <asp:Button ID="ButtonUpdate" runat="server" Text="Update" OnClick="ButtonUpdate_Click" /> </td> </tr> </table> <br style="clear: both;" /> <div id="divNotification" style="width: 800px; padding: 2px; text-align: left; vertical-align: middle;"> <asp:Label ID="LabelNotification" runat="server" /> </div> <br style="clear: both;" /> </asp:Panel> </div> <asp:LinqDataSource ID="LinqDataSourceLocumCoordinators" runat="server" ContextTypeName="ExciteEngine2.DAL.LINQ.ExciteEngine2DataContextDataContext" Select='new (OID, String.Concat(FirstName, " ", LastName) AS FullName)' TableName="Users" Where="UserTypeID == @UserTypeID && IsActive == @IsActive"> <WhereParameters> <asp:Parameter DefaultValue="2" Name="UserTypeID" Type="Int32" /> <asp:Parameter DefaultValue="true" Name="IsActive" Type="Boolean" /> </WhereParameters> </asp:LinqDataSource> <asp:LinqDataSource ID="LinqDataSourceCounties" runat="server" ContextTypeName="ExciteEngine2.DAL.LINQ.ExciteEngine2DataContextDataContext" OrderBy="Name" Select='new (OID, String.Concat(Name, " (", OID.ToString(), ")") As CName )' TableName="Counties" /></asp:Content>hi telerik community,
i have an telerik application with two main areas (RadPanes) divided by RadSpliterBar. within the left RadPane i have an RadPanelBar as a menu. in the right RadPane is a combination of RadTabStrip and RadMultiPage. the RadTabs and PageViews were added dynamically. within each RadPageView i have usercontrols. but there can be more than one tab-pageview combination from one specific type of tab-pageview. this means that I can have two tab-pageview combinations with two instances of the same usercontrol inside.
what is the best way to ajaxify this kind of application?
thank you for your help
bernhard
<form id="form1" runat="server"> <asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager> <div> <telerik:RadGrid ID="RadGrid1" runat="server" OnNeedDataSource="RiskGrid_NeedDataSource" OnItemCreated="RiskGrid_ItemCreated"> <MasterTableView commanditemdisplay="Bottom"> <Columns> <telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditCommandColumn"> <HeaderStyle Width="2%" /> <ItemStyle CssClass="MyImageButton" /> </telerik:GridEditCommandColumn> </Columns> </MasterTableView> </telerik:RadGrid> </div> </form>protected void RiskGrid_ItemCreated(object sender, Telerik.Web.UI.GridItemEventArgs e) { if (e.Item is GridEditableItem && e.Item.IsInEditMode) { GridEditableItem item = e.Item as GridEditableItem; GridDateTimeColumnEditor editor = (GridDateTimeColumnEditor)item.EditManager.GetColumnEditor("DateReported"); TableCell cell = (TableCell)editor.PickerControl.Parent; RequiredFieldValidator validator = new RequiredFieldValidator(); editor.PickerControl.ID = "rdpDateRecorded"; validator.ControlToValidate = editor.PickerControl.ID; validator.ErrorMessage = "*"; cell.Controls.Add(validator); } }