Sharepoint Forum

 
Home » Forum » Sharepoint       Ask a questionRSS Feeds

Use of AJAX in SharePoint

  Asked By: Lyndsey Gibbs         Date: Feb 19, 2007      Category: Sharepoint      Views: 398
 

Has anyone tried using AJAX in SharePoint? I have a web
part with two dropdownlists. One dropdownlist will have the country
names as values and the other dropdownlist will be populated
with "State" values based on the selected country in the first
dropdownlist.

Basically, the second dropdownlist will be populated
with "State" values based on the selected "Country" value in the first
dropdownlist. And I want this to happen using AJAX, so that the page
is not posted back but the action takes place by retrieving values
after requesting the server.

Kindly help me regarding this matter. If you get any
article/code that describes my case, please forward ASAP.

Tagged:          

 

4 Answers Found

 
Answer #1       Answered By: Kedar Phule          Answered On: Feb 19, 2007       

Let us know how it goes for you. I have been thinking about doing similar
things.

 
Answer #2       Answered By: Chanel Gaines          Answered On: Feb 19, 2007       

I have had built a web part using AJAX. You need to register the java script.
Follow the link below for the same.


msdn.microsoft.com/.../Cr\
eateWPClientScript_SV01003713.asp

I had problem registering it externally so I register in code.
And it really works magic. I could avoid Sharepoints postback problem using
it.

 
Answer #3       Answered By: Timmy Whitney          Answered On: Feb 19, 2007       

I was looking for this information for ages.

 
Answer #4       Answered By: Harihar Sonnad          Answered On: Feb 19, 2007       

The information you provided is worth "billion gems". I was
hunting for that piece of information for decades. It will surely throw light to
my problem and I am working on it right now to find a solution.

 
Didn't find what you were looking for? Find more on Use of AJAX in SharePoint Or get search suggestion and latest updates.


Your Answer
  • Answer should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].