Rendering Issues with RadScheduler.

3 posts, 0 answers
  1. JD.
    JD. avatar
    37 posts
    Member since:
    Aug 2012

    Posted 26 Sep 2011 Link to this post

    Hi

    <table width="100%">
              <tr>
                  <td width="75%">
    <telerik:RadScheduler ID="RadScheduler1" runat="server" 
              DataDescriptionField="Description" DataEndField="EndTime" DataKeyField="keyid" 
              DataRecurrenceField="Recurrence" 
              DataRecurrenceParentKeyField="RecurrenceParentKey" 
              DataReminderField="Reminders" DataSourceID="SqlDataSource1" 
              DataStartField="StartTime" DataSubjectField="Subject" 
              EnableDescriptionField="True" FirstDayOfWeek="Monday" SelectedView="MonthView" 
              Skin="Sitefinity"  OverflowBehavior="Expand" 
              EnableCustomAttributeEditing="False" 
              onappointmentinsert="RadScheduler1_AppointmentInsert" 
              StartEditingInAdvancedForm="False" onload="RadScheduler1_Load"   >
                
              <Reminders Enabled="True" />
          </telerik:RadScheduler>
                  </td>
                  <td width="25%" valign="top" bgcolor="#FFFFA6" >
                  <asp:Label ID="RadTextBox1" Runat="server" Text="Select an entry to view its description." ></asp:Label>
               </td>
              </tr>
              <tr>
                  <td>
                       </td>
                  <td>
                       </td>
              </tr>
          </table>


    This is the simple layout, a table with 2 columns and 1st column has RadScheduler.  Inspite of simple layout,  it does not render properly on screen.

    As you can see on first image (rs-ErrorScreen1.jpg),  that inspite of specifying 75% width, its occupying more.  

    By just switching between day and month view, it resets itself as per given 75%.   See second image (rs-ErrorScreen2.jpg),  
    so I do not understand why on inital load the scheduler  is not in its given boundries?

    More worse case is when I switch to "edit mode"  The controls simply expand its width too much, that it goes beyond boundries
    Save and cancel button are far off the screen. 

    I just don;t understnad where things are wrong.   I can upload the video using screen capture (if you allow).

    Regards
    JD






  2. JD.
    JD. avatar
    37 posts
    Member since:
    Aug 2012

    Posted 27 Sep 2011 Link to this post


    My frustrutation is building up.
    I try managing width adjustment by manually specifying

     

     

    ColumnWidth="105px"

     

     

     

     

    Width="650px"

     


    But now Insert/Edit fails.  It does not successfully insert data into database, nor it provides any error.

    There is no code in codebehind related to any event of RadScheduler  except below to store username against each entry.
    and this used to work fine few minutes back. 

    Very annoying.....


     

     

    protected void SqlDataSource1_Inserting(object sender, SqlDataSourceCommandEventArgs e)

     

    {

    e.Command.Parameters[

     

    "@loginname"].Value = Page.User.Identity.Name;

     

    }

     

     

    protected void SqlDataSource1_Updating(object sender, SqlDataSourceCommandEventArgs e)

     

    {

    e.Command.Parameters[

     

    "@loginname"].Value = Page.User.Identity.Name;

     

    }

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Ivan Zhekov
    Admin
    Ivan Zhekov avatar
    539 posts

    Posted 30 Sep 2011 Link to this post

    Hi,

    That's rather unexpected behaviour. We can reproduce it everytime, but it proves hard for fixing

    Best wishes,
    Ivan Zhekov
    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
Back to Top