.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

Button postback from html page source into the postback and event processing

Posted By: Karthi     Posted Date: April 03, 2012    Points:5   Category :ASP.Net
Hi, recently one interview question asked to me, that is if i have the server control like <asp:button id="button1" runat="server" Text="Insert" OnClick="button1_Click"/> in the web page, during the runtime if i right click on the page and view the page source of the page in mozilla firefox browser, in the page source the button control source display in the html format like <input type="submit" name="Button1" value="Submit" id="Button1" /> here it doesn't have the onclick property, then how the event is fired when i click the button, and page is postback, and how the html page source is performing the button click event, even it doesn't have runat="server" and also onclick property in the page source. if anyone knows answer for it please help me


No response found. Be the first to respond this post
Post Reply

You must Sign In To post reply
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend