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

[Solved] Dynamic Java script errors on RadGrid Rowselect

2 Answers 168 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Anshul
Top achievements
Rank 1
Anshul asked on 02 Jun 2009, 06:40 PM


Hi,

I have radGrid with the following markup:

 

<

 

telerik:RadGrid ID="RadGridMapFilter" runat="server" AllowPaging="True" ClientSettings-EnablePostBackOnRowClick="true"

 

 

 

 

 

PagerStyle-Mode="Slider"

 

 

GridLines="None" Width="377px" AutoGenerateColumns="False" Height="320px" >

 

 

 

 

 

 

<MasterTableView>

 

 

 

 

 

<columns>

 

 

<telerik:GridBoundColumn DataField="FilterAbb" HeaderText="Filters"

 

 

SortExpression="Filters" Visible="false" />

 

 

 

 

 

<telerik:GridBoundColumn DataField="FilterName" HeaderText="Filters"

 

 

SortExpression="Filters" Visible="true" />

 

 

 

 

 

</columns>

 

 

 

 

 

 

<RowIndicatorColumn Visible="False">

 

 

 

 

 

<HeaderStyle Width="20px" />

 

 

 

 

 

</RowIndicatorColumn>

 

 

 

 

 

<ExpandCollapseColumn Resizable="False" Visible="False">

 

 

 

 

 

<HeaderStyle Width="20px" />

 

 

 

 

 

</ExpandCollapseColumn>

 

 

 

 

 

<EditFormSettings>

 

 

 

 

 

<PopUpSettings ScrollBars="None" />

 

 

 

 

 

</EditFormSettings>

 

 

 

 

 

</MasterTableView>

 

 

 

 

 

<ClientSettings>

 

 

 

 

 

<Selecting AllowRowSelect="True" />

 

 

 

 

 

</ClientSettings>

 

 

 

 

 

</telerik:RadGrid>

 

 

 

The issue is that When I select a row in this grid, randomly it will spit out Dynamic javascript errors. After debugging the Dynamic javascript error it breaks on the first line(var _33 =_31.parentNode;)

var _33=_31.parentNode;
var _34=_31.nextSibling||Telerik.Web.UI.RadAjaxControl.GetNodeNextSibling(_31);
Telerik.Web.UI.RadAjaxControl.InsertAtLocation(_32,_33,_34);
_31.parentNode.removeChild(_31);
}

The error just says "Microsoft JScript runtime error: Object required"

Any idea why this happens randomly.The version of the telerik.web.UI dll we are using is v2008.2.1001.35.

Please let me know if you need more information from me.

Thank you,
Anshul.

2 Answers, 1 is accepted

Sort by
0
Anshul
Top achievements
Rank 1
answered on 03 Jun 2009, 01:54 PM
Hi,

Just wondering if anyone got a chance to look into this issue.

Thank you,
Anshul.
0
Pavlina
Telerik team
answered on 05 Jun 2009, 10:54 AM
Hi Anshul,

I followed your scenario in order to replicate the issue but to no avail.
Please find attached a simple runnable application which handles the desired functionality. Give it a try and let me know if you need further assistance.

Greetings,
Pavlina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Grid
Asked by
Anshul
Top achievements
Rank 1
Answers by
Anshul
Top achievements
Rank 1
Pavlina
Telerik team
Share this question
or