vcaraulean / caliburn.micro.telerik Goto Github PK
View Code? Open in Web Editor NEWAn integration of Caliburn.Micro with Telerik's Silverlight controls: conventions, window manger, ...
License: MIT License
An integration of Caliburn.Micro with Telerik's Silverlight controls: conventions, window manger, ...
License: MIT License
In the example of WPF --> Examples.TelerikWindowManager (in source code of Caliburn.Micro.Telerik) , I change the MainWindow from Window to RadWindow so that the MainWindow also has Theme of Windows 8.
The MainWindow has really Windows 8 Theme applied but in the taskbar there is no icon (item) for it. How can I fix this problem?
Conventions is displaying the date & time with the time all zero.
A direct binding is displaying the time correctly.
See RadDateTimePickerView from Examples for details..
Hi,
I have view that dynamically loads telerik Tabs view models:
[telerik:RadTabControl x:Name="Items" Grid.Row="1" Margin="10,0,0,0" /]
I have set IsEnabled property onone of the Tabs view models to false, but that Tab is always enabled.
Is this supported? If not, how can I add it?
Thx,
M.
Some initial code can be found here: https://gist.github.com/1345512
Implementations for RadWindowManager and RadWindowController are required...
An example of implementaion: http://www.telerik.com/community/code-library/silverlight/general/radwindow-in-caliburn-micro.aspx
Any plans for a Windows Phone version?
Hi Valeriu,
Please add convention for RadDataFrom & PersistenceFramework.
Thanks so much.
Please help me, Thanks so much.
Resource =>
<HierarchicalDataTemplate x:Key="TreeViewItemTemplate" ItemsSource="{Binding Types}"
ItemTemplateSelector="{StaticResource NamespaceItemTemplateSelector}">
<StackPanel Orientation="Horizontal">
<Path
Data=""
Height="11.458" Margin="0,0,5,0" RenderTransformOrigin="0.5,0.5" Stretch="Fill"
UseLayoutRounding="False" Width="11.264">
<Path.Fill>
<SolidColorBrush Color="#FF333333">
<SolidColorBrush.RelativeTransform>
<MatrixTransform Matrix="Identity" />
</SolidColorBrush.RelativeTransform>
<SolidColorBrush.Transform>
<MatrixTransform Matrix="Identity" />
</SolidColorBrush.Transform>
</SolidColorBrush>
</Path.Fill>
<Path.RenderTransform>
<TransformGroup>
<ScaleTransform />
<SkewTransform />
<RotateTransform />
<TranslateTransform />
</TransformGroup>
</Path.RenderTransform>
</Path>
<TextBlock Text="{Binding Header}" Tag="{Binding DataContext, RelativeSource={RelativeSource Self}}">
<telerik:RadContextMenu.ContextMenu>
<telerik:RadContextMenu cal:Action.TargetWithoutContext="{Binding RelativeSource={RelativeSource Self}, Path=UIElement.Tag}" cal:Message.Attach="[Event Opened] = [Action Opened($dataContext)]" >
<telerik:RadMenuItem Header="New Child" cal:Message.Attach="ShowProperties($datacontext)"/>
<telerik:RadMenuItem Header="New Sibling" />
<telerik:RadMenuItem Header="Delete" />
</telerik:RadContextMenu>
</telerik:RadContextMenu.ContextMenu>
</TextBlock>
</StackPanel>
</HierarchicalDataTemplate>
RadTreeView =>
<telerik:RadTreeView x:Name="RadTreeView" BorderThickness="0" Margin="5" Background="White" Width="500" telerik:AnimationManager.IsAnimationEnabled="False" IsVirtualizing="True" telerik:StyleManager.Theme="Windows8" ItemTemplate="{StaticResource TreeViewItemTemplate}" ItemContainerStyle="{StaticResource TreeViewItemStyle}"
ItemsSource="{Binding Namespaces}"/>
The Q2 2014 release from Telerik unfortunately broke this as they have removed the RadMaskedTextBox. Exception is:
Could not load type 'Telerik.Windows.Controls.RadMaskedTextBox' from assembly 'Telerik.Windows.Controls.Input, Version=2014.2.617.1050, Culture=neutral, PublicKeyToken=5803cfa389c90ce7'.
See https://caliburnmicro.codeplex.com/discussions/438814 for details.
Please add a strong name to the assembly. I can't add this project via nugget because it doesn't have it. I have to pull from code and compile instead. It would simplify things if you added a strong name.
Caliburn.Micro.Telerik should be more tolerant with different versions of Telerik and not the only one referenced in project.
Binding redirects should help alleviate the problem.
Example:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Telerik.Windows.Controls.Navigation" publicKeyToken="5803cfa389c90ce7" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-2011.2.920.1040" newVersion="2011.2.920.1040" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Telerik.Windows.Controls" publicKeyToken="5803cfa389c90ce7" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-2011.2.920.1040" newVersion="2011.2.920.1040" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Telerik.Windows.Controls.Input" publicKeyToken="5803cfa389c90ce7" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-2011.2.920.1040" newVersion="2011.2.920.1040" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>
Conventions should be very similar with RadGridView's controls as they both derive from DataControl.
Add an example...
The latest version of Caliburn has changed the method signature of
IWindowManager.ShowNotification
Also the ConventionManager.SetBinding signature has changed. Meaning that TelerikConventions.Install no longer compiles either.
An example is here:
http://caliburnmicro.codeplex.com/discussions/261349
Sample viewmodel + view are required
A sample of current binding:
<telerik:GridViewDataColumn Header="Contact"
DataMemberBinding="{Binding Path=DisplayName}"
An example for Silverlight DataGrid: http://caliburnmicro.codeplex.com/discussions/231493
Hi
Thanks for the project very useful. A couple of minor issues. When I first downloaded the projects. I had to clean up some of the references that had specific version attached because I had a later version of Telerik for example:
<Reference Include="Telerik.Windows.Controls, Version=2012.2.607.1050, Culture=neutral, PublicKeyToken=5803cfa389c90ce7, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\Program Files (x86)\Telerik\RadControls for Silverlight Q3 2012\Binaries\Silverlight\Telerik.Windows.Controls.dll</HintPath>
</Reference>
. Maybe it is just my environment but the specific version = false seems to only work sporadically for me. It might be a good idea to just strip the version info from all of the Telerik references since they release so often.
<Reference Include="Telerik.Windows.Controls"/>
I also had to add a reference to the Windows 8 theme since it wasn't included in the build.
<Reference Include="Telerik.Windows.Themes.Windows8"/>
This did not cause a compile error but did result in a runtime error for both example projects in appbootstrapper.
Thanks again for sharing your work.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.