How can I set the Document Tab text at runtime? I have a grid inside a docked document that has a certain number of rows. I want the document Tab text to show dynamically the number of rows like "10 People In Grid", and when the user removes or adds a row that it changes to "9 People In Grid". I tried setting the form text (code below) every time a grid change is made but that does not update the tab, only when the form is loaded for the first time.
this.Text = peopleGrid.Rows.Count + " People In Grid";
0
Nikolay
Telerik team
answered on 22 Dec 2009, 10:12 AM
Hi narim jacksimov,
Please give me additional details about your scenario. Which docking control do you use - RadDock or DockingManager? In addition, I am not sure what is 'this' in the code snippet that you provided. Your additional details will allow me to provide you with the necessary assistance.
I tried a scenario where I changed the Text of the DocumentWindow, but I was not able to reproduce any issues with Q3 2009 SP1: