如何在运行时使Ajax timepicker可见为false [英] How to make ajax timepicker visible false in runtime

查看:111
本文介绍了如何在运行时使Ajax timepicker可见为false的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨..
我正在使用ajax扩展器时间选择器.我在一个标签容器中使用了4个标签,我只需要对一个标签使用timpicker.但是在运行时,所有选项卡都显示在同一位置.如何使剩余的选项卡上的时间选择器可见为false或如何仅用于一个选项卡..... guide很快

Hi..
Im using ajax extender time picker. Im using 4 tabs in a tab container and i need to use timpicker for only one tab. But at runtime it displays for all tabs at the same position. How to keep timepicker visible false for remaining tabs or how to use for only one tab.....guide soon

推荐答案


制作Enabled = false ;
Hi ,
Make Enabled = false ;
protected void Button1_Click(object sender, EventArgs e)
{
    TextBox1_CalendarExtender.Enabled = true;
}





<div>
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
    <asp:CalendarExtender ID="TextBox1_CalendarExtender" runat="server"

        Enabled="false" TargetControlID="TextBox1">
    </asp:CalendarExtender>
    <asp:Button ID="Button1" runat="server" Text="Button" onclick="Button1_Click" />

</div>


最好的问候
米特瓦里(M.Mitwalli)


Best Regards
M.Mitwalli


这篇关于如何在运行时使Ajax timepicker可见为false的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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