Customize the style of Panelbar

9 posts, 0 answers
  1. ankit
    ankit avatar
    29 posts
    Member since:
    Sep 2008

    Posted 17 Sep 2008 Link to this post

    Hi everyone,

    You already sent me sample for how to change style for RadExpander. That works fine.

    Can you please provide one sample of changing style of PanelBar ?

    When I have multi level and if I populate lots of data and mouse hover, it gives effect and looks terrible in my case. If looks fine otherwise.

    I want to remove that effect and want to add other color in place of white.

    Thanks in advance.
  2. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 08 Oct 2008 Link to this post

    Hi ankit,

    This is not possible right now, because there is an issue with the PanelBar. We will fix it with the next release of RadPanelBar - with our Q3 release at the begining of November. Please let us know if you have any other problems.

    Greetings,
    Valentin.Stoychev
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. DevCraft banner
  4. ankit
    ankit avatar
    29 posts
    Member since:
    Sep 2008

    Posted 05 Nov 2008 Link to this post

    Is it available yet, or not ??
  5. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 06 Nov 2008 Link to this post

    Hello ankit,

    Yes - the fix is now available. Please download the latest version of the controls.

    Regards,
    Valentin.Stoychev
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  6. Sandeep
    Sandeep avatar
    18 posts
    Member since:
    Oct 2008

    Posted 07 Nov 2008 Link to this post

    Hi Valentin,
    I have downloaded the Q3 controls. I wanted to change the style of RadPanelBar and RadPanelBarItem.
    However, in Expression Blend2(with Sp1), I am getting an error for both.
    For PanelBar, if I try dragging it on  the blend artboard the error is
    "Cannot create an instance of RadPanelBar"
    For PanelBarItem, I am able to drag it on the blend artboard, but when I try to edit its template by:  Right click-> Edit Control Parts(Template)-> Edit a Copy, I get a Null Reference Exception( Object reference not set to an instance of an object).

    Can you please share the xaml of the PanelBar and PanelBarItem template. I need to change the style of these controls.

    Regards,
    Sandeep
  7. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 08 Nov 2008 Link to this post

    Hello Sandeep,

    Unfortunately Blend is still not ready for custom Silverlight controls. Please find attached a zip file containing all the controls themes.

    Let us know if you need more help creating your theme for RadPanelBar.

    Kind regards,
    Valentin.Stoychev
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  8. Sandeep
    Sandeep avatar
    18 posts
    Member since:
    Oct 2008

    Posted 10 Nov 2008 Link to this post

    Hi Valentin,
    Thanks for your help.
    However, I could not uses these themes becuase as soon as I replace my Rc1 Telerik dlls with Q3 dlls, my project does not compile. I do not know if other have this problem or not.
    In my existing project I replaced the dlls Telerik.Windows.Control and Telerik.Windows.Control.Navigation
    from the Rc1 release to Q3 dlls.
    Now my project does not compile. I get the following error:
    ********************************
    Error 5 The "ValidateXaml" task failed unexpectedly.
    System.NullReferenceException: Object reference not set to an instance of an object.
       at MS.MarkupCompiler.ValidationPass.ValidateXaml(String fileName, Assembly[] assemblies, Assembly callingAssembly, TaskLoggingHelper log, Boolean shouldThrow)
       at Microsoft.Silverlight.Build.Tasks.ValidateXaml.XamlValidator.Execute()
       at Microsoft.Silverlight.Build.Tasks.ValidateXaml.XamlValidator.Execute()
       at Microsoft.Silverlight.Build.Tasks.ValidateXaml.Execute()
       at Microsoft.Build.BuildEngine.TaskEngine.ExecuteInstantiatedTask(EngineProxy engineProxy, ItemBucket bucket, TaskExecutionMode howToExecuteTask, ITask task, Boolean& taskResult) Xcel.Framework.RIA.ActivityManagement.CommonUI
    **************************************
    Can you please help?
    Regards,
    Sandeep
  9. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 10 Nov 2008 Link to this post

    Hello Sandeep,

    from the error extract below we can't see what is the problem. Are you able to bulid other applications agains Silverlight 2RTW version.

    Can you please send us the project where we can see the problem. Thanks!

    Kind regards,
    Valentin.Stoychev
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  10. Sandeep
    Sandeep avatar
    18 posts
    Member since:
    Oct 2008

    Posted 10 Nov 2008 Link to this post

    Hi Valentin,
    Thanks for your immediate reply.
    That project is getting building now. Do not know what was the issue :(
    I'll try using the styles that you posted.

    Thanks,
    Sandeep
Back to Top
DevCraft banner