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.
When you want to show the modalpopup will the image, you can call the javascript code "$find('modalpopup1').show();" to go. In ModalPopup Panel, you can define an imagecontrol. In the thumtial image client click event, you can call "$find('modalpopup1').show();"
and set the src of the image by using $get("imagecontrolID").src="";
ebizuser
Member
1 Points
4 Posts
Modal Pop up extender is not working
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
chetan.sarod...
All-Star
65619 Points
11118 Posts
Re: Modal Pop up extender is not working
Dec 24, 2012 02:36 AM|LINK
Hi,
When you want to show the modalpopup will the image, you can call the javascript code "$find('modalpopup1').show();" to go. In ModalPopup Panel, you can define an imagecontrol. In the thumtial image client click event, you can call "$find('modalpopup1').show();" and set the src of the image by using $get("imagecontrolID").src="";
http://forums.asp.net/p/1391385/2984142.aspx
http://forums.asp.net/p/1608836/4110374.aspx
Senior Software Engineer,
Approva Systems Pvt Ltd, Pune, India.
ebizuser
Member
1 Points
4 Posts
Re: Modal Pop up extender is not working
Dec 24, 2012 07:07 AM|LINK
Hi,
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?
Thanks!
Song-Tian - ...
All-Star
43699 Points
4304 Posts
Microsoft
Re: Modal Pop up extender is not working
Dec 24, 2012 07:54 AM|LINK
Hi,
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.
Version 3.0.40412
April 12, 2010 release of the AJAX Control Toolkit for ASP.NET 3.5 Service Pack 1 and Visual Studio 2008 SP1.
Version 4.1.51116.0
Nov 16 2011 release of the AJAX Control Toolkit for ASP.NET 4.0 and Visual Studio 2010
Version 4.1.60919
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: http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/ModalPopup/ModalPopup.aspx and http://www.asp.net/ajaxlibrary/act_ModalPopup.ashx .
Feedback to us
Develop and promote your apps in Windows Store