Want to open new tab while using Resolve.url in asp.net c#.
previewlink.NavigateUrl = ResolveUrl("~/admin/Preview_paper.aspx");
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Set the hyperlink’s
Targetproperty to “_blank”:Target = "_blank"Though it may go without saying, if the user’s browser settings are such that they use new windows instead of tabs, this will open it in a new window, but I’m guessing that’s not an issue.
EDIT: here’s some sample code