I have developed web application in asp.net 2.0. I have number of pages and i want to open new ie instance on button click event.

Recommended Answers

All 3 Replies

You want to open the page? if yes you can use response.redirect("URL").

You want to open the page? if yes you can use response.redirect("URL").

Dear Freind,
My Coding is *** BTNVIEW.POSTBACKURL = "~/REP_SALARY.ASPX"

I tried what u advise me ** response.redirect("~/REP_SALARY.ASPX")
it is also doing samething - means it is displaying my report into
the current ie instance.

I WANT TO OPEN NEW IE WINDOW.
FOR EXAMPLE - WE DO RIGHT CLICK ON ANY LINK THEN OPEN IN NEW WINDOW.

I HOPE YOU GOT MY POINT.

THANKS FOR CO-OPERATION

You may try something like

<asp:Button ID="btnNewEntry" runat="Server" CssClass="button" Text="New Entry"

OnClick="btnNewEntry_Click" OnClientClick="aspnetForm.target ='_blank';"/>

Hope that works for you.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.