Telerik Forums
UI for WPF Forum
2 answers
161 views
Hi,
We've just upgraded to Q2 2014 and replaced retired RadMaskedTextBox with RadMaskedTextInput with these properties set
<Setter Property="Mask" Value="###-###-####" />
<Setter Property="EmptyContent" Value="___-___-____" />
<Setter Property="IsClearButtonVisible" Value="False" />
<Setter Property="AllowInvalidValues" Value="False"></Setter>

Two issues:
1. Mask is set to ###-###-####. However, it allows for spaces.
2. I can't paste more than once into it. First Paste works fine, but then if I delete the contents and paste again  with Context Menu Paste, nothing happens.  If I use Ctrl+V, it does paste but only after second try.

Is there a way to fix both?
Petar Mladenov
Telerik team
 answered on 21 Jul 2014
1 answer
143 views
I just upgraded to the latest WPF controls.  Now the tool bar is acting funky.  I have a grid within the toolbar that has various labels and text boxes.  It displayed fine before the upgrade.  Now the tool bar displays a black tool bar but by clicking on the arrow on the far right side of the control the correct tool bar pops up above the tool bar.

I've played around with the band and band index settings but nothing works.

Any help would be greatly appreciated.
Petar Mladenov
Telerik team
 answered on 21 Jul 2014
1 answer
202 views
Hi,

I have two questions

1. Is it possible to bind the tileview header colour?
2. Can I seet the size of the maximised tile?

Regards,
Joe
Pavel R. Pavlov
Telerik team
 answered on 21 Jul 2014
5 answers
442 views
Hello,

I have a view with RadGridView and RadDataPager. Grid´s source is PagedSource of data pager. Data pager is bound to IQueryable of items so Data pager manages data reading itself. Paging is working well but I don´t know how to refresh grid if user pressed a button for manual refresh. I have tried to use Grid.Rebind() but it didn' t work. Is there any method I could call to explicitly cause Data pager to reads data from database? And is there any event triggered during it? Because I would like to use busy indicator during the refresh.

Thanks,
Karel Bem
Yoan
Telerik team
 answered on 18 Jul 2014
2 answers
144 views
Hi support,

I am adding a AggregateFunction to a gridcolumn with the following code:

bool showFooter = false;
foreach (var col in radGridView.Columns)
{
    if (col.UniqueName == "dauer") // Column with double-values
    {
        col.AggregateFunctions.Add(new SumFunction() { ResultFormatString = strFormat, SourceField = col.UniqueName });
        showFooter = true;
    }
}
radGridView.ShowColumnFooters = showFooter;

Adding a footer should only happens if my table has a column of data-type double named "dauer" otherwise columnfooters should not been shown. After doing this the footer has correctly been show but the first time the sum of the column is displayed when I sort a column of the grid via clicking on a column header.

You can reproduce this behavior in your sample-program "persistence framework / gridview serialization" when you put these lines of code in function "OnLoad" of Example.xaml.cs after calling this.EnsureLoadState() (of course you have to add a new column "dauer" to your dataset)

What do I have to do to show the results of the aggregate-function directly.

Thanks in advance

Marcus
Marcus
Top achievements
Rank 1
 answered on 18 Jul 2014
1 answer
138 views
Hello, is there a possibility to place a custom text defined in EventContainerTemplate
outside from gantbar i.e. startdate and enddate at upper left or upper right corner? 

Greetings, Robert
Polya
Telerik team
 answered on 18 Jul 2014
4 answers
128 views
Hi

I need to give to the user the possibility to build filter not only between a Member and a value (like Column1 = 10) but also between two members (like Column1 >= Column2).

How could I do?

Dimitrina
Telerik team
 answered on 18 Jul 2014
1 answer
172 views
how to get current selected row without select row. only when change combobox item.
how to get current grid row according selected combobox?

I want when I select only last combobox to get last grid row item? Hot to do that?

See attached image for more info.

<telerik:GridViewDataColumn Header="NASA - NSSDC ID: ASTRO-1 " Width="350" IsReadOnly="True">
                            <telerik:GridViewDataColumn.CellTemplate>
                                <DataTemplate>
                                    <StackPanel Orientation="Horizontal"  >                                      
                                        <telerikInput:RadComboBox Width="342" ItemTemplate="{StaticResource dtE}" x:Name="rcbEvent"
                                                    ItemsSource="{Binding Path=DataContext.EvCollection, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type UserControl}} }"                                                                                                      
                                                    SelectedValuePath="ID"
                                                    SelectedValue="{Binding Path=EvField.ID, UpdateSourceTrigger=PropertyChanged, ValidatesOnDataErrors=true, NotifyOnValidationError=true, Mode=TwoWay }"
                                                    SelectedItem="{Binding Path=EvField, UpdateSourceTrigger=PropertyChanged, ValidatesOnDataErrors=true, NotifyOnValidationError=true, Mode=TwoWay }" SelectionChanged="rcbSo_SelectionChanged" />
                                    </StackPanel>
                                </DataTemplate>
                            </telerik:GridViewDataColumn.CellTemplate>
                        </telerik:GridViewDataColumn>
kity
Top achievements
Rank 2
 answered on 18 Jul 2014
11 answers
356 views
Hi everyone,

I'm creating RadWindow in separate thread, but when I reopen window after closing it , I'm getting System.Threading.Tasks.TaskCanceledException and don't know why. Here is my code

private void OnCreateNewWindow( object sender,  RoutedEventArgs e)
{
 
Thread thread = new Thread(() =>
                    {
 RadWindow win = new RadWindow();
 
 win.Show();
 
                            win.Closed += (sender2, e2) =>
                                {
                                    win.Dispatcher.InvokeShutdown();
                                };  
 
System.Windows.Threading.Dispatcher.Run();
});
 
thread.SetApartmentState(ApartmentState.STA);
                thread.IsBackground = true;
                thread.Start();
}
Tigran
Top achievements
Rank 1
 answered on 18 Jul 2014
4 answers
175 views
Hi,

my approach is to make sure that an appointment has a TimeMarker and a Category.

The TimeMarker is set by code - so I want to remove the TimeMarker Combobox from the edit / create dialog.

The Category on the other hand MUST selected in the "create dialog"...
BUT:
a.) The "Clear" Button in the category combobox should be removed
--NO clear - just mandatory select
b.) The category Combobox should be disabled if the appointment is edited (not newly created)

How can this be done? (Pleas no "Code behind event handlers" if possible)

Manfred
Kalin
Telerik team
 answered on 18 Jul 2014
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
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
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
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
InlineAIAssistant
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?