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

get/set text of input box

1 Answer 61 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Alok
Top achievements
Rank 2
Alok asked on 03 May 2012, 07:31 AM
hi there,

1) how can i get text from input box of RadUpload. server side only.
e.g string txt = control-Id.PostedFile.FileName.ToString();
2) as radUpload is read only, so is there any work around to assign/set text in input box. Server side only.

tx

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 03 May 2012, 08:51 AM
Hi Alok,

You can get the text from RadUpload as follows.

C#:
string txt =RadUpload1.UploadedFiles[0].GetName() ;

As far as I know it is not possible to set the text for RadUpload input files due to some security reasons.

Thanks,
Princy.
Tags
Upload (Obsolete)
Asked by
Alok
Top achievements
Rank 2
Answers by
Princy
Top achievements
Rank 2
Share this question
or