954,585 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Open form on the same window

I am trying to open another page from an image. I can open the page on a different window by doing this: onclick="Response.Redirect(cci_info\cci\features\create_CCI\WebForm1.aspx);"

But I don't want to open another window, rather I need the image button to open a page in the same window.

Thanks for the help.

<asp:image imageurl="~/common/images/demos/header-buildsummary.png" width="125" height="34" alternatetext="CCI Form" runat="server" cssclass="site"
id="cciform" onmouseover="this.src='common/images/demos/header-cciform-hover.png';"
onmouseout="this.src='common/images/demos/header-cciform.png';"
onclick="Response.Redirect(cci_info\cci\features\create_CCI\WebForm1.aspx);" title="Test - CCI"TabIndex="1"/>
rocket1356
Newbie Poster
13 posts since Jun 2007
Reputation Points: 10
Solved Threads: 0
 

you may try target="_SELF" in

pmpn
Light Poster
45 posts since Apr 2008
Reputation Points: 10
Solved Threads: 1
 

Good information for me too

kapilver
Newbie Poster
5 posts since Apr 2006
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You