Telerik Forums
UI for WPF Forum
2 answers
265 views
I have a datagrid with an image column. On click of that image i want to show a pop up.
Can you please help in implementing this using MVVM pattern?
Vlad
Telerik team
 answered on 17 Jun 2011
1 answer
219 views
HI,

how can i change the color of the "black" arrow of an telerik:RadDropDownButton ?

Thanks
Rene
Tina Stancheva
Telerik team
 answered on 17 Jun 2011
2 answers
179 views
Hi Telerik,

When the RadNumericUpDown is in focus, I'd like to update the source in VM. I created a simple method to grab the focused element from the keyboard and update the source. The problem is the Keyboard.FocusedElement returned a type called PickerTextBox instead of RadNumericUpDown and thus the highlighted codes won't be fired. My question is how I can UpdateSource to NumericUpDown properly? The original problem is when the RadNumericUpDown is in focus and user saves the app, the RadNumericUpDown source won't be updated.

        private void UpdateFocusedTextBox()

        {

            //There is an issue when textbox is in focus, it won't update the source.

            //This workaround will try to find the currently focusedTextBox and update the source.

            object focusedTextBox = Keyboard.FocusedElement;

 

            if (focusedTextBox is RadNumericUpDown)

            {

                RadNumericUpDown rad = focusedTextBox as RadNumericUpDown;

                ((RadNumericUpDown)focusedTextBox).GetBindingExpression(RadNumericUpDown.ValueProperty).UpdateSource();

            }           

            else if(focusedTextBox is TextBox)

                ((TextBox)focusedTextBox).GetBindingExpression(TextBox.TextProperty).UpdateSource();        

        }

Cheau-Long
Top achievements
Rank 1
 answered on 16 Jun 2011
2 answers
116 views
Hello,

I'm trying to use a RadColorPaletteView with my own list of custom colors, in this way:

<TInputControls:RadColorPaletteView Height="18" SelectionChanged="RadColorPaletteView_SelectionChanged" >
<TInputControls:RadColorPaletteViewItem Color="Red" />
<TInputControls:RadColorPaletteViewItem Color="Orange"/>
<TInputControls:RadColorPaletteViewItem Color="Yellow" />
<TInputControls:RadColorPaletteViewItem Color="Green" />
<TInputControls:RadColorPaletteViewItem Color="Blue" />
<TInputControls:RadColorPaletteViewItem Color="Purple" />
<TInputControls:RadColorPaletteViewItem Color="White" />
<TInputControls:RadColorPaletteViewItem Color="Black" />
</TInputControls:RadColorPaletteView>

In my app, the black doesn't show up.  Instead, I get a square that seems to have a transparent background.  If I hover close to the border of that square, sometimes it allows me to select it, but most of the time I can't select the square.

I've tried moving the black to other positions in the list, and tried the hex value instead of the name, and it seems to have the same problem.  Additionally, if I wrap the RadColorPaletteViewItems in a plain ListBox instead of the RadColorPaletteView, the "black" one still has the same problem.

Is there something I need to do differently?
Chad
Top achievements
Rank 1
 answered on 16 Jun 2011
5 answers
157 views
I'm haiving trouble with the TileView. It's bound to a collection of entites. These entities have image contents in them. When the application loads the TileView loads fine. But when I try to add a new item to the collection, the sizing of the tiles goes wonky. Could it be because the images in the collection are different sizes (height and width)? They won't ever be all the same size.
Rayne
Top achievements
Rank 1
 answered on 16 Jun 2011
20 answers
1.5K+ views
Hello,

I would like to make a suggestion.

At the moment, I find most of the Telerik themes useless.

However it would be really nice if Telerik themes like Windows 7 theme in Q3 and older ones could be applied to ALL wpf controls (not only Telerik ones). This would allow us to provide consistent

It seems that your competition, DevExpress, did that already and people find it usefull.

I think most people here would like Telerik to provide this functionality.
Pana
Telerik team
 answered on 16 Jun 2011
1 answer
110 views
Hi,

I am using XML as datasource. The data contains XML representation of Â® and â„¢: &REG; and &TRADE;

My treeview is displaying them as it is: MyCompany&REG;

Is there any efficient way I can convert these markup strings back to symbols and display them in tree?

PS: I don't really want to use converts for such rarely occurring characters/symbols.

Thanks


 
Petar Mladenov
Telerik team
 answered on 16 Jun 2011
0 answers
152 views
I have a Windows Service that needs a significant amount of user input.  Yes, I can put those values in the app.config file but then that seems lazy. This UI includes the ability to configure the service, start/stop the service and a log viewer.  So, I'd like the Windows Service to pick up the values entered by the UI.  Does anyone have a "standard" or "best practices" way of doing this?  Or, even just a better idea than my own.

My current approach:
The UI's data context is an object that contains all of my UI entries.  Serialize the object as XML using XmlSerializer.  Then whenever the Windows Service cycles, go to this XML file and deserialize it.  Then, use that object in the Windows Service.
  • My question on this approach is... what is the best way to tell the Windows Service where the UI was installed?  I don't want to hard code this because the installer could put it it on the D:\ or who knows where?  Once again, I think making the user enter this value in the app.config is a lazy approach on the developer front.  Ideas:
    • I attempted to use the Process of the UI to find the Environment.CurrentDirectory of the UI process but that doesn't seem to exist.  Remember, the UI starts/stops the service so I know the UI will be opened when the service first starts.  Anyone have ideas on this front?
    • When the UI is installed or starts the first time, I could save the directory to a registry setting... but that seems pretty old school.  Is there a better way to do this?

 

Any suggestions are appreciated. 

Thanks,
Joel

Joel Palmer
Top achievements
Rank 2
 asked on 16 Jun 2011
1 answer
267 views
Hi,
I have a requirement that I need to export the Chart and the grid (updated the RadChart template to include grid) to PDF.
Is it possible through telerik chart control?

There are some forum explaning about converting the chart into image and put them into PDF, but here in my case there can be multiple charts, which can be viewed using navigation buttons (ex: First, Next, Previous, Last).

Let assume that user won't navigate to any of them, and just try to export them. Then that PDF must contain all the pages (charts).
Is it possible to have those charts without being displayed on the page?

Please reply ASAP.

Thanks,
Nitin.
Giuseppe
Telerik team
 answered on 16 Jun 2011
3 answers
74 views
I have a RadGridView that can be loaded with various different business objects, primarily containing double, int and string members for editing. The columns of some of these objects can be sorted, but on others, no column in the grid will sort. This is despite setting CanUserSortColumns and IsSortable to true. Strangely, grouping and filtering works on these objects. I have removed any custom CellTemplates in case that was the issue.

To figure this out, I attempted to listen to the Sorting event on the grid, but it never fires. Any hint as to what direction I should look? How does the RadGrid determine whether data can be sorted, aside from the xaml input?
Maya
Telerik team
 answered on 16 Jun 2011
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
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
LayoutControl
ProgressBar
Sparkline
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
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?