2011年9月21日 下午 09:08
I want to know if i can make my pushpin image which holds the row id of my grid view to get to the row of the gridview whne clicked on it..Can some one please help me....
Thank you in advance
2011年11月9日 下午 07:10版主I'm assuming you want to tie a link to a pushpin so that when you click on the link (in a row) it will center on the location or display the infobox. This can easily be done. Assign each pushpin a unique ID and pass this into the gridview with the data so that you have an id that links the row to the pushpin. Then create a function that gets called when a user clicks on a row or some link that takes in the unique id. Then loop through all the pushpins in a layer or in the map and search for the one with this ID. You can then do what ever you want with the pushpin.
- 已標示為解答 Richard_BrundrittMicrosoft Employee, Moderator 2011年11月11日 下午 10:59