Telerik Forums
UI for WPF Forum
15 answers
1.0K+ views
Hello,

It's me again =)
I have a question about NullValue property:
Here is my numericUpDown control code:
As you see i want RadNumericUpDown to show nothing in it's textbox when it's binding value is null. But when the the userControl with this numericUpDown is loaded i see the value $0.00 in it's textbox instead of "empty" string.

<telerik:RadNumericUpDown Name="numericVMDNQRS"
            NullValue="" Value="{Binding Path=Tier.VMDNQRS,ValidatesOnDataErrors=True,UpdateSourceTrigger=PropertyChanged,Mode=TwoWay}"
            IsEditable="True" AutoReverse="False" Minimum="0"          
            SmallChange="0.1"
            LargeChange="1" V
            alueFormat="Percentage"
            DataContext="{Binding}"/>


When i delete everything from textbox and it loses focus everything works well: no value appears in textbox.
I tried to check Value property of RadNumericUpDown on Initialized and Loaded event - it's not null but 0.0.
I also tried to inherit from RadNumericUpDown and override FormatDisplay mehtod to check the value that it get from argument, but it's also 0.0.
So the question is how to show nothing in RadNumericUpDown textbox when it has just loaded and it's binding value is null?
Dilyan Traykov
Telerik team
 answered on 26 Feb 2018
10 answers
172 views

Hi,

On my fields list I setting a custom display name.

When I dragged field from field list and I dropped to reportfilter/column label/ row label or values it keep the right name.

But when I drag field between reportfilter, column label, row label and values the dragged item show the Property name instead of the Display Name (see the attachment)

How can I fix it?

Thank you

Mattia
Top achievements
Rank 2
 answered on 26 Feb 2018
2 answers
462 views
If the user hides the searchpanel, the search values in the Background are still active. How can this i delete the values when the user closing the searchpanel.
Harald
Top achievements
Rank 2
 answered on 26 Feb 2018
3 answers
657 views

I want to cancel the delete event and not delete the current record. I just want to edit the current record and set the property "IsActive = false". 

1.private void MyDataForm_DeletingItem(object sender, System.ComponentModel.CancelEventArgs e)
2.        {
3.            Person currentPerson = this.MyDataForm.CurrentItem as Person;
4.            currentPerson.IsActive = true;
5.            e.Cancel = true;
6.        }

This code does not work. How can I implement the function?

 

 

Harald
Top achievements
Rank 2
 answered on 26 Feb 2018
2 answers
319 views

When binding to a dynamic object in the grid, we all know that the Dynamic column will be treated as an object and the cell templates will not be what is expected for some columns. Is there a property on the Column (I haven't found one digging in the source yet) to set the columns data type or do I need to use a Template Selector to achieve this per column that I don't want to be treated as a string?

 

Thanks,
Maurice

Maurice
Top achievements
Rank 1
 answered on 23 Feb 2018
133 answers
1.6K+ views

RadCalendar:

RadDiagram:

  • Create custom shapes in the RadDiagram with MVVM - The forum thread elaborates on how to create custom shapes in the RadDiagram following an MVVM approach.
  • Populate the RadDiagramToolbox with custom business data - In this forum thread you can find a sample solution and guidelines on how to populate the RadDiagramToolbox with custom business data and based on the data type drop different objects on the diagramming surface. The attached solution also demonstrates an approach for providing custom information in a SettingsPane tab.
RadGridView:
  • Unfocused state for the selected GridViewRow - With Q2 2012 we have introduced a new Unfocused state for the selected GridViewRow. It will be shown when the GridView is out of focus. If you want to revert to the previous behavior you can check this help article.
RadPivotGrid: RadRichTextBox:
  • Guidelines for Printing with RadDocument - As RadDocument is sometimes used independently of RadRichTextBox to layout content and export it, this article explains the basics of creating a document programmatically.
Dinko | Tech Support Engineer
Telerik team
 answered on 23 Feb 2018
7 answers
124 views
Dear Sir,

We want extend RadPanelBar and RadPanelBarItem to make them multilingual in accordance with our multilingual framework. But problem is that as soon as we extend these classes it do not render at all even if we do not write single line of code in the extended class.

Same problem is also with other controls like Tab Control.

Please suggest us how to resolve this issue.

Regards
Vinay
Dinko | Tech Support Engineer
Telerik team
 answered on 23 Feb 2018
1 answer
104 views

Bing's branding guidelines states, "Bing Maps data provider attribution information can be accessed through the Get Imagery Metadata method in Bing Maps REST Services."

https://www.microsoft.com/en-us/maps/mobile-brand-guidelines

I see there's an imagery metadata classes in RadMaps, but I don't see how to access or use them. Can you provide an example?

Petar Mladenov
Telerik team
 answered on 23 Feb 2018
3 answers
471 views

In one of our applications, we want to restrict access to a configuration page.

Throughout the application, we are using RadWindow.Alert, Confirm and Prompt as our UI messaging system.

We don't need a crazy overdoing of security to restrict the configuration page, but it would be nice if we could change the TextBox of the RadWindow.Prompt to be a PasswordBox so the contents of the box are not visible to anyone looking at the screen.

Is there any way to do this? I would rather stay with the consistent look/behavior of using the RadWindow since we are already using it in several other places.

Thanks!!

Paul

 

Martin Ivanov
Telerik team
 answered on 23 Feb 2018
1 answer
105 views

Hello,

I am trying to spellcheck certain controls in our project. However, whenever I make a call to RadSpellChecker.Check(this.textBox1, SpellCheckingMode.WordByWord), the corresponding spell checking window does not seem to load/open properly (there is just a transparent footprint of the window). Our project uses implicit themes  and we suspect this is causing the problem. On a small test project (no implicit themes), the RadSpellChecker seems to work fine. Thank you.

Tanya
Telerik team
 answered on 23 Feb 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
Slider
Expander
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
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
WebCam
CardView
DataBar
Licensing
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
HighlightTextBlock
Security
TouchManager
StepProgressBar
VirtualKeyboard
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?