Telerik Forums
UI for WPF Forum
4 answers
220 views
Hello,

I am new to this component and for the life of me cannot get the map to size to it's parent container.  It is in a StackPanel that is in a Grid.  If I set the height property explicitly it works, otherwise it stays at about an inch.  I am looking at the demos and see a RadMap sizing right with no code for sizing it.  So why my map is remaining an inch high is a mystery.

<telerik:RadTabItem Header="Map" Margin="0,5,0,0" VerticalAlignment="Top" Height="21.96" Width="107.974" Cursor="Hand">                       
                        
  <Grid Name="MapTabGrid" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Height="Auto">
     <Grid.RowDefinitions>
        <RowDefinition Height="48"></RowDefinition>
        <RowDefinition Height="Auto"></RowDefinition>                                    
  </Grid.RowDefinitions>
  <StackPanel Orientation="Horizontal" ForceCursor="True" IsHitTestVisible="True" Grid.Row="0" Margin="10">
       <Label VerticalAlignment="Center">Location Longitude :</Label>
       <TextBox Width="200" Background="#E3EFE3"></TextBox>
       <Label VerticalAlignment="Center">Location Latitude :</Label>
       <TextBox Width="200"  Background="#E3EFE3"></TextBox>
       <Button Width="86" Cursor="Hand" VerticalAlignment="Stretch" Height="30">Go</Button>
       <telerik:RadDropDownButton Width="86" Cursor="Hand" VerticalAlignment="Stretch" Height="30">Route
       <telerik:RadDropDownButton.DropDownContent>
          <ListBox>
           <ListBoxItem Content="Route from Selected" Width="150" Height="25" Background="#E3EFE3" Cursor="Hand" Margin="2"></ListBoxItem>
           <ListBoxItem Content="Route from Current" Width="150" Height="25" Background="#E3EFE3" Cursor="Hand" Margin="2"></ListBoxItem>
           <ListBoxItem Content="Route from Home" Width="150" Height="25" Background="#E3EFE3" Cursor="Hand" Margin="2"></ListBoxItem>
           <ListBoxItem Content="Route to Home" Width="150" Height="25" Background="#E3EFE3" Cursor="Hand" Margin="2"></ListBoxItem>
           <ListBoxItem Content="Store Route" Width="150" Height="25" Background="#E3EFE3" Cursor="Hand" Margin="2"></ListBoxItem>
          </ListBox>
        </telerik:RadDropDownButton.DropDownContent>
        </telerik:RadDropDownButton>
  </StackPanel>                      
  
                                     
                                  
                                
  <telerik:RadMap Width="Auto" Name="radMapRoute1"  Grid.Row="1" Grid.RowSpan="2"
     VerticalAlignment="Stretch" HorizontalAlignment="Stretch" 
     ZoomLevel="13" 
     MinZoomLevel="10" 
     MaxZoomLevel="14" Margin="15,15,15,413"Center="40.083319, -105.3505482" Background="{x:Null}" 
     ClipToBounds="False" HorizontalContentAlignment="Stretch" UseDefaultLayout="True">
       <telerik:RadMap.Provider>                                       
        <telerik:UriImageProvider GeoBounds="42.786, 23.17, 25, 14" />
       </telerik:RadMap.Provider>
  </telerik:RadMap>
  
  </Grid>                        
                                    
                         
  </telerik:RadTabItem>


Here is the code.

I hope you can point out what I am doing wrong.


Thanks,
Reid
Reid
Top achievements
Rank 2
 answered on 01 Jul 2011
14 answers
284 views

Hello

I have just downloaded and installed RadControls_for_WPF35_2011_1_0315_Trial. Before I was evaluating  RadControls_for_WPF35_2010_3_1314_Trial and had just constructed a nice window using several RadExpanders.

With the old controls the content stretched to the width of the window, now it doesn't even stretch when I add HorizontalAlignment="Stretch".

I have reduced my code to create a minimalistic example.

The RadMaskedTextBoxes did stretch to the width of the window with 2010 Q3, but they don't do that anymore with 2011 Q1.

