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
What is the mvc framework?
Is asp.net web forms dead?
In a Repeater control how one can provide an alternating color scheme ?
How would you enable impersonation in the web.config file?
what is a .xap file? Explain with an example.
Explain the difference between asp and asp.net?
What are the features of asp net?
To redirect the user to another page which method do we use without performing a round trip to the client?
Which tool you have done?
Hello, Using Visual Studio 2005 (VB) I am working to create a Web Site implementing the following: Within a gridView I have placed a dropdownlist control with a DataSourceID="SDSLkupList". SDSLkupList is a sqlDataSource used to store a lookup list for dropdownlist translation from ID to text. SDSLkupList contains the translation text and other fields related to the dropdown selection ID. (Thought it would be efficient to get everything at the same time.) I would like to provide the user the ability to select from the dropdownlist and, based on the selection, use labels to list related columns stored on the SDSLkupList in separate gridView columns. I have read that SqlDataSources are not meant to be used for individual controls. Since SDSLkupList contains all related information, is there a way to do a find using the dropdownlist selectedValue? (I was not able to discover one.) Otherwise, what should I use? It would need to set the labels on the gridView DataRowBound event as well as the SelectedIndexChanged events. Has anyone done this? Any help would be appreciated. Thanks in Advance. Neal
Explain difference between dataset and datareader?
What is the difference between asp.net mvc and asp.net webforms? : asp.net mvc
How many types of validation are there?
Why do we need master page in asp.net?
What's the difference between viewstate and sessionstate?