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
620
WebMonthCalendar Postback
posted

Using version 11.1.20111.2238. I have a WebDatePicker and an associated WebMonthCalendar. If I have the auto postback SelectionChanged event set to On, it fires the WebMonthCalendar's SelectionChanged event when I click the selector arrow in the WebDatePicker. I would like this event only to fire if I actually select a new date. Is this possible? Sample WebDatePicker and WebMonthCalendar aspx code below.

<ig:WebDatePicker ID="dateEnd" runat="server" DropDownCalendarID="calendarEnd">
<AutoPostBackFlags EnterKeyDown="On" ValueChanged="On" />
</ig:WebDatePicker>
<ig:WebMonthCalendar ID="calendarEnd" runat="server">
<AutoPostBackFlags SelectionChanged="On" />
</ig:WebMonthCalendar>

Parents
  • 145
    posted

    Hello droedger,

       I followed the steps you suggested and was unable to reproduce the behavior you're describing.  I created a WebDatePicker with WebMonthCalendar. I set the WebMonthCalendar's SelectionChanged="On" and tested the client-side SelectionChanged event. I noticed that the event was called only when the selected date of the calendar was changed.

     I have attached the sample project I used to test this.  Please test this project on your PC; whether or not it works correctly may help indicate the nature of this problem. 

    If the project does not work correctly, this indicates either a problem possibly specific to your environment, or a difference in the DLL versions we are using.  My test was performed using the latest Service Releases for versions 11.1.20111.2238 in NetAdvantage for .NET 2011 Volume 1, 12.2.20122.2147 in NetAdvantage for .NET 2012 Volume 2 and 13.1.20131.2045 in NetAdvantage for .NET 2013 Volume 1

     If the project does show the product feature working correctly, this indicates a possible problem in the code of your application.  It will help if you can provide a small, isolated sample application that demonstrates the behavior you are seeing.

     Or, if this sample project is not an accurate demonstration of what you're trying to do, please feel free to modify it and send it back, or send a small sample project of your own if you have one.

     Please let me know if I can provide any further assistance.

     

    Sincerely,

    Nikila

     

    WebDatePicker_with_WebMonthCalendar.zip
Reply Children