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

Expanding Problem in Firefox 4

1 Answer 36 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Mehmet
Top achievements
Rank 1
Mehmet asked on 18 Jun 2011, 03:45 PM
Hello,

When I am using RadPanelbar all expanding and collapsing functions work well in IE and/or Chrome. But when I try it in Firefox 4 no expanding or collapsing occur. Here is my code :

   <telerik:RadPanelBar ID="RadPanelBar1" runat="server" EnableEmbeddedSkins="false"
                Height="100%" ExpandMode="SingleExpandedItem" Skin="ShowCategory" Width="100%"
                AllowCollapseAllItems="false" OnClientItemClicking="OnClientItemClicking">
            </telerik:RadPanelBar>

I am programmatically creating the items. 

One more thing, in all other browser I can call OnClientItemClicking event but in FireFox 4.0 its not firing. FYI, added script below :

 <script type="text/jscript">
        function OnClientItemClicking(sender, args) {
            debugger;
            if (args.get_item().get_level() == 0) {
                args.set_cancel(true);
               args.get_item().set_expanded(!args.get_item().get_expanded());
            }
       }            
    </script>

I am using Telerik  2010.1.519.35.

What can cause that problem? Any Idea?


1 Answer, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 20 Jun 2011, 01:46 AM
Hi Mehmet,

I would suggest that you open FireBug and check for any javascript errors on the page.
That could be the reason for this unexpected behavior.
Just for the test - what happens if you use the default built-in skin instead of the custom one?

Regards,
Veselin Vasilev
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
PanelBar
Asked by
Mehmet
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
Share this question
or