My application is a ASP.Net MVC 3 (razor) application and one of the tasks is to upload files and to log the uploads in a table . To do this I want to use the upload component, but I have questions.
To accomplish this I first created the controller and then all of the CRUD views of the log table. I then modified the Create View and added the Telerik upload component to it. The component works fine i.e. it copies the file from one directory to another.
What I can’t figure out is that I need to capture the name of the file that was copied so I can save it in my log table. The other question is how do I force the user to select a table before leaving the Create view? Would the Telerik windows component be a good solution to this by configuring it to be a popup window? Regardless I need to capture the file name.
If possible I’m hoping to avoid using any java script (I’m not very good with that).