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

Issues since upgrading to Q2 2012 from Q1 2012 SP1

16 Answers 117 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Joe
Top achievements
Rank 1
Joe asked on 03 Jul 2012, 01:42 PM
Hello,

I'm noticing several problems recently that never occurred before until very recently.  BTW, I'm currently demoing - soon to buy, once I get the kinks worked out (fingers crossed)...

First, I can no longer insert appointments by double-clicking on an empty spot on the vertical timeline view.  In my "real" app, I get no error, nothing in eventlog - the inline form simply doesn't appear.  In my "demo" app, I get the following stack trace:

[ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: index]
   System.Web.UI.ControlCollection.get_Item(Int32 index) +8690670
   Telerik.Web.UI.Scheduler.Views.TimelineAllDayTable.CreateAllDayCells(WebControl row, Dictionary`2 appointmentControls) +2003
   Telerik.Web.UI.Scheduler.Views.SchedulerAllDayTable.AddRow(IList`1 allDaySlots, Dictionary`2 appointmentControls) +209
   Telerik.Web.UI.Scheduler.Views.Timeline.RendererBase.CreateInnerContentTable(Control container, IList`1 allTimeLineSlots) +383
   Telerik.Web.UI.Scheduler.Views.Timeline.GroupedByResource.Renderer.CreateVerticalContent(SchedulerTopTable topTable) +402
   Telerik.Web.UI.Scheduler.Views.Timeline.GroupedByResource.Renderer.GetInnerContent() +307
   Telerik.Web.UI.Scheduler.Views.Timeline.GroupedByResource.Renderer.GetContent() +79
   Telerik.Web.UI.RadScheduler.CreateContent() +218
   Telerik.Web.UI.RadScheduler.CreateChildControls(Boolean bindFromDataSource) +195
   Telerik.Web.UI.RadScheduler.CreateChildControls() +34
   System.Web.UI.Control.EnsureChildControls() +87
   System.Web.UI.Control.PreRenderRecursiveInternal() +44
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842



Second, when editing appointments (again by double-clicking), the inline edit form will "submarine" under the resource headers on the left - the further right on the timeline the appointment's start date, the further left the form will originate.  I've worked around this by using

    .rsAptEditSizingWrapper
    {
        left: 0px !important;
    }

but this was never an issue before.


Finally, saving edited appointments only works under certain circumstances.  There are several controls on the edit form for the subject value, only one of which is visible at any time based on the data type of the subject (DateTime or string) and whether there is a list of values associated with it (TextBox or RadComboBox).  If the subject is represented by a combobox the save is fine; if the subject is edited via a textbox, however, the save will not occur.  A partial workaround is to add  AutoPostBack="true"  to the textbox, but then it only saves the second time the user presses "Save".  Please let me know if you need me to post my code.


I'm not sure if it's the new version that introduced these issues, but I can't think of what else would cause such problems all at once.  Granted, I've upgrade Firefox recently, but not IE9, and both exhibit the above behaviors.  That said, there are other peculiarities particular to both Firefox 13.0.1 and IE 9.0.6 - some very troublesome.  I'll save those for another thread...

In closing, I'm anxious to purchase the package, as RadScheduler is ideal for what I'm trying to do.  However, given the odd behaviors and inconsistencies, I'm at a loss as to what to do - I don't want to spend the money on a product that won't work reliably for our end users, but I don't want to start from scratch with a different product either.


Regards,
Joe

16 Answers, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 04 Jul 2012, 11:09 AM
Hello Joseph,

 
There are several things indeed that were updated in the timeline view so these issues could be a caused by them. Would you please let us know of any of these unusual behaviors can be observed at any of our on-line demos? Otherwise would you please post the code that you used in order to reproduce these issue so we can test locally and provide some solutions? 

Sending a screen shots or some links to video that reproduce the issues could be helpful as well.

Kind regards,
Plamen Zdravkov
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
Joe
Top achievements
Rank 1
answered on 05 Jul 2012, 01:45 PM
Hi Plamen,

I created a second demo app that has minimal configuration.  The page is below; there is literally no code in Default.aspx.cs other than the constructor.

