Opened 11 years ago

Closed 11 years ago

Last modified 10 years ago

#7676 closed bug (notabug)

data driven tabs and routing mix up

Reported by: [email protected] Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.tabs Version: 1.8.12
Keywords: Cc:
Blocked by: Blocking:


Hello there,

I have the following scenario, I use 4.0 with routing. To use the jQuery tabs, the <a> in the <li> of the <ul> gets it's href from a data source through code. Also the content divs get their ID from code, so that every <a> would select the according div. And as long as I do not use a custom route this works fine. However when I call this page from a custom route, it becomes a mess: inside the page there is another page, the <a> elements are no longer refering to the divs, it seems that other divs are created with an Id like Id= “ui-tabs-NUM”. The browser even goes in tilt after a bit.

The only work around I found, was hardcoding the UL, but this really was not my intention.

any suggestions?

Change History (4)

comment:1 Changed 11 years ago by Scott González

Resolution: invalid
Status: newclosed

Please use the forums for help.

comment:2 Changed 10 years ago by johntrepreneur

I'm also having this very same problem. JQuery tabs + routing = not working on Safari with behavior as described above with same page nested within the div, etc...

I checked and routing works fine with bookmarks, just not with the JQuery tabs. I also checked and JQuery tabs works fine in withOUT the routing feature.

Would you mind to share a quick description of a workaround you know of or some type of fix? Seems that the page gets messed up with the introduction of the anchors with bookmarks. I've been playing with the anchors trying different things, but no luck so far. Any ideas?

comment:3 Changed 10 years ago by johntrepreneur

Found it. When using Asp.Net routing with JQuery tabs the content gets messed up in Safari when using %2C in the URL. %2C is the encode for a comma, but replacing it with a regular comma in the URL fixes the problem (if you can do that to your url). Once all %2C text is removed from the URL, routing works fine with JQuery tabs.

comment:4 Changed 10 years ago by Scott González

If this is limited to Safari 5.1, then it sounds like you're running into #8877.

Last edited 10 years ago by Scott González (previous) (diff)
Note: See TracTickets for help on using tickets.