Telerik Forums
UI for WPF Forum
3 answers
165 views
I'm working with a grid and need to be able to mask one of the columns with the following format:

XXX-XXXXXX-XXXX-XXXX

An X can be either [0-9] or [A-Z]. Lowercase input could also be allowed, in which case it would be normalized to uppercase before being saved to the data store.

Is there any way to use the built-in masking for this? If not, how would I get started with rolling my own (i.e. what events do I hook when a character is entered, etc.)?
Vlad
Telerik team
 answered on 11 Aug 2010
3 answers
388 views

Is it possible to have a different DisplayContent that is detached from the member on the GroupDescriptor object for the RadGrid?

 

Scenario: EscalationID is a guid and is set as the member. However, to make the UI user friendly. I need to change the grouping "Header" to a custom text or a different member.

Vlad
Telerik team
 answered on 11 Aug 2010
1 answer
209 views
I did this
<UserControl.Resources>
               <Style x:Key="ComboBoxStyle" TargetType="{x:Type Input:RadComboBox}">
            <Setter Property="Width" Value="100"/>
            <Setter Property="Margin" Value="5,2"/>
            <Setter Property="HorizontalAlignment" Value="Left"/>
            <Setter Property="IsEditable" Value="False"/>
            <Setter Property="IsReadOnly" Value="True"/>
        </Style>
    </UserControl.Resources>
but the style is not reflectes on the ComboBox. is this not the correct way to style the Combobox???
Dani
Telerik team
 answered on 11 Aug 2010
3 answers
267 views
I can get static content to work all day long in the template, but it doesn't seem to pick up my binding.

Any ideas what I'm doing wrong?

Template
<DataTemplate x:Key="busyTemplate">
                <StackPanel Orientation="Vertical">
                    <Label Content="Synchronizing EliteLive.sdf with the remote database."/>
                    <TextBlock Text="{Binding SyncStatus}" TextWrapping="Wrap"/>
                </StackPanel>
            </DataTemplate>

BusyIndicator
<telerik:RadBusyIndicator x:Name="busyIndicator" Grid.Row="0" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"
                IsBusy="True"
                IsIndeterminate="True"
                ProgressValue="{Binding PercentageComplete}"
                BusyContentTemplate="{StaticResource busyTemplate}" >
            </telerik:RadBusyIndicator>
Pana
Telerik team
 answered on 11 Aug 2010
1 answer
446 views
I have just started using the Rad Map control. I am using the Bing Map Provider. As far as I can tell when using the spatial reference "MercatorProjection" the only way to provide a latitude or longitude value in the loation object is to use the Geographic Coordinate System value, not the Projected vlaue. For example I would use the pair  "42.358431,-71.059773" instead of "4640731,-8854878". I would prefer to use the Projected values, is that possible? Thanks.
Andrey
Telerik team
 answered on 11 Aug 2010
1 answer
97 views
i am unable to find watermark Property in Datettimepicker. can i set it in demo version ?
Konstantina
Telerik team
 answered on 11 Aug 2010
2 answers
71 views
Hello,

After doing a demo of a prototype application built with several of your controls an interesting request came up.  Is there a fairly simple way to accomplish various panes with the same gridview displayed?  Many of the microsoft products these days have this type of functionality.  For Example if you go into an Excel worksheet and hover by the corner of the window you will get a handle that will allow you to pull the pane vertically or horizontally exposing a new pane with the same worksheet.  I could imagine accomplishing this with the Docking.SplitContainer.  Could you let me know if the GridView itself supports something like this or what you think the next best option for this would be?

Thanks,

Jason Munger
Jason
Top achievements
Rank 1
 answered on 11 Aug 2010
8 answers
458 views
Hi,
i need to update my gridview programmatically but nothing i have tried is working. thats my scenario:
i have a grid with several different columns (combobox-, textbox-, checkbox-column), some of them can be edited, some of them are calculated and can't be edited by user. one row is representing one object, the grid is bound via itemsource.
the following process has to be implemented now:
1. user changes the value of an editable field
2. cell_validating-event is fired
3. in the cell_validating-event, the input is first verified. if the inserted value is okay, 3 other values are generated (bound to 3 non-editable columns)
4. after assigning the new values the grid needs to be updated (generated values should show up).

everything is working till step 4. i have tried to assign a new itemsource and call rebind, i have checked on the bindings, but nothing is working. if i load the page containing the grid a second time my data is showing up, but it need to be there directly after the validation! any suggestions?
Vlad
Telerik team
 answered on 11 Aug 2010
3 answers
121 views
Hi,

Here is a new problem, but more simple than the first

I would like to bind a property which return a  List<string> to XLabel of my Chart. (If it's posible by XAML code)

Here is two screenshot of what i would like to get :

avant.png is what I've got with classic chart
apres.png is what I expect.

I'm using RadControls for WPF Q2 2009

Thank's.
Yves
Top achievements
Rank 1
 answered on 11 Aug 2010
3 answers
110 views

Greetings,  I am attempting to use the LinearScale to show a simple horizontal gauge with a Custom TickList that I am attempting to databind the ItemsSource to a POCO.  I do not want any other tick marks to show on the gauge. Is this possible?  I keep getting an error about the ticks collection not being empty.

        <telerik:RadGauge Height="50" HorizontalAlignment="Left" Margin="10,20,0,0" Name="radGauge1" VerticalAlignment="Top" Width="300">  
            <telerik:LinearScale Name="linearScale" Orientation="Horizontal" Width="300" Height="40" Left="0.02" Top="0.06" MajorTicks="0" 
                                     Min="0" Max="{Binding Resident.ResidentType.CareLevels, Converter={StaticResource CareLevelToMaxRangeConverter}}"   
                                     StartWidth="0.02" EndWidth="0.02" StrokeThickness="0.5">  
                <telerik:TickList ItemsSource="{Binding Resident.ResidentType.CareLevels, Converter={StaticResource CareLevelToTicksConverter}}">  
                </telerik:TickList> 
                <telerik:RangeList ItemsSource="{Binding Resident.ResidentType.CareLevels, Converter={StaticResource CareLevelToRangeConverter}}"/>  
                <telerik:IndicatorList> 
                    <telerik:LinearBar Width="10" Name="linearBar" TooltipFormat="Daily Minutes: {0:F1}" 
                                        Value="50" 
                                        Location="CenterInside" SnapType="None"/>  
                </telerik:IndicatorList> 
            </telerik:LinearScale> 
 
        </telerik:RadGauge> 
Andrey
Telerik team
 answered on 10 Aug 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?