M
moondaddy
from a html button (btnTest) on a aspx page (main.aspx) I need to call a
java script function in a user control (ItemGrid4col ) which is nested in a
panel control (Panel1). This function (TestFunc) in the user control will
make the user control do a postback. The reason I'm using a html button in
main.aspx is so it wont do a postback. How can I call TestFunc in the user
control from btnTest (or a function in main.aspx which btnTest would fire on
its Onclick event)?
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<INPUT style="Z-INDEX: 109; LEFT: 32px; WIDTH: 80px; POSITION: absolute;
TOP: 272px; HEIGHT: 40px" type="button" value="btnTest" >
<asp
anel id="Panel1" style="Z-INDEX: 108; LEFT: 184px; POSITION:
absolute; TOP: 96px" runat="server" Width="152px" Height="160px">
<ItemGrid:ItemGrid4col id="ItemGrid4col1" runat="server"
EnableViewState="False"></ItemGrid:ItemGrid4col>
</asp
anel>
</form>
</body>
Thanks.
java script function in a user control (ItemGrid4col ) which is nested in a
panel control (Panel1). This function (TestFunc) in the user control will
make the user control do a postback. The reason I'm using a html button in
main.aspx is so it wont do a postback. How can I call TestFunc in the user
control from btnTest (or a function in main.aspx which btnTest would fire on
its Onclick event)?
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<INPUT style="Z-INDEX: 109; LEFT: 32px; WIDTH: 80px; POSITION: absolute;
TOP: 272px; HEIGHT: 40px" type="button" value="btnTest" >
<asp
absolute; TOP: 96px" runat="server" Width="152px" Height="160px">
<ItemGrid:ItemGrid4col id="ItemGrid4col1" runat="server"
EnableViewState="False"></ItemGrid:ItemGrid4col>
</asp
</form>
</body>
Thanks.