The JSRequest class is a JavaScript object that lives on all
SharePoint Pages, and allows us to simply and quickly get query string
values using JavaScript.
It has 3 fields: QueryString, FileName, and PathName.
QueryString - is an array of key\value pairs representing the current query string parameters.
FileName - is a string containing the current name of the current page.
PathName - is...
Friday, March 22, 2013
Pass parameter to redirect url in GenFireServerEvent SharePoint 2010
Many users try to redirect the page to custom page with custom query string after clicking the save button in list forms. Most of the websites give below solution to use custom button which just redirect to page.
Instead of using the default sharepoint buttons:
<SharePoint:SaveButton runat="server" ControlMode="Edit" id="savebutton1" Text="OK"/>
<SharePoint:GoBackButton runat="server"...
Wednesday, March 20, 2013
Enable Design view in Visual Studio 2010
I was creating a visual webpart using Visual Studio 2010 for SharePoint 2010 in dev server. After adding a Visual webpart to my SharePoint project, it showed me HTML Source page and there was no option for switching to Design page.
To Enable Design View:1. Goto Tools -> Options in Visual Studio...