How to fetch values from the textboxes externally made part of GridViewDataColumn?

4 posts, 0 answers
  1. Abhay
    Abhay avatar
    22 posts
    Member since:
    Dec 2011

    Posted 12 Jan 2012 Link to this post

    Hello,

    I am facing a problem with regards to telerik gid functionality. Since i cannot make a particular cell readonly in telerik grid,, in my case I have put textboxes in that column ( in which some cells have to be made readonly) but the problem I am unable to fetch those values from those textboxes and assign those to entities for further programming. How can I fetch those values from textboxes? User supplies values to some of the cells of that column and some cells are already provided values and read only. on click of SAVE button values from those cells( textboxes here) have to be assigned to entities to be passed to database. Please suggest solution asap.

    Thanks and regards,
    Abhay Gupta
  2. Abhay
    Abhay avatar
    22 posts
    Member since:
    Dec 2011

    Posted 12 Jan 2012 Link to this post

    Please reply soon!!!!!!!!!!!
  3. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 12 Jan 2012 Link to this post

    Hello,

     I strongly suggest you to check MVVM pattern and learn more about how to use it to two way bound properties in order to separate your UI from your data! You can check our demos and documentation for more info as well.

    Greetings,
    Vlad
    the Telerik team

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

  4. Abhay
    Abhay avatar
    22 posts
    Member since:
    Dec 2011

    Posted 12 Jan 2012 Link to this post

    I am using a converter in my case which converts the column cells into ReadOnly type Textboxes when they have some value and if they are null they are converted to editable textboxes on page load. For the editable cells, user is allowed to add values.  these values I need to fetch in my code behind file. Please guide me on that
Back to Top