maqskywalker
asked on
Setting Link url on ASP LinkButton
LinkButton Class
https://docs.microsoft.com/en-us/dotnet/api/system.web.ui.webcontrols.linkbutton?view=netframework-4.7.2
Hi experts,
I'm using ASP.NET WebForms and Visual Basic
I have a Link Button on the page like this.
<asp:LinkButton ID="LinkButton1" runat="server" CssClass="small" Height="16px" Text="Link Button"></asp:LinkButton>
In the same directory I have a pdf called Test.pdf
When I click on the link button, I want to open the pdf.
What's the best preferred way to set the link on the LinkButton?
https://docs.microsoft.com/en-us/dotnet/api/system.web.ui.webcontrols.linkbutton?view=netframework-4.7.2
Hi experts,
I'm using ASP.NET WebForms and Visual Basic
I have a Link Button on the page like this.
<asp:LinkButton ID="LinkButton1" runat="server" CssClass="small" Height="16px" Text="Link Button"></asp:LinkButton>
In the same directory I have a pdf called Test.pdf
When I click on the link button, I want to open the pdf.
What's the best preferred way to set the link on the LinkButton?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER