This is a migrated thread and some comments may be shown as answers.

Localization: NoDataText

5 Answers 151 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Ramius
Top achievements
Rank 1
Ramius asked on 16 Aug 2009, 10:06 AM

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 

5 Answers, 1 is accepted

Sort by
0
Nick
Telerik team
answered on 17 Aug 2009, 12:59 PM
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.
0
Ramius
Top achievements
Rank 1
answered on 18 Aug 2009, 01:39 PM

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

0
Nick
Telerik team
answered on 20 Aug 2009, 08:18 AM
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.
0
Ramius
Top achievements
Rank 1
answered on 21 Aug 2009, 09:31 AM

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

0
Nick
Telerik team
answered on 21 Aug 2009, 09:37 AM
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.
Tags
GridView
Asked by
Ramius
Top achievements
Rank 1
Answers by
Nick
Telerik team
Ramius
Top achievements
Rank 1
Share this question
or