Telerik Forums
UI for WPF Forum
1 answer
84 views
Hi,

I have a data pager and I want to make my data pager should support multi language. I am able to implement culture on data pager except page and of string.
I tried with some sample application but I am not able to implement other culture ( French or other) on page and of string.

Can you please resolve my issue as soon as possible.

Regards,
Ravindra
Maya
Telerik team
 answered on 17 Jun 2011
2 answers
238 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
180 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
154 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
95 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
128 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.4K+ 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
93 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
98 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
235 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?