please help me
i write a page test.aspx and test1.aspx. i using Masterpage for test1.aspx.
i using ultrawebgird for both
in test.aspx i write a function javascritp
-------------
<head runat="server">
<title>Untitled Page</title>
<script language ="Javascript" type ="text/javascript">
{
//alert(gridName);
alert(grid);
}
</head>
--------------------------
when run not error. and add new row to grid
in test1.aspx have using masterpage i write other a function javascript
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<script language ="javascript" type ="text/javascript">
but i can't add new row for grid
and alert(grid) resume is 'undefine'
That's because the ID if the grid control when it gets to the client is different if it's inside a content placeholder on a master page. Try using:
var grid = igtbl_getGridById("<%=ultra_Box.ClientID%>");
sorry. but if you write:
function javascript will don't run
please everyone help me.