.ASPX code:
<div style="WIDTH: 948px; HEIGHT: 450px; OVERFLOW: auto" id="divDetails" align="center" runat="server"> <asp:datagrid style="Z-INDEX: 0" id="dgDetails" Runat="server" Width="75%" ShowFooter="True" AllowSorting="True" AutoGenerateColumns="False" OnSortCommand="dgDetails_SortCommand"> . . . </asp:datagrid> </div>
Jquery code:
$(document).ready(function () { var height = $('#dgDetails').height(); alert(height); });
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)