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

how to set the width on recurrence label in recurrence editor

4 Answers 116 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Saimadhukar
Top achievements
Rank 1
Saimadhukar asked on 18 Nov 2011, 07:22 AM
Hello,

I am setting localization.recurrence field to "Create recurring series of task" but it is wrapping and not displaying in a single line.
The dfault width of this recurrence label is set to 75px.Please reply as soon as possible.


Thank in advance,
Madhu.

4 Answers, 1 is accepted

Sort by
0
Ivana
Telerik team
answered on 22 Nov 2011, 07:04 PM
Hello Saimadhukar,

The Recurrence label is not rendered with a 75px width set to it; it has an auto width, which means that it expands depending on the content.

Take a look at the images attached; the first one shows the width, the Recurrence label is rendered with, and the second how the AdvancedForm looks like when a lot of text is set for the Recurrence label.

The definition of the Scheduler in the second case is as following:
<telerik:RadScheduler runat="server" ID="RadScheduler1">
    <Localization  AdvancedRecurrence="Create recurring series of task Create recurring series of task Create recurring series of task  Create recurring series     of task"/>
    <AdvancedForm Modal="true"/>
</telerik:RadScheduler>

Greetings,
Ivana
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
Saimadhukar
Top achievements
Rank 1
answered on 23 Nov 2011, 10:52 AM

Hello Ivana,
Thanks for the reply,but I am using  RadSchedulerRecurrenceEditor and when setting Localization-Recurrence
the text is wrapped as the width is by default 75px this can be found in localisation-recurrence.png.
Below is the code I am using.Also please find the attachments.

  

<rad:RadSchedulerRecurrenceEditor runat="server" ID="AppointmentRecurrenceEditor" Localization-Recurrence="Create recurring series of task"/>


Thanks,
Saimadhukar

 

0
Accepted
Ivana
Telerik team
answered on 25 Nov 2011, 03:38 PM
Hello Saimadhukar,

Add the following CSS style to your page:
<style type="text/css">
    .RecurrenceEditor label
    {
        width: auto !important;
    }
</style>

I hope this helps.

Regards,
Ivana
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
0
Saimadhukar
Top achievements
Rank 1
answered on 28 Nov 2011, 07:36 AM
Hello Ivana,

Thank u so much,that works really fine.

Regards,
Madhukar.
Tags
General Discussions
Asked by
Saimadhukar
Top achievements
Rank 1
Answers by
Ivana
Telerik team
Saimadhukar
Top achievements
Rank 1
Share this question
or