Multiple MaskedEditor controls kills web browser

5 posts, 0 answers
  1. Mark Smith
    Mark Smith avatar
    9 posts
    Member since:
    Oct 2012

    Posted 12 Aug 2009 Link to this post

    Hi

    We're using the MaskedEditor to input timesheet information. Eg:
    Mon - Sun
    Start, Break, End

    Means, 1 person has 7 x 3 (7 days * input for start, break, end) = 21

    When there are 20 people it makes it 410 controls on the form

    Using the IE js profiler we found that "Sys.Application.add_init(function() {" (which is generated by the MaskedInput control) gets called too many times and hangs the browser for about 5 minutes not responding

    How do we optimize this?
  2. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 13 Aug 2009 Link to this post

    Hi Mark,

    You can use RadInputManager instead. The manager will give you the same functionality will standard TextBox controls.

    Regards,
    Vlad
    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. Mark Smith
    Mark Smith avatar
    9 posts
    Member since:
    Oct 2012

    Posted 13 Aug 2009 Link to this post

    Hi Vlad

    Thanks for the reply, but I don't quiete understand how to make it work with these types of controls. eg:

    <td><telerik:RadMaskedTextBox ID="shifta_mon_start" runat="server" Mask="<0..23>:<0..59>" Width="30px" /></td>
    <td><telerik:RadMaskedTextBox ID="shifta_tue_start" runat="server" Mask="<0..23>:<0..59>" Width="30px" /></td>

    ...etc

    Are you able to show me an example using the RadInputManager with the above please?

    Thanks

  4. Veli
    Admin
    Veli avatar
    2002 posts

    Posted 18 Aug 2009 Link to this post

    Hello Mark,

    Please, refer to the following demo page to get acquainted with RadInputManager's masking functionality:

    ASP.NET Input Demo - RadInputManager

    Additionally, the following help article will introduce you to the most common RadInputManager settings you would need:

    Using RadInputManager

    Sincerely yours,
    Veli
    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.
  5. Veli
    Admin
    Veli avatar
    2002 posts

    Posted 18 Aug 2009 Link to this post

    Hello Mark,

    Please, refer to the following demo page to get acquainted with RadInputManager's masking functionality:

    ASP.NET Input Demo - RadInputManager

    Additionally, the following help article will introduce you to the most common RadInputManager settings you would need:

    Using RadInputManager

    Sincerely yours,
    Veli
    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