The problem is if you are using
var msg = document.getElementById("txtApptID").value;
you always will get a string, it does not depend on what you enter!!
See DOM documentation. It will work if you use this code:
FanshaweStudentServices.ServerSidePage.LoadSelectedAppt(parseInt(msg,
10), LoadSelectedApptCallback);
Regards,
Michael
On 4/4/06, charles <[EMAIL PROTECTED]> wrote:
>
> On the client side, I am passing a number as my value or input
> parameter in the method
>
>
> var msg = document.getElementById("txtApptID").value;// this receives a
> number which is passed to the method below
>
> FanshaweStudentServices.ServerSidePage.LoadSelectedAppt(msg,LoadSelectedApptCallback);
>
> So in the new version the above method is not accepting the number as
> an input parameter. However if msg is string, then I have no problem
> with the function.
>
> In the 5.12.21 version the method was acccepting a number as an input
> parameter
>
>
> >
>
--
Kind regards,
Michael Schwarz
Microsoft MVP - Most Valuable Professional
Microsoft MCAD - Certified Application Developer
http://www.schwarz-interactive.de/
mailto:[EMAIL PROTECTED]
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---