Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Dec 24, 2012 07:54 AM by Song-Tian - MSFT
Dec 23, 2012 10:55 AM|LINK
I need to get enlarged image in pop up on clicking thumbnails of images . I have written a listview , inside Item template , an image button. Modal pop is not working inside the list view. So I have written modal pop up outside the listview and one button
as target control id of modal pop up and image panel with image button and close button as popup control id.
In the code behind, listview item command , I am updating imageUrl for each image and last modalpopup.show()
But while executing, pop up is coming without image.
Can someone please help? Thanks
Dec 24, 2012 02:36 AM|LINK
and set the src of the image by using $get("imagecontrolID").src="";
Dec 24, 2012 07:07 AM|LINK
Thanks for your reply.
But it is not working for me. Getting same issue. Popup is coming without image.
The links provided above are also not solving the problem.
If I am setting any image in the page load itself, that image is coming in the popup. Anything I am still missing?
Dec 24, 2012 07:54 AM|LINK
First, make sure you install the correct version of the AjaxControlToolkit:
Version 3.0.20229 2008-02-29 release of the AJAX Control Toolkit targets the official release of .NET Framework 3.5 and Visual Studio 2008.
Version 1.0.20229 You can also download the Toolkit for .NET Framework 2.0, ASP.NET AJAX 1.0 and Visual Studio 2005.
April 12, 2010 release of the AJAX Control Toolkit for ASP.NET 3.5 Service Pack 1 and Visual Studio 2008 SP1.
Nov 16 2011 release of the AJAX Control Toolkit for ASP.NET 4.0 and Visual Studio 2010
September 2012 release of the AJAX Control Toolkit for ASP.NET 4.5 and Visual Studio 2012
Then you could add the Ajax Control Toolkit to the VS Toolbox step by step at:http://www.asp.net/ajaxlibrary/act.ashx
Second, please refer to: