Telerik Forums
UI for WPF Forum
0 answers
141 views
Hello,
I am trying to bind theme of my checkboxes and ComboBox with : 
<CheckBox Content="{Binding Name}" telerik:StyleManager.Theme="{Binding MyTheme}" />

I have try with a variable MyTheme of type string and Theme but this doesn't work.

How i can do that?


Gat
Gaetan
Top achievements
Rank 1
 asked on 19 Jun 2012
1 answer
132 views
Hello,

I am trying to add a new row to my RagGridView where I host a GridViewComboBoxColumn and a GridViewDataColumn like:
<Grid>
<telerik:RadGridView>
     <telerik:RadGridView.Columns>
        <telerik:GridViewComboBoxColumn>
        </telerik:GridViewComboBoxColumn>
        <telerik:GridViewDataColumn>
        </telerik:GridViewDataColumn>
     </telerik:RadGridView.Columns>
</telerik:RadGridView>
</Grid>

The field "Click here to add new row" on RadGridView is dead and is even not clickable.
What to do make it working? I may even try to take it away but do know how.

Thanks.
DBlagg
Top achievements
Rank 1
 answered on 19 Jun 2012
6 answers
226 views
Hi,

I have problems to use RadRichTextBox (with UI) in child window because every time when child window is opened, it's uses more and more memory.

I did a very simple project where I'm using the radRichtextbox with deafult UI settings (Word prosessor) and also here I notice the same. in first time when I open the dialog with Rad components, memory grows to 110Mb => ok, but when I close the dialog and opening it again, memory grows to 120-130 and growing more every time when I close and opening the dialog .

GC.Collect does not help.

I'm using following code to open child window

 

 

MyDialog md = new MyDialog();

 

md.ShowDialog();


and like I said, dialog does ot include any additonal code, just default RadRichTextbox control with UI

Any suggestion what I can do to handle this issue?

I'm using RadRichTextBox version 2012.1.326.40

Regards,
Auvo
Vasil
Telerik team
 answered on 19 Jun 2012
1 answer
153 views
Hello,

How can I display multiple series on on the time bar?  Do I need a radchart?  If so, how can I format the chart to look like the sparkline?  Currently it requires a lot of space because of the axis and ledgend and such.

Thanks,
Eric
Tsvetie
Telerik team
 answered on 19 Jun 2012
1 answer
93 views
Hello,
I have create a window to manage resources ScheduleView for add/remove resources but when i try to update GroupDescriptions, this still doesn't work.my resourcestype is ok but not my GroupDescriptions. How i can do that?

cordially,

Gat
Vladi
Telerik team
 answered on 19 Jun 2012
1 answer
222 views
BarSeries series = new BarSeries();                 
series.CategoryBinding = new PropertyNameDataPointBinding() { PropertyName = "Name" };                 
series.ValueBinding = new PropertyNameDataPointBinding() { PropertyName = "Value" };                 
series.ShowLabels = true;                 
series.ItemsSource = points;

My ItemsSource is just a list of my datapoint class.
How do I set the label for each point?
I can do it via xaml easy enough. How about code?


<telerik:CategoricalDataPoint Category="1" Value="0.05" Label="Some Point Specific Text"> 


I tried and failed with
             <telerik:BarSeries.LabelDefinitions > 
                    <telerik:ChartSeriesLabelDefinition >
                        <telerik:ChartSeriesLabelDefinition.Template>
                            <DataTemplate>
                                <StackPanel>
                                    <TextBlock Text="{Binding}"></TextBlock>
                                    <TextBlock>
                                    <TextBlock.Text>
                                         <Binding RelativeSource="{RelativeSource FindAncestor, AncestorType={x:Type telerik:BarSeries}}" 
                                                    Path
="DataPoints[0].DataItem.MyLabelProp"/>
                                    </TextBlock.Text>
                                    </TextBlock>
                               </StackPanel>
                            </DataTemplate>
                        </telerik:ChartSeriesLabelDefinition.Template>
                     </telerik:ChartSeriesLabelDefinition>
                </telerik:BarSeries.LabelDefinitions>
Petar Marchev
Telerik team
 answered on 19 Jun 2012
2 answers
120 views
Hi,

On the ImageEditor, we do not wish to display the Toolbox, but only have Zoomin, Zoom out. How to achieve that?
Aracna
Top achievements
Rank 1
 answered on 19 Jun 2012
29 answers
453 views
Hello,

I am not yet a customer. I still hesitate which wpf suite to buy. The one from xx who has a pivot grid which I really need. Or I wait for you creating a pivot grid in wpf. Any chance this gets released somehow in the middle of 2010?

Probably you can not answer this question ;-) Maybe you can tell me the roadmap for 2010? Or is this still a secret?
Milan
Telerik team
 answered on 19 Jun 2012
7 answers
952 views

Hi,

I’m using RadRichText and I’m trying to move the caret to specific offset from the start of the document (or specific row and column).

I saw on the forum that in order to move the caret I need to use
richTextBox.Document.CaretPosition.MoveToPosition

That gets DocumentPosition as parameter. But I can’t create documentPosition from desired text position.

How can I set the caret position from the beginning of the document?

By the way,

The Document position API help page doesn’t work.

(http://www.telerik.com/help/silverlight/telerik.windows.documents-telerik.windows.documents.documentposition_members.html)

Thanks,

Rotem.

Andrew
Telerik team
 answered on 19 Jun 2012
3 answers
139 views
Hello,

I am having some trouble binding a radAreaSparkLine to an ObseravbleCollection of dictionaries.  I am trying to use a radTimeBar using the getting started1 video.  The code I have is below.  When I run parseResourceFile, the resourceItems collection is populated.  However, when I create the radAreaSparkLine, no areaPoints are created, are nothing shows up in the timeBar.  Does it look like I am doing anything incorrectly?

Thanks,
Eric
<telerik:RadTimeBar Grid.Row="2" x:Name="radTimeBar">
    <telerik:RadTimeBar.Intervals>
        <telerik:HourInterval />
        <telerik:MinuteInterval/>
        <telerik:SecondInterval/>
        <telerik:MillisecondInterval/>
    </telerik:RadTimeBar.Intervals>
</telerik:RadTimeBar>

class ResourceItem
{
   public Dictionary<int, double> NumericalResourceValues
    {
        get { return numericalResourceValues ?? (numericalResourceValues = new Dictionary<int, double>()); }
    }
    public Dictionary<int, double> numericalResourceValues;
}

class Resource
{
    public ObservableCollection<ResourceItem> ResourceItems { get; set; }
}

void populateTimeBar()
{
int
startTimeColumnIndex = 1;
int dataColumnIndex = 1;           
var resourceParser = new ResourceParser();
Resource resource = resourceParser.PaserResourceFile(Constants.LogFilePath);
 
var rasl = new RadAreaSparkline
               {
                   ItemsSource = resource.ResourceItems,
                   XValuePath = "NumericalResourceValues[" + startTimeColumnIndex + "]",
                   YValuePath = "NumericalResourceValues[" + dataColumnIndex + "]"
               };
 
this.radTimeBar.Content = rasl;
this.radTimeBar.DataContext = resource.ResourceItems;
}
Yavor
Telerik team
 answered on 19 Jun 2012
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
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
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
Bronze
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
Bronze
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?