Last post May 20, 2017 03:00 PM by JBetancourt
Jun 28, 2012 12:27 AM|Devaang|LINK
Please suggest control and steps to achieve functionality for below requirement
I have three different panels with collection of image(binaryimage), now when user click on any single image of any one panel that image should be eliminated that particular panel and would be added to other appropriate panel. Also need to change border colors
of images on the basis of click and in which panel it is.
We have tried to accomplish above requirement using server side but it takes very much time on a single click of image due to databind of control.
May 20, 2017 03:00 PM|JBetancourt|LINK
look into knockoutjs
you will have a model with 3 observable arrays, one for each panel
using ko foreach you will display the images
bind the onclick to a function in your model that moves the image reference from one array to the other
and the binding automatically will rerender the image in the appropiated panel
Please remember to click "Mark as Answer" the responses that resolved your issue