Hi,
1) By assigning image to 'targetfolder' property in RadUpload, images are well stored in prescribed folder. Nowi need to change this current uploaded file name.
2) And i have done above task inother way as :
protected voidRadGrid1_UpdateCommand(object source, GridCommandEventArgs e)
{
RadUploadcurrentUpload = ((RadUpload)e.Item.FindControl("RadUpload1"));
RadUploadContext uploadContext = RadUploadContext.Current;
UploadedFileFile = uploadContext.UploadedFiles[currentUpload.UniqueID];
if (File !=null)
{
File.SaveAs(Server.MapPath("~/Icons" + File.GetName()));
}}
---- here in uploadcontent value is null ..and getting an error as Object reference not set to an instance of anobject.
Thanks,
Nagarjun S.