Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
188 views
I have a radscheuler with RowHeight set to 205px. In timeline view , when I have a lot of appointment at a same time, I have the following error : 

1: Error Description:Specified argument was out of the range of valid values.
Parameter name: value
1: Source:System.Web
1: Stack Trace:   at System.Web.UI.WebControls.Unit..ctor(Double value, UnitType type)
1:    at Telerik.Web.UI.Scheduler.Views.TimelineAllDayTable.CreateAllDayCells(WebControl row, Dictionary`2 appointmentControls)
1:    at Telerik.Web.UI.Scheduler.Views.SchedulerAllDayTable.AddRow(IList`1 allDaySlots, Dictionary`2 appointmentControls)
1:    at Telerik.Web.UI.Scheduler.Views.Timeline.RendererBase.CreateInnerContentTable(Control container, IList`1 allTimeLineSlots)
1:    at Telerik.Web.UI.Scheduler.Views.Timeline.RendererBase.CreateInnerContentTable(Control container, IList`1 intervalSlots, Int32 minimumRowCount)
1:    at Telerik.Web.UI.Scheduler.Views.Timeline.Renderer.GetInnerContent()
1:    at Telerik.Web.UI.Scheduler.Views.Timeline.Renderer.GetContent()
1:    at Telerik.Web.UI.RadScheduler.CreateContent()
1:    at Telerik.Web.UI.RadScheduler.CreateChildControls(Boolean bindFromDataSource)
1:    at Telerik.Web.UI.RadScheduler.CreateChildControls()
1:    at System.Web.UI.Control.EnsureChildControls()
1:    at Telerik.Web.UI.RadScheduler.OnPreRender(EventArgs e)
1:    at System.Web.UI.Control.PreRenderRecursiveInternal()
1:    at System.Web.UI.Control.PreRenderRecursiveInternal()
1:    at System.Web.UI.Control.PreRenderRecursiveInternal()
1:    at System.Web.UI.Control.PreRenderRecursiveInternal()
1:    at System.Web.UI.Control.PreRenderRecursiveInternal()
1:    at System.Web.UI.Control.PreRenderRecursiveInternal()
1:    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
1: Target Site:Void .ctor(Double, System.Web.UI.WebControls.UnitType)
----------------------------------------------

I already had a similar issue in my code and it was because max Unit type size is 32767 pixels. 

Tom 
Srivalli
Top achievements
Rank 1
 answered on 05 Dec 2016
4 answers
127 views

Hi,

We have a requirement to always show the checkbox even if the node is disabled. We can achieve the functionality in JavaScript by handling and then canceling the event, but need a visual representation too. We've tried overriding the background image of the checkbox without success. Is there a way to do this? We are using version 2013.3.1234.35.

Thanks,

Dave

David
Top achievements
Rank 1
 answered on 05 Dec 2016
6 answers
565 views
I use RadGrid extensively in my application and use the UniqueName property as well. I have several columns with UniqueName property that have blank spaces in it(e.g. uniquename="Order ID"). Until now I was using the 2011 Q1 release of ASP.NET AJAX controls and  
it was working fine.

I recently upgraded to 2012 Q1 (SP1) release and my app is breaking now every where I have UniqueName property defined with blank spaces. Is it something new introduced in this release? Is there any work around so that I don't have to make changes everywhere I am using the uniquename property in my application? 

Manjeet
Mehmet
Top achievements
Rank 1
 answered on 05 Dec 2016
2 answers
339 views
We have just had a penetration test carried out and they have flagged a lot of XSS issues around the JSON parameter within the clientstate of the controls.

We are currently using 2015.2.826.40 and I know that is not the latest version but if we upgrade will this resolve the issues?

 

Simon Layton
Top achievements
Rank 1
 answered on 05 Dec 2016
1 answer
385 views

Hello, 

I am using RadGrid with RadNumericTextBox, RadTextBox., etc,  in Item template. I have to update the Other Columns in the Grid if Text changed in RadNumericTextbox. So,  On OnTextChanged event of RadNumericTextBox, I am rebinding the Grid again. But after the postback, i am getting the below javascript error.

<<<<

Unhandled exception at line 8162, column 7 in http://localhost:51966/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=;;System.Web.Extensions,+Version=4.0.0.0,+Culture=neutral,+PublicKeyToken=31bf3856ad364e35:en-US:93a6b8ed-f453-4cc5-9080-8017894b33b0:ea597d4b:b25378d2;Telerik.Web.UI,+Version=2016.3.914.45,+Culture=neutral,+PublicKeyToken=121fae78165ba3d4:en-US:a519da8a-d673-48a9-9976-4b08756261d2:16e4e7cd:33715776:f7645509:24ee1bba:e330518b:2003d0b8:c128760b:1e771326:88144a7a:c8618e41:1a73651d:16d8629e;System.Web.Extensions,+Version=4.0.0.0,+Culture=neutral,+PublicKeyToken=31bf3856ad364e35:en-US:93a6b8ed-f453-4cc5-9080-8017894b33b0:76254418;Telerik.Web.UI,+Version=2016.3.914.45,+Culture=neutral,+PublicKeyToken=121fae78165ba3d4:en-US:a519da8a-d673-48a9-9976-4b08756261d2:8e6f0d33:864068a5:6a6d718d:b7778d6c:f46195d3:aa288e2d:b092aa46:6b3f73b3:e085fe68:8674cba1:7c926187:c08e9f8a:a51ee93e:59462f1:6d43f6d9:58366029:19620875:874f8ea2:b2e06756:4877f69a:92fe8ea0:fa31b949:490a9d4e:ddbfcb67

0x800a025e - JavaScript runtime error: Could not complete the operation due to error 800a025e.

>>>

 

Could you please let me know what will be the root cause of this error.

 

Regards,

Puru

Eyup
Telerik team
 answered on 05 Dec 2016
1 answer
339 views

Hi,

I uploaded 3 files using this control. Within  a button click, i want to see the number of files that i uploaded. It always shows 0.

Why am i not getting proper count here?

 

  <telerik:RadAsyncUpload runat="server" ID="RadAsyncUpload1" AllowedFileExtensions =".pdf,.jpg,.jpeg,.txt" 
              MultipleFileSelection="Automatic" BorderStyle="Groove"     >
                                 <Localization Select=" Select a file "    />
                             </telerik:RadAsyncUpload>

 

for (int fileNum = 0; fileNum <= RadAsyncUpload1.UploadedFiles.Count - 1; fileNum++)
{

}

 

 

Thanks

Ivan Danchev
Telerik team
 answered on 05 Dec 2016
1 answer
170 views

Is it possible to determine RecurrenceState for an Appointment (by AppointmentID) in code without instancing a RadScheduler?
I can get the RecurrenceState for any Appointment by instancing a RadScheduler in code and databinding the instance, then looking up the Appointment by ID.
My concern is, as I process more Appointments that this process will be too slow.

Veselin Tsvetanov
Telerik team
 answered on 05 Dec 2016
3 answers
223 views
Hi,

I display a RadWindow whien I cilck on a button at the top-right of the page.

I have a strange problem into my page. When I write something into a textbox and Iclick to the "Enter" key of the keyboard, the RadWindow appears some seconds. I don't know how to resolve this problem.

Thank you in advance,

Vessy
Telerik team
 answered on 05 Dec 2016
1 answer
112 views

How can I calculate the last date on a Recurring Appointment in code without using selecting the last Occurrence from the RecurrenceRule.Occurrences collection?

Is there some static method that will allow me to return the date of the last Occurrence of a recurring Appointment?

 

 

Veselin Tsvetanov
Telerik team
 answered on 05 Dec 2016
7 answers
548 views

Hi,

I have a webservice bound scheduler and I would like to show/hide  Schedulers' Calender  programmatically using javascript.

I used  following code but it hides the calendar and I have to click on calendar control multiple times for the pop up calendar to open. The reason I have to do this is. I need to change scheduler timerange and also update pop up calendar to match this date. I got code to match scheduler and pop up calendar to user selected date  and time but everytime date is selected, it pops up a calendar and my client does not like that.  Calendar should be updated behind the scene silently.

 

var calendarID = $telerik.$("[id$='rsTicketsSchedule_SelectedDateCalendar']").attr("id");
    var calendar = $find( calendarID );
    calendar.set_visible( false);

 

Thanks,

Prava

Anton
Telerik team
 answered on 05 Dec 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?