Force Postback On Open Click
Thread is closed for posting
Posted 03 Jan 2011
Link to this post
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.