You have two buttons in web form and i clicked on one of
the button, so how do i find which button i've clicked on
the form in my page load?
Answer Posted / vijaykumar
Just write code on page load
Response.Write(Request.Form[1].ToString());
u got button name which one u clicked.
Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
Explain difference betn dataset and recordset?
What describes a query?
Explain the difference between server control and html control.
How do you declare delegates and are delegates and events one and the same and explain how do you declare delegates and invoke them ?
What is Forms Authentication in ASP.NET?
What is a 1x1 pixel?
What’s difference between “optimistic” and “pessimistic” locking?
How can we implement a identity (sql server) call in an asp.net page?
What is the full form of asp.net?
a web application needs to be created to accept the product name and quantity of a toy from a customer. After the customer has entered the product name the application needs to display the discounted price of the product to the customer (company is offering 35% discount on all products). The application should allow the customer to select the product name from a list box. and also while i'm data binding to a label with custom data binding with some declarations : "The Discounted Price is "+((System.Convert.todouble(lblprodprice.text)*(system.convert.todouble(txtqty.text)) - ((System.convert.todouble(lblprodprice.text)*(system.convert.todouble(txtqty.text)*0.35)). Where i need to give this declaration in asp.net 2.0.
How will you do Redo and Undo in a TextControl?
Tell me the code snippet to show how we can return 404 errors from HttpError?
What does clearing cache?
What is AutoPostback?
From which base class all web forms are inherited?