C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Forums » .NET » .NET »

How to open new page in dot net


Posted Date: 03 Nov 2009      Posted By: manoj ruwali      Member Level: Silver     Points: 1   Responses: 4



i have a Asp:imagebutton i want to open new page on click on this page from aspx.cs without closing parents page a href tag in not needed bcz i need to check some credemtials indise the page

Thanks
Manoj





Responses

Author: greeny_1984    03 Nov 2009Member Level: DiamondRating: 2 out of 52 out of 5     Points: 2

Hi,

You can use window.open("pagename.aspx") to open a pop up window.

Regards,
Greeny_1984

Rate this Response[Excellent/Good/Poor]
FRESHERS check this link
Need help from me join here



Author: Lakhan Pal    03 Nov 2009Member Level: DiamondRating: 2 out of 52 out of 5     Points: 2

Hi -

As Suggested By greeny you can use window.open("pagename.aspx") to open a pop up window. and register this Script on Button click using Page.RegisterStartupScript method.

Please rate this answer if it helped you.
Thanks & Regards
Lakhan Pal Garg
Free Code Snippets



Author: :) Bob (:    03 Nov 2009Member Level: GoldRating: 2 out of 52 out of 5     Points: 2

hai

use window.open("<pagename>")



Author: greeny_1984    03 Nov 2009Member Level: DiamondRating: 2 out of 52 out of 5     Points: 2

In the sever side you can open page as follows


ClientScript.RegisterStartupScript(this.GetType(), "", "<script language=javascript>window.open("page.aspx")</script>");



Regards,
Greeny_1984

Rate this Response[Excellent/Good/Poor]
FRESHERS check this link
Need help from me join here



Post Reply
You must Sign In to post a response.
Next : Reflection
Previous : Crystal reports printing
Return to Discussion Forum
Post New Message
Category: .NET

Related Messages



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use