Monday, March 26, 2012

VS 1.1 for LinkButton

I tried to use LinkButton from VS 1.1, not VS 2.0, how to write/input form tag, for example, something likes href="http://links.10026.com/?link=webForm1.aspx"? I didn't see from property.

I knew that is easy for VS 2.0

Hi,

I guess you want the a similar feature like PostBackUrl of LinkButton in .net 2.0.

<asp:LinkButton ID="LinkButton1" runat="server"PostBackUrl="Form2.aspx">LinkButton</asp:LinkButton>

However the LinkButton control of .net 1.1 don't have this property.

You can use an HTML form instead of a web form. Add an action property with the postback url set.Unfortunately, the validator controls can no longer be used. And There seems third-party control available to do so.

Try this:http://www.metabuilders.com/Tools/CustomForm.aspx.


Thanks.

0 comments:

Post a Comment