Telerik Forums
UI for WPF Forum
1 answer
122 views
Hello, 
I'm trying to use the WPF RichTextBox to integrate RadDocument content (which was entered in a Silverlight RichTextBox) into a FlowDocument and export it to XPS.
The XPS looks just fine when I print / export it from a WPF application, but when I export it form ASP.NET the whole formatting of the text in the RadDocument gets all messed up.

I added the details as a word document, you can look at it here: Richtextbox Format Problem

 Now, here are my questions:
  1. Is there any way to make this work (using RichTextBox from an ASP.NET app / WCF service? I’m also open to alternative ways of integrating the RichtextBox content into my FlowDocument.
  2.  I think you should really work on a pagination enabled solution which makes it easy to integrate the content of a richtextbox into a larger FlowDocument, because I don’t think I’m the only one who has the problem of having to integrate Richtext into a form – in fact I think it’s a perfect use case for this kind of control, but there has to be a practical way to print the rich text in context with the rest of the data from the entry form.
  3.  If there’s no way to integrate the rich text stuff right now (and I mean a better way than integrating the richtextbox, I need something that can paginate), will there be a solution in the Q1 2011 release? Otherwise I need to look for alternatives to make my deadline.
Ivailo Karamanolev
Telerik team
 answered on 22 Feb 2011
3 answers
88 views
Hello,

It appears that there is some difference between how some filter operators work.  For example, when using the "Contains" operator on a string column, the filter is not invoked until Enter is pressed, but when using "Is Greater Than" on a numeric column, the filter updates as keys are pressed. 

Is there any way to disable this "on-keypress"/"real-time" behaviour?  I have found that with large tables it can be very sluggish to re-filter on every key press.  I.e. when wanting to filter on something greater than say "200", it will filter for great than "2" then greater than "20" then finally greater than "200".

Thanks,
Mark.


Rossen Hristov
Telerik team
 answered on 22 Feb 2011
4 answers
174 views
Hi,  I'm currently evaluating this component,

One of my requirements is handling resource availability. Therefore I'd like to change the color of individual slots (red) depending on the shown resource. I succeeded in doing just that in the RadSheduler using a custom  TimeSlotTemplateSelector (DataTemplate Selector) and a ColorConverter. How would I do that in the SheduleView?
Nico
Top achievements
Rank 1
 answered on 22 Feb 2011
3 answers
82 views
Error 1 '/Telerik.Windows.Controls.Input;component/Themes/GenericExpressionDark.xaml' value cannot be assigned to property 'Source' of object 'System.Windows.ResourceDictionary'. '/Telerik.Windows.Controls.Input;component/themes/Expression/Dark/ComboBox.xaml' value cannot be assigned to property 'Source' of object 'System.Windows.ResourceDictionary'. Could not load type 'Microsoft.Windows.Design.Metadata.ProvideMetadataAttribute' from assembly 'Microsoft.Windows.Design.Extensibility, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Line '7' Position '230'.  Error at object 'System.Windows.ResourceDictionary' in markup file 'Telerik.Windows.Controls.Input;component/Themes/GenericExpressionDark.xaml'.  Error at object 'System.Windows.ResourceDictionary'. d:\Development\Projects\TelerikDateSelectCal\TelerikDateSelectCal\Window1.xaml 104 9 TelerikDateSelectCal
Vanya Pavlova
Telerik team
 answered on 22 Feb 2011
2 answers
44 views
HI!

Error 110 '/Telerik.Windows.Controls.Input;component/Themes/GenericExpressionDark.xaml' value cannot be assigned to property 'Source' of object 'System.Windows.ResourceDictionary'. '/Telerik.Windows.Controls.Input;component/themes/Expression/Dark/ComboBox.xaml' value cannot be assigned to property 'Source' of object 'System.Windows.ResourceDictionary'. Could not load type 'Microsoft.Windows.Design.Metadata.ProvideMetadataAttribute' from assembly 'Microsoft.Windows.Design.Extensibility, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Line '7' Position '230'.  Error at object 'System.Windows.ResourceDictionary' in markup file 'Telerik.Windows.Controls.Input;component/Themes/GenericExpressionDark.xaml'.  Error at object 'System.Windows.ResourceDictionary'. D:\Development\Merged Modules\2011.02.10\TabsFMWpfXbapReactiveMaintenance\TabsFMWpfXbapReactiveMaintenance\PMJobsExtPage.xaml 4225 33 TabsFMWpfXbapReactiveMaintenance

can any please let me know why I'm getting this design error.

I'm using VS2008 sp1, 3.5 sp1 win 7 64bit. 

My XAML
 

 

 

 

<Window x:Class="TelerikDateSelectCal.Window1"
    xmlns:telerikQuickStart="clr-namespace:Telerik.Windows.Controls.QuickStart;assembly=Telerik.Windows.Controls"        
    xmlns:local="clr-namespace:TelerikDateSelectCal"
    Title="Window1" Height="300" Width="552"
    xml:lang="en-GB">
    <Window.Resources>
          
        <local:CustomTemplateSelector x:Key="WorksDiaryDayTemplateSelector">
              
            <local:CustomTemplateSelector.SelectedRed>
                <DataTemplate>
                    <Border Background="Red" Width="20">
                        <TextBox Background="Transparent" Text="{Binding Text}"
                        BorderThickness="0"/>
                    </Border>
                </DataTemplate>
            </local:CustomTemplateSelector.SelectedRed>
  
            <local:CustomTemplateSelector.SelectedGreen>
                <DataTemplate>
                    <Border Background="Green" Width="20">
                        <TextBox Background="Transparent" Text="{Binding Text}"
                        BorderThickness="0"/>
                    </Border>
                </DataTemplate>
            </local:CustomTemplateSelector.SelectedGreen>
  
            <local:CustomTemplateSelector.SelectedBlue>
                <DataTemplate>
                    <Border Background="Blue" Width="20">
                        <TextBox Background="Transparent" Text="{Binding Text}"
                        BorderThickness="0"/>
                    </Border>
                </DataTemplate>
            </local:CustomTemplateSelector.SelectedBlue>
  
            <local:CustomTemplateSelector.SelectedYellow>
                <DataTemplate>
                    <Border Background="Yellow" Width="20">
                        <TextBox Background="Transparent" Text="{Binding Text}"
                        BorderThickness="0"/>
                    </Border>
                </DataTemplate>
            </local:CustomTemplateSelector.SelectedYellow>
  
            <local:CustomTemplateSelector.SelectedBlank>
                <DataTemplate x:Name="Test">
                        <TextBox Background="Transparent" Text="{Binding Text}"
                        BorderThickness="0" Width="20"/>
                </DataTemplate>
                </local:CustomTemplateSelector.SelectedBlank>
        </local:CustomTemplateSelector>
  
  
  
    </Window.Resources>
      
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto"/>
            <ColumnDefinition Width="20*"/>
        </Grid.ColumnDefinitions>
          
        <Grid Grid.Column="0">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto"/>
                <ColumnDefinition Width="20*"/>
            </Grid.ColumnDefinitions>
  
            <StackPanel Grid.Column="0">
                <Button Name="btnRed" Width="20" Height="20" Margin="3" Background="Red" Click="SetComboOpen"/>
                <Button Name="btnGreen" Width="20" Height="20" Margin="3" Background="Green" Click="SetComboOpen"/>
                <Button Name="btnBlue" Width="20" Height="20" Margin="3" Background="Blue" Click="SetComboOpen"/>
                <Button Name="btnYellow" Width="20" Height="20" Margin="3" Background="Yellow" Click="SetComboOpen"/>
                  
                <TextBox Margin="4" Name="txt1" Height="50" BorderBrush="BlueViolet" TextWrapping="Wrap"
                         Width="150"></TextBox>
                  
                <telerik:RadGridView>
                      
                </telerik:RadGridView>
                  
            </StackPanel>
              
            <StackPanel Grid.Column="1">
                <ComboBox Name="cmbRed" Width="175" Margin="2" DropDownClosed="SetCacBackColor" >
                    <ComboBoxItem>Red</ComboBoxItem>
                </ComboBox>
                <ComboBox Name="cmbGreen" Width="175" Margin="2" DropDownClosed="SetCacBackColor">
                    <ComboBoxItem>Green</ComboBoxItem>
                </ComboBox>
                <ComboBox Name="cmbBlue" Width="175" Margin="2" DropDownClosed="SetCacBackColor">
                    <ComboBoxItem>Blue</ComboBoxItem>
                </ComboBox>
                <ComboBox Name="cmbYellow" Width="175" Margin="2" DropDownClosed="SetCacBackColor">
                    <ComboBoxItem>Yellow</ComboBoxItem>
                </ComboBox>
            </StackPanel>
        </Grid>
  
        <telerik:RadCalendar x:Name="calendar" Grid.Column="1"
                Margin="2" SelectionMode="Single"
                IsTodayHighlighted="True" ViewsHeaderVisibility="Collapsed" Culture="en-GB"
                Rows="1" Columns="1" 
                SelectionChanged="calendar_SelectionChanged"
                DayTemplateSelector="{StaticResource WorksDiaryDayTemplateSelector}"/>
    </Grid>
</Window>

 

 

 

 

 

 

 

 

Thanks
Rahul Singh
Vanya Pavlova
Telerik team
 answered on 22 Feb 2011
5 answers
162 views
Good day!
Will these be supported in the WPF version? How about in the Silverlight version?

Thank you very much.
Ivailo Karamanolev
Telerik team
 answered on 22 Feb 2011
1 answer
182 views
Hello...
I'm developing Messenger App..
I made chatting window from radpane..
that could be like tabcontrol in radpanegroup.
all chatting window is in raddocking..
anyway I want if some radpane got message than that pane will blink..
i can make blinking taskbar and window using flashwindow..
but i dont know how i can make blink radpane...
please help me...

Pana
Telerik team
 answered on 22 Feb 2011
4 answers
150 views
Hi,

Is there a version available for .net 4?

Thanks,

Adam
Boby
Telerik team
 answered on 22 Feb 2011
1 answer
151 views
I've been trying to get the editor to load a different language for spellcheck, I have the tdf files saved as resources in my assembly.

this is the code:

private void LoadDictionary(string language)
        {
            var res = Properties.Resources.es_ES;
            MemoryStream tdfFileStream = new MemoryStream();
            tdfFileStream.Write(res, 0, res.Length);
            RadDictionary dictionary = new RadDictionary();
            dictionary.Load(tdfFileStream);
            ((DocumentSpellChecker)editor.SpellChecker).AddDictionary(dictionary, CultureInfo.InvariantCulture);
        }

what am I doing wrong?
Boby
Telerik team
 answered on 22 Feb 2011
1 answer
147 views
Hi,

the download functionality of project upgrade wizard is great. But it is useless in our company's environment due to the need to authenticate through proxy. We use basic proxy authentication via username and password. Aftre pressing "Download" a dialog "Get Latest Version" appears stating "error retrieving latest version information." In IE9 the proxy is set. So I need a dialog to enter username/password for this session and/or use Visual Studios credentials I entered for e.g. Webbrowser/Extension Manager etc.

Greetings,
Daniel

Erjan Gavalji
Telerik team
 answered on 21 Feb 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?