Localization: NoDataText

6 posts, 0 answers
  1. Ramius
    Ramius avatar
    127 posts
    Member since:
    Feb 2008

    Posted 16 Aug 2009 Link to this post

    When an empty RadGridView is shown the RadGridView shows the message "no data to display".

    When i set a RadGridLocalizationProvider then it should show the translated message from the NoDataText RadGridStringId, but it  shows the message "no data to display". This happens in the initialisation of the RadGridView. 

    When i clear the columns of the RadGridView then the correct translated message is shown.

    Regards,

    Ramius 

  2. Nick
    Admin
    Nick avatar
    767 posts

    Posted 17 Aug 2009 Link to this post

    Hello Ramius,

    Thank you for contacting us.

    Can you send us the code snippet that you use to initialize your grid? How do you set columns and when do you clear them? Thank you very much for your time.

    Greetings,
    Nick
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Ramius
    Ramius avatar
    127 posts
    Member since:
    Feb 2008

    Posted 18 Aug 2009 Link to this post

    Hello Nick,

    I initialise the radGridView in the constructor of the radForm:

            public Form1( )  
            {  
                InitializeComponent( );  
     
                RadGridLocalizationProvider.CurrentProvider = new GermanRadGridViewLocalization( );  
     
            }  
     

    When i add the following line in the constructor the radGridView shows the correct translated text:

    this.radGridView1.MasterGridViewTemplate.Columns.Clear( ); 

    Regards,

    Ramius

  5. Nick
    Admin
    Nick avatar
    767 posts

    Posted 20 Aug 2009 Link to this post

    Hi Ramius,

    Thank you for reporting the issue. We will probably fix that in our next release. I have updated your Telerik points for bringing this to our attention. Please use the work-around that you found for the time being.

    All the best,
    Nick
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  6. Ramius
    Ramius avatar
    127 posts
    Member since:
    Feb 2008

    Posted 21 Aug 2009 Link to this post

    Hello Nick,

    Thank you for your help and your announcement for updating Telerik points, but until now i can't see any new Telerik points.

    Regards,

    Ramius

  7. Nick
    Admin
    Nick avatar
    767 posts

    Posted 21 Aug 2009 Link to this post

    Hi Ramius,

    I am sorry, I must have missed that. They are in your account now. Do not hesitate to write me back if you have more questions.

    Best wishes,
    Nick
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top
UI for WinForms is Visual Studio 2017 Ready