<Window x:Class="WPFApplication1.MainWindow"
        Title="Window1">
        <StackPanel>
            <telerik:RadExpander Header="Head1" VerticalAlignment="Top" IsExpanded="true">
                <Grid VerticalAlignment="Bottom" HorizontalAlignment="Stretch">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="0.5*" />
                        <ColumnDefinition Width="0.5*" />
                    </Grid.ColumnDefinitions>
                    <telerik:RadMaskedTextBox Grid.Column="0" MaskType="None" MaskedText="Text1"/>
                    <telerik:RadMaskedTextBox Grid.Column="1" MaskType="None" MaskedText="Text2"/>
                </Grid>
            </telerik:RadExpander>
            <telerik:RadExpander Header="Head2" VerticalAlignment="Top" IsExpanded="true">
                <Grid VerticalAlignment="Bottom">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="0.5*" />
                        <ColumnDefinition Width="0.5*" />
                    </Grid.ColumnDefinitions>
                    <Label Grid.Column="0" Content="LongLabel1" HorizontalAlignment="Center"/>
                    <Label Grid.Column="1" Content="LongLabel2" HorizontalAlignment="Center"/>
                </Grid>
            </telerik:RadExpander>
        </StackPanel>
</Window>

Please tell me how to enable the stretching of the content again. Without that the control is pretty useless to me and I wasted a day on a prototype.

Thank you

Mark
Top achievements
Rank 1
 answered on 01 Jul 2011
1 answer
69 views

Hy guys,
Really impressed with your product and major changes.
I have suggestions for the Q2 SP1 or Q3 RichtextBox
Hope I'll see it on your next package

Offer the possibility to translate a word a paragraph (using Bing translate/or google).
Offer the possiblity to extract named entity and mark it (using Alchemy API/Calais Thomson reuters)
After that, you'll have the most famous editor used by example by CMS


Thx
Mr Bernard JOURDAIN
Agence France Presse

Ivailo Karamanolev
Telerik team
 answered on 01 Jul 2011
3 answers
88 views
I have two RadPanes, in separate Prism regions, in my WPF MVVM application.
I added RadTreeViews in each RadPane.  I enabled the DragDrop on each of them.
When I test the DragDrop I see the "No" icon (red circle with a slash) and I am not able to drop the item.

Is there a known inability to DragDrop RadTreeViewItems between different RadPanes?

Do the data bound .NET objects have to be the same types?  The Telerik documentation is very thin on such details.
I am wondering if I have different object types in the backing lists does that matter?
Isn't each ultimately wrapped as a RadTreeViewItem?

The Telerik DragDrop example has the RadTreeViewItems created in line, in the XAML, and they only contain an image.
I need a more detailed example across RadPanes and using sorted CollectionViewSources.
The documentation does not go at all this deep.

Can someone help me?
Thanks, Joe

Petar Mladenov
Telerik team
 answered on 01 Jul 2011
1 answer
331 views
Hi,

These lines of code create a new InlineUIContainer, with a button with the size 30X30 :

            Telerik.Windows.Documents.Model.InlineUIContainer container = new Telerik.Windows.Documents.Model.InlineUIContainer();
            CustomButton button = new CustomButton();
            container.UiElement = button;
            container.Width = 30;
            container.Height = 30;
            this.radRichTextBox.InsertInline(container);
            radRichTextBox.UpdateEditorLayout();

But, let's say i made a mistake. Just after the UpdateEditorLayout, let's say i want to change again the width and Height :

            Telerik.Windows.Documents.Model.InlineUIContainer container = new Telerik.Windows.Documents.Model.InlineUIContainer();
            CustomButton button = new CustomButton();
            container.UiElement = button;
            container.Width = 30;
            container.Height = 30;
            this.radRichTextBox.InsertInline(container);
            radRichTextBox.UpdateEditorLayout();

            container.Width = 130;
            container.Height = 130;
            radRichTextBox.UpdateEditorLayout();

For some strange reason, in the editor, the size of my container is still 30X30... Once you setup the width and height, on creation, is there any way to change it later on?

Best regards,

Ivailo Karamanolev
Telerik team
 answered on 01 Jul 2011
0 answers
39 views
Hello,

I am using test studio trail version for automation. in my test case i need to upload a file for that i need to click on browse link and need to handle the upload window. However, test studio is unable to recognize Browse button.

could any one please let me know how to solve this one?
Reddy
Top achievements
Rank 1
 asked on 01 Jul 2011
5 answers
257 views

Setup:

Windows 7 – 64 bit

Visual Studio 2010 installed

Downloaded and extracted the zip file “RadControls_for_WPF_2011_1_0419_Source.zip”
 

According to “RadControls_for_WPF_2011_1_0419_Source\Instructions\RadControls for WPF and SL build source code instructions.doc” there are different ways to build the WPF controls.

 

 

When using the method of executing: “RadControls_for_WPF_2011_1_0419_Source\Build\Build_WPF.bat” MSBuild.exe crashes.

