简体   繁体   中英

Is there TAB control and how to open page2 from button click?

Is there TAB control and how to open page2 from button click ?

On asp.net ?

I work with C# and Visual Studio 2008 and ASP.NET

Thanks in advance

The standard ASP.NET controls that ship with the .NET Framework do not include a tab control. However you can find a number of implementations on the internet, I would suggest you look the jQuery UI .

As for the button click redirecting to page2 you can handle the button click event on the server side and use a Response.Redirect("page2.aspx") to redirect the users browser to the desired page. Other alternatives exist like using an anchor (link) which will request the second page directly.

将SelectedTab属性设置为要在按钮的单击事件中显示的选项卡的索引。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM