Sorry, should have included the other register type command
AjaxPro.Utility.RegisterTypeForAjax(typeof(VehicleDetails));
AjaxPro.Utility.RegisterTypeForAjax(typeof(DataSet));
Also, the ajax method is returning a dataset, it is working fine on my
local environment but not on our live test server, here is the code for
the ajax method:
[AjaxPro.AjaxMethod]
public DataSet VehicleMakeSelectedIndexChanged(int
vehicleMakeId)
{
DataSet ds = new DataSet();
DataTable dt = new DataTable("VehicleModels");
if (vehicleMakeId > 0)
{
_dal = new VehicleDetailsDAL(_channelId);
dt = _dal.GetVehicleModelsByMakeId(vehicleMakeId);
_dal = null;
}
ds.Tables.Add(dt);
return ds;
}
--~--~---------~--~----~------------~-------~--~----~
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/
Don't forget to read my blog at http://weblogs.asp.net/mschwarz/
-~----------~----~----~----~------~----~------~--~---