DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   C# (http://www.daniweb.com/forums/forum61.html)
-   -   Open page in the same window (http://www.daniweb.com/forums/thread125432.html)

rocket1356 May 21st, 2008 2:35 pm
Open page in 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"/>


All times are GMT -4. The time now is 9:56 pm.

Forum system based on vBulletin Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
©2003 - 2010 DaniWeb® LLC