Hi,
I am using Rad Grid
and telerik:RadAsyncUpload or telerik:RadBinaryImage ,
here i attached my code.
I am facing at the time of insert this problem Unable to cast object of type 'System.Drawing.Bitmap' to type
'System.Byte[]'.
Please help me.
1 Answer, 1 is accepted
0
Maria Ilieva
Telerik team
answered on 07 Aug 2013, 10:30 AM
Hi Rohit,
I would suggest you to follow the approach provided in the online example below for uploading new image using RadAsyncUpload in RadGrid.
http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandradasyncupload/defaultcs.aspx?product=grid
Give it a try and let me know if the presented error appear.
Regards,
Maria Ilieva
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.