get/set text of input box

Thread is closed for posting
2 posts, 0 answers
  1. Alok
    Alok avatar
    39 posts
    Member since:
    Feb 2009

    Posted 03 May 2012 Link to this post

    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.


  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 03 May 2012 Link to this post

    Hi Alok,

    You can get the text from RadUpload as follows.

    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.

  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top