Telerik Forums
UI for WPF Forum
1 answer
53 views
Hi!

I tried to set different themes for my application and I found out that all themes look like in the Sample WPF applications, except for the "Windows8" theme. RadWindow header in samples is different from that in my application. Can anyone tell me why?
Kalin
Telerik team
 answered on 29 May 2014
1 answer
59 views
Hi,

After updating the Telerik dll v2014.1.331.40, The RadFluidContentControl inside RadTileView is not working.

<telerik:RadFluidContentControl Margin="2"  ContentChangeMode="Manual"  State="Normal">
   // Content here is not rendering
<telerik:RadFluidContentControl.Content>

</telerik:RadFluidContentControl.Content>
</telerik:RadFluidContentControl

After commenting the telerik:RadFluidContentControl the content is visible. Any changes in Telerik dll v2014.1.331.40 ?

Regards
Siva
Pavel R. Pavlov
Telerik team
 answered on 29 May 2014
1 answer
103 views
Hello, everyone.

I am working on an MVVM / Prism application and I have run into a bit of  a snag on how to populate my PanelBar with items.  For reference: I am trying to create a layout similar to the one found here. On the referenced page assume that Products and Support are each their own separate modules, and that each item under them represents a view within that module. Now assume that there is security built around both Modules and Views so that only certain people can see them.  

I am already dynamically loading my modules via reflection, but I am at a loss on how to do dynamically load my views.  To register my views, I would typically do something like this:

RegionManager.Regions["NavRegion"].Add(Container.Resolve<DefaultView>(), "TheDefaultView");

Where "NavRegion" is a custom region that I have a RegionAdapter for.  The problem is that I don't see a way to setup my RegionAdapter to get my PanelBar to display in the manner I would like since I can't really build a Hierarchical structure in my RegionAdapter. Is there anyway that I could bind to an XML document that defines the structure of the items?  If there is a way to do that, is it possible to append to a bound xml datasource? What I mean is: Module1 has an XML document that defines what views to show, Module2 has an XML document that defines what views to show, and so on.

Thanks for any help you might be able to provide!

Pavel R. Pavlov
Telerik team
 answered on 29 May 2014
1 answer
51 views
Hi,

the first question is: Is there a two level compass support over the document host, that allows to dock a pane exactly beneath the document host (not inside it and not at the root element?) See visual studio. Just try to move a control bar over their document host area. There you get the possibility to dock on each side inside the document host and outside of it.

This is needed for scenarios like here http://www.telerik.com/help/wpf/media/RadDocking_GettingStarted_GettingStarted_110.png

Assume the ErrorList pane does not exist and you float the Output pane and want to redock it at the same location again. This would be easy in Visual Studio. Just hover over the document host and select the "outside document host" option.

I assume the answer will be: Not supported
So here is the second question: Is it possible to write an own template for the compass?

Vladi
Telerik team
 answered on 29 May 2014
1 answer
72 views
Hi,

if I save a Diagram, I get this "<Title>Diagram [27.05.2014 14:54:20]</Title>" in the saved XML-File. How
do I set a different text her and can I get this text on loading the diagram?

<RadDiagram Version="2013.1">
  <Metadata Type="Telerik.Windows.Controls.RadDiagram" Id="eec698bd-3ac2-43bc-8c6e-f9e82a919886" Zoom="1" IsSnapEnabled="true" SnapX="20" SnapY="20">
    <Title>Diagram [27.05.2014 14:54:20]</Title>
    <Description></Description>
  </Metadata>
  <Groups />
...

Thanks
Best Regrads
Rene
Martin Ivanov
Telerik team
 answered on 29 May 2014
2 answers
352 views
I have a radlistbox bound to an observable collection that I can reorder
using drag and drop, but cant seem to find an event that fires when the
item is reorders.

Thanks
Mahdi
Top achievements
Rank 1
 answered on 29 May 2014
1 answer
68 views
Hi,

I get an error when I try to Export a RadDiagram.

Error in HTMLExportHelper Class:
private static string LoadStringFromFile(string path)
        {
            string javaScript = string.Empty;
 
            using (var stream = ExtensionUtilities.GetStream(path))
            {
                if (stream != null)
                {
                    using (var reader = new StreamReader(stream))
                    {
                        javaScript = reader.ReadToEnd();
                    }
                }
            }
 
            return javaScript;
        }

Var stream is allways null. How should string path looks like? for example "public const string JSFilePath = @"Common/ExportToHTML/JavaScript.js";" ist
wrong. The JavaScript.js file is Applicationpath + Common + ExportToHTML Folder.

Thanks
Best Regards
Rene
Pavel R. Pavlov
Telerik team
 answered on 29 May 2014
2 answers
1.0K+ views
Hi,

Is it possible to make the GridView auto scrolls to the selected item? I'm doing everything in MVVM and avoid any code behind.

Thanks,, 
Ahmed
Top achievements
Rank 1
 answered on 28 May 2014
3 answers
196 views
Hi,

I have a Date field which I split in three columns:

                                <telerik:GridViewDataColumn DataMemberBinding="{Binding StartDate, StringFormat='yyyy'}" Header="Year"/>
                                <telerik:GridViewDataColumn DataMemberBinding="{Binding StartDate, StringFormat='MMM'}" Header="Month"/>
                                <telerik:GridViewDataColumn DataMemberBinding="{Binding StartDate, StringFormat='dd'}" Header="Day"/>

Happens that when I try to filter the rows via the GridView filters I get duplicate entries there:


Is there a way to remove those duplicates?

Thanks
Boris
Telerik team
 answered on 28 May 2014
2 answers
161 views
Hi,

I need to display incoming packets from communication ports, in a time line, along with other informations (for example a port “Mode”, representing the actual state of the port).

I made with Expression Blend’s Sketchflow a prototype to illustrate what I want. See attached file to fond how it looks like.

Is it possible to use the RadTimeLine control to display incoming packets as shown in the prototype? And to have packets’ details when hovering or clicking it ? (in a tooltip or side window).
Also is it possible to have different ItemTemplates, one for each line ?

Finally, the full period I'd like to display is several hours, and the duration of a packet is about 10ms. Does the radTimeLine offers great zoom capabilities to be able to see each packet ?

Regards,
Sebastien

Sebastien
Top achievements
Rank 1
 answered on 28 May 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?