telerik:Masked inputs and IMulticonverters

0 Answers 48 Views
MaskedInput (Numeric, DateTime, Text, Currency)
Paul
Top achievements
Rank 1
Paul asked on 14 Jul 2022, 02:38 PM

I have a number of xaml files that are are using telerik masked inputs, specifically

  • telerik:RadMaskedDateTimeInput
  • telerik:RadMaskedNumericInput

and will likely be using more. These are being used to make sure the user is entering the correct input. Once the user enters the input the input data needs to run through a multiconverter. I have not been able to find a solution to bind the input data to a muliconverter. Is this possible?

I have been able to make this work in the RadGrid columns using the published work around which does not work in this context and am looking for either a way to make this work or if this is even possible.

For example, below is one of the date time inputs. How can the bound data, singleSpeedDataInt, be run through a multi binding converter?

   <telerik:RadMaskedDateTimeInput
                                                     IsEnabled="{Binding singleSpeed.UseDataInt, Mode=OneWay}"
                                                     IsClearButtonVisible="false"
                                                     Placeholder=""
                                                     Mask="HH:mm:ss"
                                                     Height="36"
                                                     Width="120"
                                                     Margin="8,0,0,0"
                                                     Value="00:01:00"
                                                     Text="{Binding singleSpeed.DataInt, Mode=TwoWay}" />
  
Paul
Top achievements
Rank 1
commented on 14 Jul 2022, 02:40 PM

The above text should read IMultiValueConverter
Paul
Top achievements
Rank 1
commented on 15 Jul 2022, 01:22 PM

Got it to work using the tags 

 <telerik:RadMaskedNumericInput.Text>

Multibinding code here

 </telerik:RadMaskedNumericInput.Text>

No answers yet. Maybe you can help?

Tags
MaskedInput (Numeric, DateTime, Text, Currency)
Asked by
Paul
Top achievements
Rank 1
Share this question
or