Click to See Complete Forum and Search --> : get mouse coordinates
rohita
March 24th, 2006, 11:57 PM
hai,
how i can get the mouse coordinates(on clicking) in as ASP.NET(C#) on the web form. i am using .NET 2005.
rohita
HanneSThEGreaT
March 25th, 2006, 02:05 AM
I'd recommend using JavaScript
http://www.codeguru.com/forum/showthread.php?t=380339&highlight=mouse+coordinates
rohita
March 25th, 2006, 04:41 AM
hai,
thanks for the reply... if i am doing it in javascript, then the code will be visible to every user.. right?... is there any option to hide the code from the user?
rohita
HanneSThEGreaT
March 25th, 2006, 04:45 AM
Yes, but one way to hide that code from users would be to use Frames with HTML.
rohita
March 25th, 2006, 04:54 AM
hi,
yes i did the same, created frames. i am doing it in asp.net 2005.. but the problem is if the client machine saved web pages(saves as) then the whole javascript and other files will be saved... thats why i am trying to get the code behind for getting mouse coordinates...
can you give some suggetions for that... it will be helpful for me?..
rohita
Shuja Ali
March 25th, 2006, 06:09 AM
hai,
thanks for the reply... if i am doing it in javascript, then the code will be visible to every user.. right?... is there any option to hide the code from the user?
rohita
Javascript is a Client Side code and will be visible to the end-user. And there is no way that you can do it using server side code.
rohita
March 25th, 2006, 08:05 AM
hi,
thanks for ur reply.......
rohita
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.