Robert,
Thanks for the quick reply but in my case I've a graphicslayer and not feature layer. I'm converting all points into the polyline and adding that as a graphicslayer.
What I want is that when user clicks on the line, I would like to display attributes in an infowindow or a datagrid.
Is there any example out there or what exacly do I change in the sample to do what I want to do.
I hope that make sense.
Nipa