I have a simple template column with a hyperlink in it:
It works great - it links to the correct file, and I can edit/insert just fine.
The thing is, when the user inserts/edits, they have to type in a couple more folders depths plus the file name
(e.g., "Shift1\Testers\TestReport_03_25_2013.pdf"). The directory where the file may be located is not consistent, hence their need to type in the directory names.
So, is it possible to have them click on a button, navigate around to the correct file, select it, and have that file path saved as the new hyperlink?
Thanks ahead of time...
<telerik:GridTemplateColumn FilterControlAltText="Filter AMRLink column" HeaderText="AMR Link" UniqueName="AMRLink" FilterControlWidth="92%"> <HeaderStyle Width="420px" /> <ItemTemplate> <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='<%# Eval("AMRLink", "\\localserver.com\Department_Shares\Manufacturing\Engineering\GSIS AMR-MR\{0}") %>' Text='<%# Eval("AMRLink", "{0}") %>' Target="_blank"></asp:HyperLink> </ItemTemplate> <EditItemTemplate> <asp:TextBox ID="txtAMRLink" runat="server" Text='<%# Bind("AMRLink") %>' Width="98%" /> </EditItemTemplate></telerik:GridTemplateColumn>It works great - it links to the correct file, and I can edit/insert just fine.
The thing is, when the user inserts/edits, they have to type in a couple more folders depths plus the file name
(e.g., "Shift1\Testers\TestReport_03_25_2013.pdf"). The directory where the file may be located is not consistent, hence their need to type in the directory names.
So, is it possible to have them click on a button, navigate around to the correct file, select it, and have that file path saved as the new hyperlink?
Thanks ahead of time...