•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP.NET section within the Web Development category of DaniWeb, a massive community of 423,281 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 5,294 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
Views: 1337 | Replies: 2
![]() |
•
•
Join Date: Aug 2007
Posts: 28
Reputation:
Rep Power: 2
Solved Threads: 0
Hi All
I need to add mouseover event on hyperlink which is in a gridview.
What actually I need is displaying names of states in a gridview as hyperlink and when I take mouse over any state, it should navigate to a new page taking that stateid as querystring, So that I could request that stateid through query string and display information about that particular state in a newpage.
Any help is appreciated, Thanks in advance.
with Regards
wajid
I need to add mouseover event on hyperlink which is in a gridview.
What actually I need is displaying names of states in a gridview as hyperlink and when I take mouse over any state, it should navigate to a new page taking that stateid as querystring, So that I could request that stateid through query string and display information about that particular state in a newpage.
Any help is appreciated, Thanks in advance.
with Regards
wajid
•
•
Join Date: Mar 2008
Posts: 1
Reputation:
Rep Power: 0
Solved Threads: 0
•
•
•
•
Can u show me how u r binding the Gridview, so that i can get an idea on ur Question. Because there is a onmouseover event for hyperlink which u can use in ur case
You can use RowDataBound event of the GridView(GV) and then can use the eventarg e to Find the HyperLink using FindControl() method. Then you can insert a attriubute to that hyperlink of Mouseover.
hyplink.Attributes.Add("onmouseover","<text>");
![]() |
•
•
•
•
•
•
•
•
DaniWeb ASP.NET Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Similar Threads
- HyperLink MouseOver (ASP.NET)
Other Threads in the ASP.NET Forum
- Previous Thread: javascript alert???
- Next Thread: Global.asax problem


Linear Mode