----- Original Message ----- 
From: "Ravindra" <[EMAIL PROTECTED]>
To: "Ajax.NET Professional" <[email protected]>
Sent: Saturday, July 08, 2006 1:33 PM
Subject: [ajaxpro] Doubt regarding AJAX


You are almost there.  You are just missing the JavaScript script code to 
call the ASP.NET

Look at the getservertime sample at http://josephguadagno.net

Joseph Guadagno
http://josephguadagno.net
>
> Hello Sir/Madam,
>          I am Ravindra learning ASP.net and very much interested
> in AJAX. I am trying  to implement AJAX.
> But not able to get the output.
>
> I implemented the following steps:
>
> 1.Adding the reference AjaxPro.dll.
>
> 2.Configuring the web.config
>
>       <httpHandlers>
> <add verb="POST,GET"
>       path="ajaxpro/*.ashx"
>   type="AjaxPro.AjaxHandlerFactory, AjaxPro" />
> </httpHandlers>
>
> 3.implemented the code and method
>
> private void Page_Load(object sender, System.EventArgs e)
> {
> AjaxPro.Utility.RegisterTypeForAjax(typeof(Ajaxajax.WebForm1));
>
>
> }
>
> [AjaxPro.AjaxMethod()]
> public string GetServerTime()
> {
> return "Hi I am Ajax";
>
> }
>
>  4.Placing the code in HTMLDesigner
>
>      <script language="javascript" src="WebForm1.js"></script>
>
>
>  5.I also added a javascript file(WebForm1.js) as a new item
>
>    and I was confusing to edit which code.
>
>
>          please help me.........
>
>
>                        thank you,
>                                              Ravindra
>
>
> > 

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to