Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > MaskedTextBox > Property or indexer 'Telerik.Windows.Controls.RadMaskedTextBox.MaskedText' cannot be assigned to -- it is read only

Not answered Property or indexer 'Telerik.Windows.Controls.RadMaskedTextBox.MaskedText' cannot be assigned to -- it is read only

Feed from this thread
  • Ravi avatar

    Posted on Oct 27, 2011 (permalink)

    Hi All,

    I am trying to assign a simple value to the radmaskedtextbox and when i build the project it is giving me the following error.


     Property or indexer 'Telerik.Windows.Controls.RadMaskedTextBox.MaskedText' cannot be assigned to -- it is read only

    I've written the following code:

     

    txTravel1_1.MaskedText = "TEST"

    and this doesn't work. Please help.

    Thanks
    Ravi

     

     

     

     

     

    null;

    Reply

  • Petar Mladenov Petar Mladenov admin's avatar

    Posted on Nov 1, 2011 (permalink)

    Hi Ravi,

     The MaskedText is the string that you see in the RadMaskedTexbox, it is result from the work of the "Mask" and the "Value" properties. So that is why it does not have setter. Why do you need to set this property ?

    All the best,
    Petar Mladenov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > MaskedTextBox > Property or indexer 'Telerik.Windows.Controls.RadMaskedTextBox.MaskedText' cannot be assigned to -- it is read only
Related resources for "Property or indexer 'Telerik.Windows.Controls.RadMaskedTextBox.MaskedText' cannot be assigned to -- it is read only"

Silverlight MaskedTextBox Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  ]