Skip to main content

Microsoft Silverlight

Answered Question Upgrade to RFWRSS Feed

(0)

talldaniel
talldaniel

Member

Member

590 points

331 Posts

Upgrade to RFW

When I upgraded today I had about 67 errors.  it all compiles now (thanks to all those who left messages on the board about the upgrade) but i still have a problem with some code no longer working correctly.  For example, this code doesnt' work anymore. 

If I comment out the first line, it almost works, but then fails on the last line (if Group is "A")

 

ContentPresenter upLevel1 = (ContentPresenter) this.Parent;

Grid upLevel2 = (Grid)this.Parent;

if (group.ToUpper().StartsWith("A") ==true)

{

internet upLevel3 = (internet)upLevel2.Parent;upLevel3.cpInternet.Content = new InternetDeploySQL(app, group);

}

if(group.ToUpper().StartsWith("B") == true)

{

phoenix2 upLevel3 = (phoenix2)upLevel2.Parent;

upLevel3.cpInternet.Content = new deployPhoenixApp(app);

}

 

Thanks,

talldaniel
talldaniel

Member

Member

590 points

331 Posts

Re: Upgrade to RFW Correction

I meant fails on the last line if group is "B"

 

kwatts
kwatts

Contributor

Contributor

2129 points

436 Posts

Answered Question

Re: Upgrade to RFW Correction

See this article on breaking changes since Beta 2:

http://silverlight.net/blogs/msnow/archive/2008/09/25/silverlight-version-2-rc0-release.aspx

If this doesn't help, perhaps you can post your project somewhere so that we can help you troubleshoot your problems.

-Ken


http://kenwatts.blogspot.com/


Please select "Mark as Answer" for posts that are helpful. Thanks!
  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities