SharePoint Blog - René Hézser

Anmelden  RSS Feed RSS Feed
Startet die Suche

Archive

Kategorien

Links

Andere Blogs




ITaCS GmbH


Check, if you are within a modal dialog  

Apr 202011

By now, you probably know that the modal framework from SharePoint 2010 is a great thing Smile

In case you need to find out if the context is within a modal dialog, you can query for the URL parameter “IsDlg”.

if (Page.Request["IsDlg"] != null)
{
   // within a modal dialog
}
else
{
   // not within a modal dialog
}
 
Posted by René Hézser | 0  Comments | Trackback Url  | 0  Links to this post | Bookmark this post with:        
Tags: Development, SharePoint
Technorati Tags: ,

Links to this post

Comments

Name *:
URL:
Email:
Kommentar:


CAPTCHA Image Validation