Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have a web site with a normal top level menu, all items are internal pages to be shown. But now I need one menu item to be the target button of an Ajax Modal Popup Extender control.
So the menu item is not a link to a new page but shall trigger the Show event of the mpe control. The menu and the mpe control are both in the master template.
What is a good and elegant solution to this?
Thanks in advance!
i use colorbox.js for these types of activities, but there are MANY jquery plugins for such activities. I hope you find this helpful.
Well Bob, colorbox seems like something I should look into, but I have used the Ajax Toolbox kit on this occation since it's an old favourite of mine. The solution is almost in place. All I lack is the markup for the menu item that should trigger the modal popup. My dummybutton works but should be converted to a menu item that is. I was hoping for a light and easy way of doing it.
I'll try to clarify my needs:
Main menu is xslt unordered list. One of the links there need to be the target control of my modal popup but what markup for this will work in xslt?
I've tried a simple HTML input control but it doesn't trigger the modal popup extension when posting.
I think that creating an xslt extension is a bit overkill but at the moment it's the only solution I can think of... It could be link that calls the MPE control's Show event.
Any better ideas?
My problem here was to trigger the MPE overlay from a normal menu as unordered list xslt.
I knew it wasn't really hard just couldn't get my head wrapped around it. I ended up doing this:
<li> <a href="#" onclick="document.getElementById('ctl00_ctl00_ctl00_ContentPlaceHolderDefault_btnOverlay').click();">DESTINASJONER</a> <xsl:text> / </xsl:text> </li>
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted