Get BehaviorID from Master Page

You can definitely find this information elsewhere

But...I'm going to put it here right so I know where to go next time :)

I have/had a situation where I had a modal control on my master page - it's what I'm using for a user to log into my application.  I have many pages that need to call this - but I needed a way to call the show() method on my modal pop-up, from javascript.  Here is the solution...

  var modalOnmaster = $find("ctlModalPopupBehavior");
  modalOnmaster.show();

Thank you Brett.
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Print | posted @ Tuesday, July 29, 2008 2:19 PM

Twitter