Good morning Telerik,
I am looking for advice on how to accomplish something.
I am working on an app that will allow separated parents to easily plot out who has their children and when. I am wanting to use Telerik's controls to visually display display something that looks like a combination between a Gannt view and a calendar. Do you have any suggestions on how I might go about that?
Thanks!
So I've seen the WPF demo app that shows how to use a PersistenceManager to save and load using a Stream. The demo works well, I have no issues with it...however I modified it to do the saving and loading during the Loaded and Unloaded events, and when this line of code is executed, it throws a NullReferenceException...
this
.stream.Position = 0L;
Which isn't shocking since I do not see anywhere that the Stream object is instantiated except when executing the line...
this
.stream = manager.Save(
this
.gridView);
So...I'm getting the feeling that a PersistenceManger object wasn't intended to be used between launches of an app...or am I just not understanding something here?
adfad
Hello Telerik Support team,
In order to purchase your product, I must build a grid able to perform many of the basic operations at the same time.
I shall provide some code of what I have achieved to far, if requested.
Thank you
Hello Telerik team
We're considering using RadMap in our new WPF application
I'm trying to add my custom webclient which uses custom user-agent and referrer
solutions i'v tried:
- adding this mechanism to getCachedTile(), but it seems not using Asyc method so it makes the progrom very laggy and slow
- adding dummy Uri in GetTile() then add tile retriever to GetCachedTileAsync(), it works but i can't cancel out-of-view tile requests after fast zoom or drag
Is there any way else to get around this issue?
regards
I have a gridview bound to a dictionary... working well except this part. I'm trying to pass a the value component of the item in the grid as a command parameter to the view model. I get a null object as the parameter. examples of this anywhere?
when the collection was just an observable collection the xaml worked as follows:
CommandParameter= {Binding}
this gave me the item in the collection as the command parameter. When i changed my collection to a dictionary (from observableCollection) it started being null.
I am using Visual Studio 2013 with Telerik 2015.2.623.45 and I am seeing some very odd behavior with the Designer when I add a RadRibbonSplitButton to a RadRibbonView. Here is my simple test code.
<
telerik:RadRibbonView
>
<
telerik:RadRibbonTab
Header
=
"Home"
>
<
telerik:RadRibbonGroup
Header
=
"Search"
>
<
telerik:RadRibbonSplitButton
Text
=
"Sketch"
Size
=
Large
" />
</
telerik:RadRibbonGroup
>
</
telerik:RadRibbonTab
>
</
telerik:RadRibbonView
>
When I am trying to type more XAML into the XAML tab (and the Designer is not even open, its minimized) the Designer keeps opening and selecting the RadRibbonSplitButton. Its very add (and extremely frustrating) that while I am typing or using the keyboard in the XAML tab the Designer will just take over and open directly on top of everything. I added a color picker as the content of the RadRibbonSplitButton and the color picker will draw on top of the XAML and the designer is minimized (collapsed). As it stands right now I can't even use the RadRibbonSplitButton or my Designer just takes over.
Anyone else seeing this behavior?
Hi, is there any way to wrap text on merged cells? I'm using a custom template the style of the merged cells but I haven't been able to wrap the text con those cells.
Thanks.
Hello dear,
i am so tired, to implement a sample, i want make a sample Map project in WPF for SalesDashboard only, but i alwasy have a problem,
can you provide a sample map especially only a salesdashboard project only and send to me please
Hello All,
I would first like to thank Martin again, he's sample got me pretty far. In fact in the first sample included below, I got my Labels and the slider bar behaving as I would like. When I tried porting over to my main application (the second sample below Sample2), I got some BUT not all behavior... Namely, the trackbar is not coloring correctly, nor does it have the proper thumbs, for the selector. I see in Martin's sample code that there is an application resource defined in the app.xaml file.
<
Application
x:Class
=
"BaseApplicationProject.App"
xmlns
=
"http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x
=
"http://schemas.microsoft.com/winfx/2006/xaml"
StartupUri
=
"MainWindow.xaml"
>
<
Application.Resources
>
<
ControlTemplate
x:Key
=
"largeDecreaseButtonTemplate"
TargetType
=
"{x:Type RepeatButton}"
>
<
Grid
Background
=
"{TemplateBinding Background}"
/>
</
ControlTemplate
>
</
Application.Resources
>
</
Application
>
However, my lack of familiarity with this has caused some problems. You see in my main app the App.xaml file has a ResourceDictionary defined:
<
Application
x:Class
=
"Worms.App"
xmlns
=
"http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x
=
"http://schemas.microsoft.com/winfx/2006/xaml"
Startup
=
"OnStartup"
Exit
=
"OnExit"
>
<
Application.Resources
>
<
ResourceDictionary
>
<
ResourceDictionary.MergedDictionaries
>
<
ResourceDictionary
Source
=
"/Fluent;Component/Themes/Generic.xaml"
/> <
ResourceDictionary
Source
=
"/Fluent;Component/Themes/Office2010/Silver.xaml"
/> <
ResourceDictionary
Source
=
"Theme/Colors/Silver.xaml"
/> <
ResourceDictionary
Source
=
"Theme/Theme.xaml"
/> <
ResourceDictionary
Source
=
"Theme/Resources.xaml"
/> <
ResourceDictionary
Source
=
"pack://application:,,,/AvalonDock.Themes;component/themes/dev2010.xaml"
/> <
ResourceDictionary
Source
=
"Theme/AvalonDockTheme.xaml"
/>
</
ResourceDictionary.MergedDictionaries
>
</
ResourceDictionary
>
</
Application.Resources
>
</
Application
>
So, I tried to put the ControlTemplate in one of the included files of the ResourceDictionary, more precisely into either Theme/Theme.xaml or Theme/Resources.xaml. Neither one seemed to work. The problem I get is a Null reference in the SliderUtilities.cs file in the slider_Loaded function:
1.
static
void
slider_Loaded(
object
sender, RoutedEventArgs e)
2.
{
3.
var slider = (RadSlider)sender;
4.
var button = slider.ChildrenOfType<RepeatButton>().FirstOrDefault(x => x.Name ==
"LargeDecreaseButton"
);
5.
button.Template = (ControlTemplate)Application.Current.Resources[
"largeDecreaseButtonTemplate"
];
6.
7.
slider.Tag = button;
8.
}
When I step through this function in Martin's sample after line 4 is executed, button is instantiated to a good value. In my main app, when I step through the same function, button is null... Not Good! Also the slider variable in Martin's sample has an instantiated decreaseButton and increaseButton of type System.Windows.Controls.Primitives.RepeatButton. In my main app, they are both null....
Any ideas why the slider control/variable is NOT picking up the ControlTemplate for the repeatbuttons???
Thanks again in advance!,
Kevin Orcutt
Senior Software Engineer
Wurth Electronics ICS, Inc.
7496 Webster St., Dayton, OH 45414
Tel: 937.415.7700
Toll Free: 877.690.2207
Fax: 937.415.7710
Email: kevin.orcutt@we-ics.com
http://www.we-ics.com
hai
I am creating a user control with datagrid and i created a property called DataGridNumeric column and I want to add this property for my control.
Please he me hos to do this.
I use this code for creating column collection
public Collection<DataGridColumn> field = new Collection<DataGridColumn>();
[Category("Data")]
[Description("New Column Creation")]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
public Collection<DataGridColumn> Columns
{
get { return field; }
}
Thanks.