if i have placed the button control with the OnClick event
like <asp:Button ID="mybutton" runat="server" Text="Insert"
onclick="mybutton_Click" /> and some other controls(buttons,
textboxes) in .aspx page. When i run the page, the button
displays in the page source of the browser like <input
type="submit" name="mybutton" value="Insert" id="mybutton"
/> here, it does not display the onclick event, then how the
page calls the button click on the server side, how the
server side identify which button cause the submit, and how
this page moves to the server side.
Answer / karthi
Clicked Button event is binded through view-state. Which is
in encrypted format in the name of attribute(_viewstate) in
the browser page source
| Is This Answer Correct ? | 5 Yes | 0 No |
Which @page directive should you create an asynchronous page?
What is a user session?
What is the relationship between IIS and ASP.NET in the generation of dynamic Web sites?
What are the validation controls ?
Which data types are supported by the RangeValidator control?
Best Institute in india for online training (Dotnet/java/Tibco/Dwh/etc.....)
SessionState - type of sessionstate and when and how to use it
.Net Doesn't offer Deterministic Distruction ? a) True b) False
Explain the difference between page.registerclientscriptblock and page.registerstartupscript?
What are typed datasets?
What is web.config and machine.config ?
What is custom attribute?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)