Telerik Forums
UI for WPF Forum
3 answers
102 views

Hello,

 I am new to WPF. I am trying to understand the differences between UI for WPF and UI for Silverlight.

How silverlight works with WPF ?

Martin Ivanov
Telerik team
 answered on 28 May 2015
0 answers
93 views

Hi,

i bound a Collection "MergeItems" to a RadGridView. Now we have to press a button to check each row in the Grid. After checking and
updating the database how do i set the background of the row, for example, green?

Thanks
Best Regards

ITA
Top achievements
Rank 1
 asked on 28 May 2015
1 answer
172 views

I am using windows8touch theme in windows 8 desktop.

If the user touches the filter button the filter drop down opens.

If they touch the keyboard button on the task bar (brings virtual keyboard up) the drop down closes.

They then need to press the filter button again to open drop down.

Any way to correct this behavior.

 

any assistance would be appreciated

dco

 

Yoan
Telerik team
 answered on 28 May 2015
1 answer
114 views

Hello,

When I add two RadPane to the same RadPaneGroup they are open as tabs in the same window

Is there a way to open them in two separate windows next to each other, so every window will have it's own header (right now is the tab's header)?

Thanks!

Geri
Telerik team
 answered on 27 May 2015
2 answers
124 views

Hi Telerik-Team,

I've got a question regarding the DefaultLabelFormat-Attribute of AxisX in RadCharts.

Attached is an image taken from my VS2013 that shows an error being found in XAML.

The message is german and reads "The 'DefaultLabelFormat'-Attribute was not found in Type 'AxisX' ".

