RadGridView column with fullstop

4 posts, 0 answers
  1. Balaji
    Balaji avatar
    3 posts
    Member since:
    Sep 2013

    Posted 18 Oct 2013 Link to this post

    Hi,
      
    I am using radgridview in a project.   If the column contains fullstop ( '.' character) then the value is not getting displayed for that column though the value is saved in database.
      
    Is there any workaround to resolve this issue?
      
    Thanks
    Balaji
  2. erwin
    erwin avatar
    358 posts
    Member since:
    Dec 2006

    Posted 19 Oct 2013 Link to this post


    I'm assuming by 'if the column contains fullstop' you are referring to the column name.



    IMHO, the "workaround" is not to use '.' within a column name.


    Depending on what you are doing (databinding, loading from a database etc) the '.' has a special meaning qualifing a column.

    You run into all kinds of weird escaping problems when you want to maintain column names containing a '.' in a database and

    through different database access technologies.

    You can always set the column header to a different string than the column name.



    If that's not covering your problem, you have to give us more Information on what you are doing.



    Regards

    Erwin

  3. UI for WinForms is Visual Studio 2017 Ready
  4. Balaji
    Balaji avatar
    3 posts
    Member since:
    Sep 2013

    Posted 19 Oct 2013 Link to this post

    Hi Erwin,
     
    Thanks for your information.  As we are creating columns dynamically we had used the text (from DB) for both headertext as well as column name.  It would be better to filter the text and assign the column name separately.
     
    As you said avoiding "." is the correct solution.
     
    Regards
    Balaji

  5. Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 23 Oct 2013 Link to this post

    Hi guys,

    I also agree that avoiding the fullstop is the right way to go.

    @Erwin, your Telerik Points have been updated for the community effort.

    Regards,
    Stefan
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
Back to Top