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

InlineEditTemplate causes invalid argument in Telerik.Web.UI.WebResource.axd

1 Answer 70 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
DF
Top achievements
Rank 1
DF asked on 07 Apr 2010, 12:13 AM
I'm using RadControls for ASP.NET AJAX version Q1 2009, .NET Framework 2.0, VS 2005, IIS 6, and IE 8.

I added a customized InlineEditTemplate to a RadScheduler. When I double-clicked an appoint, the editor displayed correctly, but when I clicked the Cancel or Update button, or resized the editor window, I got a JScript error . However, the data was still posted to the database despite the JScript error. When I removed the InlineEditTemplate (using the default Inline Template), the error went away.

Here are more details:

ASPX code:

<

InlineEditTemplate>

 

 

<span class="rsCustomAppointmentContainerInner">

 

 

<asp:Label ID="Label1" runat="server" Text="Select an OPR"></asp:Label>

 

 

<telerik:RadComboBox ID="RadComboBox1" runat="server"

 

 

DataSourceID="opr_datasource" DataTextField="organization_key"

 

 

DataValueField="organization_key" SelectedValue='<%#Bind("organization") %>' Width="100%">

 

 

</telerik:RadComboBox>

 

 

<asp:LinkButton ID="UpdateButton" runat="server" CommandName="Update" Font-Underline="false" Font-Bold="true" ForeColor="gray">

 

 

<asp:Image runat="server" ID="insertImage" Height="16px" Width="16px" ImageUrl="~/Images/Save.gif" AlternateText="update" />

 

Update

 

</asp:LinkButton>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

 

 

<asp:LinkButton ID="UpdateCancelButton" runat="server" CausesValidation="False" CommandName="Cancel" Font-Underline="false" Font-Bold="true" ForeColor="gray">

 

 

<asp:Image runat="server" ID="Image3" Height="16px" Width="16px" ImageUrl="~/Images/cancel.gif" AlternateText="cancel" />

 

Cancel

 

</asp:LinkButton>

 

 

</span>

 

 

</InlineEditTemplate>

 


Error message when clicking the buttons:

  Invalid argument.  Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_HiddenField&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d1.0.61025.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a1f0f78f9-0731-4ae9-b308-56936732ccb8%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2009.1.402.20%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3ab30853f2-6f9f-496e-85c8-cca8f7f2e17c%3a16e4e7cd%3aed16cbdc%3a11a04f7e%3af7645509%3a24ee1bba%3a650fdad%3aa960fda2%3aca44ff11%3a58366029, line 6243 character 1

Error line: 

line 6243: wrap.style.zIndex=parseInt(wrap.style.zIndex)-this._wrapZIndexStep;


Error message when resizing the inline editor:

  'this._template.offsetHeight' is null or not an object  Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_HiddenField&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d1.0.61025.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a1f0f78f9-0731-4ae9-b308-56936732ccb8%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2009.1.402.20%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3ab30853f2-6f9f-496e-85c8-cca8f7f2e17c%3a16e4e7cd%3aed16cbdc%3a11a04f7e%3af7645509%3a24ee1bba%3a650fdad%3aa960fda2%3aca44ff11%3a58366029, line 6279 character 1

Error line:

line 6279: var _128=this._textArea?this._textArea.parentNode.offsetHeight:this._template.offsetHeight;

Thank you very much for your help!

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 09 Apr 2010, 09:35 AM
Hi DF,

Thank you for reporting this issue. We have verified that this is indeed a bug with RadScheduler. I have logged it and we will resolve it shortly.

Your Telerik points have been updated.

Greetings,
Peter
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Scheduler
Asked by
DF
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or