<%@ Control Language="C#" AutoEventWireup="true" ClassName="kitsTest" CodeBehind="itsMinMaxRadDatePicker.ascx.cs" Inherits="UserControls.itsMinMaxRadDatePicker" %><%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %><telerik:RadDatePicker ID="itsRadDatePicker" DateInput-OnClientDateChanged="itsMinMaxRadDatePicker" runat="server" /><%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/FormMasterPage2.master" AutoEventWireup="true" CodeBehind="AcademicYearEdit.aspx.cs" Inherits="Infrastructure.AcademicYearEdit" %><%@ Register TagPrefix="itsRadDatePicker" TagName="kitsTest" Src="UserControls/itsMinMaxRadDatePicker.ascx" %><%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %><asp:Content ID="Content3" ContentPlaceHolderID="MainContentPlaceHolder" runat="server"><itsRadDatePicker:kitsTest ID="test1" runat="server"></itsRadDatePicker:kitsTest></asp:Content>Hi,
I have a RadGrid (with Grouping and Filter buttons) displaying data. The grouping functionality is working and default value is set to expanded i.e. when I add a column to the group the individual groups are expanded).
The problem is though that when I navigate away and return the individual groups are collapsed. I have to open them up individually. Is there any way I can always get the items to be expanded? Would appreciate any comments/suggestions with in the code-behind file or in the front-end ASP.NET code
Thanks,
A.
*** ASP.NET Code as Follows:***
<telerik:RadToolBar runat="server" ID="RadToolBar1" OnButtonClick="RadToolBar1_ButtonClick">
<Items>
<telerik:RadToolBarButton CommandName="ShowGrouping" CheckOnClick="true" SkinID="GroupIcon"
Text="Show Grouping" AllowSelfUnCheck="true" Group="1" Checked="False" />
<telerik:RadToolBarButton CommandName="ShowFiltering" CheckOnClick="true" SkinID="SearchIcon"
Text="Show Filters" AllowSelfUnCheck="true" Group="2" />
</Items>
</telerik:RadToolBar>
<telerik:RadGrid ID="RadGrid1" runat="server" OnNeedDataSource="TelerikGridOnNeedDatasource"
PageSize="50" DataSourceID="dsTypeActions" AllowPaging="True" PagerStyle-AlwaysVisible="true" AutoGenerateColumns="False" AllowSorting="True">
<MasterTableView DataSourceID="dsTypeActions" AllowCustomSorting="True" OverrideDataSourceControlSorting="true" GroupsDefaultExpanded="True">
<Columns>
<telerik:GridBoundColumn DataField="Name" HeaderText="Name1" UniqueName="Name">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Address" HeaderText="Address1" UniqueName="Address">
</telerik:GridBoundColumn>
</Columns>
</MasterTableView>
</telerik:RadGrid>
</asp:View>
<font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">Hi Guys,<br><br> I'm new for telerik components. when i installed the rad controls in asp.net, the server page will look like shown below this error. any help would be greatly appreciated. <br><br>Could not load file or assembly 'System.Web.Entity, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified.</font><br><br><add assembly="System.Web.Entity, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
<telerik:RadAjaxManager runat="Server" ID="RadAjaxManager1"> <AjaxSettings> <telerik:AjaxSetting AjaxControlID="UserView"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="UserView" LoadingPanelID="RadAjaxLoadingPanel1" /> </UpdatedControls> </telerik:AjaxSetting> </AjaxSettings> </telerik:RadAjaxManager><telerik:RadGrid ID="UserView" GridLines="None" runat="server" AllowPaging="True" AutoGenerateColumns="False" Skin="Windows7" AllowSorting="true" Width="722" OnNeedDataSource="UserViewNeedDataSource" PageSize="20"> <PagerStyle Mode="NextPrevAndNumeric"/> <MasterTableView Width="722"> <Columns> <telerik:GridBoundColumn DataField="FullName" HeaderText="Name" SortExpression="FullName" UniqueName="FullNameColumn" /> <telerik:GridBoundColumn DataField="UserName" HeaderText="User Name" SortExpression="UserName" UniqueName="AdUserNameColumn" /> <telerik:GridBoundColumn DataField="Domain" HeaderText="Domain" SortExpression="Domain" UniqueName="AdDomainColumn" /> </Columns> </MasterTableView> </telerik:RadGrid>protected void Page_Load(object sender, EventArgs e) { if(!IsPostBack) { GetUsers(); } } private void GetUsers() { UserView.DataSource = _client.GetUsers(null); }protected void UserViewNeedDataSource(object sender, GridNeedDataSourceEventArgs e) { GetUsers(); }function refreshGrid() { var args = null; args = document.getElementById("inpHidden").value; if (args) { var mgr = $find("<%= RadAjaxManager1.ClientID %>"); if (mgr) { mgr.ajaxRequest(args); } } }<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" OnAjaxRequest="RadAjaxManager1_AjaxRequest"> <AjaxSettings> <telerik:AjaxSetting AjaxControlID="RadAjaxManager1"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="RadGrid2" /> </UpdatedControls> </telerik:AjaxSetting> <telerik:AjaxSetting AjaxControlID="RadGrid2"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="RadGrid2" /> </UpdatedControls> </telerik:AjaxSetting> </AjaxSettings> </telerik:RadAjaxManager> <telerik:RadAjaxPanel ID="RadAjaxPanel4" runat="server" Width="100%" LoadingPanelID="RadAjaxLoadingPanel4"> <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel4" runat="server""> telerik:RadAjaxLoadingPanel> <telerik:RadGrid ID="RadGrid1" ....
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
[ArgumentOutOfRangeException: The added or subtracted value results in an un-representable DateTime.Parameter name: value] System.DateTime.AddTicks(Int64 value) +7658243 Telerik.Web.UI.RadScheduler.UtcToDisplay(DateTime utcDate) +46 Telerik.Web.UI.AdvancedTemplate.PrefillRecurrenceControls() +68 Telerik.Web.UI.AdvancedTemplate.CreateControls(Control container) +68 Telerik.Web.UI.AdvancedTemplate.InstantiateIn(Control container) +78 Telerik.Web.UI.RadScheduler.CreateHiddenAdvancedInsertForm(Control container) +221 Telerik.Web.UI.RadScheduler.CreateHiddenAdvancedForms() +102 Telerik.Web.UI.RadScheduler.CreateChildControls(Boolean bindFromDataSource) +339 Telerik.Web.UI.RadScheduler.CreateChildControls() +10 System.Web.UI.Control.EnsureChildControls() +87 System.Web.UI.Control.PreRenderRecursiveInternal() +44 System.Web.UI.Control.PreRenderRecursiveInternal() +171 System.Web.UI.Control.PreRenderRecursiveInternal() +171 System.Web.UI.Control.PreRenderRecursiveInternal() +171 System.Web.UI.Control.PreRenderRecursiveInternal() +171 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842 |