I have been reading through some posts here and tried googling. I
guess I just don't understand how to read through a C# struct that I
passed back to the client. I know all the data is there by using
fiddler...just how the heck to I access it?
**ServerCode**
---------------------
[AjaxPro.AjaxMethod]
public Instrument_Info Search(string MNum)
{
// Fill Global Structure
global_inst_info.Tag = Convert.ToInt32(MNum);
global_inst_info =
InstDB.GetInstrumentInfo(global_inst_info);
return global_inst_info;
}
**ClientCode**
---------------------
function runSearch()
{
InvDBMan.InventoryForm.Search(document.getElementById("txtM").value,
function(res){
alert(res);
});
return false;
}
Any help is much appreciated. Thanks.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---