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

RadGrid - sorting issue "sys.invalidoperationexception: type telerik.web.ui.orientation has already been registered"

1 Answer 48 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Kuldeep
Top achievements
Rank 1
Kuldeep asked on 21 Jun 2010, 01:04 PM
We have 2 RadGrid control on same page.
when i perform sorting on column, generates an error as below:
sys.invalidoperationexception: type telerik.web.ui.orientation has already been registered

Please find my code as below where i have used scriptManager and two RadGrid as "radDataGrid" and "radgridDataComponent"

<

 

asp:ScriptManager ID="ScriptManager1" ScriptMode runat="server">

 

 

 

 

 

</asp:ScriptManager>

 

 

 

 

 

<telerik:RadAjaxManager runat="server" ID="RadAjaxManager2" DefaultLoadingPanelID="RadAjaxLoadingPanel1">

 

 

 

 

 

<AjaxSettings>

 

 

 

 

 

<telerik:AjaxSetting AjaxControlID="radDataGrid">

 

 

 

 

 

<UpdatedControls>

 

 

 

 

 

<telerik:AjaxUpdatedControl LoadingPanelID="RadAjaxLoadingPanel1" UpdatePanelRenderMode="Block" ControlID="radDataGrid" />

 

 

 

 

 

</UpdatedControls>

 

 

 

 

 

</telerik:AjaxSetting>

 

 

 

 

 

<telerik:AjaxSetting AjaxControlID="radgridDataComponent">

 

 

 

 

 

<UpdatedControls>

 

 

 

 

 

<telerik:AjaxUpdatedControl LoadingPanelID="RadAjaxLoadingPanel1" UpdatePanelRenderMode="Block" ControlID="radgridDataComponent" />

 

 

 

 

 

</UpdatedControls>

 

 

 

 

 

</telerik:AjaxSetting>

 

 

 

 

 

</AjaxSettings>

 

 

 

 

 

</telerik:RadAjaxManager>

 

 

 

 

 

<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel2" runat="server" Skin="Default">

 

 

 

 

 

</telerik:RadAjaxLoadingPanel>

 

 

 

 

--------------------------------------------------------------------

Same settings on both grids as given below:

<

 

telerik:RadGrid ID="RadGrid1" Width="100%" runat="server" Skin="MyDefault"EnableEmbeddedSkins="false" ShowStatusBar="true" AllowFilteringByColumn="false" AllowSorting="true" AllowPaging="true" AutoGenerateColumns="false" MasterTableView-HeaderStyle-CssClass="mycssGrid">

 

 

Please advice.

Kuldeep

 

 

 

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 24 Jun 2010, 09:02 AM
Hi Kuldeep,

Thanks for the sample code. However, we cannot reproduce the error you are describing. I took the sample code you provided and put it in a sample page following a similar scenario you have. I am attaching the page for your reference. Please let me know if you manage to reproduce what you are getting in this project, and what steps to follow, so that we can test it too.

Best wishes,
Pavlina
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Grid
Asked by
Kuldeep
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or