I have a custom asp.net server control to display images.What I need now is to draw a rectangle on the center of image and the rectangle should be re sizable by dragging on its edges.Is it possible to accomplish this using JavaScript ?. I need to embed that script in that control. Is it possible ?
Share
You can include a javascript file in a server control.
Add a reference to the assemblyinfo.cs
Then a reference on the PreRender:
Here is a nice article on the subject