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 7657759
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T13:06:04+00:00 2026-05-31T13:06:04+00:00

TL;DR How to temporarily disable a View so I can safely load another View,

  • 0

TL;DR How to temporarily disable a View so I can safely load another View, then safely close the loaded View to return to the original View?

I have the following scenario:

  1. User opens /search which loads SearchView.
  2. User clicks a button to perform search.
  3. Collection inside SearchView is filled with data, UI is updated to reflect that.
  4. User clicks a result item.
  5. SearchView is disabled (only need to disable events?).
  6. ItemView is loaded, displaying the item detail.
  7. User clicks a button to close ItemView.
  8. SearchView is re-enabled.

What is the best way to achieve point 5 and 8? I’m thinking of calling SearchView.unbind() (for point 5) and SearchView.bind() (for point 8).

Bonus: It would be better if the solution is stack-like. I.e. View A loads View B which can load View C. When View C is closed, View B is reinstated, etc.

  • 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-05-31T13:06:05+00:00Added an answer on May 31, 2026 at 1:06 pm

    Try calling SearchView.undelegateEvents() for point 5, and then SearchView.delegateEvents() for point 8.

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

Sidebar

Related Questions

Is there any addon by which I can disable all catch blocks temporarily. I'm
I have a navigation controller-based app in which I would like to temporarily disable
How can I temporarily disable the onclick event listener, (jQuery preferred), after the event
How can I temporarily disable listview selection rectangle, so when someone clicks the listview
I have a Silverlight 3 Navigation Application and I would like to temporarily disable
I have an NSManagedObject with attributes that a user can edit with a view.
How can I temporarily disable the asset pipeline functionality that Rails 3.1 provides? (I
Is there a way to temporarily disable all active breakpoints and then renable only
Can i temporarily disable a foreign key constraint. How do i do this?
This question is very similar to SQL Server 2005: T-SQL to temporarily disable a

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.