write the code in GridView RowCommand event [Resolved]

Posted by hareeshkumarkr-16190 under ASP.NET on 7/28/2012 | Points: 10 | Views : 1642 | Status : [Member] | Replies : 2
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




Responses

Posted by: hareeshkumarkr-16190 on: 8/16/2012 [Member] Starter | Points: 25

Up
0
Down

Resolved
thank you
i got answer







hareeshkumarkr-16190, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Vikash on: 8/14/2012 [Member] Starter | Points: 25

Up
0
Down
Mr Hareesh

your question is not clear for me

GridView1_RowCommand() event in gridview is occured, when we click on any button or link in the GridView, so plz tell me what is the scenario as you want to implement this...........

Regards,
Vikash Pathak

hareeshkumarkr-16190, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response