marie j

marie j

  • 2.1k
  • 8
  • 251

To get the url of the selected file

Feb 23 2020 1:54 PM
 Hi,
 
  Sorry I am new to .net and would like to know  how to get a url of the selected file from a website on to a textbox when a button is clicked using the code behind.
  <asp:TextBox ID="txtfilPath" runat="server" ClientIDMode="Static" TextMode="SingleLine" Width="269px">
<asp:Button ID="fileselect" runat="server" Text="Select File" OnClick="fileselect" /> 
Thank you, 

Answers (3)