A
av
hi,I have couple of Questions regarding the ASP.NET.
Post the Values from WebPage1.aspx to WebPage2.aspx
The code i have is in webpage1.aspx
<form action="webpage2.aspx" method=post runat="server">
<asp:TextBox id="TextBox1" runat="server"></asp:TextBox>
<asp:TextBox id="TextBox2" runat="server"></asp:TextBox>
<asp:Button id="Button1" runat="server"
Text="Button"></asp:Button>
How is the Post done using Button Server Control ?? in
Regular ASP v use the <Input and set the type to sumbit>
for the post to occur !
I am able to add <Script> tags but the content is not
executed !! I tried to use the onclik() event which i
wrote in the <script> for the Button, but it doesnt seem
to wrok.
If i have the Server Controls i am not able to post the
form.
if i remove the "runat=server" from the FORM tag and
replace the <asp> controls with <input> regular HTML
controls the post works.
Please let me know where exactly the problem is . ...early
response is appericiated !!!
Post the Values from WebPage1.aspx to WebPage2.aspx
The code i have is in webpage1.aspx
<form action="webpage2.aspx" method=post runat="server">
<asp:TextBox id="TextBox1" runat="server"></asp:TextBox>
<asp:TextBox id="TextBox2" runat="server"></asp:TextBox>
<asp:Button id="Button1" runat="server"
Text="Button"></asp:Button>
How is the Post done using Button Server Control ?? in
Regular ASP v use the <Input and set the type to sumbit>
for the post to occur !
I am able to add <Script> tags but the content is not
executed !! I tried to use the onclik() event which i
wrote in the <script> for the Button, but it doesnt seem
to wrok.
If i have the Server Controls i am not able to post the
form.
if i remove the "runat=server" from the FORM tag and
replace the <asp> controls with <input> regular HTML
controls the post works.
Please let me know where exactly the problem is . ...early
response is appericiated !!!