In my application I have some link buttons there but when I right click on them I cannot (they are in disable mode) find the menu items Open in new tab or Open in new window.
How do I show those menu items?
Code example:
<asp:LinkButton id="lbnkVidTtile1" runat="Server" CssClass="bodytext" Text='<%#Eval("newvideotitle") %>' />
From the docs:
As this isn’t actually performing a link in the standard sense, there’s no
Targetproperty on the control (theHyperLinkcontrol does have aTarget) – it’s attempting to perform a PostBack to the server from a text link.Depending on what you are trying to do you could either:
HyperLinkcontrol, and set theTargetpropertyOnClientClickproperty that opens a new window to the correct place.