C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




Change the image on webpage using AJAX


Posted Date: 25 Jul 2007    Resource Type: Code Snippets    Category: AJAX

Posted By: Koteswara Rao       Member Level: Gold
Rating:     Points: 10



This AJAX code sample shows how to rotate the image on a webpage without having to refresh the web page. It uses the AJAX technology to replace the Image from the server side.

Place the following AJAX controls in the .ASPX web page. The code snippet includes a timer control, which triggers a server call to replace the image, every 1000 milli seconds.
















Write the following code in the server side code behind file:

protected void Timer1_Tick(object sender, EventArgs e)
{
Image1.ImageUrl = GetNewImagePath();
}

private string GetNewImagePath()
{
// return a new image path each time this function is called.
}




Responses

Author: Parshuram    17 May 2008Member Level: Gold   Points : 2
Hello See This Below Attachment Code & implement To Your Project
Code Is VB.net




AJAX SLIDE SHOW EXAMPLE.doc
Feedbacks      
Popular Tags   What are tags ?   Search Tags  
(No tags found.)

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Previous Resource: AJAX(How to call a Asynchorous page Using Javascript)
Return to Discussion Resource Index
Post New Resource
Category: AJAX


Post resources and earn money!
 
Related Resources



dotNet Slackers   BizTalk Adaptors    Web Design

conference calls

Contact Us    Privacy Policy    Terms Of Use