Changing individual data-form fields read-only state at run-time?

2 posts, 0 answers
  1. John
    John avatar
    3 posts
    Member since:
    Jun 2017

    Posted 19 Jun Link to this post

    Hi there,

     

    I'm using the Dataform and I'm wondering is there a way for me to change the read only property of certain data-form property at run-time.

    The idea being that depending on the user you would only want them to be able to edit certain elements go the data form.

    Is it possible to access the read-only attribute from the code behind?

     

    Thanks for your Assistance.

  2. Stefan Nenchev
    Admin
    Stefan Nenchev avatar
    498 posts

    Posted 22 Jun Link to this post

    Hello Joe,

    With the current implementation of the RadDataForm, this functionality is not supported. However, we have a task to introduce a two-way source binding for the control and we will consider exposing such mechanism of updating the editors at runtime as well. You can follow the progress of the feature on the following page from our Ideas & Feedback portal - DataForm: Two-way Source Binding. I suggest you subscribe to the item in order to receive automatic notifications when an update occurs. The item is scheduled for the next official release which should be available in the middle of September.

    Regards,
    Stefan Nenchev
    Progress Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top