Facing Problem when inserting Record in RadGrid

2 posts, 0 answers
  1. Rohit
    Rohit avatar
    5 posts
    Member since:
    Jul 2013

    Posted 02 Aug 2013 Link to this post

    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.
  2. Maria Ilieva
    Maria Ilieva avatar
    4017 posts

    Posted 07 Aug 2013 Link to this post

    Hi Rohit,

    I would suggest you to follow the approach provided in the online example below for uploading new image using RadAsyncUpload in RadGrid.
    Give it a try and let me know if the presented error appear.

    Maria Ilieva
    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.
Back to Top