When using the granular build, I get build errors:

 

When trying to build the core, using “%SYSTEMROOT%\Microsoft.NET\Framework\v3.5\MSBuild XCore_WPF.sln /p:Configuration="Release" /target:Rebuild > BuildCoreLog.txt”

There’s 7 build errors and 14 warnings.

 

A similar result is achieved by using the existing entry in the RadControls_for_WPF_2011_1_0419_Source\Core\Build.bat – “C:\Windows\microsoft.net\framework\v3.5\MSBuild.exe XCore_WPF.sln /target:Rebuild /property:Configuration=Release;Msbuild35=true > WPF.log.txt”

Copy-paste from "BuildCoreLog.txt":

 

Microsoft (R) Build Engine Version 3.5.30729.4926
[Microsoft .NET Framework, Version 2.0.50727.4961]
Copyright (C) Microsoft Corporation 2007. All rights reserved.

Build started 27-06-2011 14:28:05.
Project "C:\RadControls_for_WPF_2011_1_0419_Source\Core\XCore_WPF.sln" on node 0 (Rebuild target(s)).
  Building solution configuration "Release|Any CPU".
C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(4,10): warning MSB4011: There is a circular reference involving the import of file "C:\RadControls_for_WPF_2011_1_0419_Source\Build\config.targets". This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.
C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(5,10): warning MSB4011: There is a circular reference involving the import of file "C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.BuildTasks.Targets". This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.
Project "C:\RadControls_for_WPF_2011_1_0419_Source\Core\XCore_WPF.sln" (1) is building "C:\RadControls_for_WPF_2011_1_0419_Source\Design\Core\Core.Design.csproj" (2) on node 0 (Rebuild target(s)).
Project file contains ToolsVersion="4.0", which is not supported by this version of MSBuild. Treating the project as if it had ToolsVersion="3.5".
CoreClean:
  Deleting file "C:\RadControls_for_WPF_2011_1_0419_Source\Design\Core\obj\Release\ResolveAssemblyReference.cache".
  Deleting file "C:\RadControls_for_WPF_2011_1_0419_Source\Design\Core\obj\Release\Resources\SharedResourcesDictionary.baml".
  Deleting file "C:\RadControls_for_WPF_2011_1_0419_Source\Design\Core\obj\Release\Resources\SharedResourcesDictionary.g.cs".
  Deleting file "C:\RadControls_for_WPF_2011_1_0419_Source\Design\Core\obj\Release\GeneratedInternalTypeHelper.g.cs".
EntityClean:
  Successfully cleaned the output for 0 EDMX files.
PostSharp20Clean:
  Directory "obj\Release\PostSharp" doesn't exist. Skipping.
  Directory "obj\Release\Before-PostSharp" doesn't exist. Skipping.
CleanAssemblyInfo:
  Cleaningn version info file
EntityDeploy:
  Processing 0 EDMX files.
  Finished processing 0 EDMX files.
C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(4,10): warning MSB4011: There is a circular reference involving the import of file "C:\RadControls_for_WPF_2011_1_0419_Source\Build\config.targets". This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.
C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(5,10): warning MSB4011: There is a circular reference involving the import of file "C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.BuildTasks.Targets". This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.
Project "C:\RadControls_for_WPF_2011_1_0419_Source\Design\Core\Core.Design.csproj" (2) is building "C:\RadControls_for_WPF_2011_1_0419_Source\Design\Core\iejr3yn1.tmp_proj" (3) on node 0 (_CompileTemporaryAssembly target(s)).
Project file contains ToolsVersion="4.0", which is not supported by this version of MSBuild. Treating the project as if it had ToolsVersion="3.5".
GenerateVersionInfoCore:
  Version is: 2011.1.1
  FrameworkVersion: 3.5,4.0
