Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
40
Error when using Masterpage with UltraWebGrid
posted

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

function AddNew()

{

var grid = igtbl_getGridById("ultra_Box");

//alert(gridName);

alert(grid);

igtbl_addNew(
"ultra_Box",0);

}

</script>

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

function AddNew()

{

var grid = igtbl_getGridById("ultra_Box");

//alert(gridName);

alert(grid);

igtbl_addNew(
"ultra_Box",0);

}

 

</script>when i run. not error

but i can't add new row for grid

and alert(grid) resume is 'undefine'

Parents Reply Children
No Data