Skip to main content
Home Forums Silverlight Programming Programming with .NET - General Problem deriving from UserControl
2 replies. Latest Post by pkr2000 on May 10, 2008.
(0)
pkr2000
Participant
1219 points
377 Posts
05-09-2008 6:43 PM |
I've created a base class that derives from User Control and I alter my user control's class accordingly. Everything goes well until the "hidden" part of the partial class is generated as it derives directly from UserControl and therefore the partial class clashes and fails. I then have to go into the hidden file and manually change it to my base class and everything is fine...until I rebuild and have to do the same thing again! Anyone got any ideas for a neat solution to this...aside from just automating a search and replace as a build step?
Bill Reiss
Contributor
4836 points
917 Posts
05-09-2008 7:08 PM |
This is a known issue, hopefully will be fixed, for now, here's a workaround
http://silverlight.net/forums/t/12448.aspx
05-10-2008 1:01 PM |
Thanks, good to know I wasn't doing anything obviously wrong.