AjaxcontrlToolkit控件不可见 [英] AjaxcontrlToolkit Controls are not visible

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

问题描述


我想在我的项目中使用AjaxcontrlToolkit的某些控件,当我添加控件时,我可以成功运行它,但是此后,我在浏览器中看不到控件并且它们在控件上不可见.
我使用的代码是:

Hi,
I want to use some controls of AjaxcontrlToolkit in my project, when I add a control, I can run it successfully, but after that I can not see the controls in browser and they are not visible on it.
the code i use is:

<asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>


<asp:TabContainer ID="TabContainer1" runat="server" ActiveTabIndex="0"

        BackColor="#FF99FF" BorderColor="#0066FF" BorderStyle="Double"

        BorderWidth="100px" ForeColor="Black" Height="79px"

         Width="735px">
        <asp:TabPanel runat="server" HeaderText="TabPanel1" ID="TabPanel1">
            <ContentTemplate>
                <asp:Button ID="Button1" runat="server" Text="Button" />
                <br />
                lll
            </ContentTemplate>
        </asp:TabPanel>
        <asp:TabPanel ID="TabPanel2" runat="server" HeaderText="TabPanel2">
        </asp:TabPanel>
    </asp:TabContainer>



我也应该说控件的visible属性已设置为true.问题是什么!在此先多谢!
(我使用Visual Studio Studio 2008)



also i should say that the control visible property has been set to true. What is the problem! Thanks a lot in advance!
(I use Visual-Studio 2008)

推荐答案

好,看看上述问题的代码不会有多大帮助.您肯定在做错事,因此是行为.

我建议您下载网上已经可用的任何示例项目(很少在Code Project本身上!),运行它们.看看他们是否在工作.这将有助于调查您当前项目的问题.
Well looking at the code for above issue won''t help much. You are doing something wrong for sure and thus the behaviour.

I would suggest you to download any sample project already available on net (few are here at Code Project itself!), run them. See if they are working or not. This would help in investigating what is wrong with your current project.


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

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