Hii,
In one of my form i've textboxes and a button,Close, which closes the form .In the OnBlur event of the text boxes im calling the javascript function which alerts the user if the textbox is empty...if the textbox is empty and if i clicked on the close button its showing the alert message only..instead of closing the form (ofcourse this is what the default behaviour of OnBlur event).But I wanna to close the form whenevenr the user click the close button irrespective of the textboxes are empty or not.
i tried the CausesValidatio n="false" for the close button but it didn work for me..
Kindly suggest mehow can i do this .
Thanks in advance.
BTR>
In one of my form i've textboxes and a button,Close, which closes the form .In the OnBlur event of the text boxes im calling the javascript function which alerts the user if the textbox is empty...if the textbox is empty and if i clicked on the close button its showing the alert message only..instead of closing the form (ofcourse this is what the default behaviour of OnBlur event).But I wanna to close the form whenevenr the user click the close button irrespective of the textboxes are empty or not.
i tried the CausesValidatio n="false" for the close button but it didn work for me..
Kindly suggest mehow can i do this .
Thanks in advance.
BTR>
Comment