This is a migrated thread and some comments may be shown as answers.

Multiple MaskedEditor controls kills web browser

4 Answers 58 Views
Input
This is a migrated thread and some comments may be shown as answers.
Mark Smith
Top achievements
Rank 2
Mark Smith asked on 13 Aug 2009, 12:10 AM
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?

4 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 13 Aug 2009, 05:39 AM
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.
0
Mark Smith
Top achievements
Rank 2
answered on 13 Aug 2009, 06:39 AM
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

0
Veli
Telerik team
answered on 18 Aug 2009, 06:50 AM
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.
0
Veli
Telerik team
answered on 18 Aug 2009, 06:51 AM
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.
Tags
Input
Asked by
Mark Smith
Top achievements
Rank 2
Answers by
Vlad
Telerik team
Mark Smith
Top achievements
Rank 2
Veli
Telerik team
Share this question
or