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.
Print | posted on Tuesday, July 29, 2008 2:19 PM

Feedback

No comments posted yet.
Title  
Name
Email (never displayed)
Url
Comments   
Please add 5 and 1 and type the answer here: