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

Rendering Issues with RadScheduler.

2 Answers 77 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
JD.
Top achievements
Rank 1
JD. asked on 26 Sep 2011, 05:16 PM
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 Answers, 1 is accepted

Sort by
0
JD.
Top achievements
Rank 1
answered on 27 Sep 2011, 06:57 AM

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;

 

}

0
Ivan Zhekov
Telerik team
answered on 30 Sep 2011, 07:55 AM
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
Tags
Scheduler
Asked by
JD.
Top achievements
Rank 1
Answers by
JD.
Top achievements
Rank 1
Ivan Zhekov
Telerik team
Share this question
or