locked
Null ReferenceException occured in windows 8.1 gridapp template

Answers

  • Hi Sam,

    Group will be null. So NullReference exception occurred. Make null check in your code.


    Tuesday, March 18, 2014 6:36 AM
  • Hi SamEE666,

    Did you modify something before you use the code? As I know the code from your screenshot is generated by the template and should be ok. If you create a new app from Gird Template should be ok.

    --James


    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    MSDN Community Support

    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

    Thursday, March 20, 2014 3:32 AM
    Moderator

All replies

  • Hi Sam,

    Group will be null. So NullReference exception occurred. Make null check in your code.


    Tuesday, March 18, 2014 6:36 AM
  • Hi SamEE666,

    Did you modify something before you use the code? As I know the code from your screenshot is generated by the template and should be ok. If you create a new app from Gird Template should be ok.

    --James


    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    MSDN Community Support

    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

    Thursday, March 20, 2014 3:32 AM
    Moderator