Hello
what iam trying to do is i am returning a dataview through a
<Ajax.AjaxMethod()>function and from that dataview i want to fill a
datagrid.
The code what i have written is as below,
function abcd_CallBack(response)
{
if (response.error != null)
{
return;
}
var objdata = response.value;
if (objdata == null || typeof(objdata) != "object")
{
return;
}
var datalist = document.getElementById("DataGrid1");
for (var i = 0; i < objdata.length - 1; i++)
{
// i will fill the datagrid here
}
}
if i am alerting objdata.length it gives undefined.
Any idea how to implement this.
Thanks/Regards
Guritfaq
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ajax.NET Professional" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/ajaxpro
The latest downloads of Ajax.NET Professional can be found at
http://www.ajaxpro.info
-~----------~----~----~----~------~----~------~--~---