Change Foreground RadMenu

12 posts, 0 answers
  1. Huy Truong The
    Huy Truong The avatar
    32 posts
    Member since:
    Mar 2008

    Posted 03 May 2009 Link to this post

    Hi,
    I am using Telerik premium collection for .net. At first, I now use RadControls for Silverlight and I met a problem with radmenu foreground

    Expected: Radmenu control will be set foreground BLUE
    Code sample 1:
    I used RadMenu control and RadMenuItem to create a menu and set the Foreground="Blue" like that:
    xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation" 


    <telerik:RadMenu VerticalAlignment="Center"  HorizontalAlignment="Center" Foreground="Blue"
                    ClickToOpen="True" Grid.Row="0" Grid.Column="0"   >
                        <telerik:RadMenuItem x:Name="menuQuicklyAccess" Header="QuicklyAccess" Foreground="Blue">
                            <telerik:RadMenuItem x:Name="menuPersonalFile" Header="PersonalFile"  />
                            <telerik:RadMenuItem x:Name="menuCard" Header="Card"/>
                            <telerik:RadMenuItem x:Name="menuPerformance" Header="Performance" />
                        </telerik:RadMenuItem>
       </telerik:RadMenu>

    Result: all menu items have BLACK foreground

    Code sample 2:             
       <telerik:RadMenu VerticalAlignment="Center"  HorizontalAlignment="Center" Foreground="Blue"
                    ClickToOpen="True" Grid.Row="0" Grid.Column="0"   >
                        <telerik:RadMenuItem x:Name="menuQuicklyAccess" Header="QuicklyAccess" Foreground="Blue" >
                            <telerik:RadMenuItem x:Name="menuPersonalFile" Header="PersonalFile" Foreground="Blue" />
                            <telerik:RadMenuItem x:Name="menuCard" Header="Card" Foreground="Blue/>
                            <telerik:RadMenuItem x:Name="menuPerformance" Header="Performance" Foreground="Blue/>
                        </telerik:RadMenuItem>
       </telerik:RadMenu>

    Result:
    - The Foreground of the RadMenuItem with name menuQuicklyAccess is Black
    - The Foreground of the RadMenuItem with name menuPersonalFile,menuCard,menuPerformance is Blue

    I want all text in RadMenu is display with Foreground = "Blue". How could I set foreground BLUE for all menu (items, subitems)?

    Thank you
    Huy

  2. Hristo
    Admin
    Hristo avatar
    832 posts

    Posted 04 May 2009 Link to this post

    Hello Huy Truong The,

    This is bug that will be fixed with the next official release. If this is a show-stopper for you open a support ticket and I will send you the hotfix.

    I'm sorry for the caused inconvenience.

    Kind regards,
    Hristo
    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.
  3. DevCraft banner
  4. max
    max avatar
    9 posts
    Member since:
    Sep 2007

    Posted 06 May 2009 Link to this post

    Have you really released a verison of RadMenu that doesn't allow control of the text colour?  If so I assume you did no testing at all.

    I have just wasted half a day upgrading to the latest version only to be forced to revert because of this.  I can't quite believe how bad these telerik controls are proving and regret purchasing them.  I can't use a binary hotfix release because I need to use the source code version, which I've paid a lot of money for.  When will a working source code download be available?
  5. Nikolay
    Admin
    Nikolay avatar
    3997 posts

    Posted 06 May 2009 Link to this post

    Hi max,

    We appreciate your thoughts. We know that launching hotfixes might be a win-lose situation as the controls included in this hotfix are not polished that much as they are in the official releases (major Q releases or service packs). We launch these latest internal builds as there is a high demand for them by our customers who require a certain feature or a bugfix that appears to be a major show-stopper for them.  The main purpose of these hotfixes is to enable the users replace the official binaries with the ones included in the fix to quickly repair their projects. We do not include source code in these hotfix releases as it would be extremely complicated for us to wrap a working source code especially for this hotfix release. However, we might consider changing this practice and include source code in the latest internal builds we upload on a weekly basis.

    As for your complaints about the RadMenu control - we will appreciate if you share with us the exact problems you face with this control. Thus, we will be able to verify the problems at our side and then include them in our To-Do list for the next Q release. We continue to believe that our customers' feedback is always the best way to ensure our products keep getting better.

    Regards,
    Nikolay Atanasov
    Unit Manager
    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.
  6. max
    max avatar
    9 posts
    Member since:
    Sep 2007

    Posted 06 May 2009 Link to this post

    But this fault isn't with a hotfix.  It's the 2009 Q1 release, that's a full release is it not?

    I do not understand why you are asking me to share the exact problem when Huy Truong The has already explained it in this thread.  His explanation is pretty clear to me.

    If you think your customer's feedback is important you might try reading it a bit more carefully.
  7. Nikolay
    Admin
    Nikolay avatar
    3997 posts

    Posted 06 May 2009 Link to this post

    Hi max,

    We read Huy Truong The's post quite carefully. I thought that there are other problems you are facing with our control. I talked to our developers and they will try to prepare a working source code in the following days. I will follow up with you in this forum thread right away to let you know about the availability of the source code so that we can send it to you via a support ticket. Is this acceptable for you?

    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.
  8. max
    max avatar
    9 posts
    Member since:
    Sep 2007

    Posted 06 May 2009 Link to this post

    That would be super.  Thank you.
  9. Nikolay
    Admin
    Nikolay avatar
    3997 posts

    Posted 16 May 2009 Link to this post

    Hi max,

    I attached the latest internal build to this thread. Please download it and give it a go. All the changes in this latest internal build will be included in the SP2 release coming by the end of next week.

    Kind regards,
    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.
  10. Huy Truong The
    Huy Truong The avatar
    32 posts
    Member since:
    Mar 2008

    Posted 21 May 2009 Link to this post

    Thank you for your sample. Could SP2 be released in this week?
    Best regards,
    Huy


  11. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 21 May 2009 Link to this post

    Hi Huy,

    The service pack will be released later today or tomorrow.

    Regards,
    Vlad
    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.
  12. Nikhil
    Nikhil avatar
    6 posts
    Member since:
    Jun 2009

    Posted 04 Sep 2009 Link to this post

    Hi I am using 2009 Q2 SP1. Still I am not able change the color of the menu.

    I am creating the RadMenuItem from code behind. Can please send some solution.

    I am stuck. Prompt reply would be really appreciated.

    Regards,
    Nikhil
  13. Dimitrina
    Admin
    Dimitrina avatar
    442 posts

    Posted 07 Sep 2009 Link to this post

    Hello Nikhil,

    We apologize for this problem. We will address the issue right with the next internal build that will be launched this Friday.

    I hope that this timeframe is acceptable for you.

    Greetings,
    Dimitrina
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top
DevCraft banner