Click to See Complete Forum and Search --> : handling imagebutton event?


idqfizz
03-22-2006, 07:47 AM
Ok im rather new with using asp.net and I have a question about changing the content in a table column using an imagebutton. Whenever I click the imagebutton i want the iframe inside the table to load a new html page.

Currently it looks something like this:

<table>
<tr>
<td>
<asp:imagebutton imageurl="button.gif" id="button1" onclick="button1_click" runat="server"></asp:imagebutton>
</td>
<td>
<iframe id="container" src="page1.htm"></iframe>
</td>
</tr>
</table>

sirpelidor
03-22-2006, 02:10 PM
is this what u are looking for?

http://www.codeproject.com/aspnet/IFrameParams.asp

idqfizz
03-23-2006, 02:40 AM
No, not exactly. But for anyone who are interested i finally found this page with a solution to the problem. http://geekswithblogs.net/ranganh/archive/2005/04/25/37635.aspx