This is a migrated thread and some comments may be shown as answers.

[Solved] RadGrid coordinates

1 Answer 205 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Gerry Polami
Top achievements
Rank 1
Gerry Polami asked on 11 May 2009, 10:09 AM
hello,
How do i get the coordinates (X Y) of cell of a radgrid control on the server side ?
Thanks

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 13 May 2009, 04:33 AM
Hi Gerry,

I am not sure how to access the Coordinates of a Grid cell on the server side. But here is the client side code to access the X and Y coordinates  of a Grid row on mouse hovering.

ASPX:
 
<ClientSettings> 
            <ClientEvents OnRowMouseOver="OnRowMouseOver"  /> 
           <Scrolling  AllowScroll="true" /> 
         </ClientSettings> 


JS:
 
<script type="text/javascript" > 
 
function OnRowMouseOver(sender, eventArgs) 
 alert(eventArgs._domEvent.rawEvent.x,eventArgs._domEvent.rawEvent.y) 
 
 
</script> 


Regards
Shinu
Tags
Grid
Asked by
Gerry Polami
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or