C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(44,3): error MSB4062: The "GenerateReleaseVersionNumber" task could not be loaded from the assembly C:\RadControls_for_WPF_2011_1_0419_Source\Build\.\Telerik.BuildTasks\Telerik.BuildTasks.dll. Could not load file or assembly 'file:///C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.BuildTasks\Telerik.BuildTasks.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. Confirm that the <UsingTask> declaration is correct, and that the assembly and all its dependencies are available.
Done Building Project "C:\RadControls_for_WPF_2011_1_0419_Source\Design\Core\iejr3yn1.tmp_proj" (_CompileTemporaryAssembly target(s)) -- FAILED.
C:\RadControls_for_WPF_2011_1_0419_Source\Design\Core\Themes\Generic.xaml(8,6): error MC3074: The tag 'PercentToDoubleConverter' does not exist in XML namespace 'clr-namespace:Telerik.Windows.Core.Design'. Line 8 Position 6.
Done Building Project "C:\RadControls_for_WPF_2011_1_0419_Source\Design\Core\Core.Design.csproj" (Rebuild target(s)) -- FAILED.
C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(4,10): warning MSB4011: There is a circular reference involving the import of file "C:\RadControls_for_WPF_2011_1_0419_Source\Build\config.targets". This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.
C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(5,10): warning MSB4011: There is a circular reference involving the import of file "C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.BuildTasks.Targets". This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.
Project "C:\RadControls_for_WPF_2011_1_0419_Source\Core\XCore_WPF.sln" (1) is building "C:\RadControls_for_WPF_2011_1_0419_Source\Core\Controls\Controls_WPF.csproj" (4) on node 0 (Rebuild target(s)).
Project file contains ToolsVersion="4.0", which is not supported by this version of MSBuild. Treating the project as if it had ToolsVersion="3.5".
EntityClean:
  Successfully cleaned the output for 0 EDMX files.
PostSharp20Clean:
  Directory "obj\Release\PostSharp" doesn't exist. Skipping.
  Directory "obj\Release\Before-PostSharp" doesn't exist. Skipping.
CleanAssemblyInfo:
  Cleaningn version info file
GenerateVersionInfoCore:
  Version is: 2011.1.1
  FrameworkVersion: 3.5,4.0
C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(44,3): error MSB4062: The "GenerateReleaseVersionNumber" task could not be loaded from the assembly C:\RadControls_for_WPF_2011_1_0419_Source\Build\.\Telerik.BuildTasks\Telerik.BuildTasks.dll. Could not load file or assembly 'file:///C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.BuildTasks\Telerik.BuildTasks.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. Confirm that the <UsingTask> declaration is correct, and that the assembly and all its dependencies are available.
Done Building Project "C:\RadControls_for_WPF_2011_1_0419_Source\Core\Controls\Controls_WPF.csproj" (Rebuild target(s)) -- FAILED.
C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(4,10): warning MSB4011: There is a circular reference involving the import of file "C:\RadControls_for_WPF_2011_1_0419_Source\Build\config.targets". This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.
C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(5,10): warning MSB4011: There is a circular reference involving the import of file "C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.BuildTasks.Targets". This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.
Project "C:\RadControls_for_WPF_2011_1_0419_Source\Core\XCore_WPF.sln" (1) is building "C:\RadControls_for_WPF_2011_1_0419_Source\Core\Controls\Design\Controls.Design\Controls.Design.csproj" (5) on node 0 (Rebuild target(s)).
Project file contains ToolsVersion="4.0", which is not supported by this version of MSBuild. Treating the project as if it had ToolsVersion="3.5".
EntityClean:
  Successfully cleaned the output for 0 EDMX files.
PostSharp20Clean:
  Directory "obj\Release\PostSharp" doesn't exist. Skipping.
  Directory "obj\Release\Before-PostSharp" doesn't exist. Skipping.
CleanAssemblyInfo:
  Cleaningn version info file
EntityDeploy:
  Processing 0 EDMX files.
  Finished processing 0 EDMX files.
GenerateVersionInfoCore:
  Version is: 2011.1.1
  FrameworkVersion: 3.5,4.0
C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(44,3): error MSB4062: The "GenerateReleaseVersionNumber" task could not be loaded from the assembly C:\RadControls_for_WPF_2011_1_0419_Source\Build\.\Telerik.BuildTasks\Telerik.BuildTasks.dll. Could not load file or assembly 'file:///C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.BuildTasks\Telerik.BuildTasks.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. Confirm that the <UsingTask> declaration is correct, and that the assembly and all its dependencies are available.
Done Building Project "C:\RadControls_for_WPF_2011_1_0419_Source\Core\Controls\Design\Controls.Design\Controls.Design.csproj" (Rebuild target(s)) -- FAILED.
C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(4,10): warning MSB4011: There is a circular reference involving the import of file "C:\RadControls_for_WPF_2011_1_0419_Source\Build\config.targets". This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.
C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(5,10): warning MSB4011: There is a circular reference involving the import of file "C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.BuildTasks.Targets". This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.
Project "C:\RadControls_for_WPF_2011_1_0419_Source\Core\XCore_WPF.sln" (1) is building "C:\RadControls_for_WPF_2011_1_0419_Source\Core\Controls\Design\Controls.Design\Controls.Expression.Design.csproj" (6) on node 0 (Rebuild target(s)).
Project file contains ToolsVersion="4.0", which is not supported by this version of MSBuild. Treating the project as if it had ToolsVersion="3.5".
EntityClean:
  Successfully cleaned the output for 0 EDMX files.
