I'm developing an an asp.net 2 application in c#. This site is being built with accessibility in mind, and as such I need a to build a registration from that validates using server side scripts and not use client side validation.I need to validate a textbox (whether any text has been entered), if a check box has been checked.
ASP.NET3.5 Webforms. Am trying to put a validator on the drop down list, only if the checkbox is checked.
This doesn't work. If I put an alert in the onclick event, it does show.
having one listview in the listview first column is checkbox.on the out side of the listview there is dropdown list and button. i have to make functionality is on button click need to check atleast one checkbox has to selected if not then has to send alert for this. atleast select one checkbox from listview.
I am using the AJAX ReorderList, and inside the ItemTemplate I have a label and a checkbox. Now when in firefox I am able to change the checkbox checked state, but in IE it won't allow me to do anything with it. Its weird because the checkbox becomes that blue colour like when it gets focus, but it won't put the check in it or call the postback. The ReorderList is inside an UpdatePanel, so that I can monitor when the check changes on its postback. Below is the code:
I am using a datalist with checkbox and datalist is in a panel. I am poping the panel by using ajax modal pop-up. When we check the checkbox the checkedchange event is firing. But, when we uncheck the checkbox the event is not firing. It is user control and it is in update panel.
I'm having issues with a MaskedEdit on a textbox. I am using the the ClearTextOnInvalid property to prevent my user from inserting invalid information but when it deletes the text in textbox it does not clear the Mask.So if the user decides not to put anything in the box, I believe my code is seeing the mask as an invalid string. Is there a way to clear the mask after someone clicks out of the textbox? The ClearMaskOnLostFocus property is not working from textbox to textbox, only when no object has focus.
I'm facing an issue with chrome. I have multiview in which user control is loaded. This user control has one maskedEditExtender textbox (telephone textbox in ___-___-____ format). Issue is whenever the control is loaded i cannot see the masked feild but as soon i refresh the page I see it. I tried the script above but it didnt worked.
I want to save the input mask used in the control, but ONLY if a valid value was entered. In this markup, the mask is properly displayed and stored even if the user doesn't enter anything. Since a zero-length string is a valid value, the entered value is being stored in the database as (___) ___-____ If there is no value entered, the value stored should be a zero length string.
I have an asp.net control textbox, clicking on which a jquery timepicker appears and user can select any time.But I want to validate the selected time so that it is one hour greater than the current time in the client side. I mean when textbox value will be changed it should be validated.