This project is read-only.

Opening a popup when clicked on a <mui:Link>

Aug 30, 2013 at 11:04 AM
Edited Aug 30, 2013 at 3:27 PM
I want to open a popup when someone clicks on a link? What would be the best way to implement that?

I allready tried to inheret the class and bind a onclick event to it, but I can't get that working (maybe i'm doing something wrong)
Aug 30, 2013 at 3:32 PM
What type of link are you refering to? Links in BBCodeBlock can execute an ICommand, which you can use to do anything including opening a popup. ModernMenu and ModernTab links are currently limited to opening content in a ModernFrame. I'm looking into how to expand its use.
Aug 30, 2013 at 3:34 PM
Edited Aug 30, 2013 at 3:56 PM
I want to open a popup with a usercontrol when you click on "add employee". I want to be able to open that popup from the "company" page, but also from the menu under the "employee" tab.

My idea was of implementing a "click" event. Inside that event I can implement the popup, but for some reason I can't get the click event firing.