Force Postback On Open Click

Thread is closed for posting
2 posts, 0 answers
  1. Christopher Wooten
    Christopher Wooten avatar
    4 posts
    Member since:
    May 2010

    Posted 03 Jan 2011 Link to this post

    Hey there,

    I'm essentially attempting to use the RadUpload control as a means for a user to select a text file which I will then read and render on the screen.  The behavior I have now is functional, but not ideal, as the user is required to click an additional button in order to force a postback so the selected file is shown on the screen.

    The behavior I would like to create is as follows:

    1.  User clicks "Select."
    2.  User selects a file and clicks "Open."
    3.  Upon clicking "Open," a postback occurs and the selected file is read and rendered to the screen.

    Is there a way to do this?  Or, is there another control that I should look into to accomplish this?  Ultimately, the file-browser functionality of the Upload control is the most important piece of this for me.


  2. Cori
    Cori avatar
    562 posts
    Member since:
    Jul 2010

    Posted 04 Jan 2011 Link to this post

    Hello Christopher,

    This help topic should be of use:

    You have to add a button, but make it invisible to the user.

    I hope that helps.
Back to Top