Hi,
I want to display image in my grid and I'm following this demo "BinaryImage / Binary Images and Upload in Grid", I need to disable validation while editing, I'm not able to reach GridBinaryImageColumn, I need this because clients my try to update ImageName or Description only but validation control not allowing this ..
any ideas how to do that?
Regards,
I want to display image in my grid and I'm following this demo "BinaryImage / Binary Images and Upload in Grid", I need to disable validation while editing, I'm not able to reach GridBinaryImageColumn, I need this because clients my try to update ImageName or Description only but validation control not allowing this ..
any ideas how to do that?
Regards,
4 Answers, 1 is accepted
0
Hello Owidat,
To achieve your goal you can check if there is any file uploaded with the updated item, when RadGrid is updating. If no file was uploaded, you can skip modifying the data field holding the binary image data.
To achieve your goal you can check if there is any file uploaded with the updated item, when RadGrid is updating. If no file was uploaded, you can skip modifying the data field holding the binary image data.
However, I am sending you a sample test page which demonstares the needed functionality.
All the best,
Pavlina
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0

Aamir Ali Ansari
Top achievements
Rank 2
answered on 23 Apr 2011, 12:47 PM
Dear Pavlina
Your solution just work fine for me but there is one issue. I need to keep validation for insertion only and disable it for editing only. Can you suggest solution?? I think we have to keep validation enabled as mentioned in original code and disable it when we press edit button. A sample code or hint for this scenario will help me resolve my problem.
Regards
Aamir
Your solution just work fine for me but there is one issue. I need to keep validation for insertion only and disable it for editing only. Can you suggest solution?? I think we have to keep validation enabled as mentioned in original code and disable it when we press edit button. A sample code or hint for this scenario will help me resolve my problem.
Regards
Aamir
0
Hi Owidat,
Please refer to the online example below which demonstrates the desired functionality. Check it out and let me know if it helps to achieve your goal:
http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandradasyncupload/defaultcs.aspx?product=grid
Best wishes,
Pavlina
the Telerik team
Please refer to the online example below which demonstrates the desired functionality. Check it out and let me know if it helps to achieve your goal:
http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandradasyncupload/defaultcs.aspx?product=grid
Best wishes,
Pavlina
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0

Owidat
Top achievements
Rank 2
answered on 27 Apr 2011, 07:26 AM
Hello Pavlina,
Yes that what exactly I want, its working fine for me ...
Regards,
Yes that what exactly I want, its working fine for me ...
Regards,