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

  • Home
  • SEARCH
  • 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 8895859
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T23:53:42+00:00 2026-06-14T23:53:42+00:00

I have a GridView as my zoomed out view in a SemanticZoom control. This

  • 0

I have a GridView as my zoomed out view in a SemanticZoom control. This GridView uses a custom DataTemplateSelector as the ItemTemplateSelector. It shows an item for each content group that my app shows.

The template is different depending on whether the group is empty or not. This works fine on load, but it doesn’t update when a group becomes empty or stops being empty.

I’ve found that the ItemTemplateSelector is only run when the page is first shown. How can I force the DataTemplateSelector get run again.

The WPF questions on this topic all suggest triggers, but these aren’t available in WinRT XAML.

  • 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-14T23:53:43+00:00Added an answer on June 14, 2026 at 11:53 pm

    I’ve found an answer to a similar WPF question that answers this in a way that works in WinRT:

    https://stackoverflow.com/a/11327087/31569

    Basically you set the ItemTemplateSelector to null and then set it again. Like this:

    var templateSelector = MyGroupView.ItemTemplateSelector;
    MyGroupView.ItemTemplateSelector = null;
    MyGroupView.ItemTemplateSelector = templateSelector;
    

    This works, but happy to be told if there is a better way to do this.

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

Sidebar

Related Questions

I have gridview in which i have check box control Like this image. Problem
I have a gridview with 13 pages with 5 item each. The first column
im writing an Windows Store Application. I have an View(FavoritenGrid) with an GridView. This
Have a gridview control which will show X amount of rows. I want to
I have a GridView like this( main.xml ): <?xml version=1.0 encoding=utf-8?> <GridView xmlns:android=http://schemas.android.com/apk/res/android android:id=@+id/gridView1
I have a GridView in SemanticZoom.ZoomedOutView. When I set the GridViews ItemClick it never
I have GridView and this grid has setup paging, but this paging not show
I have gridview in my asp.net 3.5 application [C#]. Which looks like this: <asp:GridView
I have a GridView control in an Asp.net application, that has a <asp:buttonField> of
I have gridview which contains 60 rows and each row has 4 radiobutton option

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.