S
Sumit Rawat India
What I have seen in Asp.net applications that if i put two Asp buttons on the
web form(Aspx page)
it generates multiple name attribute of input tag on the client side.
for eg.
<asp:Button ID="btn" value="first" runat="server" name="btnname"/>
<asp:Button ID="Button1" value="second" runat="server" name="btnname"/>
After the execution it shows the result in following way:--
<input type="submit" name="btn" value="" id="btn" value="first"
name="btnname" />
<input type="submit" name="Button1" value="" id="Button1" value="second"
name="btnname" />
Here the problem looks that the "name" parameter has two values now one is
"Button1" and second is "btnname"
Which i think is incorrect
is their any explaination to this .
web form(Aspx page)
it generates multiple name attribute of input tag on the client side.
for eg.
<asp:Button ID="btn" value="first" runat="server" name="btnname"/>
<asp:Button ID="Button1" value="second" runat="server" name="btnname"/>
After the execution it shows the result in following way:--
<input type="submit" name="btn" value="" id="btn" value="first"
name="btnname" />
<input type="submit" name="Button1" value="" id="Button1" value="second"
name="btnname" />
Here the problem looks that the "name" parameter has two values now one is
"Button1" and second is "btnname"
Which i think is incorrect
is their any explaination to this .