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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T11:24:33+00:00 2026-06-13T11:24:33+00:00

I am making a calendar application that uses a FlipView to go between weeks,

  • 0

I am making a calendar application that uses a FlipView to go between weeks, and inside each flipview is “Week” object. The Week.xaml is composed of a Grid of 1 row and 7 columns for the days of the week. Each Grid Column contains a ListView that I populate with events that the user can select from. Here’s some code as an example for defining the grids and 1 column (Sunday) This also contains the name of the day and a blank textbox I populate later on with the date. You can see what it looks like as well.

            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="*"/>
                <ColumnDefinition Width="*"/>
                <ColumnDefinition Width="*"/>
                <ColumnDefinition Width="*"/>
                <ColumnDefinition Width="*"/>
                <ColumnDefinition Width="*"/>
                <ColumnDefinition Width="*"/>
            </Grid.ColumnDefinitions>

            <!-- Sunday-->
            <Grid Grid.Column="0" >
                <Grid.RowDefinitions>
                    <RowDefinition Height="80"/>
                    <RowDefinition Height="*" />
                </Grid.RowDefinitions>
                <Rectangle Grid.Row="0" Fill="#FF0353A8" Stroke="Black" StrokeThickness="5" RadiusX="10" RadiusY="10"/>
                <TextBlock Grid.Row="0" Style="{StaticResource DayOfWeek}" Text="Sunday" Margin="10,6,0,38" />
                <TextBlock Grid.Row="0" x:Name="SundayNumber" Style="{StaticResource DayOfWeek}" Text="" Margin="10,37,0,7" />
                <ListView Name="SundayPanel" ItemTemplate="{StaticResource TaskTemplate}" IsItemClickEnabled="True" ItemClick="Item_Clicked"/>

            </Grid>

What this looks like

This works great for populating items in my ListView, however I have a big problem when trying to swipe between weeks using my FlipView. Whenever I swipe left or right with my finger starting on the ListView area in order to change weeks, I get an unhandled exception like below. This does not happen when I use mouse controls to change between FlipViews, only a swiping gesture. I can click forward in back using ListView arrow controls all day with no problem.

The exception **After using the help below I can get a bit more information about the exception: Unhandled exception at 0x0f96a375 in TaskM8.exe: 0xC0000005: Access violation reading location 0x00000000.

This problem does NOT occur if I use an ItemsControl and ItemsPanelTemplate to display my items instead of a ListView, however I have not figured out how to make my individual items clickable and do things with them (I need to be able to navigate to a fullscreen description of the event after it is clicked.). Event handlers like ItemClick do not seem to be available in an ItemsControl.

Does anyone know why I would be getting this exception, or how to implement this with an ItemsControl?

A quick note about things I’ve tried – I’ve tried to replace the areas where a ListView is with nothing, or ItemControls and even with just 1 list view (in say, Friday for example), I will only get an error if I swipe starting where the ListView is. This is not feasible when the entire week page has 7 of them as the user wouldn’t be able to swipe on basically 3/4 of the page 🙁

Thank you for your time.

  • 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-13T11:24:34+00:00Added an answer on June 13, 2026 at 11:24 am

    I won’t pretend to know why you’re getting this error, but I had similar trouble debugging my app as well. You might be able to get more information on the error if you follow the advice in this post.

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

Sidebar

Related Questions

I'm making an app that creates a new calendar and then uses that calendar
I am making an application that lets your phone connect and control your calendar.
I am making a web page in that I have used Ajax calendar to
I'm making a small Calendar application with some specific functions for my userbase but
I'm making a thread for my application that's going to do an exit operation
I have a web-app that is a sort of calendar application and there are
I'm making a scheduling application which looks similar to Google Calendar, iCalendar, Outlook's calendar,
I am making an android app that shows the Calendar day view, it looks
I'm developing an event calendar, where each hour is a slot that allows users
Im making my own application by using GWT framework. I say that many Class

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.