Ajax Tab容器使用 [英] Ajax Tab container using

查看:55
本文介绍了Ajax Tab容器使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我的问题是我正在使用网站中的标签容器.我已将GridView绑定到容器的选项卡面板1中.我也想在其他两个选项卡中使用相同的GridView.为此,我需要使用两个不同的GridViews吗?还是只有一个GridView可以解决目的?

请帮忙.

此致
Taresh
(软开发人员初学者)

Hi all, My problem is that I am making use of tab container in my website. I have taken a GridView which is binded in tab panel 1 of the container. I want to have the same GridView in the other two tabs too. Do I need to take two different GridViews for that? or can just one GridView solve the purpose?

Kindly help.

Regards,
Taresh
(soft Developer Beginner)

推荐答案

您好..
只需做一件事即可.将网格设置为WebUserControl,并在需要的所有选项卡面板上使用此控件..

最好..
Hi there..
Just do one thing.. Make your grid as WebUserControl and use this control to all the tab panel where ever it is required..

All the best..


使用Ajax Tookit选项卡容器和选项卡面板的最简单方法,将GridView放在TabPanel的内容模板中.

Easiest approach to use Ajax Tookit Tab Containers and Tab Panels, Put GridView in the content template of TabPanel.

<ajaxToolkit:TabContainer runat="server"

        OnClientActiveTabChanged="ClientFunction"

        Height="150px">
    <ajaxToolkit:TabPanel runat="server"

        HeaderText="Signature and Bio"

        <ContentTemplate>
           -- Grid View --
        </ContentTemplate>
    />
</ajaxToolkit:TabContainer>


这篇关于Ajax Tab容器使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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