MVC :: Do Textboxwatermarkextender And ValidatorCallout?
Jan 7, 2010how can i do textboxwatermarkextender and ValidatorCallout and in mvc?
View 12 Replieshow can i do textboxwatermarkextender and ValidatorCallout and in mvc?
View 12 Replieshave been trying to use the AJAX Validatorcallout control to my asp project...but it gives some error that it cannot be used with asp textboxes.
View 5 RepliesI'm using Update Panel.It contains a modalPopupExtender that use to insert new username.When i click on button, it will check if username exist .If username exist ,I want to ValidatorCallout show.But it doesn't show.here's my code
<asp:CompareValidator ID="CompareValidator_UserName"
ControlToValidate="txtPopSkillName" ValidationGroup="SkillAdd"
Operator="NotEqual" runat="server" Display="None"
ErrorMessage="UserName existed" SetFocusOnError="true"
></asp:CompareValidator>
<cc2:ValidatorCalloutExtender ID="ValidatorCalloutExtender_UserNameNotRepeat"
TargetControlID="CompareValidator_UserName" runat="server"
Enabled="True" >
</cc2:ValidatorCalloutExtender>
buttonClick_event
bool IsExisted =CheckUserName(txtUserName.Text);
if(IsExisted)
{
CompareValidator_PopSkillName.ValueToCompare = txtUserName.Text ;
ShowPopUp();
}
Ps:When I click one more ,Validator will show Have a solution to solve?
I want to have rounded corners for the validator callout.
View 1 RepliesI have a form that contain many field must filled.
I use Asp Required validator and ajax validator callout to make a cool error message.
I put that form into box which have scrollbar. (Not IE Scrollbar)
Running the application then try to scroll the form with that scrollbar.
Then pressing the button to trigger the validator required.
Finally the message is displayed but the message is not in correct position. It is above suppose to be.
I use DatePickerControl.v.1.1.7 with TextBoxWatermarkExtender,I saw it run okay with FireFox. But with IE8,I select date,the date which i selected not fill to TextBox.I not good at Javascript,Can you fix the bug for me please?I updated cource code which has issue with IE8 at:http://www.mediafire.com/?kw3kkt6km928d0l
View 8 RepliesI'm trying to compare two dates to make sure one is not greater than the other using a customvalidator and validatorcallout. However, I can't seem to get it to work and I've tried many examples but I can't seem to get what I want to work
View 1 Repliesi need to add system date in TextBoxWatermarkExtender for WatermarkText
View 1 RepliesI have a 2 textboxes txtA & txtB . txtB has TextboxWatermarkExtendertxtA has postback which sets the focus to txtB in the code behind.But due to the Ajax extender the focus is getting on to txtB.
View 1 RepliesYou know if TextBoxWatermarkExtender attached to a password textbox it shows blank points instead of hints.
in conclusion, is there any working procedure for ajax or javascript code that can change textbox mode from password to singleline back and forth on focus and on exit of the password textbox hence to see the watermark ?
I have a Master Page with a TextBox to which I have attached a TextBoxWatermarkExtender. One Content page has 3 UpdatePanels, each with a Timer and an UpdatePanelAnimationExtender. The WatermarkText on this Content page flickers when the partial page update occurs, it does not flicker on all other Content pages.
View 5 RepliesIm using a ValidatorCallOutExtender for validate a ASP:textbox, but I have the problem when the scroll is at the top of the page, everything works fine, but if the scroll is at the bottom the validatorcallout is displayed above the textbox which is assigned. I tried adding a CSS mentioned in several places, a script that runs when the page is loaded, so as to put the SetFocusOnError = "true" but nothing has worked, the error occurs in all browsers.
View 3 RepliesI have a textbox that uses TextboxWaterMarkExtender and jquery-ui's datepicker plugin.Upon postback, my textbox is losing the value selected from jquery datepicker.Below is the sample code to see the behavior. Is there anyway I can make my textbox to retain selected value on postback?One thing to note is, if I use jquery watermark plugin, it does postback the value. But for certain reasons, I think I plan to use AjaxControlToolkit.
[Code]....
I have a Login control with 2 (default) textboxes: Username and Password with a TextBoxWatermarkExtender respectly
login.aspx (markup)
[code]....
In Firefox it works fine! but in IE it doesn't work :(
Error: This command is not supported
I haven't been able to find anything on the net about this yet. A project that used to work fine all of a sudden started having trouble with a couple users. The TextBoxWatermarkExtenders for these users are now always firing the TextChanged event of the textboxes they are assigned to for every postback. I don't think this is what they are supposed to do. They didn't use to do this. Has anyone else experienced this? I can add code to ignore these unintentional events, but I would like to know why all of a sudden the change in behavior.
View 3 RepliesI tried to find any methods to validate items inside Modal Popup Extender
View 1 Replies