控制选择 [英] Controls Selection

查看:89
本文介绍了控制选择的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友,

我正在寻找一种更好的解决方案,以在asp.net Web应用程序中实现选项卡的结构和功能.我们的要求如下-
1)标签将被动态创建.标签将是多级标签.
2)选项卡的GUI将是用户特定的,即边框,背景图像,分隔线,选项卡的边框都是可自定义的,用户可以进行相应更改.
3)如果用户单击选项卡中的任何链接,则将具有另一种功能,然后将以与Visual Studio中相同的方式在主选项卡下添加另一个选项卡结构(当单击任何页面时,页面将在Visual Studio中添加为选项卡Studio,如果链接超出页面宽度,则会启用下拉菜单以显示其他链接.

我可以使用多个选项卡还是可以使用其他选项卡来实现它.

您的帮助将非常可观.

问候,
Rajesh

Hi Friends,

I am looking for a better solution to implement tabs structure and functionality in asp.net web application. Our requirement is as follows-
1) Tabs will be created dynamically. Tabs will be multi level tabs.
2) GUI of the tabs will be user specific i.e. borders, background images, seperator lines, border of the tabs everything will be customizable and user can change accordingly.
3) There will be another functionality if user will click any of the link in the tabs then another tab structure will be added below the main tabs in same way as in visual studio (when click on any page, page added as a tab in Visual Studio and if links exceeded page width then a drop down enabled to show other links).

Can i use multiple tabs or can use anything else to implement it.

your help will be very appreciable.

Regards,
Rajesh

推荐答案

您可以使用asp.net的ajax标签控件.
您可以动态创建标签.

您可以使用类似的代码创建新标签.

AjaxTabContainer ObjTabControl =新的AjaxTabContainer()

您还可以将标签添加到该tabcontrol.

就像ObjTabControl.Add()方法一样.

在创建该控件后,您可以将该控件添加到HTML表格或div中.但在添加之前,请先使该div或taable runat服务器.


如果您仍然面对新问题,仍然可以随时与您联系.别忘了为我的答案投票.
you can use ajax tab control of asp.net..

you can create tabs dynamically.

you can create new tab with coding like.

AjaxTabContainer ObjTabControl = new AjaxTabContainer()

and you can also add tabs to that tabcontrol.

like ObjTabControl.Add() method.

and after creating that control you can add that control to Html Table or div. but before adding please make that div or taable runat server.


still if you face ne prob feel free to contact . and dont forget to vote for my answer.


这篇关于控制选择的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