hareesh KR

hareesh KR

  • 1.7k
  • 70
  • 2.3k

GridView RowCommand event

Jul 28 2012 2:44 AM
hi,
  how to write the bellow code in  GridView1_RowCommand()

    MultiView1.ActiveViewIndex = Int32.Parse(e.Item.Value)

      Menu1.Items(0).ImageUrl = "images/unselectedtab.GIF"
       Menu1.Items(1).ImageUrl = "images/unselectedtab.GIF"
      Menu1.Items(2).ImageUrl = "images/unselectedtab.GIF"
      Menu1.Items(3).ImageUrl = "images/unselectedtab.GIF"

      Select Case e.Item.Value
          Case 0
             Menu1.Items(0).ImageUrl = "images/selectedtab.GIF"
          Case 1
              Menu1.Items(1).ImageUrl = "images/selectedtab.GIF"

      Case 2
              Menu1.Items(2).ImageUrl = "images/selectedtab.GIF"

          Case 3
              Menu1.Items(3).ImageUrl = "images/selectedtab.GIF"


  thank You in Advance

Answers (1)