3 Answers, 1 is accepted
You can use the following code to add RadTextBox in the RadRibbonBar:
protected override void OnLoad(EventArgs e) |
{ |
base.OnLoad(e); |
RadTextBox rtb = new RadTextBox(); |
Size textBoxSize = new Size(100, 20); |
rtb.Bounds = new Rectangle((this.radRibbonBar1.Width - textBoxSize.Width) / 2, 5, textBoxSize.Width, textBoxSize.Height); |
rtb.Anchor = AnchorStyles.Left | AnchorStyles.Right; |
this.radRibbonBar1.Controls.Add(rtb); |
} |
What else you can do is a little unsupported hack:
- Add a RadRibbonBar to the form, it will be automatically named radRibbonBar1;
- Add a RadTextBox to the form, it will be named radTextBox1.
- Go to Form1.Designer.cs and locate line this.Controls.Add(radTextBox1);
- Change the line to this.radRibbonBar1.Controls.Add(radTextBox1);
- Find the line radTextBox1.Location = new System.Drawing.Point(...);
- Change the point to something like (200, 5) - this way the radTextBox1 will move in the visible area of the RadRibbonBar.
- Now see the form in the Designer. You'll be able to see the text box in the ribbon.
BTW, how is your evaluation going? What you think about our controls? Are there any controls that you are missing in the suite? Any feedback is welcome. Thanks in advance.
Regards,
Evtim
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
I am still evaluating your product. My main problem is overall performance, not specifically for any component, but for all so it seems.
When is your next release due?
I'll give this hack a try. Thanks
/ jorge
Hi j0rge,
On the 3rd of September there will be a beta of our Q2 2007 release. We would appreciate your feedback as it will help us build our controls to better serve our clients' needs.
We will also appreciate your feedback on the performance problems you have. We are confident that our controls perform very well in the latest release (Q1 SP2), but we may be missing something. For example, the latest version of RadGridView has been improved with more than 30% over the Q1 2007 version, and it handles large data sources quite well. RadTreeView, on the other hand, is 5 times faster when loading 50,000 nodes than the standard treeview control. Themes are also optimized and now the initial theme loading time is the fastest ever. There are still a couple of small optimizations awaiting in the pipeline, but having the rich functionality of our controls in mind, we are not sure we can do better.
At any rate, we will appreciate it if you share what type of performance do you expect from our controls. Thanks in advance.
Sincerely yours,
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center