locked
How to insert event handlers in visual studio 2012 RRS feed

  • Question

  • User-2112395240 posted

    Hello all,

    I am trying to insert OnRowDataBound event in visual studio 2012 but i cannot see how to insert in this version of visual studio. Can anyone please tell me that how to insert events from drop down in visual studio code editor just like i do in visual studio 2010 ???

    Thanks in advance.

    Friday, April 5, 2013 12:11 AM

Answers

  • User-1360095595 posted

    Do it in the design view. Select the grid and look in the properties Window. You'll see a lightning bolt icon. Click it and you'll see all the events for the grid. You can double click the rowdatabound event or enter a handler name that you like. This will add the necessarily method skeleton to your code behind. 

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, April 5, 2013 12:18 AM

All replies

  • User-1360095595 posted

    Do it in the design view. Select the grid and look in the properties Window. You'll see a lightning bolt icon. Click it and you'll see all the events for the grid. You can double click the rowdatabound event or enter a handler name that you like. This will add the necessarily method skeleton to your code behind. 

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, April 5, 2013 12:18 AM
  • User-2112395240 posted

    Thanks i got it :).

    Friday, April 5, 2013 12:38 AM