i was worked with validation controls, i was used Required field validator and compare validator for confirm password field .i was used display dynamic for compare validator and dispaly static for required field validator..
i got error message dynamically... actually , my doubt was,
can we specify the property display dynamic in any one of the validation ah?
no need to specify display dynamic to all validator control?
i want to add video/audio on my asp.net site dynamically taking link from my access database,
please help m out , i tried <object><embed> <video> tags but not working, or may be i was doing something wrong, plz help m
I recently found a popup calendar control here: http://www.ezineasp.net/post/ASP-Net-PopUp-Calendar-Control.aspx[^] that works great! But the trouble I am running into is that, if I try to apply some validation; e.g. date rangevalidator, to it, nothing happens. I figured out that after the value was being set in the text field that the 'OnTextChanged' event is never being fired, probably because focus is not be given to the textbox. To get the validation to work I had to actually click into the field and press enter, this triggered the desired validation to take place. What I want to happen is for this automatically trigger the validation of course. I set the following fieds CausesValidation="true" AutoPostBack="true" but have had no success. Does anyone have any clues as to what I should do?
You don't seem to understand how asp.net controls works in general, I don't recommend using every control in the ASP.Net object library because most of them are useless.
I use the Jquery Calandar instead, and use 2 of them for a date range.
Member 9952350 wrote:
I figured out that after the value was being set in the text field that the 'OnTextChanged' event is never being fired
I've never used it in a textbox control, but there seems to be support for it. The need to postback a page to check the value of a textbox is stupid. You only want to post a page back once.
The rule of thumb is to validate before submission. You can do it all at once, or on every blur event in the DOM.
I think the asp.net validators are a joke, and are provided for some demonic reason that I can't figure out. They are unreliable, and I got many phone call complaints about them. So I dumped them and went straight to the DOM for validation. I'm upset because I wasted years using them for no practical purpose or reason, only having to rewrite them all over again.
Thank you for the insight and yes you sound very angry lol. But I appreciate the perspective, as to, feel like alot the ASP controls not very useful. Anytime you get ready to do any little that is not excatly standard functionality, you basically seem to have to rewrite the entire control/tool to get the job done.