Nilesh Avhad
In gridview we have two buttons.. By which property you find which button is clicked?
By Nilesh Avhad in ADO.NET on Jul 16 2014
  • Rahul Prajapat
    May, 2015 26

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

    • 2
  • Pankaj  Kumar Choudhary
    May, 2015 26

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

    • 2
  • Shivam Shukla
    Feb, 2015 5

    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.

    • 2
  • prem kumar
    Aug, 2014 2

    using commandname prop

    • 2
  • Sanjeev Kumar
    Jul, 2014 24

    by using command name property

    • 2
  • Sandesh Patil
    Jul, 2014 24

    by using commandname property you can find the button is clicked

    • 2
  • Sunil Babu
    Apr, 2016 3

    Using commandName property the button clicked is known.

    • 1
  • Sunil Babu
    Apr, 2016 3

    Using commandName property the button clicked is known.

    • 1
  • Sreekanth Reddy
    Nov, 2015 4

    By CommandName Property of a textbox.

    • 1
  • Srinivas Pabballa
    Aug, 2015 28

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

    • 1
  • Sreekanth Reddy
    Jun, 2015 17

    CommandName Property.

    • 1
  • Sreekanth Reddy
    Jun, 2015 17

    CommandName

    • 1
  • Vishal Patil
    Apr, 2015 3

    • 1
  • Vishal Patil
    Apr, 2015 3

    • 1
  • Sandeep Kumar
    Mar, 2015 21

    By using Commandname property we can find which button has clicked

    • 1
  • sajidlkhan lodi
    Feb, 2015 9

    By CommandName Property of Buttons

    • 1
  • sajidlkhan lodi
    Feb, 2015 9

    By CommandName Property of Buttons

    • 1
  • birju gohel
    Jan, 2015 29

    Command Name Find in grid row command event

    • 1


Most Popular Job Functions


MOST LIKED QUESTIONS