Search
Hall of Fame
About Us
All Questions
New Question
Login
SharePoint - pass from one page to another
Asked By
Bookworm
on 09-Jan-12 06:10 AM
Hi,
I need to go from page1 to page2, on a button event in page1
how is the code to do this in sharepoint 2010?
thnx
kalpana aparnathi
replied to
Bookworm
on 09-Jan-12 06:19 AM
http://www.mattknott.com/content/blog/2009/02/Moving_A_SharePoint_Publishing_Page_To_Another_Site_Collection_-_Part_2.html
Bookworm
replied to
kalpana aparnathi
on 09-Jan-12 06:22 AM
i mean two pages inside a sitecollection,
how can i link them together?
D Company
replied to
Bookworm
on 09-Jan-12 06:27 AM
you can use below code line
HttpContext.Current.response.Redirect("pagename");
with sandbox solution use below
Page.Response.Redirect("pagename");
dipa ahuja
replied to
Bookworm
on 09-Jan-12 06:40 AM
Use
SPUtility.Redirect()
Add a using directive to Microsoft.SharePoint.Utilities
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.utilities.sputility.redirect.aspx
Jitendra Faye
replied to
Bookworm
on 09-Jan-12 02:56 PM
You can use Response.Redirect() to navigate from one page to second page.
ODBC Drivers for QuickBooks, Salesforce, SAP, MSCRM, SharePoint … Free Trial!