I managed to reproduce the first issue by trying to insert an appointment while the inlineedittemplate was active.  Cancelling out of the edit before trying to insert is the key; I'm fairly certain that this never caused a problem before, however.  Regardless, this doesn't help explain why the inlineinserttemplate never appears in my real app.

The attached images demonstrate the second issue.

I'll keep at it and see what else I can come up with.

Best regards,
Joe

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
 
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
<head><title>Hello there</title></head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScheduler
        ID="RadScheduler1" runat="server" DataSourceID="SqlDataSource1" DataEndField="EndDate"
        DataKeyField="PatronAttribute_SK"
        DataStartField="EffectiveDate" DataSubjectField="Value"
        DayEndTime="23:59:59" DayStartTime="00:00:00" SelectedView="TimelineView"
        ShowAllDayRow="False" EnableAdvancedForm="False" >
        <AdvancedForm Enabled="False" />
        <ResourceTypes>
            <telerik:ResourceType DataSourceID="SqlDataSource3"
                ForeignKeyField="AttributeConsumer_SK_FK" KeyField="attributeconsumer_sk"
                Name="AttributeSchedule" TextField="name" />
        </ResourceTypes>
        <TimelineView GroupBy="AttributeSchedule" GroupingDirection="Vertical"
            NumberOfSlots="24" ShowInsertArea="False" UserSelectable="False" />
        <WeekView UserSelectable="False" />
        <DayView UserSelectable="False" />
        <MonthView UserSelectable="False" />
    </telerik:RadScheduler>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server"
        ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
        ProviderName="<%$ ConnectionStrings:ConnectionString.ProviderName %>"
        SelectCommand="SELECT PatronAttribute_SK, AttributeConsumer_SK_FK, Value, EffectiveDate, isnull(EndDate, date('2068-09-06')) as enddate FROM CSDp_PatronAttribute WHERE (Patron_SK_FK = ?)"
        DeleteCommand="delete from csdp_patronattribute where patronattribute_sk = ?"
        UpdateCommand="UPDATE CSDp_PatronAttribute SET "Value" = ?, EffectiveDate = ?, EndDate = ? WHERE PatronAttribute_SK = ?"
        InsertCommand="INSERT INTO DBA.CSDp_PatronAttribute(PatronAttribute_SK, AttributeConsumer_SK_FK, "Value", EffectiveDate, EndDate, Patron_sk_fk) VALUES (?, ?, ?, ?, ?, ?)"
        OldValuesParameterFormatString="previous_{0}"
        >
        <SelectParameters>
            <asp:Parameter Name="Patron_SK_FK" Type="Int32" DefaultValue="101077" />
        </SelectParameters>
        <DeleteParameters>
            <asp:Parameter Name="previous_PatronAttribute_SK" Type="Int32" />
        </DeleteParameters>
        <UpdateParameters>
            <asp:Parameter Name="Value" Type="String" />
            <asp:Parameter Name="EffectiveDate" Type="DateTime" />
            <asp:Parameter Name="EndDate" Type="DateTime" />
            <asp:Parameter Name="previous_PatronAttribute_SK" Type="Int32" />
        </UpdateParameters>
        <InsertParameters>
            <asp:Parameter Name="PatronAttribute_SK" Type="Int32" />
            <asp:Parameter Name="AttributeConsumer_SK_FK" Type="Int32" />
            <asp:Parameter Name="Value" Type="String" />
            <asp:Parameter Name="EffectiveDate" Type="DateTime" />
            <asp:Parameter Name="EndDate" Type="DateTime" />
            <asp:Parameter Name="Patron_SK_FK" Type="Int32" DefaultValue="101077" />
        </InsertParameters>
    </asp:SqlDataSource>
    <telerik:RadScriptManager ID="RadScriptManager1" Runat="server"></telerik:RadScriptManager>
    <asp:SqlDataSource ID="SqlDataSource3" runat="server"
        ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
        ProviderName="<%$ ConnectionStrings:ConnectionString.ProviderName %>"
        SelectCommand="SELECT [attribute_sk], [attributeconsumer_sk], [name], [type], [expression] FROM [av_csd_AttributeSchedule] ORDER BY [name]">
    </asp:SqlDataSource>
    <asp:SqlDataSource ID="SqlDataSource4" runat="server"
        ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
        ProviderName="<%$ ConnectionStrings:ConnectionString.ProviderName %>"
        SelectCommand="SELECT [Attribute_SK_FK], [Value] FROM [CSDp_AttributeValue] WHERE ([Active] = 1 and attribute_sk_fk = ?) ORDER BY [Attribute_SK_FK], [Listing_Order]">
        <SelectParameters>
            <asp:Parameter Name="attribute_sk_fk" />
        </SelectParameters>
    </asp:SqlDataSource>
    </form>
