Hi There,
I am working on telerik. I have used grid created function for my grid, which is working fine in IE7 but not working for IE6. Can anybody help me to know where i am doing mistake. The code i have used is:
Can anybody help me to come out of this problem??? Waiting....
Regards:
Vimal Kumar Srivastava
Madhepura, Bihar
Email Id: vimaltech04@gmail.com
I am working on telerik. I have used grid created function for my grid, which is working fine in IE7 but not working for IE6. Can anybody help me to know where i am doing mistake. The code i have used is:
<script type="text/javascript"> |
//------ Grid Resize ------ // |
function GridCreated() |
{ |
var scrollArea = document.getElementById("<%= rgIssueList.ClientID %>" + "_GridData"); |
var dataHeight = document.getElementById("ctl00_ContentPlaceHolder1_rgIssueList_ctl00"); |
var dataWidth = document.getElementById("ctl00_ContentPlaceHolder1_rgIssueList_ctl00_Header"); |
if(dataHeight.clientHeight < 350) |
{ |
scrollArea.style.height = dataHeight.clientHeight + 20 + "px"; |
scrollArea.style.overflow = "auto"; |
} |
} |
</script> |
Regards:
Vimal Kumar Srivastava
Madhepura, Bihar
Email Id: vimaltech04@gmail.com