Who is online?  83 guests and 1 members
home »forums »asp.net topics »asp.net ajax »what is the aspx version of this page

what is the aspx version of this page

Topic RSS Feed

Posts under the topic: what is the aspx version of this page

Posted: 4/17/2009 12:09:06 AM

Starter 546  points  Starter
  • Joined on: 1/8/2009 6:16:57 AM
  • Posts: 14

Hi members,

I was going through this tutorial from w3schools.com  The example implements a  AJAX Suggest Example.

My issue is that the destination page is written in asp and PHP. You can check the pages from here .

What should be the aspx version of this page???? Where shpould i declare those arrays defined on those pages?

 

Thanks


Posted: 4/17/2009 12:44:17 AM

Contributor 3915  points  Contributor
  • Joined on: 11/27/2008 11:54:25 AM
  • Posts: 68
answered  Answered

Hi Joy,

In the ASPX version (or .NET version), you have two options:

1. either do inline coding (put the HTML and server side code on the same aspx page). This is the same style as in old ASP.

2.use code behind classes, here you declare your variables (arrays etc) in the .cs or .vb file, and put the HTML in the ASPX

Also, just a small note: W3C sites are not good for learning AJAX :) they are pretty outdated!

HTH,

Vivek


Posted: 4/17/2009 2:22:35 PM

Contributor 5756  points  Contributor
  • Joined on: 4/15/2009 12:12:23 PM
  • Posts: 263

 

joydeep157 said:

The example implements a  AJAX Suggest Example.

 

Hi,

If you are working with ASP.NET and want to implement google suggest functionality then you can refer the tutorials provided in the thread below:

 

http://www.codeasp.net/forums/asp-

Page 1 of 1 (3 items)