Problem with RadNumericTextBox

4 posts, 0 answers
  1. Ammar
    Ammar avatar
    15 posts
    Member since:
    Apr 2008

    Posted 17 Jun 2009 Link to this post

    Hello All

    Am having a very bizzare problem with RadNumericTextBox, in fact, am using Ajax 3Q 2008, howver, if i type any given number on this input, it works fine at the first moment, but after i click on any other button the number automatically disapper, however, i again reused the 2006 control, it was fine, until today, the same thing happened even with the 2006.

    Am really confused,,,

    Hope u can help

    Thanks in advanced
  2. Daniel
    Admin
    Daniel avatar
    4949 posts

    Posted 17 Jun 2009 Link to this post

    Hello Ammar,

    Could you demonstrate the issue? Please attach a working version of your project to a formal support ticket. I will debug it locally and then provide an appropriate solution for you.

    Regards,
    Daniel
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. Ammar
    Ammar avatar
    15 posts
    Member since:
    Apr 2008

    Posted 17 Jun 2009 Link to this post

    <%

    @ Page Language="VB" AutoEventWireup="false" CodeFile="frmNewCashing.aspx.vb" Inherits="Forms_Cashing_frmNewCashing" %>

     

    <%

    @ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

     

     

     

    <%

    @ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

     

    <%

    @ Register Assembly="RadInput.Net2" Namespace="Telerik.WebControls" TagPrefix="radI" %>

     

    <!

     

    DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

     

    <

     

    html xmlns="http://www.w3.org/1999/xhtml" >

     

    <

     

    head runat="server">

     

     

    <title>ENCAISSEMENT</title>

     

    </

     

    head>

     

    <

     

    body style="text-align: left">

     

     

    <form id="form1" runat="server">

     

     

    &nbsp;&nbsp;

     

     

    <asp:ScriptManager ID="ScriptManager1" runat="server" EnablePageMethods="True">

     

     

    </asp:ScriptManager>

     

     

    <asp:UpdatePanel ID="UpdatePanel1" runat="server">

     

     

    <ContentTemplate>

     

     

    <table style="width: 312px; height: 40px">

     

     

    <tr>

     

     

    <td style="text-align: left; background-color: threeddarkshadow;" valign="top" rowspan="2">

     

     

    <table style="width: 112px; height: 64px">

     

     

    <tr>

     

     

    <td style="height: 30px; text-align: right" valign="top">

     

     

    <asp:Label ID="Label1" runat="server" ForeColor="White" Text="Type Mvt:" Width="88px"></asp:Label></td>

     

     

    <td style="height: 30px" valign="top">

     

     

    <telerik:RadComboBox ID="cmbTypePortfolio" runat="server" DataSourceID="DsPortfolio"

     

     

    DataTextField="libelle" DataValueField="code" Skin="Office2007">

     

     

    <CollapseAnimation Duration="200" Type="OutQuint" />

     

     

    </telerik:RadComboBox>

     

     

    </td>

     

     

    <td style="height: 30px" valign="top">

     

     

    </td>

     

     

    </tr>

     

     

    <tr>

     

     

    <td style="text-align: right" valign="top">

     

     

    <asp:Label ID="Label2" runat="server" ForeColor="White" Text="Ref Document:" Width="88px"></asp:Label></td>

     

     

    <td valign="top">

     

     

    <asp:TextBox ID="txtIdEntity" runat="server" MaxLength="50" Width="128px"></asp:TextBox></td>

     

     

    <td valign="top">

     

     

    </td>

     

     

    </tr>

     

     

    <tr>

     

     

    <td style="text-align: right" valign="top">

     

     

    <asp:Label ID="Label3" runat="server" ForeColor="White" Text="Id client:" Width="88px"></asp:Label></td>

     

     

    <td valign="top">

     

     

    <radI:RadNumericTextBox ID="txtIdCli" runat="server" MaxLength="12" MaxValue="999999999999"

     

     

    MinValue="-999999999999" Width="128px">

     

     

    <NumberFormat DecimalDigits="0" GroupSeparator="" GroupSizes="1" />

     

     

    </radI:RadNumericTextBox></td>

     

     

    <td valign="top">

     

     

    </td>

     

     

    </tr>

     

     

    <tr>

     

     

    <td colspan="3" style="text-align: center" valign="top">

     

     

    <asp:Button ID="btnSearch" runat="server" Text="Recherche" UseSubmitBehavior="False" /></td>

     

     

    </tr>

     

     

    <tr>

     

     

    <td colspan="3" style="text-align: left" valign="top">

     

     

    <asp:Label ID="lblError" runat="server" ForeColor="Red" Visible="False" Width="296px"></asp:Label></td>

     

     

    </tr>

     

     

    <tr>

     

     

    <td colspan="3" style="text-align: center; height: 127px;" valign="bottom">

     

     

    <asp:UpdateProgress ID="UpdateProgress1" runat="server">

     

     

    <ProgressTemplate>

     

     

    <asp:Label ID="lblProgress" runat="server" Text="PROCESSING THE REQUEST ..." Width="273px" ForeColor="White"></asp:Label><br />

     

     

    <br />

     

     

    <asp:Image ID="Image1" runat="server" ImageUrl="~/App_Themes/EVATIS.gif" />

     

     

    </ProgressTemplate>

     

     

    </asp:UpdateProgress>

     

     

    </td>

     

     

    </tr>

     

     

    </table>

     

     

    &nbsp;&nbsp;

     

     

    </td>

     

     

    <td style="text-align: left; height: 101px;" valign="top">

     

     

    <asp:Panel ID="pnlEntity" runat="server" BackColor="Lavender" Visible="False">

     

     

    <table style="width: 136px; height: 64px">

     

     

    <tr>

     

     

    <td style="text-align: right; width: 6px; background-color: lavender;" valign="top">

     

     

    <asp:Label ID="Label4" runat="server" ForeColor="Black" Text="Id client:" Width="88px"></asp:Label></td>

     

     

    <td style="text-align: left" valign="top">

     

     

    <asp:Label ID="lblIdClient" runat="server" ForeColor="Chocolate" Width="88px"></asp:Label></td>

     

     

    <td valign="top">

     

     

    </td>

     

     

    </tr>

     

     

    <tr>

     

     

    <td style="text-align: right; width: 6px; background-color: lavender;" valign="top">

     

     

    <asp:Label ID="Label5" runat="server" ForeColor="Black" Text="Nom client:" Width="88px"></asp:Label></td>

     

     

    <td valign="top">

     

     

    <asp:Label ID="lblClientName" runat="server" ForeColor="Chocolate" Width="232px"></asp:Label></td>

     

     

    <td valign="top">

     

     

    </td>

     

     

    </tr>

     

     

    <tr>

     

     

    <td style="text-align: right; width: 6px; background-color: lavender;" valign="top">

     

     

    <asp:Label ID="Label6" runat="server" ForeColor="Black" Text="Total :" Width="88px"></asp:Label></td>

     

     

    <td valign="top">

     

     

    <asp:Label ID="lblTotal" runat="server" ForeColor="Chocolate" Width="232px"></asp:Label></td>

     

     

    <td valign="top">

     

     

    </td>

     

     

    </tr>

     

     

    <tr>

     

     

    <td colspan="3" style="text-align: right; width: 6px; background-color: lavender;" valign="top">

     

     

    <table style="width: 552px; height: 32px">

     

     

    <tr>

     

     

    <td colspan="4" style="height: 170px; text-align: left" valign="top">

     

     

    <telerik:RadGrid ID="GVEntities" runat="server" Skin="Office2007" AllowMultiRowSelection="True" GridLines="None" Width="552px" ToolTip="Select entity or more to be paid">

     

     

    <MasterTableView DataKeyNames="Total,Entity Id,Code">

     

     

    <Columns>

     

     

    <telerik:GridClientSelectColumn UniqueName="column">

     

     

    <HeaderStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"

     

     

    Font-Underline="False" HorizontalAlign="Center" Wrap="True" />

     

     

    <ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"

     

     

    Font-Underline="False" HorizontalAlign="Center" VerticalAlign="Middle" Wrap="True" />

     

     

    </telerik:GridClientSelectColumn>

     

     

    </Columns>

     

     

    <RowIndicatorColumn Visible="False">

     

     

    <HeaderStyle Width="20px" />

     

     

    </RowIndicatorColumn>

     

     

    <ExpandCollapseColumn Resizable="False" Visible="False">

     

     

    <HeaderStyle Width="20px" />

     

     

    </ExpandCollapseColumn>

     

     

    <EditFormSettings>

     

     

    <PopUpSettings ScrollBars="None" />

     

     

    </EditFormSettings>

     

     

    <ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"

     

     

    Font-Underline="False" HorizontalAlign="Left" Wrap="True" />

     

     

    <GroupHeaderItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False"

     

     

    Font-Strikeout="False" Font-Underline="False" HorizontalAlign="Left" Wrap="True" />

     

     

    <AlternatingItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False"

     

     

    Font-Strikeout="False" Font-Underline="False" HorizontalAlign="Left" Wrap="True" />

     

     

    <EditItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"

     

     

    Font-Underline="False" HorizontalAlign="Left" Wrap="True" />

     

     

    </MasterTableView>

     

     

    <ClientSettings>

     

     

    <Selecting AllowRowSelect="True" />

     

     

    </ClientSettings>

     

     

    </telerik:RadGrid>

     

     

    <asp:Button ID="btnCompute" runat="server" OnClick="btnCompute_Click" Text="Calculer "

     

     

    Width="80px" />

     

     

    &nbsp; &nbsp;<asp:Label

     

     

    ID="Label12" runat="server" Width="88px">Total à payer:</asp:Label>

     

     

    <asp:Label ID="lblTotPaid" runat="server" Width="160px"></asp:Label></td>

     

     

    </tr>

     

     

    <tr>

     

     

    <td colspan="3" style="text-align: left; height: 129px;" valign="top">

     

     

    <asp:RadioButtonList ID="rdModePayment" runat="server" BackColor="InactiveCaption"

     

     

    DataSourceID="DSModeOfPayment" DataTextField="_Description" DataValueField="_Id"

     

     

    Font-Bold="True"

     

     

    RepeatDirection="Horizontal" AutoPostBack="True" OnSelectedIndexChanged="rdModePayment_SelectedIndexChanged">

     

     

    </asp:RadioButtonList>

     

     

    <asp:Panel ID="pnlChequInfo" runat="server" Visible="False">

     

     

    <table style="width: 80px; height: 64px">

     

     

    <tr>

     

     

    <td colspan="3">

     

     

    <asp:Label ID="Label7" runat="server" BackColor="Lavender" Text="Please, enter the cheque info!"

     

     

    Width="272px"></asp:Label></td>

     

     

    </tr>

     

     

    <tr>

     

     

    <td>

     

     

    <asp:Label ID="Label10" runat="server" ForeColor="Black" Text="Banque :" Width="112px"></asp:Label></td>

     

     

    <td>

     

     

    <asp:Label ID="Label11" runat="server" Font-Names="Verdana" Font-Size="X-Small" Text="Numéro de document"

     

     

    Width="144px"></asp:Label></td>

     

     

    <td>

     

     

    </td>

     

     

    </tr>

     

     

    <tr>

     

     

    <td>

     

     

    <asp:DropDownList ID="cmbBanque" runat="server" DataSourceID="DSBanque" DataTextField="libelle"

     

     

    DataValueField="code_bq" Width="120px">

     

     

    </asp:DropDownList></td>

     

     

    <td>

     

     

    <radI:RadTextBox ID="txtDocNum" runat="server" MaxLength="10" Width="120px">

     

     

    </radI:RadTextBox></td>

     

     

    <td>

     

     

    </td>

     

     

    </tr>

     

     

    <tr>

     

     

    <td>

     

     

    </td>

     

     

    <td>

     

     

    </td>

     

     

    <td>

     

     

    </td>

     

     

    </tr>

     

     

    </table>

     

     

    </asp:Panel>

     

     

    </td>

     

     

    <td style="text-align: left; height: 129px;" valign="top">

     

     

    </td>

     

     

    </tr>

     

     

    <tr>

     

     

    <td colspan="3" style="text-align: left" valign="top">

     

     

    <asp:Button ID="btnCalc" runat="server" OnClick="btnCalc_Click" Text="Valider" Font-Bold="True" Font-Size="Larger" OnClientClick="this.disabled=true; this.value=&quot;...S'il vous plaît attendez!...&quot;" UseSubmitBehavior="False" Width="264px" /></td>

     

     

    <td style="text-align: left" valign="top">

     

     

    </td>

     

     

    </tr>

     

     

    </table>

     

     

    </td>

     

     

    </tr>

     

     

    </table>

     

     

    </asp:Panel>

     

     

    </td>

     

     

    <td valign="top" style="height: 101px">

     

     

    </td>

     

     

    </tr>

     

     

    <tr>

     

     

    <td valign="top" style="height: 18px">

     

     

    </td>

     

     

    <td valign="top" style="height: 18px">

     

     

    </td>

     

     

    </tr>

     

     

    <tr>

     

     

    <td valign="top">

     

     

    <radI:RadNumericTextBox ID="txtRest" runat="server" BackColor="Highlight" Culture="French (France)"

     

     

    Enabled="False" Font-Bold="True" Font-Size="1em" ForeColor="#333333" LabelCssClass="radLabelCss_Default"

     

     

    MaxValue="70368744177664" MinValue="-70368744177664" Skin="" Type="Currency"

     

     

    Width="152px" Visible="False">

     

     

    <NumberFormat DecimalDigits="2" DecimalSeparator="." GroupSeparator="," GroupSizes="3"

     

     

    NegativePattern="FDJ - n" PositivePattern="n FDJ" />

     

     

    <NegativeStyle BackColor="Yellow" />

     

     

    </radI:RadNumericTextBox>

     

     

    <radI:RadNumericTextBox ID="txtTotal" runat="server" BackColor="Highlight" Culture="French (France)"

     

     

    Enabled="False" Font-Bold="True" Font-Size="1em" ForeColor="#333333" LabelCssClass="radLabelCss_Default"

     

     

    MaxValue="70368744177664" MinValue="-70368744177664" Skin="" Type="Currency"

     

     

    Width="152px" Visible="False">

     

     

    <NumberFormat DecimalDigits="2" DecimalSeparator="." GroupSeparator="," GroupSizes="3"

     

     

    NegativePattern="FDJ - n" PositivePattern="n FDJ" />

     

     

    </radI:RadNumericTextBox>

     

     

    <br />

     

     

    <asp:Label ID="Label8" runat="server" ForeColor="Black" Text="Montant liquid :" Width="88px" Visible="False"></asp:Label>

     

     

    <br />

     

     

    <asp:LinkButton ID="LinkButton2" runat="server" CssClass="btnBasic" Font-Names="Verdana"

     

     

    Font-Size="0.65em" OnClick="LinkButton2_Click" Width="88px" Visible="False">Calculer le total</asp:LinkButton>

     

     

    <br />

     

     

    <radI:RadNumericTextBox ID="txtLiquisMont" runat="server" MaxLength="15" Culture="English (United States)" MaxValue="999999999999999" MinValue="-999999999999999" Visible="False">

     

     

    <NumberFormat DecimalDigits="4" GroupSizes="1" GroupSeparator="" />

     

     

    </radI:RadNumericTextBox>

     

     

    <br />

     

     

    <asp:Button ID="btnValid" runat="server" Text="Valider" Enabled="False" OnClientClick="this.disabled=true;" UseSubmitBehavior="False" Visible="False" />

     

     

    <br />

     

     

    <asp:Label ID="Label9" runat="server" ForeColor="Black" Text="Montant cheque :" Width="112px" Visible="False"></asp:Label>

     

     

    <br />

     

     

    <radI:RadNumericTextBox ID="txtMontCheque" runat="server" MaxLength="15" Culture="English (United States)" MaxValue="999999999999999" MinValue="-999999999999999" Visible="False">

     

     

    <NumberFormat DecimalDigits="4" GroupSizes="1" GroupSeparator="" />

     

     

    </radI:RadNumericTextBox>

     

     

    <br />

     

     

    <asp:Label ID="lblTot" runat="server" Font-Bold="True" Font-Names="Verdana" Font-Size="0.8em"

     

     

    Text="PAYER" Width="120px" Visible="False"></asp:Label>

     

     

    <br />

     

     

    <asp:Label ID="Label17" runat="server" Font-Bold="True" Font-Names="Verdana" Font-Size="0.8em"

     

     

    Text="RESTE" Width="120px" Visible="False"></asp:Label></td>

     

     

    <td valign="top">

     

     

    &nbsp;</td>

     

     

    <td valign="top">

     

     

    </td>

     

     

    </tr>

     

     

    </table>

     

     

    <br />

     

     

    <telerik:RadWindowManager ID="myWindow" runat="server" Skin="Vista" Animation="Fade" InitialBehavior="Maximize" Behavior="Default" InitialBehaviors="Maximize" Left="" Top="">

     

     

    <Windows>

     

     

    <telerik:RadWindow runat="server" Behavior="Default" InitialBehavior="Maximize" Left=""

     

     

    NavigateUrl="~/Forms/Client/frmClient.aspx" Style="display: none;" Top="" InitialBehaviors="Maximize">

     

     

    </telerik:RadWindow>

     

     

    </Windows>

     

     

    </telerik:RadWindowManager>

     

     

    &nbsp;&nbsp;<br />

     

     

    &nbsp;

     

     

    <br />

     

     

    </ContentTemplate>

     

     

    </asp:UpdatePanel>

     

     

    &nbsp;&nbsp;<br />

     

     

    &nbsp;&nbsp;<br />

     

     

    &nbsp;<br />

     

     

    &nbsp;

     

     

    </form>

     

    </

     

    body>

     

    </

     

    html>

     

  4. Daniel
    Admin
    Daniel avatar
    4949 posts

    Posted 23 Jun 2009 Link to this post

    Hello Ammar,

    I'm afraid I can't reproduce the issue. I created a simplified demo based on the code you posted here. Please test it locally and let me know whether it behaves as expected.

    Regards,
    Daniel
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top