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

Error: "Value does not fall within expected range" when adding RadTimeBar

4 Answers 103 Views
TimeBar
This is a migrated thread and some comments may be shown as answers.
Marcelo
Top achievements
Rank 1
Marcelo asked on 03 Jul 2013, 07:30 PM
I get the following error when adding a RadTimeBar to an user control

Error: "Value does not fall within expected range"

I have the following Telerik references:

Telerik.Windows.Controls
Telerik.Windows.Controls.Chart
Telerik.Windows.Controls.DataVisialization
Telerik.Windows.Data

I have the following name spaces:

 
xmlns:charting="clr-namespace:Telerik.Charting;assembly=Telerik.Windows.Controls.Chart"
xmlns:chart="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Chart"
xmlns:chartView="clr-namespace:Telerik.Windows.Controls.ChartView;assembly=Telerik.Windows.Controls.Chart"


4 Answers, 1 is accepted

Sort by
0
Tsvetie
Telerik team
answered on 08 Jul 2013, 01:27 PM
Hello Marc,

Simply adding a RadTimeBar instance to a user control does not lead to the exception you describe. That is why, I suppose there is something specific in your case that leads to the problem. Could you please prepare and send me a simple running project, demonstrating the exception?

Regards,
Tsvetie
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Marcelo
Top achievements
Rank 1
answered on 08 Jul 2013, 04:50 PM
Hello Tsvetie and thank you for the reply. I am afraid I can't just send you the SLN but let me see if the following helps a bit more.

Look at the attached images please

good.jpg it is a user control with a Calender control

The moment I add the Time Bar control (shown in bad.jpg) I instantly get the error.

I hope this helps you point me in the right direction,

Thanks,

0
Marcelo
Top achievements
Rank 1
answered on 10 Jul 2013, 05:20 PM
This is what I have been able to figure out so far...

(1) If I add the reference (Telerik.Windows.Controls.DataVisualization) by hand (right click => Add Reference) I get the error described.

(2) If I delete the reference and drag and drop the control (RadTimeBar) from the toolbox works.

But here is the visual difference:

On (1), the reference name reads Telerik.Windows.Controls.DataVisualization

On (2), the reference name reads telerik.windows.controls.datavisualization (notice that it is all lower case)

When I check the Properties window, all the values for these two are the same, except the Name property thay shows the capitalization described above.

BTW, I am using 2013 Q1 (2013.1.403.1050)
0
Tsvetie
Telerik team
answered on 11 Jul 2013, 01:13 PM
Hello Marc,

You are the first client to report such problem and unless I am able to research the problem locally, there is not much that I can do. I have attached a test project, in which I added references to 2013 Q1 (2013.1.403.1050) DLLs manually and the project works as expected. Could you please modify this project so that it reproduces the problem and send it back to me in a new support ticket?

Regards,
Tsvetie
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
TimeBar
Asked by
Marcelo
Top achievements
Rank 1
Answers by
Tsvetie
Telerik team
Marcelo
Top achievements
Rank 1
Share this question
or