开发者

AJAX NumericUpDownExtender and TextBox width trouble

开发者 https://www.devze.com 2022-12-24 06:09 出处:网络
<a开发者_如何学编程sp:TextBox ID=\"TextBox5\" runat=\"server\" Font-Size=\"12pt\" Width=\"92px\">10</asp:TextBox>
<a开发者_如何学编程sp:TextBox ID="TextBox5" runat="server" Font-Size="12pt" Width="92px">10</asp:TextBox>
<ajaxToolkit:NumericUpDownExtender ID="NumericUpDownExtender1" runat="server"
 TargetControlID="TextBox5">
</ajaxToolkit:NumericUpDownExtender>

So... problem is : My TexBox5 becomes very small at width and it doesn't care what width I setup.


<cc1:NumericUpDownExtender ID="txtEgitimSuresi_NumericUpDownExtender" 
            runat="server" Enabled="True" Maximum="100" 
            Minimum="0" RefValues="" ServiceDownMethod="" 
            ServiceDownPath="" ServiceUpMethod="" Tag="" TargetButtonDownID="" 
            TargetButtonUpID="" TargetControlID="txtEgitimSuresi" Width="111">
        </cc1:NumericUpDownExtender>

Try to give a value to width property of NumericUpDownExtender.


It will ignore Width. Try use cols.


Give width="100" to NumericUpDownExtender

0

精彩评论

暂无评论...
验证码 换一张
取 消