PostSharp20Clean:
  Directory "obj\Release\PostSharp" doesn't exist. Skipping.
  Directory "obj\Release\Before-PostSharp" doesn't exist. Skipping.
CleanAssemblyInfo:
  Cleaningn version info file
EntityDeploy:
  Processing 0 EDMX files.
  Finished processing 0 EDMX files.
GenerateVersionInfoCore:
  Version is: 2011.1.1
  FrameworkVersion: 3.5,4.0
C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(44,3): error MSB4062: The "GenerateReleaseVersionNumber" task could not be loaded from the assembly C:\RadControls_for_WPF_2011_1_0419_Source\Build\.\Telerik.BuildTasks\Telerik.BuildTasks.dll. Could not load file or assembly 'file:///C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.BuildTasks\Telerik.BuildTasks.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. Confirm that the <UsingTask> declaration is correct, and that the assembly and all its dependencies are available.
Done Building Project "C:\RadControls_for_WPF_2011_1_0419_Source\Core\Controls\Design\Controls.Design\Controls.Expression.Design.csproj" (Rebuild target(s)) -- FAILED.
C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(4,10): warning MSB4011: There is a circular reference involving the import of file "C:\RadControls_for_WPF_2011_1_0419_Source\Build\config.targets". This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.
C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(5,10): warning MSB4011: There is a circular reference involving the import of file "C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.BuildTasks.Targets". This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.
Project "C:\RadControls_for_WPF_2011_1_0419_Source\Core\XCore_WPF.sln" (1) is building "C:\RadControls_for_WPF_2011_1_0419_Source\Core\Controls\Design\Controls.Design\Controls.VisualStudio.Design.4.0.csproj" (7) on node 0 (Rebuild target(s)).
Project file contains ToolsVersion="4.0", which is not supported by this version of MSBuild. Treating the project as if it had ToolsVersion="3.5".
EntityClean:
  Successfully cleaned the output for 0 EDMX files.
PostSharp20Clean:
  Directory "obj\Release\PostSharp" doesn't exist. Skipping.
  Directory "obj\Release\Before-PostSharp" doesn't exist. Skipping.
CleanAssemblyInfo:
  Cleaningn version info file
EntityDeploy:
  Processing 0 EDMX files.
  Finished processing 0 EDMX files.
GenerateVersionInfoCore:
  Version is: 2011.1.1
  FrameworkVersion: 3.5,4.0
C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(44,3): error MSB4062: The "GenerateReleaseVersionNumber" task could not be loaded from the assembly C:\RadControls_for_WPF_2011_1_0419_Source\Build\.\Telerik.BuildTasks\Telerik.BuildTasks.dll. Could not load file or assembly 'file:///C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.BuildTasks\Telerik.BuildTasks.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. Confirm that the <UsingTask> declaration is correct, and that the assembly and all its dependencies are available.
Done Building Project "C:\RadControls_for_WPF_2011_1_0419_Source\Core\Controls\Design\Controls.Design\Controls.VisualStudio.Design.4.0.csproj" (Rebuild target(s)) -- FAILED.
C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(4,10): warning MSB4011: There is a circular reference involving the import of file "C:\RadControls_for_WPF_2011_1_0419_Source\Build\config.targets". This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.
C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(5,10): warning MSB4011: There is a circular reference involving the import of file "C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.BuildTasks.Targets". This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.
Project "C:\RadControls_for_WPF_2011_1_0419_Source\Core\XCore_WPF.sln" (1) is building "C:\RadControls_for_WPF_2011_1_0419_Source\Core\Controls\Design\Controls.Design\Controls.VisualStudio.Design.csproj" (8) on node 0 (Rebuild target(s)).
Project file contains ToolsVersion="4.0", which is not supported by this version of MSBuild. Treating the project as if it had ToolsVersion="3.5".
EntityClean:
  Successfully cleaned the output for 0 EDMX files.
PostSharp20Clean:
  Directory "obj\Release\PostSharp" doesn't exist. Skipping.
  Directory "obj\Release\Before-PostSharp" doesn't exist. Skipping.
