You shoud use JS t get a value and pass it to server like this:
function strToUppercase(){
var textbox = document.getElementById(TE_Word);
Matteo.Web.AtlasMusicArchiver.Admin.Prova.StrToUppercase(textbox.value,
strToUppercase_callback);
}
and in the .CS file of the aspx page:
[AjaxPro.AjaxMethod]
public string StrToUppercase(string text)
{
string _result = text+", hello from server";
return _result;
}
ASP.Net components are not accessible from AjaxPro methods because page
life cycle is not occur.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---