11 Answers, 1 is accepted
0
Hello Arfei,
Thank you for contacting us.
This appears to be an issue in RadRibbonForm. I have logged it in our Public Issue Tracking System so you can track it and vote for it. We will address it in a future release. Here is the link to the PITS item.
For the time being, you can try using the following workaround:
You might notice a thin black line next to the bottom border of the form as a result from this workaround. However, this is the only approach I can suggest by this moment.
Your Telerik points have been updated for bringing this issue to our attention.
Feel free to write back if you have any additional questions.
Greetings,
Ivan Todorov
the Telerik team
Thank you for contacting us.
This appears to be an issue in RadRibbonForm. I have logged it in our Public Issue Tracking System so you can track it and vote for it. We will address it in a future release. Here is the link to the PITS item.
For the time being, you can try using the following workaround:
public
partial
class
Form1 : RadRibbonForm
{
public
Form1()
{
InitializeComponent();
}
protected
override
FormControlBehavior InitializeFormBehavior()
{
return
new
MyFormBehavior(
this
);
}
private
class
MyFormBehavior : RadRibbonFormBehavior
{
public
MyFormBehavior(IComponentTreeHandler treeHandler)
:
base
(treeHandler,
true
)
{
}
public
override
Padding ClientMargin
{
get
{
if
(!
this
.CompositionEffectsEnabled
||
this
.Form.IsDesignMode)
{
return
this
.BorderWidth;
}
else
{
return
new
Padding(
SystemInformation.FrameBorderSize.Height,
0,
SystemInformation.FrameBorderSize.Height,
SystemInformation.FrameBorderSize.Height + 1);
}
}
}
}
}
You might notice a thin black line next to the bottom border of the form as a result from this workaround. However, this is the only approach I can suggest by this moment.
Your Telerik points have been updated for bringing this issue to our attention.
Feel free to write back if you have any additional questions.
Greetings,
Ivan Todorov
the Telerik team
RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
0
Afraei
Top achievements
Rank 1
answered on 13 Jun 2012, 02:39 PM
Hello Ivan,
Thank you so much.
I want to use RadRibbonBar, so which kinds of Telerik form could I use instead of RadRibbonForm without this problem?
For now, could you please give me a sample project that includes your suggested workaround?
I appreciate your kindly help in advance.
Regards
Thank you so much.
I want to use RadRibbonBar, so which kinds of Telerik form could I use instead of RadRibbonForm without this problem?
For now, could you please give me a sample project that includes your suggested workaround?
I appreciate your kindly help in advance.
Regards
0
Hello Afraei,
RadRibbonForm is designed especially to be used with RadRibbonBar. You can try using RadForm, but it will not look properly when used with a RadRibbonBar - you will get double title bar, two sets of system buttons and the application button will not be positioned where it is expected to be.
I am sending you a sample project which demonstrates the workaround that I have proposed.
I hope this helps. Feel free to ask if you have any additional questions.
All the best,
Ivan Todorov
the Telerik team
RadRibbonForm is designed especially to be used with RadRibbonBar. You can try using RadForm, but it will not look properly when used with a RadRibbonBar - you will get double title bar, two sets of system buttons and the application button will not be positioned where it is expected to be.
I am sending you a sample project which demonstrates the workaround that I have proposed.
I hope this helps. Feel free to ask if you have any additional questions.
All the best,
Ivan Todorov
the Telerik team
RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
0
Afraei
Top achievements
Rank 1
answered on 15 Jun 2012, 09:07 AM
Hello dear Ivan,
Firstly, thank you for your help.
I ran your sample project but still the RadRibbonForm doesn't allow taskbar to appear by mouse.
Regards
Firstly, thank you for your help.
I ran your sample project but still the RadRibbonForm doesn't allow taskbar to appear by mouse.
Regards
0
Hello Argei,
The solution I have send you works correctly on my end. Can you please provide some information about the system you are running on: OS version, language and localization settings, color scheme / OS theme, DPI and resolution settings. This will let me provide you with a proper solution and help us in resolving the issue at a later stage.
Thank you for your cooperation.
Kind regards,
Ivan Todorov
the Telerik team
The solution I have send you works correctly on my end. Can you please provide some information about the system you are running on: OS version, language and localization settings, color scheme / OS theme, DPI and resolution settings. This will let me provide you with a proper solution and help us in resolving the issue at a later stage.
Thank you for your cooperation.
Kind regards,
Ivan Todorov
the Telerik team
RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
0
Afraei
Top achievements
Rank 1
answered on 24 Jun 2012, 07:12 AM
Hello,
Information about the system:
Information about the system:
- OS: XP SP3,
- Language: english,
- Color Quality: highest (32 bit)
- DPI: 96,
- Resolution: 1280*800
However, in your sample project didn't exist any *.sln so maybe I did a mistake to use your appreciated sample project. Could you please give me your project by its *.sln?
Thank you for your kindly help
Regards
0
Hi Afraei,
Thank you for writing back.
Please try the attached modified application and let me know whether it addresses the issue you experience.
I am looking forward to your reply.
Greetings,
Boryana
the Telerik team
Thank you for writing back.
Please try the attached modified application and let me know whether it addresses the issue you experience.
I am looking forward to your reply.
Greetings,
Boryana
the Telerik team
RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
0
Afraei
Top achievements
Rank 1
answered on 27 Jun 2012, 03:15 PM
Hello dear Boryana,
When i want to start debugging by F5 it shows some errors as below:
Error 1 The type or namespace name 'UI' does not exist in the namespace 'Telerik.WinControls' (are you missing an assembly reference?) D:\369483_WindowsFormsApplication48\Form1.cs 8 27 WindowsFormsApplication48
Error 2 The type or namespace name 'RadRibbonForm' could not be found (are you missing a using directive or an assembly reference?) D:\369483_WindowsFormsApplication48\Form1.cs 13 34 WindowsFormsApplication48
Error 3 The type or namespace name 'FormControlBehavior' could not be found (are you missing a using directive or an assembly reference?) D:\369483_WindowsFormsApplication48\Form1.cs 20 28 WindowsFormsApplication48
Error 4 The type or namespace name 'RadRibbonFormBehavior' could not be found (are you missing a using directive or an assembly reference?) D:\369483_WindowsFormsApplication48\Form1.cs 25 40 WindowsFormsApplication48
Error 5 The type or namespace name 'IComponentTreeHandler' could not be found (are you missing a using directive or an assembly reference?) D:\369483_WindowsFormsApplication48\Form1.cs 27 35 WindowsFormsApplication48
Error 6 The type or namespace name 'MinMaxInfo' could not be found (are you missing a using directive or an assembly reference?) D:\369483_WindowsFormsApplication48\Form1.cs 33 53 WindowsFormsApplication48
Error 7 The type or namespace name 'UI' does not exist in the namespace 'Telerik.WinControls' (are you missing an assembly reference?) D:\369483_WindowsFormsApplication48\Form1.Designer.cs 89 37 WindowsFormsApplication48
How to solve these errors?
Thank you very much
Regards
When i want to start debugging by F5 it shows some errors as below:
Error 1 The type or namespace name 'UI' does not exist in the namespace 'Telerik.WinControls' (are you missing an assembly reference?) D:\369483_WindowsFormsApplication48\Form1.cs 8 27 WindowsFormsApplication48
Error 2 The type or namespace name 'RadRibbonForm' could not be found (are you missing a using directive or an assembly reference?) D:\369483_WindowsFormsApplication48\Form1.cs 13 34 WindowsFormsApplication48
Error 3 The type or namespace name 'FormControlBehavior' could not be found (are you missing a using directive or an assembly reference?) D:\369483_WindowsFormsApplication48\Form1.cs 20 28 WindowsFormsApplication48
Error 4 The type or namespace name 'RadRibbonFormBehavior' could not be found (are you missing a using directive or an assembly reference?) D:\369483_WindowsFormsApplication48\Form1.cs 25 40 WindowsFormsApplication48
Error 5 The type or namespace name 'IComponentTreeHandler' could not be found (are you missing a using directive or an assembly reference?) D:\369483_WindowsFormsApplication48\Form1.cs 27 35 WindowsFormsApplication48
Error 6 The type or namespace name 'MinMaxInfo' could not be found (are you missing a using directive or an assembly reference?) D:\369483_WindowsFormsApplication48\Form1.cs 33 53 WindowsFormsApplication48
Error 7 The type or namespace name 'UI' does not exist in the namespace 'Telerik.WinControls' (are you missing an assembly reference?) D:\369483_WindowsFormsApplication48\Form1.Designer.cs 89 37 WindowsFormsApplication48
How to solve these errors?
Thank you very much
Regards
0
Hello Afraei,
Thank you for writing back.
Have you checked your project references? You should have WinControls, WinControls.UI and TelerikCommon dlls added to your project.
Greetings,
Boryana
the Telerik team
Thank you for writing back.
Have you checked your project references? You should have WinControls, WinControls.UI and TelerikCommon dlls added to your project.
Greetings,
Boryana
the Telerik team
RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
0
Afraei
Top achievements
Rank 1
answered on 10 Jan 2013, 09:37 PM
Hello dear Boryana,
Firstly, pardon me for the long delay to reply.
My problem was solved by your appreciated help but I would like to ask you that which version of Telerik creates (by default) RadRibbonForm without this problem? Or still we have to alter the code manually and should see that thin black line next to the bottom border of the form?
Is it possible to remove that thin black line?
Thank you in advance.
Regards
Firstly, pardon me for the long delay to reply.
My problem was solved by your appreciated help but I would like to ask you that which version of Telerik creates (by default) RadRibbonForm without this problem? Or still we have to alter the code manually and should see that thin black line next to the bottom border of the form?
Is it possible to remove that thin black line?
Thank you in advance.
Regards
0
Hi Afraei,
The issue has not been addressed yet. You can subscribe to the PITS item I have previously logged and track it for any progress. You can also vote for it to increase its priority. As it gets more votes, we will consider scheduling it for a next release.
Should you have any other questions, feel free to ask.
Kind regards,
Ivan Todorov
the Telerik team
The issue has not been addressed yet. You can subscribe to the PITS item I have previously logged and track it for any progress. You can also vote for it to increase its priority. As it gets more votes, we will consider scheduling it for a next release.
Should you have any other questions, feel free to ask.
Kind regards,
Ivan Todorov
the Telerik team
Q3'12 SP1 of RadControls for WinForms is out now. See what's new.