text not word wrapping

7 posts, 0 answers
  1. David Penny
    David Penny avatar
    174 posts
    Member since:
    Jun 2006

    Posted 26 Jan 2010 Link to this post

    I am using ASP.Net Ajax Q3 2009 SP1.

    I'm sure that an earlier release of RadScheduler wrapped the subject text, but this does not seem to be the case now.

    I have both the Subject and additional text in templates:

    <telerik:RadScheduler ID="rsc" runat="server" StartEditingInAdvancedForm="False" 
                        DataEndField="End" DataKeyField="ID" DataStartField="Start" DataSubjectField="Subject" 
                        OnClientAppointmentInserting="AppointmentInserting" OnClientAppointmentEditing="AppointmentEditing" 
                        CustomAttributeNames="Notes,ProjectID,OutOfOffice,Flexitime,ParentFlag,ParentID"  
                        EnableCustomAttributeEditing="True" 
                        MonthVisibleAppointmentsPerDay="6" Height="100%" 
                        Width="100%" DayHeaderDateFormat="dddd dd MMMM yyyy" Style="top: 0px; left: 0px" 
                        ValidationGroup="RadScheduler1" HoursPanelTimeFormat="h mm tt"  
                            EditFormDateFormat="dd/MM/yyyy" EditFormTimeFormat="HH:mm"  
                            meta:resourcekey="rscResource1" SelectedDate="2010-01-06"
                        <AdvancedForm EnableCustomAttributeEditing="True" /> 
                        <Localization ConfirmDeleteText="Are you sure you want to delete this entry?"  
                            ConfirmDeleteTitle="Confirm Delete" /> 
                        <TimelineView NumberOfSlots="7" UserSelectable="False" /> 
                        <DayView HeaderDateFormat="dddd dd MMMM yyyy" /> 
                        <MonthView VisibleAppointmentsPerDay="6" /> 
                        <AppointmentTemplate> 
                            <div style="text-align: center"
                                <%#Eval("Subject")%> 
                            </div> 
                            <hr /> 
                            <%# Eval("Notes") %> 
                        </AppointmentTemplate> 
                    </telerik:RadScheduler> 

    My customers are now complaining that long text in either fields does not word wrap but is split in the middle of words.  

    Is there anything I can do to implement word wrap within the template?

    David Penny
  2. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 27 Jan 2010 Link to this post

    Hello David,

    I tested the last two official service pack versions, but words seemed to wrap as expected. Attached is a screenshot of some of the tests I have conducted.

    Are there any other details around this case which could be causing the issue?


    Kind regards,
    Peter
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. David Penny
    David Penny avatar
    174 posts
    Member since:
    Jun 2006

    Posted 28 Jan 2010 Link to this post

    HI Peter,

    As far as I can tell there's nothing different about the RadScheduler.  I have tried removing the Appointment Template and the Subject still displays without wordwrap.

    The only thing I have done is override the font size using the following in my .css file:

    .rsVerticalHeaderTable div{font-size: 8pt !important;}     
    .rsAmPm{font-size: 8px !important;}    
     
     Other than that I cannot see what's different between this and another RadScheduler I have in the application that does word wrap correctly, other than the fact the Scheduler is wrapped inside a RadSplitter and a RadJajaxPanel.

    I'll try and reverse engineer the page and rebuild the scheduler from scratch and see if that's any better.

    David Penny.
  5. David Penny
    David Penny avatar
    174 posts
    Member since:
    Jun 2006

    Posted 01 Feb 2010 Link to this post

    Hi Peter,

    I have tried everything I can think to get the scheduler items to word wrap and nothing seems to work.  This is really weird because, as I said before, I have another scheduler which does word wrap as expected.

    I have copied the definition of the other scheduler across and on this particular page it does not word wrap, but does on its original page.

    The page and app itself is too complex to upload as a sample, I'm afraid.  The page contains a RadMenu, several Rad Ajax Panels, and a Radsplitter and PadPanes.

    I think I'll just have to accept that this page will not word wrap - shame.

    David Penny.
  6. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 01 Feb 2010 Link to this post

    Hi David,

    We are willing to look closer into the case if you can isolate the problem in a simple working demo and send it to us via a support ticket.


    Regards,
    Peter
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  7. Peter Briggs
    Peter Briggs avatar
    14 posts
    Member since:
    Mar 2010

    Posted 22 Mar 2010 Link to this post

    I have the same problem, only it is the Description not wrapping:

     

    <div style="white-space: nowrap;"><%#Eval("Description")%></div>

     

  8. Peter Briggs
    Peter Briggs avatar
    14 posts
    Member since:
    Mar 2010

    Posted 22 Mar 2010 Link to this post

    Yeah nevermind...today is obviously Monday...my text is not wrapping because I have nowrap set. Everything works fine for me.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017