We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Initial Value

Thread ID:

Created:

Updated:

Platform:

Replies:

124625 Jun 19,2016 03:45 AM UTC Jun 27,2016 11:26 AM UTC Xamarin.Forms 5
loading
Tags: SfNumericTextBox
Atif
Asked On June 19, 2016 03:45 AM UTC

Hi i am trying to show only watermark on initial page load but control shows 0. 

Thanks

Hemalatha Marikumar [Syncfusion]
Replied On June 20, 2016 11:16 AM UTC

Hi Atif,

Thanks for contacting Syncfusion Support.

Your requirement can be achieved by using "AllowNull" property. Initially, by setting AllowNull property to true, we can get the view of Watermark text in NumericTextBox. We have created a sample for the same and it can be downloaded from the following link

Link: http://www.syncfusion.com/downloads/support/forum/124625/ze/NumericUpDownBind-1390440

Regards,
Hemalatha M.R

Atif
Replied On June 20, 2016 09:08 PM UTC

NO solution did'nt work, So what i did i should write this code 

[assembly: ExportRenderer (typeof (ExtendedSfNumericTextBox), typeof (NumericTextRenderer))]
namespace LUMISOFTMyWellnessPortaliOS
{
    class NumericTextRenderer : SfNumericTextBoxRenderer
    {

        protected override void OnElementPropertyChanged (object sender, System.ComponentModel.PropertyChangedEventArgs e)
        {
            base.OnElementPropertyChanged (sender, e);

            if (Control != null) {
                Control.BorderStyle = UIKit.UITextBorderStyle.RoundedRect;
                if (Control.Text.StartsWith ("0"))
                    Control.Text = null;
            }
        }
    }

}

For now its ok but please guide me the best solution because in ios iam facing the problem.

Hemalatha Marikumar [Syncfusion]
Replied On June 21, 2016 12:13 PM UTC

Hi Atif,

Thanks for your update.

We were able to reproduce the issue "AllowNull is not working with iOS Xamarin" and have logged defect report regarding this. A support incident to track the status of this defect has been created under your account. Please log on to our support website to check for further updates.

https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents/

Regards,
Hemalatha M.R

Atif
Replied On June 24, 2016 06:45 PM UTC

Thanks

Paul Anderson S [Syncfusion]
Replied On June 27, 2016 11:26 AM UTC

Hi Atif,

Please follow the support incident for other updates related to the reported issue.

Regards,
Paul Anderson

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;