This is a migrated thread and some comments may be shown as answers.

Customize the style of Panelbar

8 Answers 191 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
ankit
Top achievements
Rank 1
ankit asked on 17 Sep 2008, 05:38 AM
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.

8 Answers, 1 is accepted

Sort by
0
Valentin.Stoychev
Telerik team
answered on 08 Oct 2008, 10:41 AM
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.
0
ankit
Top achievements
Rank 1
answered on 05 Nov 2008, 09:05 PM
Is it available yet, or not ??
0
Valentin.Stoychev
Telerik team
answered on 06 Nov 2008, 11:24 PM
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.
0
Sandeep
Top achievements
Rank 1
answered on 07 Nov 2008, 10:04 PM
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
0
Valentin.Stoychev
Telerik team
answered on 08 Nov 2008, 11:50 AM
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.
0
Sandeep
Top achievements
Rank 1
answered on 10 Nov 2008, 04:12 PM
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
0
Valentin.Stoychev
Telerik team
answered on 10 Nov 2008, 04:16 PM
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.
0
Sandeep
Top achievements
Rank 1
answered on 10 Nov 2008, 04:49 PM
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
Tags
PanelBar
Asked by
ankit
Top achievements
Rank 1
Answers by
Valentin.Stoychev
Telerik team
ankit
Top achievements
Rank 1
Sandeep
Top achievements
Rank 1
Share this question
or