This question is locked. New answers and comments are not allowed.
I added a textbox element to my toolstrip item. I am trying to make the text box wider. In the design mode I finally figured out how to make it wider by turning AutoSize off, changing the width property and then going into the children and doing the same for the textbox item. This all works good until I compile and run the application. The textbox item properties reset themselves back to the default. What am I missing?
Thanks, Mark
Thanks, Mark
5 Answers, 1 is accepted
0
Hello mmassey,
You could try to set the MinSize and MaxSize properties of the TextBox because I think that you will experience such a behavior if you have a MaxSize property already set to it.
I hope this helps.
Sincerely yours,
Ray
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
You could try to set the MinSize and MaxSize properties of the TextBox because I think that you will experience such a behavior if you have a MaxSize property already set to it.
I hope this helps.
Sincerely yours,
Ray
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
.jpg)
Amanda
Top achievements
Rank 2
answered on 09 May 2007, 01:17 PM
I did set the min and max value, but as soon as I compile the project the values that I set change back to what they were. It will not save the settings I enter.
0
Hi Mark Massey,
Could you try to set those two properties in run-time.
Possible solution is to handle the Load event of your Form and then set the MaxSize and MinSize properties of the TextBox there. I hope this helps.
Kind regards,
Ray
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Could you try to set those two properties in run-time.
Possible solution is to handle the Load event of your Form and then set the MaxSize and MinSize properties of the TextBox there. I hope this helps.
Kind regards,
Ray
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
.jpg)
Amanda
Top achievements
Rank 2
answered on 09 May 2007, 02:18 PM
That worked on form load to set the size, but now when I progrmically set the text property the visible property changes to hidden so I have to reset that to visable.
I have not had very good luck with the radtoolstrip controls. They are very unpredicable and hard to work with.
Thanks for your help
Mark
I have not had very good luck with the radtoolstrip controls. They are very unpredicable and hard to work with.
Thanks for your help
Mark
0
Hi Mark Massey,
RadToolStrip has an internal behavior which automatically hides its items when there is no available space for them.
When the item is a textbox it is hidden and placed in the overflow button of the RadToolStrip. When you click and open the OverFlowButton the textbox appears inside the dropdown menu . If you experience more problems with RadToolStrip you could send me a sample project demonstrating the fault behavior and I will be able to give you a better help.
Kind regards,
Ray
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
RadToolStrip has an internal behavior which automatically hides its items when there is no available space for them.
When the item is a textbox it is hidden and placed in the overflow button of the RadToolStrip. When you click and open the OverFlowButton the textbox appears inside the dropdown menu . If you experience more problems with RadToolStrip you could send me a sample project demonstrating the fault behavior and I will be able to give you a better help.
Kind regards,
Ray
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center