This is a migrated thread and some comments may be shown as answers.

Not answered Date filter in Radchart throwing exception in javascript

1 Answer 46 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Manishkumar
Top achievements
Rank 1
Manishkumar asked on 29 Sep 2011, 02:53 PM
Hi,

We are using Radgrid having date field colums with AllowFilteringByColumn="true" property.
While the page is loading we get this error 'ct100_ContentPlaceHolder1_GridName_gdtcSharedCalendar'  was not found. Could you please tell us where are we possibly going wrong.

Also because of this error, the page does not load properly and  the grid becomes distorted.
Here's our code:

can you please provide the solution for this.

<telerik:RadGrid GridLines="None" HorizontalAlign="Left" BackColor="#EFF7FF" ID="gvDrilDown"
                               CellPadding="0" CellSpacing="0" EnableViewState="true" AllowMultiRowSelection="false"
                               runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="true"
                               AllowFilteringByColumn="true" PageSize="50" AllowAutomaticDeletes="false" PagerStyle-AlwaysVisible="true"
                               PagerStyle-Mode="NextPrevAndNumeric" OnNeedDataSource="gvDrilDown_NeedDatasource"
                               OnColumnCreated="gvDrilDown_ColumnCreated" Skin="Office2007" OnPreRender="gvDrilDown_PreRender"
                               OnItemDataBound="gvDrilDown_ItemDataBound" HeaderStyle-HorizontalAlign="Center"
                               ItemStyle-CssClass="borderRight" HeaderStyle-Font-Underline="true" OnItemCreated="gvDrilDown_OnItemCreated"
                               Height="100%"
                               <HeaderStyle HorizontalAlign="Center" Wrap="false" CssClass="clsTableHeading1" Font-Underline="true" /> 
                               <ItemStyle /> 
                               <MasterTableView TableLayout="Auto" Name="DrilDownRpt" AllowMultiColumnSorting="false"
                                   <NoRecordsTemplate
                                       <span class="clsTableCellLeft1" style="padding-left: 250px;"><b>Sorry, there is no matching 
                                           data available for display.</b></span
                                   </NoRecordsTemplate
                               </MasterTableView
                               <ClientSettings EnableRowHoverStyle="false"
                                   <Scrolling AllowScroll="true" UseStaticHeaders="true" /> 
                                   <Resizing AllowRowResize="false" AllowColumnResize="false" /> 
                               </ClientSettings
                               <ItemStyle Font-Size="8pt" /> 
</telerik:RadGrid>

1 Answer, 1 is accepted

Sort by
0
Mira
Telerik team
answered on 04 Oct 2011, 10:05 AM
Hello Manishkumar,

I have tried to replicate the described issue with a grid with auto-generated columns but to no avail. Attached to this post, you will find the code which I used for testing.

If you have ajaxified your page and the grid is in a dynamically loaded usercontrol, please make sure that the usercontrol is loaded properly.
You can examine the Loading User Controls demo for a sample.

I hope this helps.

Greetings,
Mira
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
Grid
Asked by
Manishkumar
Top achievements
Rank 1
Answers by
Mira
Telerik team
Share this question
or