TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
gavriel ankri
NA
39
48.6k
how to add Drag and Drop function to dynamic image ?
Nov 22 2014 7:57 AM
hello. I created an image to be draggable:
<img id="drag1" src="image/table3.png" draggable="true" ondragstart="drag(event)" width="150" height="150">
however, I want to create the image dynamically:
Image tblImg = new Image();
tblImg.ImageUrl = "image/table3.png";
can i add the function ondragstart="drag(event)" to the dynamic image in the code ?
Reply
Answers (
8
)
Adding Admin Panel in MVC 5 with Database First Approach
css design for drop down menu in asp.net