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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T00:35:00+00:00 2026-05-15T00:35:00+00:00

I have got an(other) error while trying to upgrade our large project to SL4.

  • 0

I have got an(other) error while trying to upgrade our large project to SL4. I didn’t write the original theme and my theme knowlege isn’t great. In my SL3 app I have a datagrid themed like so:

 <!--Datagrid Style-->
    <Style TargetType="datagrid:DataGrid">
        <Setter Property="RowHeaderStyle" Value="{StaticResource System.Windows.Controls.Primitives.DataGridRowHeader}"/>
        <Setter Property="RowBackground" Value="Transparent"/>
        <Setter Property="etc" Value="..."/>
    </Style>

When I upgrade to SL 4 the first line in the XAML above gives a runtime error:
Cannot find a Resource with the Name/Key System.Windows.Controls.Primitives.DataGridRowHeader

Should I handle this differently in SL4?

EDIT: From the answer given it appears this should never have worked. Like i say i didn’t write the original theme, so not sure what it’s trying to do. If I do a search for that static resource line it does come up in a couple of places. Do you know what it was trying to acheive? Do you think I can safely remove the theme properties that are using this way of referencing (there aree several places where a control is referenced like this in the theme I have)?

TIA

Mark

Example showing error:
http://walkersretreat.co.nz/files/SilverlightApplication1.zip

  • 1 1 Answer
  • 1 View
  • 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-15T00:35:01+00:00Added an answer on May 15, 2026 at 12:35 am

    Mark — do you have a resource with that name? SL4 XAML parser got improved and more strict. I don’t see a resource with that name anywhere in your project so the parser is puking on it.

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

Sidebar

Related Questions

I'm impersonating a user until Windows 2008 with UAC enabled. I'm trying to write
I have a legacy Rails project (2.4) that used to work in Netbeans. But
I've got two tables, one holds reservations for a room, and the other is
I've got a trait that looks like this (some further information can be found
I did go through the other threads on this SPOJ problem, ADDREV ( Adding
I have a web app, that consumes a web service. The main page runs
I have an instance of URLLoader that works perfectly on my machine and a
Background / Disclaimer First of all, please feel free to skip this entirely if
I use a Localizable.strings file and replaces the strings in my app with NSLocalizedString(@KEY,@
I've tried to search for similar problems, but can't seem to find it. I

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.