Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how call another asp file

Status
Not open for further replies.

Jefhandle

Technical User
Mar 9, 2005
69
DE
I have this button in my defualt.aspx
<asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/App_Themes/img/xsx.gif" />
I will after clicking the Button call another asp file which
show a picture.
How should i do it ?
Thanks
 
You can redirect to the page on the button click:
Response.Redirect(YourPage.aspx)
 
thanks, it works, but redirect me. I will open the asp file in a new window?
 
then u want to use Javascript (if new window). checkout the window.open() command...

Known is handfull, Unknown is worldfull
 
i call the Response.Redirect from a method onside the codebehind file.
Is there another way to do it without the javascript in the aspx file?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top