iEntry 10th Anniversary Webforumz RegistrationAnnouncements Contact Webforumz StaffContact
Home Resources Blogs Meet the Team Contact Register
 

Go Back   WebForumz.com > The Code > .NET

Reply
 
LinkBack Thread Tools
Old August 30th, 2007, 06:56 AM   #1
New Member
 

Join Date: Jul 2006
Location: Bangkok
Age: 28
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 chandra.nowduri is on a distinguished road
ASP.NET AJAX and Image problem

Hi all.
I am using AJAX Tab Control to display a grid view in one tab and an IMAGE in another tab.

The image is created within the program and saved to "images" folder using Serve.MapPath.

Everytime the TAB index is changed, I do postback and call the code to create IMAGE. The image displays the value of dropdown box.

When I click the IMAGE TAB for the first time it is displaying the value of dropdown box correctly. But when I select another value and click the IMAGE TAB again it is not updating the image.... it still shows the old image. But I am sure that the IMAGE is updated with new value (i can open the image from "images" folder manually and see the new value).

I am also sure that the page is posted back and new image is created (debugging revelas this).Even I change the tabs and come back to the image tab, it still shows old image..even thought the ImageUrl is pointing to the new (updated) image.

But when i press F5 (refresh) it is displaying the updated image with new value.

Can anyone help me solve this ? I dont want the user to press F5 everytime they select new value from dropdown box. I want the user to select new value and then press the TAB and display the new Image.

Thanks,
Chandra
chandra.nowduri is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old April 13th, 2009, 04:09 PM   #2
New Member
 

Join Date: Apr 2009
Location: Romania
Age: 25
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 dpintilei is on a distinguished road
Re: ASP.NET AJAX and Image problem

I had the same problem when trying to build a dynamic image.
In *.aspx design view in Visual Studio set for the ScriptManager EnablePartialRendering to "false". Or you can do this directly in your *.aspx code: <asp:ScriptManager EnablePartialRendering="false" .... />

Hope this works.
dpintilei is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old November 14th, 2009, 08:07 AM   #3
New Member
 

Join Date: Dec 2008
Location: 1
Posts: 30
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 defg639 is on a distinguished road
Angry Replica Coach Handbags

Coach is a leading American designer and maker of luxury lifestyle handbags and accessories. Using a range of quality fabrics and materials, Coach’s product including coach purse,coach bags,coach shoes ,coach apparel...it is very popular in usa now.Replica Coach Handbags
defg639 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks

Tags
ajax , aspnet , image , tab control


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
problem in IE after asynchronous (AJAX) call pesho318i HTML, XHTML and CSS 3 March 21st, 2008 01:17 PM
First image problem and inline list problem konnor5092 HTML, XHTML and CSS 8 December 1st, 2007 06:08 AM
[SOLVED] Javascript Ajax problem Hermanusbanken JavaScript 3 October 2nd, 2007 11:22 AM
image problem SniperElite HTML, XHTML and CSS 31 August 28th, 2007 05:23 AM
Ajax Messages (Ajax Demonstration) iMarc JavaScript 1 March 21st, 2007 08:48 PM


Search Engine Optimization by vBSEO 3.2.0 RC8