Even though the IDE shows this error, compilation works and the Value of DefaultLabelFormat (#VAL)
takes effect.

I wanted to check what this error is related to. For now I'm using the following as a workaround:

this.YearChart.DefaultView.ChartArea.AxisX.DefaultLabelFormat = "#VAL";

Thanks

Martin Ivanov
Telerik team
 answered on 27 May 2015
1 answer
119 views

In linear gauges, is there a way to control marker orientation? By default, triangular markers point to the left. Is there a way to make it point to the right or up/down? This seems a simple thing, but it's hard to find any reference to it in the documentation.

Thank you for any information.

Martin Ivanov
Telerik team
 answered on 27 May 2015
3 answers
121 views

Hello,

 i got an application where the RadEntityFrameworkDataSource returns no rows.

I have written an Test application, which just handles the issue: the problem remains.

You can download the application at http://w2ww.de/downloads/RadEntityFrameworkDataSource_Test1.zip

You must edit the connection string in the app.config.

I used the .Net Framework in the version 4.5 and Telerik Devcraft for WPF in the version 2015.1.0401.45.

 The source:

namespace RadEntityFrameworkDataSource_Test1 {
    class Program {
        [STAThread]
        static void Main(string[] args) {
            REFDS_T1Context cntxt = new REFDS_T1Context();
            cntxt.Database.CreateIfNotExists();
            if (cntxt.Libraries.FirstOrDefault<Library>() == null) {
                Library l = new Library("Lib1");
                cntxt.Libraries.Add(l);
                l = new Library("Lib2");
                cntxt.Libraries.Add(l);
                cntxt.SaveChanges();
            }
            var q = (from m in cntxt.Libraries select m).ToList();
            Console.WriteLine("---- Output from Linq Queryable");
            foreach (Library m in q) {
                Console.WriteLine(m.Name);
            }
            RadEntityFrameworkDataSource refds = new RadEntityFrameworkDataSource();
            refds.DbContext = cntxt;
            refds.QueryName = "Libraries";
            var l2 = refds.DataView;
            Console.WriteLine("Output from RadEntityFrameworkDataSource");
            var v = l2.TotalItemCount;
            Console.WriteLine("TotalItemCount: " + v);
            foreach (Library m in l2) { //.ToEnumerable<MediaItem>()
                Console.WriteLine(m.Name);
            }
            Console.WriteLine("---- Ende for Output of: RadEntityFrameworkDataSource");
            Console.ReadLine();
        }
    }
}

----------- The output:

---- Output from Linq Queryable
Lib2
Lib1
Output from RadEntityFrameworkDataSource
TotalItemCount: 0
---- Ende for Output of: RadEntityFrameworkDataSource

---

Best Regards

    Winfried Wille

Winfried
Top achievements
Rank 1
 answered on 27 May 2015
19 answers
235 views
Hi,
Is it possibile to keep syncronize treeview context menu and toolbar?

Example

1- Toolbar on Root node click
Icon1(Print Report) | Icon2(Delete) | Icon3(Modify)

2- Toolbar on node2.1 click
Icon1(Print Report) | Icon3(Modify)

TreeView

RootNode             -> ContextMenu:    Icon1 - Print Report
  |                                                         Icon2 - Delete
  |                                                         Icon3 - Modify 
  |_ node1
  |_ node2
        |_node2.1       -> ContextMenu
                                         Icon1 - Print Report
                                         Icon3 - Modify 


Thanks
bennit
Top achievements
Rank 1
 answered on 27 May 2015
0 answers
209 views

Hi,

is use a GridView to merge data from a lokal db with a business software db. I create a mergeObjekt which contains field name, filed value,table id and groupname for the lokal and the server database.

...  new MergeItem(lokalfield, lokalfieldvalue, lokaldbid, lokalgroup, serverfield, serverfieldvalue, serverid, servergroup)

 Now i want to show the Collection in my GridView, which works fine like this...

<telerik:RadGridView.Columns>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding DB}" Header="DB" IsReadOnly="True" Width="0.125*" UniqueName="DB" ColumnGroupName="Lokal"  />
                <telerik:GridViewDataColumn DataMemberBinding="{Binding AbasID}" Header="abas-ID" IsReadOnly="True" Width="0.125*" UniqueName="AbasID" ColumnGroupName="Lokal"  />               
                <telerik:GridViewDataColumn DataMemberBinding="{Binding Feldname}" Header="Feldname" IsReadOnly="True" Width="0.125*" UniqueName="Feldname" ColumnGroupName="Lokal" />
                <telerik:GridViewDataColumn DataMemberBinding="{Binding Feldwert}" Header="Feldwert" IsReadOnly="True" Width="0.125*" UniqueName="Feldwert" ColumnGroupName="Lokal" />
                <telerik:GridViewColumn Header="<<" ColumnGroupName="Lokal" Width="55" telerik:StyleManager.Theme="Windows8Touch">
                    <telerik:GridViewColumn.CellTemplate>
                        <DataTemplate >
                            <telerik:RadRadioButton IsChecked="{Binding Syncabastolokal, Mode= TwoWay}" GroupName="{Binding Group}" x:Name="Syncabastolokal" Height="20" Width="40"/>
                        </DataTemplate>
                    </telerik:GridViewColumn.CellTemplate>
                </telerik:GridViewColumn>
 
                <telerik:GridViewColumn Header=">>" ColumnGroupName="abas" Width="55" telerik:StyleManager.Theme="Windows8Touch">
                    <telerik:GridViewColumn.CellTemplate>
                        <DataTemplate>
                            <telerik:RadRadioButton IsChecked="{Binding Synclokaltoabas, Mode= TwoWay}" GroupName="{Binding XGroup}" x:Name="Synclokaltoabas" Height="20" Width="40"/>
                        </DataTemplate>
                    </telerik:GridViewColumn.CellTemplate>
                </telerik:GridViewColumn>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding Xabasid}" Header="abas-ID" IsReadOnly="True" Width="0.166*" UniqueName="XAbasID" ColumnGroupName="abas"/>               
                <telerik:GridViewDataColumn DataMemberBinding="{Binding Xfeldname}" Header="Feldname " IsReadOnly="True" Width="0.166*" UniqueName="Xfeldname"  ColumnGroupName="abas"/>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding Xfeldwert}" Header="Feldwert " IsReadOnly="True" Width="0.166*" UniqueName="Xfeldwert"  ColumnGroupName="abas"/>
            </telerik:RadGridView.Columns>

On the left side are the lokal datas and on the right side the server datas. In the middle are two Radio Buttons bind to the group. With this Layout i have the choice to select which side will be updated in the database.

 Is it possible to create something like a Radio button over 3-4 Columns. This would be easier for the user to select the side!

 

Thanks Best Regards

RENE

ITA
Top achievements
Rank 1
 asked on 27 May 2015
1 answer
127 views

Hello,

 Below is my GridViewDataColumn and I am binding through ItemsSource.

<telerik:GridViewDataColumn Header="MVAR" DataMemberBinding="{Binding Value, Mode=TwoWay,NotifyOnSourceUpdated=True,NotifyOnValidationError=True,NotifyOnTargetUpdated=True}" Width="100" IsReadOnly="False" >                                  
</telerik:GridViewDataColumn>

 

If user changes the values, I want to change the foreground color of the cell. How can I do this ?

Dimitrina
Telerik team
 answered on 27 May 2015
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Expander
Slider
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
Licensing
WebCam
CardView
DataBar
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?