CleanAssemblyInfo:
  Cleaningn version info file
EntityDeploy:
  Processing 0 EDMX files.
  Finished processing 0 EDMX files.
GenerateVersionInfoCore:
  Version is: 2011.1.1
  FrameworkVersion: 3.5,4.0
C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(44,3): error MSB4062: The "GenerateReleaseVersionNumber" task could not be loaded from the assembly C:\RadControls_for_WPF_2011_1_0419_Source\Build\.\Telerik.BuildTasks\Telerik.BuildTasks.dll. Could not load file or assembly 'file:///C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.BuildTasks\Telerik.BuildTasks.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. Confirm that the <UsingTask> declaration is correct, and that the assembly and all its dependencies are available.
Done Building Project "C:\RadControls_for_WPF_2011_1_0419_Source\Core\Controls\Design\Controls.Design\Controls.VisualStudio.Design.csproj" (Rebuild target(s)) -- FAILED.
Done Building Project "C:\RadControls_for_WPF_2011_1_0419_Source\Core\XCore_WPF.sln" (Rebuild target(s)) -- FAILED.

Build FAILED.

"C:\RadControls_for_WPF_2011_1_0419_Source\Core\XCore_WPF.sln" (Rebuild target) (1) ->
"C:\RadControls_for_WPF_2011_1_0419_Source\Design\Core\Core.Design.csproj" (Rebuild target) (2) ->
  C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(4,10): warning MSB4011: There is a circular reference involving the import of file "C:\RadControls_for_WPF_2011_1_0419_Source\Build\config.targets". This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.
  C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(5,10): warning MSB4011: There is a circular reference involving the import of file "C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.BuildTasks.Targets". This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.

"C:\RadControls_for_WPF_2011_1_0419_Source\Core\XCore_WPF.sln" (Rebuild target) (1) ->
"C:\RadControls_for_WPF_2011_1_0419_Source\Design\Core\Core.Design.csproj" (Rebuild target) (2) ->
"C:\RadControls_for_WPF_2011_1_0419_Source\Design\Core\iejr3yn1.tmp_proj" (_CompileTemporaryAssembly target) (3) ->
  C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(4,10): warning MSB4011: There is a circular reference involving the import of file "C:\RadControls_for_WPF_2011_1_0419_Source\Build\config.targets". This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.
  C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(5,10): warning MSB4011: There is a circular reference involving the import of file "C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.BuildTasks.Targets". This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.

"C:\RadControls_for_WPF_2011_1_0419_Source\Core\XCore_WPF.sln" (Rebuild target) (1) ->
"C:\RadControls_for_WPF_2011_1_0419_Source\Core\Controls\Controls_WPF.csproj" (Rebuild target) (4) ->
  C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(4,10): warning MSB4011: There is a circular reference involving the import of file "C:\RadControls_for_WPF_2011_1_0419_Source\Build\config.targets". This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.
  C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(5,10): warning MSB4011: There is a circular reference involving the import of file "C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.BuildTasks.Targets". This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.

"C:\RadControls_for_WPF_2011_1_0419_Source\Core\XCore_WPF.sln" (Rebuild target) (1) ->
"C:\RadControls_for_WPF_2011_1_0419_Source\Core\Controls\Design\Controls.Design\Controls.Design.csproj" (Rebuild target) (5) ->
  C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(4,10): warning MSB4011: There is a circular reference involving the import of file "C:\RadControls_for_WPF_2011_1_0419_Source\Build\config.targets". This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.
  C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(5,10): warning MSB4011: There is a circular reference involving the import of file "C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.BuildTasks.Targets". This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.

"C:\RadControls_for_WPF_2011_1_0419_Source\Core\XCore_WPF.sln" (Rebuild target) (1) ->
"C:\RadControls_for_WPF_2011_1_0419_Source\Core\Controls\Design\Controls.Design\Controls.Expression.Design.csproj" (Rebuild target) (6) ->
  C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(4,10): warning MSB4011: There is a circular reference involving the import of file "C:\RadControls_for_WPF_2011_1_0419_Source\Build\config.targets". This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.
  C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(5,10): warning MSB4011: There is a circular reference involving the import of file "C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.BuildTasks.Targets". This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.

