I refer to this demo: http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandradasyncupload/defaultcs.aspx?product=grid
I have tried so many times but i just can't seem to get this done. What I am trying to accomplish, if i use this exact demo, is that when i click on the image in that "Image" column it must popup in a window that contains the image that i clicked on but just in a larger scale so that it can be viewed better. So basically just a quick view of the selected image.
Could someone please help me on this?
11 Answers, 1 is accepted
I would suggest changing the GridImageColumn to a GridButtonColumn with a button type of ImageButton.
you can use the RadGrid's ItemCommand event to open the RadWindow.when you click on the image column
Hope this helps.
if I use this script, the error is:
DotNetNuke.Services.Exceptions.ModuleLoadException: DatenbindungsausdrÃ¼cke werden nur fÃ¼r Objekte unterstÃ¼tzt, die ein DataBinding-Ereignis aufweisen. Telerik.Web.UI.GridButtonColumn hat kein DataBinding-Ereignis. ---> System.Web.HttpParseException: DatenbindungsausdrÃ¼cke werden nur fÃ¼r Objekte unterstÃ¼tzt, die ein DataBinding-Ereignis aufweisen.
For the requirement that you have I could recommend that you take a look at the following Code Library, where you could find a way for displaying full-sized image on hover or click within RadGrid:
Hope this helps.
I Want to save RadImageEditor Value to mysql database in blob format after editing image. Please help me.
You can achieve the desired result by handling the server-side OnImageSaving event of the RadImageEditor, retrieve the System.Drawing.Image object from the event arguments and retrieve the binary data from it:
On a side note, for all sides convenience and for better tracking purposes, please post your questions in the corresponding product categories.
i m working on vs12 and mysql db.
there are 2 tables in db..imagebuy and imagebuydetail.
imagebuy contain imagebuyid,userid,imagebuydate,totalammount,banktransactionid,checkout etc
imagebuydetail contain imagebuydetailid,imagebuyid(fk of imagebuy),imageid,discountprice,subscriptionid etc.
Now i want create list<> for imagebuydetail and pass this list <> to webservice.
Create a webservice which pass all parameters of imagebuy and list<> of imagebuydetail.
public bool CommonImageBuyDetail(int userid, DateTime imagebuydate, double totalammount, int banktransactionid, string checkout,List<imagebuydetail>imagelist)
imagebuy ib = new imagebuy(-1, userid, Convert.ToDateTime(imagebuydate), totalammount, banktransactionid, checkout);
a = ib.Insert();
foreach (imagebuydetail imgbdid in imageList)
a = t.imageDetail();
i want to set radtileview in sequence either horizontally or vertically. Cn u pls tell me.
Please post your questions in the correct control category with detailed information about the scenario that you have and the behavior that you need to achieve. This thread is in the RadBinaryImage category and for all sides convenience it should be used for that control only.