18
Reply

In gridview we have two buttons.. By which property you find which button is clicked?

Nilesh Avhad

Nilesh Avhad

Jul 16, 2014
3.5k
0

    By using commandname property we can find which button is clickedButton ltrlslno = (Button)gridMembersList.Rows[index].FindControl("BtnEdit");

    Rahul Prajapat
    May 26, 2015
    1

    Using Command Name Propertybutton btnTest = (button)GridViewName.Rows[YourRowIndex].FindControl("YourButtonName)

    By using commandname property we can find the button is clicked, When we have multiple Button controls on a Web page, use the CommandName property to specify or determine the command name associated with each Button control. You can set the CommandName property with any string that identifies the command to perform. You can then programmatically determine the command name of the Button control and perform the appropriate actions. Additional information about the command, such as Ascending, may be specified by using the CommandArgument property.

    Shivam Shukla
    February 05, 2015
    1

    using commandname prop

    prem kumar
    August 02, 2014
    1

    by using command name property

    Sanjeev Kumar
    July 24, 2014
    1

    by using commandname property you can find the button is clicked

    Sandesh Patil
    July 24, 2014
    1

    Using commandName property the button clicked is known.

    Sunil Babu
    April 03, 2016
    0

    Using commandName property the button clicked is known.

    Sunil Babu
    April 03, 2016
    0

    By CommandName Property of a textbox.

    Srikanth Reddy
    November 04, 2015
    0

    we have to use CommandName Property n FindControl property with the control Id

    Srinivas Pabballa
    August 28, 2015
    0

    CommandName Property.

    Srikanth Reddy
    June 17, 2015
    0

    CommandName

    Srikanth Reddy
    June 17, 2015
    0

    Vishal Patil
    April 03, 2015
    0

    Vishal Patil
    April 03, 2015
    0

    By using Commandname property we can find which button has clicked

    Sandeep Kumar
    March 21, 2015
    0

    By CommandName Property of Buttons

    sajidlkhan lodi
    February 09, 2015
    0

    By CommandName Property of Buttons

    sajidlkhan lodi
    February 09, 2015
    0

    Command Name Find in grid row command event

    birju gohel
    January 29, 2015
    0