What you want to see on DotNetFunda.com ?
DotNetFunda.Com Logo
Twitter TwitterLinkedIn
YouTubeGoogle
 Online : 30261 |  Welcome, Guest!   Register  Login
 Home > Forums > ASP.NET > write the code in GridView RowCommand event ...
Hareeshkumar.Kr@Gmail.Com

write the code in GridView RowCommand event

Replies: 2 | Posted by: Hareeshkumar.Kr@Gmail.Com on 7/28/2012 | Category: ASP.NET Forums | Views: 671 | Status: [Member] | Points: 10  


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


Reply | Reply with attachment | Alert Moderator

 Responses below this adGet hundreds of .NET Tips and Tricks videos

 Replies

Vikash
Vikash  
Posted on: 8/14/2012 4:57:04 AM
Level: Starter | Status: [Member] | Points: 25

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

Hareeshkumar.Kr@Gmail.Com, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Hareeshkumar.Kr@Gmail.Com
Hareeshkumar.Kr@Gmail.Com  
Posted on: 8/16/2012 2:17:04 AM
Level: Starter | Status: [Member] | Points: 25

Resolved

thank you
i got answer





Hareeshkumar.Kr@Gmail.Com, if this helps please login to Mark As Answer. | Reply | Alert Moderator 

Reply - Please login to reply


Click here to login & reply

About Us | Contact Us | The Team | Advertise | Software Development | Write for us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you find plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 5/21/2013 3:54:19 AM