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

Radgrid Java script bug

3 Answers 40 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Che
Top achievements
Rank 1
Che asked on 27 Jul 2010, 03:16 AM
Hi I have a rad grid and when ever I debug it, I always get this dynamic JS error...

Webpage Error: do u want to debug this webpage..if I click yes....I get Micrsoft JS runtime error: Object required..

Here is that JS code
<script language="javascript" type="text/javascript">

        function GridCreated(sender, args)

         {

            var scrollArea = sender.GridDataDiv;

            var dataHeight = sender.get_masterTableView().get_element().clientHeight;

            if(dataHeight < 350)

            {

scrollArea.style.height =dataHeight + 250 + "px";-------------------------at this line is the error.

 

            }

         }

         </script> 

3 Answers, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 30 Jul 2010, 11:45 AM
Hello Che,

I am afraid that I am not able to reproduce the issue locally. Would you mind sending me your RadGrid declaration? Could you also confirm the exact version of RadControl that you are currently using?

Regards,
Martin
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
0
Che
Top achievements
Rank 1
answered on 30 Jul 2010, 06:20 PM
File Version: 2009.2.701.35
Copyright: Telerik 2002-2009

What do u mean by rad grid declaration?
0
Martin
Telerik team
answered on 03 Aug 2010, 04:36 PM
Hello Che,

By "RadGrid declaration" I mean the markup code of your grid.

Regards,
Martin
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
Che
Top achievements
Rank 1
Answers by
Martin
Telerik team
Che
Top achievements
Rank 1
Share this question
or