简体   繁体   English

Ajax选项卡面板上的Ajax圆角扩展器?

[英]Ajax Rounded Corners Extender on Ajax Tab Panel?

Is there anyway of creating an Ajax Rounded Corners Extender onto an Ajax Tab Panel? 无论如何在Ajax选项卡面板上创建一个Ajax Rounded Corners Extender? Or is there another way using other methods to get rounded corners onto an Ajax Tab Panel? 或者是否有另一种方法使用其他方法将圆角转换为Ajax选项卡面板?

Thanks. 谢谢。 Firstcape Firstcape

The most simple solution is to add this css class definition (won't not work in old browsers): 最简单的解决方案是添加此css类定义(在旧浏览器中不会起作用):

.ajax__tab_body{
    -webkit-border-radius: 10px;
    -webkit-border-top-left-radius: 0;
    -moz-border-radius: 10px;
    -moz-border-radius-topleft: 0;
    border-radius: 10px;
    border-top-left-radius: 0;
}
.CustomTabStyle .ajax__tab_active .ajax__tab_outer, .CustomTabStyle .ajax__tab_header .ajax__tab_outer, .CustomTabStyle .ajax__tab_hover .ajax__tab_outer
{
    height: 24px;
    border: 1px solid #0445A6;
    border-radius: 10px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.CustomTabStyle .ajax__tab_active .ajax__tab_inner, .CustomTabStyle .ajax__tab_header .ajax__tab_inner, .CustomTabStyle .ajax__tab_hover .ajax__tab_inner
{
    height: 24px;
    border: 1px solid #0445A6;
    border-radius: 10px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

Add this CSS style to the stylesheet.. 将此CSS样式添加到样式表中..

Also add CssClass="CustomTabStyle" to the AJAX TabContainer on the design page.. 还要在设计页面上的AJAX TabContainer中添加CssClass =“CustomTabStyle”。

This works like a charm.. 这就像一个魅力..

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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