Textbox value dissappear when using FilteredTextboxExtender
-
<asp:TextBox ID="txtExchangePartQty" runat="server" onfocus="if(this.value==this.defaultvalue) this.value='';" value="Quantity..." Width="120px">
</asp:TextBox>
<asp:FilteredTextBoxExtender ID="ftbeQty" runat="server" TargetControlID="txtExchangePartQty" ValidChars="1234567890" />When I dont use FilteredTextBoxExtender, as an initial value, inside the texbox "Quantity..." appears but when I use FilteredTextBoxExtender during the loading of the page, for a moment I see that initail value but then it dissappears. The cause is for it is TheFilteredTextBoxExtender, any idea why this is happening and how can I work out this problem?
-
<asp:TextBox ID="txtExchangePartQty" runat="server" onfocus="if(this.value==this.defaultvalue) this.value='';" value="Quantity..." Width="120px">
</asp:TextBox>
<asp:FilteredTextBoxExtender ID="ftbeQty" runat="server" TargetControlID="txtExchangePartQty" ValidChars="1234567890" />When I dont use FilteredTextBoxExtender, as an initial value, inside the texbox "Quantity..." appears but when I use FilteredTextBoxExtender during the loading of the page, for a moment I see that initail value but then it dissappears. The cause is for it is TheFilteredTextBoxExtender, any idea why this is happening and how can I work out this problem?
Hi, In
FilteredTextBoxExtender
you specifiedValidChars="1234567890"
this is whyTextBox
value "Quantity..." is not displayed. -
Hi, In
FilteredTextBoxExtender
you specifiedValidChars="1234567890"
this is whyTextBox
value "Quantity..." is not displayed.Yeah thats right. Not being careful enough to figure it out by myself LOL