Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
35
WebDateChooser
posted

I'm new to Asp.Net and have only used Infragistic for Windows.  So it is very possible that I'm not doing this correctly.

I have a WebDateChooser on my webpage.  I did not set a default value because I want the field to appear empty. 

There is no clientSideEvent code for the Initialization event handler.  Here's  my source for the webDateChooser:

 

<

 

igsch:WebDateChooser AllowNull="true" ID="DealStartDtChooser" Value= "" runat="server">

 

 

</igsch:WebDateChooser>

The webDateChooser displays "null" when the screen is rendered.  Can someone tell me please what I need to do to have it display blank instead of "null"? 

Thanks.

Lyric

 

 

 

 

  • 903
    posted

    The "NullDateLabel" is a property displayed in the properties of the WebDateChooser. Setting that to a blank string will do it.  You don't have to start editing source.

    Although a lot of forum replies give answers in terms of HTML source, as that is a generic answer, if you are using Visual Studio and have access to the smart tags it is generally better (i.e. less likely to cause errors/unexpected behaviour) to edit using those or make changes in the Properties window.

  • 240
    Suggested Answer
    posted

    Hi,

    I normally just add:

    NullDateLabel=" "

    i.e. <igsch:WebDateChooser ID="ddlIncidentDate" runat="server" NullDateLabel=" "></igsch:WebDateChooser>

    This works for me

    Regards
    Marc