all groups > dotnet windows forms designtime > october 2006 >
You're in the

dotnet windows forms designtime

group:

Designer problems and Nullable types


Designer problems and Nullable types schneider
10/23/2006 5:27:04 PM
dotnet windows forms designtime: [prev posting in windowsforms.controls]


The follow property fails in the designer, works initialy, but as soon as
the designer tries to reload the form it explodes. Anyone know how to fix
this?
Public Property DateTime() As Nullable(Of DateTime)

Thanks,

Schneider

Re: Designer problems and Nullable types Bryan Phillips
10/26/2006 12:00:00 AM
What code is generated in the code behind?

Bryan Phillips
MCSD, MCDBA, MCSE
Blog: http://bphillips76.spaces.live.com




[quoted text, click to view]
Re: Designer problems and Nullable types schneider
10/26/2006 4:31:04 PM
I think thats the problem, It looks like a standard DateTime not a
Nullable(of DateTime).

So I guess we can't expose these as part of a public API and expect VS to
work?

That sucks..

Maybe we can specify for the serializer?

Schneider

"Bryan Phillips" <bphillips@nospam.crowechizek.com.spammenot> wrote in
message news:%23Sw9AKL%23GHA.4524@TK2MSFTNGP04.phx.gbl...
[quoted text, click to view]

Re: Designer problems and Nullable types Bryan Phillips
10/27/2006 4:22:51 AM
Unfortunately, I can't see a way around the problem since it is a
serialization problem and not a designer one.

Bryan Phillips
MCSD, MCDBA, MCSE
Blog: http://bphillips76.spaces.live.com




[quoted text, click to view]
AddThis Social Bookmark Button