"C:\RadControls_for_WPF_2011_1_0419_Source\Core\XCore_WPF.sln" (Rebuild target) (1) ->
"C:\RadControls_for_WPF_2011_1_0419_Source\Core\Controls\Design\Controls.Design\Controls.VisualStudio.Design.4.0.csproj" (Rebuild target) (7) ->
  C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(4,10): warning MSB4011: There is a circular reference involving the import of file "C:\RadControls_for_WPF_2011_1_0419_Source\Build\config.targets". This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.
  C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(5,10): warning MSB4011: There is a circular reference involving the import of file "C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.BuildTasks.Targets". This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.

"C:\RadControls_for_WPF_2011_1_0419_Source\Core\XCore_WPF.sln" (Rebuild target) (1) ->
"C:\RadControls_for_WPF_2011_1_0419_Source\Core\Controls\Design\Controls.Design\Controls.VisualStudio.Design.csproj" (Rebuild target) (8) ->
  C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(4,10): warning MSB4011: There is a circular reference involving the import of file "C:\RadControls_for_WPF_2011_1_0419_Source\Build\config.targets". This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.
  C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(5,10): warning MSB4011: There is a circular reference involving the import of file "C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.BuildTasks.Targets". This file may have been imported more than once, or you may have attempted to import the main project file. All except the first instance of this file will be ignored.

"C:\RadControls_for_WPF_2011_1_0419_Source\Core\XCore_WPF.sln" (Rebuild target) (1) ->
"C:\RadControls_for_WPF_2011_1_0419_Source\Design\Core\Core.Design.csproj" (Rebuild target) (2) ->
"C:\RadControls_for_WPF_2011_1_0419_Source\Design\Core\iejr3yn1.tmp_proj" (_CompileTemporaryAssembly target) (3) ->
(GenerateVersionInfoCore target) ->
  C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(44,3): error MSB4062: The "GenerateReleaseVersionNumber" task could not be loaded from the assembly C:\RadControls_for_WPF_2011_1_0419_Source\Build\.\Telerik.BuildTasks\Telerik.BuildTasks.dll. Could not load file or assembly 'file:///C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.BuildTasks\Telerik.BuildTasks.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. Confirm that the <UsingTask> declaration is correct, and that the assembly and all its dependencies are available.

"C:\RadControls_for_WPF_2011_1_0419_Source\Core\XCore_WPF.sln" (Rebuild target) (1) ->
"C:\RadControls_for_WPF_2011_1_0419_Source\Design\Core\Core.Design.csproj" (Rebuild target) (2) ->
(MarkupCompilePass2 target) ->
  C:\RadControls_for_WPF_2011_1_0419_Source\Design\Core\Themes\Generic.xaml(8,6): error MC3074: The tag 'PercentToDoubleConverter' does not exist in XML namespace 'clr-namespace:Telerik.Windows.Core.Design'. Line 8 Position 6.

"C:\RadControls_for_WPF_2011_1_0419_Source\Core\XCore_WPF.sln" (Rebuild target) (1) ->
"C:\RadControls_for_WPF_2011_1_0419_Source\Core\Controls\Controls_WPF.csproj" (Rebuild target) (4) ->
(GenerateVersionInfoCore target) ->
  C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(44,3): error MSB4062: The "GenerateReleaseVersionNumber" task could not be loaded from the assembly C:\RadControls_for_WPF_2011_1_0419_Source\Build\.\Telerik.BuildTasks\Telerik.BuildTasks.dll. Could not load file or assembly 'file:///C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.BuildTasks\Telerik.BuildTasks.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. Confirm that the <UsingTask> declaration is correct, and that the assembly and all its dependencies are available.

"C:\RadControls_for_WPF_2011_1_0419_Source\Core\XCore_WPF.sln" (Rebuild target) (1) ->
"C:\RadControls_for_WPF_2011_1_0419_Source\Core\Controls\Design\Controls.Design\Controls.Design.csproj" (Rebuild target) (5) ->
  C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(44,3): error MSB4062: The "GenerateReleaseVersionNumber" task could not be loaded from the assembly C:\RadControls_for_WPF_2011_1_0419_Source\Build\.\Telerik.BuildTasks\Telerik.BuildTasks.dll. Could not load file or assembly 'file:///C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.BuildTasks\Telerik.BuildTasks.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. Confirm that the <UsingTask> declaration is correct, and that the assembly and all its dependencies are available.