</body>
</html>

0
Joe
Top achievements
Rank 1
answered on 05 Jul 2012, 03:06 PM
Adding even a basic InlineInsertTemplate results in the "Specified argument was out of the range of valid values." exception:

<InlineInsertTemplate>
    <div id="InlineInsertTemplate" class="rsCustomAppointmentContainer">
        <span class="rsCustomAppointmentContainerInner">
            <div>
                <telerik:RadTextBox id="tbValue" runat="server"></telerik:RadTextBox>
                <asp:Button CommandName="Insert" runat="server" Text="Save"/>
                <asp:Button CommandName="Cancel" CausesValidation="false" runat="server" Text="Cancel"/>
            </div>
        </span>
    </div>
</InlineInsertTemplate>

This occurs even if the insert is the first action attempted.

Thanks,
Joe
0
Joe
Top achievements
Rank 1
answered on 06 Jul 2012, 02:04 PM
In the meantime, is it possible to get the Q1 2012 SP1 installer?  Please?

I (foolishly) deleted mine once I installed Q2 2012... 
0
Plamen
Telerik team
answered on 06 Jul 2012, 02:49 PM
Hi Joe,

 
Thank you for reporting this bug and your concern with Telerik controls.

I have logged this bug for fixing. If you observe any other unusual behaviors please don't hesitate o contact us again.

As for the Q1 2012 SP1 installer- would you please Open Presales Inquiry so we can be more helpful with this issue.

All the best,
Plamen Zdravkov
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
Joe
Top achievements
Rank 1
answered on 06 Jul 2012, 07:14 PM
Hi Plamen,

Sorry to be a stickler, but I believe there are two bugs - one is an exception that is thrown when trying to insert an appointment, and the other is the "submarining" issue when editing an appointment, demonstrated by the images I attached.

Are you logging them both?

Thanks,
Joe
0
Joe
Top achievements
Rank 1
answered on 09 Jul 2012, 02:32 PM
Hi Plamen,

Here are a couple more issues, for a total of 4 so far.  I'm appending them to this thread rather than creating a new one, as it appears that all four are related in some way to inline templates.  If you'd like a new thread created, however, please let me know.

1) Cancel button doesn't close the form if an InlineEditTemplate is explicitly defined.
2) Save button neither saves nor closes the form if the control bound to the appointment's Subject is a RadTextBox.  When binding to a RadComboBox the Save button works as expected.

Regards,
Joe
0
Plamen
Telerik team
answered on 10 Jul 2012, 08:45 AM
Hello Joe,

 
I have inspected all the issues that you reported once again and the only bug that could observe at my side is the one that us described with the images from your post on 5th of July. When the templates are not used this issue can be worked around when instead of <AdvancedForm Enabled="False" /> we use StartEditingInAdvancedForm="false". When the inline templates are added the unusual positioning is still observed and can not be fixed only with the changing of the properties of RadScheduler. Both these issues are logged for fixing.

All the other issues of the inline templates worked properly at my side. I am attaching a sample project that reproduces the issue. Please review it and let me know if you have further questions or I have to change somehow the code in order to observe some behavior or error.

Hope this will be helpful.

Greetings,
Plamen
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
Joe
Top achievements
Rank 1
answered on 10 Jul 2012, 01:07 PM
Hi Plamen,

