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

I am using XML as datasource. The data contains XML representation of ® and : ® and ™

My treeview is displaying them as it is: MyCompany®

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
146 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
259 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
71 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
1 answer
106 views

Hi,

we are using/testing RadRichTextBox. What we do is to insert some text and tab stops.
Then we save it as rtf (created with RtfFormatProvider) to a database.
The rtf String in the Databse is correct.
Then we load that string from the database (string still contains tab stops) in the RadRichTextBox again with RtfFormatProvider/RadDocument.
Now all the tab stops are vanished.

Are we doing something wrong, or are tab stops not fully supported ?

Thanks,
Bernhard / Timo

Iva Toteva
Telerik team
 answered on 16 Jun 2011
1 answer
113 views
Hello,

I recently updated my Telerik controls and have noticed that only on stacked bar charts, only the top label item shows a count and the other data series within the stacked bar charts to not show a label item. Is there a way to enable the label items for the other parts of the chart?

Thanks,
Sean
Sia
Telerik team
 answered on 16 Jun 2011
3 answers
759 views
Hi,
http://nccu.edu.tw/96356029/view.JPG

Please see the hyperlink picture, how can I hide unused column or let current column fill with RadGridView. It seems I can set AutoGenerateColumn=False, but my application add RadGridVew and bind data programmically,  if I set AutoGenerateColumn=False,
the  running result  of RadGridView will be without data, is there any way I can do? 
Maya
Telerik team
 answered on 16 Jun 2011
1 answer
111 views
I do not want the Filter Window popup to automatically close when it loses focus. This behavior is preventing a touchscreen keyboard from entering text in the filter fields. I want the user to have to explicitly close the popup either by clicking on the x button or something similar.

Please advise.


Thanks
Ivan Ivanov
Telerik team
 answered on 16 Jun 2011
1 answer
347 views
Hi,

i have following xaml for my combobox:
<telerik:RadComboBox HorizontalAlignment="Left" DockPanel.Dock="Top" Margin="5,0,5,0" TabIndex="1" FontSize="14"  Name="RadComboBoxLocality"
                                             VerticalAlignment="Top" Width="286" Height="25"  IsEditable="True"
                                             ItemTemplate="{StaticResource CustomItemTemplateLocality}"   CanKeyboardNavigationSelectItems="False"
                                             MaxDropDownHeight="400" StaysOpenOnEdit="True" OpenDropDownOnFocus="True" IsDropDownOpen="True"
                                             ItemsSource="{Binding Source={StaticResource SuggestorViewModel}, Path=Searchresult}"
                                             SelectedValue="{Binding Source={StaticResource SuggestorViewModel}, Path=CurrentItem, Mode=TwoWay}"
                                             Text="{Binding Source={StaticResource SuggestorViewModel}, Path=LocalityName, Mode= TwoWay}"
                                             IsSynchronizedWithCurrentItem="True" IsFilteringEnabled="False">
                        </telerik:RadComboBox>

Selecting a item from list works with Enter-Key without problems. But when I move through the list an press tab nothing will be selected and the dropdown just closes. Any ideas?

Thanks,
neils
Boyan
Telerik team
 answered on 16 Jun 2011
5 answers
146 views
Hi,

i have the following problem. When I create the control template for ScheduleView with Expression blend it automatically uses the office black theme. since we provide theme switching in our application i would need a control template that respects the currently set theme. how can I achieve this without doing everything manually?

thanks in advance,

michael
Dani
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
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?