Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

How to redirect from one page to another page on button click

$
0
0
Hi All,

I am new SharePoint and still learning it.

I have created a Provider Hosted App. This app creates a list by name "JobsListing" and has two ASPX page, one ASPX page shows all open jobs (Page name is “Open Jobs”) and other page gives an option to apply for a given job (Page name is “Jobdetails”). 
The Page (“Open Jobs”) that list down all the open jobs shows has a link for more details, when the user clicks the more details they redirected to “Jobdetails” page which gives them complete information about the job being clicked, this (“Jobdetails ") page will have an apply button as well. 
However when I redirect page to “Jobdetails” page TokenHelper.GetContextTokenFromRequest(Request) value is null. I am using the following code to redirect to the “Jobdetails” page

Response.Redirect("Jobdetails.aspx")

I am not sure what is the best way to do this.

Thanks
Krishna

Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>