Thank you for logging those issues, and also for providing the sample code and data.  I believe we're in agreement about the conditions under which the strange positioning of the edit form occurs. 

However, with your sample code I also encounter the "Specified argument was out of the range of valid values" exception under these conditions:
  • With both templates commented out, but without StartEditingInAdvancedForm="false", I attempt to insert an appointment while the edit form is still active.
  • With both templates defined, and with StartEditingInAdvancedForm="false", I attempt to insert an appointment.  The exception is thrown even if the insert is the first action I attempt.

I observe this behavior under both IE 9.0.8112.16421 & Firefox 13.0.1. 

Please advise as to whether you can reproduce the above on your end. 

My next step is to see if I can reproduce the latter two behaviors I reported using your sample - I'll report back as soon as I know more.  Thanks again for your attention.

Cheers,
Joe

0
Joe
Top achievements
Rank 1
answered on 11 Jul 2012, 12:22 PM
One more condition will cause the "Specified argument..." exception:
  • Add a FormCreated event handler to the provided sample code and leave the RadScheduler1_FormCreated() method empty (or add code if you like - it makes no difference).

Cheers,
Joe

0
Plamen
Telerik team
answered on 12 Jul 2012, 06:44 AM
Hello Joe,

 
Thank you for providing this description of the error.

I have inspected it and I am glad to inform you that this behavior have already been fixed and is not observed any more in the Latest Internal Build of RadControls. 

Hope this will be helpful. If you have further questions or you observe any other unusual behavior please don't hesitate to share it with again.

All the best,
Plamen
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
Joe
Top achievements
Rank 1
answered on 12 Jul 2012, 12:48 PM
Thanks for the reply, Plamen.  I'll let you know when I've had a chance to give it a try.

Best regards,
Joe
0
Joe
Top achievements
Rank 1
answered on 17 Jul 2012, 03:15 PM
Hi Plamen,

The hotfix did indeed resolve the "Specified argument was out of the range of valid values" exception.  Thank you for making it available.

A few issues remain, however:
1) In addition to the inline edit form "submarining" under the resource header, it also now always appears at the very top of the timeline.
2) The inline edit form is always 100% width, whereas the inline insert form respects MinimumInlineFormWidth.
3) The resource headers are too tall and so are not aligned with their corresponding rows.

Just as an FYI, the multiple other issues I was having - inline form not closing, not saving in most cases, etc. - stemmed from the fact that I was using <asp:button> instead of <asp:linkbutton> for the Update/Insert/Cancel actions.  Is this expected?

Best regards,
Joe
0
Plamen
Telerik team
answered on 20 Jul 2012, 11:31 AM
Hi Joe,

 
Thank you for sharing the your observations and the solution that helped you. These issues are known and already logged for fixing. We will make our best to fix them as soon as possible but we can not commit on ETA for their fixing.
 

Regards,
Plamen
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
Joe
Top achievements
Rank 1
answered on 11 Sep 2012, 08:22 PM
Hi Plamen,

We are going to be demoing functionality based on the RadScheduler next month at our annual User Group Conference.  While I'm not looking for an ETA on fixes, I am quite concerned that I can't find any of the the following issues in the PITS list:

1) In addition to the inline edit form "submarining" under the resource header, it also now always appears at the very top of the timeline.
2) The inline edit form is always 100% width, whereas the inline insert form respects MinimumInlineFormWidth.
3) The resource headers are too tall and so are not aligned with their corresponding rows.

If they are indeed there, please point me in the right direction.  If they are not there, how will they be resolved? 

Thanks for your attention.  As an aside, Telerik should be in receipt of a purchase order for two ASP.NET AJAX licenses.

Regards,
Joe
0
Plamen
Telerik team
answered on 13 Sep 2012, 06:52 AM
Hi Joe,

 
These issues are logged in our internal system that is why they are not observed in the pits. We will make our best to have them fixed for the official Q3 2012. Meanwhile it you may also help us if you send us the sample page that reproduces them in a support ticket so we can test it as well. 

Hope this will explain the issue.

Regards,
Plamen
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
Joe
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Joe
Top achievements
Rank 1
Share this question
or