Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9309531
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 19, 20262026-06-19T00:53:22+00:00 2026-06-19T00:53:22+00:00

I had shell view with few sub views – which looks like that and

  • 0

I had shell view with few sub views – which looks like that and work fine.

<div id="shellView" style="display: none;">
<div id="tabView" data-bind="with: Tab(), visible: State() === 'Tab'">
    @Html.Partial("Tab")
</div>
<div id="tab2View" data-bind="with: Tab2(), visible: State() === 'Tab2'">
    @Html.Partial("Tab")
</div>

the problem is when switching beetween tabs(only on chrome). One tab has a list of images binded with knockout – all images had src to Action (RedirectResult) on controller which redirect to our server or to client server and download images:

   [HttpGet]
    public RedirectResult DynUrl(int id, string size)

Second tab is at this point empty – but when I switch to them google chrome making requests to all DynUrl’s downloading again images – which is currently downloaded – just hidden.

I’m using knockout 2.1.0.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-19T00:53:23+00:00Added an answer on June 19, 2026 at 12:53 am

    should work like

    <div id="shellView" style="display: none;">
    <!-- ko with: Tab -->
    <div id="tabView" data-bind="attr: {display: isVisible}">
        @Html.Partial("Tab")
    </div>
    <!-- /ko -->
    <!-- ko with: Tab2 -->
    <div id="tab2View" data-bind="attr: {display: isVisible}">
        @Html.Partial("Tab")
    </div>
    <!-- /ko -->
    

    and put a

    this.isVisible = ko.computed(function(){
    if(self.visibleState())return 'block';
    else return 'none';
    });
    

    on the tab viewmodel

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Say for example you had a shell script that utilises inotifywait in the following
Had a page that was working fine. Only change I made was to add
Had a problem with the recursive conflictCheck() method. That seems fine now. I have
Had to download Command Line Tools from Apple to get make to work, but
Had received a module from CCAVENUE and it was working fine with Magento 1.6.2...
Had a good search here but can't see anything that gets my mind in
In my xcode app, I previously had things set up like this: main display
i am novice to the Linux shell and had to recently start using it
I had to do a division in shell script and the best way was:
ALthough I've had to dabble in shell scripting and commands, I still consider myself

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.