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
110
WebDatePicker Client Events Issue
posted

hi,

I have an issue for the WebDatePicker Client Events for "TextChanged" and "ValueChanged" on the Firefox and Goodle Chrome.

Here is the error message when the page is loading.

The "<Java Script Name>" for "TextChanged" should be a function, function name, or function text.

ASP Code.

<ig:WebDatePicker ID="detFirstNoticeDate" runat="server">
                                                        <ClientSideEvents ValueChanged="detFirstNoticeDate_ValueChanged" />
                                                    </ig:WebDatePicker>

Java Script Code.

function detFirstNoticeDate_ValueChanged(detFirstNoticeDate, evntArgs) {
                    var oNoticeFlag = document.getElementById("<%=ddlNoticeStatus.ClientID%>");
                    var selectVal = 1;
                    oNoticeFlag.selectedIndex = selectVal - 1;
                    window.onbeforeunload = page_OnUnload;
                }

 

It is working on the IE, but cannot work on Firefox or Chrome.