Telerik Forums
UI for WPF Forum
2 answers
1.0K+ views

Hi,

I need to know if there's any way to validate empty radwatermark text box when the there's an empty string in the textbox. If the radwatermarktextbox is empty I need to get the red border and show a display that textbox is empty before adding the entries of these text box to gridview. 

Babitha
Top achievements
Rank 1
 answered on 05 Jun 2018
1 answer
196 views

I followed the Custom Filtering Control in the GridView.

<telerik:RadGridView Name="radGridView" AutoGenerateColumns="False">
  <telerik:RadGridView.Columns>
    <telerik:GridViewDataColumn DataMemberBinding="{Binding FirstName}" Header="First Name" HeaderCellStyle="{StaticResource MyStyle}"/>
    <telerik:GridViewDataColumn DataMemberBinding="{Binding LastName}" Header="Last Name" HeaderCellStyle="{StaticResource MyStyle}"/>
    <telerik:GridViewDataColumn DataMemberBinding="{Binding HireDate}" Header="Hire Date " HeaderCellStyle="{StaticResource MyStyle}">
      <telerik:GridViewDataColumn.FilteringControl>
        <local:FromDateToDateFilterControl FromDate="1/1/1990" ToDate="1/1/1995"/>
      </telerik:GridViewDataColumn.FilteringControl>
    </telerik:GridViewDataColumn>
  </telerik:RadGridView.Columns>
</telerik:RadGridView>

Also I set the style as

<Style x:Key="MyStyle" TargetType="telerik:GridViewHeaderCell">
                      <Setter Property="Foreground" Value="Black" />
                      <Setter Property="Template" Value="{...}" />
                </Style>

But I found the headers are not showing.

I saw the Template contains

<ContentControl x:Name="ContentPresenter" Contemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}"  >

I found the content caused the problem. If I use the hard coded content then I can see the headers.

Many thanks for code help.

Trump
Top achievements
Rank 1
 answered on 04 Jun 2018
3 answers
78 views

Hi Telerik,

With search as you type, if I type:

Bob Smith

It will currently return any rows that contain BOB or SMITH.  I want to change it so that it will only return rows that contain BOB and SMITH.

How do I do that?

Vladimir Stoyanov
Telerik team
 answered on 04 Jun 2018
11 answers
275 views

Hi, I'm using RadRichTextBoxRibbonUI to setup a document editor. In runtime when trying to change a paragraph's properties like Indention and Spacing through the default UI dialog, the corresponding boxes don't show current values and new values can't be entered. The up-down numeric boxes for right and left indention and for before and after paragraph spacing seem to be not bound to these properties of the paragraph. Other controls in the dialog window like the background color, alignment and line spacing comboboxes are working. Only RadNumericUpDown controls have a problem.

Can you please advise what could be missing for the Paragraph properties dialog to work as expected or point me to a tutorial for correctly setting up a document editor?

George
Top achievements
Rank 1
 answered on 04 Jun 2018
1 answer
186 views

I noticed something strange for the radpane.

 

I seems that in Xaml the statchange event is visible but it isn't in the properties of VS neither in code behind.

Is this a bug? See screenshot

Dinko | Tech Support Engineer
Telerik team
 answered on 04 Jun 2018
10 answers
239 views

First of all , Hello !

Im using maps and i have question about clustering. Currently im manipulating with 1000 objects and displaying them on my map and clustering them(  of course).
But on zoom level 7 i have arround 100 clusters. How can i set that on zoom level 7 i have maybe 5 clusters .  Or can you give me idea or example where you are setting different condition for clusters

in attachment is picture on zoomLevel=7 and clusters

Thank you

Martin Ivanov
Telerik team
 answered on 04 Jun 2018
1 answer
95 views
I have an issue with the Spellchecker window sometimes appearing behind the main application window. Is there any way to move the window to the top when it opens? I don't see any way to reference the Spellchecker window itself after it opens.
Tanya
Telerik team
 answered on 04 Jun 2018
2 answers
232 views

Hello,

 

I have created a Radwizard Application (c#) that has a HeaderTemplate and a FooterTemplate.

 

Inside the footer i have created custom radbuttons for back, cancel, next and finish. However, i cannot seem to access them in the code behind.this.Rad.

 

RadWizard.xaml:

<Window
                xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
                xmlns:wizard="clr-namespace:Telerik.Windows.Controls.Wizard;assembly=Telerik.Windows.Controls.Navigation"
                x:Class="App.MainWindow"  
                Height="450" Width="600"
                Title="MyApp">
    <telerik:RadWizard x:Name="Rad" IsContentPreserved="True" Background="#dee3e9">
        <telerik:WizardPage HeaderHeight="90">
            <telerik:WizardPage.HeaderTemplate>
            ...
            </telerik:WizardPage.HeaderTemplate>
            <telerik:WizardPage.FooterTemplate>
<DataTemplate>
                    <StackPanel Orientation="Horizontal" Margin="-0.5 -0.5 -1.51 -2" HorizontalAlignment="Left" Width="650">
                        <telerik:RadButton x:Name="Back"
                                           Content="< Back"  
                                           Margin="160 5 5 5"
                                           Command="wizard:RadWizardCommands.MoveCurrentToPrevious"/>
                    </StackPanel>
</DataTemplate>
            </telerik:WizardPage.FooterTemplate>
</Window>

I need to acess the RadButton inside the footertemplate from the code behind.

 

Can anyone help me?

 

Regards

Ricardo
Top achievements
Rank 1
 answered on 04 Jun 2018
1 answer
952 views

Hi, I'm using a RadGridView and I call a RowEditEnded function to:

Edit all columns when the first column value is 1, but after I changed the columns values the Grid values are not updated in real time.

My simple code is:

            AreaCoeficienteEscoamento updatedItem = e.Row.Item as AreaCoeficienteEscoamento;
            updatedItem.Area = 333;
            updatedItem.Coeficiente = 333;
            // How to update and refresh the table values?

Thks!

Martin Ivanov
Telerik team
 answered on 04 Jun 2018
4 answers
178 views

Hi Progress,

 

I was wondering if it is possible to combine BaseLine_WPF project and ProjectDeadline_WPF project inside your xaml-sdk-master samples/Examples?

If I have understood this correctly, TimelineContainerSelector in Xaml can only have one child. How can I give several behaviors to TimelineContainerSelector?

 

Thanx

Best Regards

kourosh

Martin Ivanov
Telerik team
 answered on 04 Jun 2018
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?