Open List form as modal dialog box SharePoint 2013 OOB

In share point 2013 list when you click on new item page open as full page not as dialog box as in share point 2010.

To open list pages(forms) in modal dialog box go to advance setting of the list and set yes to launch form in dialog in Dialogs section.

download (1)

You can use server side object model to open list form page to launched in a modal dialog

SPList.NavigateForFormsPages=false;

and to open as full page set

SPList.NavigateForFormsPages=true;

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s