"C:\RadControls_for_WPF_2011_1_0419_Source\Core\XCore_WPF.sln" (Rebuild target) (1) ->
"C:\RadControls_for_WPF_2011_1_0419_Source\Core\Controls\Design\Controls.Design\Controls.Expression.Design.csproj" (Rebuild target) (6) ->
  C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(44,3): error MSB4062: The "GenerateReleaseVersionNumber" task could not be loaded from the assembly C:\RadControls_for_WPF_2011_1_0419_Source\Build\.\Telerik.BuildTasks\Telerik.BuildTasks.dll. Could not load file or assembly 'file:///C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.BuildTasks\Telerik.BuildTasks.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. Confirm that the <UsingTask> declaration is correct, and that the assembly and all its dependencies are available.

"C:\RadControls_for_WPF_2011_1_0419_Source\Core\XCore_WPF.sln" (Rebuild target) (1) ->
"C:\RadControls_for_WPF_2011_1_0419_Source\Core\Controls\Design\Controls.Design\Controls.VisualStudio.Design.4.0.csproj" (Rebuild target) (7) ->
  C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(44,3): error MSB4062: The "GenerateReleaseVersionNumber" task could not be loaded from the assembly C:\RadControls_for_WPF_2011_1_0419_Source\Build\.\Telerik.BuildTasks\Telerik.BuildTasks.dll. Could not load file or assembly 'file:///C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.BuildTasks\Telerik.BuildTasks.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. Confirm that the <UsingTask> declaration is correct, and that the assembly and all its dependencies are available.

"C:\RadControls_for_WPF_2011_1_0419_Source\Core\XCore_WPF.sln" (Rebuild target) (1) ->
"C:\RadControls_for_WPF_2011_1_0419_Source\Core\Controls\Design\Controls.Design\Controls.VisualStudio.Design.csproj" (Rebuild target) (8) ->
  C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.Versioning.Targets(44,3): error MSB4062: The "GenerateReleaseVersionNumber" task could not be loaded from the assembly C:\RadControls_for_WPF_2011_1_0419_Source\Build\.\Telerik.BuildTasks\Telerik.BuildTasks.dll. Could not load file or assembly 'file:///C:\RadControls_for_WPF_2011_1_0419_Source\Build\Telerik.BuildTasks\Telerik.BuildTasks.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. Confirm that the <UsingTask> declaration is correct, and that the assembly and all its dependencies are available.

    14 Warning(s)
    7 Error(s)

Time Elapsed 00:00:02.57

 

 

 

 

Milan
Telerik team
 answered on 01 Jul 2011
1 answer
76 views

 

Hi, we have bought the telerik WPF RadControls and was trying to run the demos but most of the demos we are getting the following error.


{"Could not load file or assembly 'Telerik.Windows.Controls.GridView, Version=2011.1.419.35, Culture=neutral, PublicKeyToken=5803cfa389c90ce7' or one of its dependencies. The system cannot find the file specified.":"Telerik.Windows.Controls.GridView, Version=2011.1.419.35, Culture=neutral, PublicKeyToken=5803cfa389c90ce7"}

Could someone help us to run fix the issue?

Thanks

VJ

Note:- I have the check the version of Telerik.Windows.Controls.GridView.dll in the ' %ProgramFiles%\Telerik\RadControls for WPF Q1 2011 SP1\Binaries\WPF ' folder. it is 2011.1.419.35

I have checked the TargetFrameworkVersion in the project.

 

    <Reference Include="Telerik.Windows.Controls.GridView, Version=2011.1.419.35, Culture=neutral, PublicKeyToken=5803cfa389c90ce7,processorArchitecture=MSIL">
      <SpecificVersion>False</SpecificVersion>
      <HintPath>..\..\..\Binaries\WPF\Telerik.Windows.Controls.GridView.dll</HintPath>
      <Private>False</Private>
    </Reference>

Yordanka
Telerik team
 answered on 01 Jul 2011
1 answer
75 views
Hi
I use carousel as my first page  menu with 4 elements but the two bottom ones are transparent. I need to remove this property that all elements would be in active style. I use this in C# winform application. please help me
Milan
Telerik team
 answered on 01 Jul 2011
2 answers
65 views

Hello Guys,
I have some Problems with the TileView atm.
I want to do the following:
Basically I'm using the MVVM Pattern. I have a TileViewCtrl with RadFluidContentControls inside. Outside auf that TileView there are some Controls which allows the user to add a new Item to the ItemsSource. If the User now ads a new Item, I want that the new Item goes to maximized State, so the user can directly add some more information’s to that new Item. To get the workflow more hmm *flow* :) i want that the first editable control inside that Items gets automatically focused.

I have tried a lot of ways... but I have not found any thing that works. 

Tahnk You for your help

 

Ronald Bouras
Top achievements
Rank 1
 answered on 01 Jul 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?