FineUI 官方论坛
标题:
ContentPanel里面的TextBox无法赋值的问题!
[打印本页]
作者:
meng
时间:
2012-4-7 11:10
标题:
ContentPanel里面的TextBox无法赋值的问题!
代码如下:
<body>
<form id="form1" runat="server">
<ext:PageManager ID="pageManager" runat="server" />
<ext:Window ID="Window1" EnableIFrame="true" Target="Self" runat="server" Height="500px" Width="800" >
<Items>
<ext:SimpleForm ID="SimpleForm1" BodyPadding="5px" runat="server" Width="780px" ShowHeader="True" >
<Items>
<ext:ContentPanel ID="ContentPanel1" ShowBorder="false" BodyPadding="10px" ShowHeader="false" AutoScroll="true" runat="server">
<ext:TextBox runat="server" ID="eee" ></ext:TextBox>
<asp:TextBox runat="server" ID="qqq" ></asp:TextBox>
<ext:Button ID="Button1" ValidateForms="SimpleForm1" Type="Submit" runat="server" Text="确定">
</ext:Button>
</ext:ContentPanel>
</Items>
</ext:SimpleForm>
</Items>
</ext:Window>
</form>
</body>
Cs代码:
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void Button1_Click(object sender, EventArgs e)
{
qqq.Text = "zzzzzzz";
eee.Text = "qqqqqqqqqqqqq";
}
}
测试发现 <ext:TextBox/>可以正常赋值。但是<asp:TextBox/>无法赋值!求 高手指点!!!
[attach]222[/attach]
作者:
Landroid
时间:
2012-4-7 13:14
<ext: PageManager ID="pageManager" AjaxAspnetControls="qqq" runat="server" />
作者:
meng
时间:
2012-4-9 11:54
Landroid 发表于 2012-4-7 13:14
多谢!!!
欢迎光临 FineUI 官方论坛 (https://fineui.com/bbs/)
Powered by Discuz! X3.4