Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
Dmitry.Obukhov  
#1 Posted : Monday, July 4, 2011 2:34:56 AM(UTC)
Dmitry.Obukhov

Rank: Advanced Member

Groups: Member
Joined: 5/29/2010(UTC)
Posts: 1,310

Thanks: 8 times
Was thanked: 111 time(s) in 111 post(s)
Suppose you want the user to be able to drag and drop an image over an existing image and Image Uploader would replace that image on the server. The attached code snippet illustrates how to implement this behaviour.

Details

Users can see Image Uploader control displaying an image inside. By default, it's the image with placeholder.jpg name placed to root folder of the application on the server side. If a user wants to update the image, he/she can drag and drop another picture over displayed one. Image Uploader will replace that image with the new one. Please see screenshots attached to this topic.

You can find the complete sample application in the attachments. If you have any additional questions, please post them here.

Edited by user Tuesday, July 5, 2011 12:16:35 AM(UTC)  | Reason: Not specified

File Attachment(s):
dropimagedemo.zip (4,342kb) downloaded 93 time(s).
Dmitry.Obukhov attached the following image(s):
originalLogo.PNG
afterReplacing.PNG
Best regards,
Dmitry Obukhov
Technical Support. Aurigma, Inc.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.