Click here to Skip to main content
15,895,709 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I'm working on creating tabbed browser in VB.NET. I find difficulty in opening the link in the new window or browser. The url link in the browser goes to IE and not opening in the VB browser.

Can someone help me how to get it fixed?

Thank you.
Posted
Updated 20-Oct-20 14:17pm

There are several ways to do it. One I used is
Response.Write("<script>window.open(" + redirectURL + ",'_blank');</script>")



Another example where I populated my list with links:
Dim link As HyperLink = CType(item.Cells(0).FindControl("lnkOpenQuote"), HyperLink)
If linkedQuoteList(item.ItemIndex).BusinessLineId = Library.Constants.LineOfBusinessid.PersonalUmbrella Then
    Dim redirectURL As String = "yoursiteURL"
    redirectURL += "parameters if any"
    link.NavigateUrl = redirectURL
    link.Target = "_blank"
 
Share this answer
 
create panel buddy

when button click even

previouspanle.visible=false
newpanel.visible=true

in new panel provide your complete page data which you are providing there.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900