This is a migrated thread and some comments may be shown as answers.

[Solved] RadUpload as CellEditTemplate

1 Answer 75 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Turgay Birand
Top achievements
Rank 1
Turgay Birand asked on 06 Feb 2010, 12:19 PM
Hello,

I wish to use RadUpload as my edittemplate for a column, so that when inserting a new row the user can choose an image to upload. I need to upload the file with a filename like [id].jpg (record with id 3 has image 3.jpg as an example). Therefore, the upload operation has to begin after the db insert operations are complete so that I can get the id of the added record. I'm using ADO.NET Data Services for db operations. My problem is, I am unable to find a way to access the upload control from code-behind.

Any ideas?

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 08 Feb 2010, 07:57 AM
Hi ,

You can use Loaded event of this control to access the control instance. You can check this example for more info:
http://demos.telerik.com/silverlight/#GridView/CellEditTemplate

Greetings,
Vlad
the Telerik team

Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.
Tags
GridView
Asked by
Turgay Birand
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or