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>
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>