AJAX: On Focus CssClass masked Edit Extendar for calendar Control

Posted on 2009-04-09
Last Modified: 2012-06-27
Hi all
\You must be realising soon, that i'm a novice to AJAX control.

I have included Calendar extendar to my .aspx page.It is used in insert  template on List View.
I included MaskedEdit Extender for this calendar control.
But i'm not able to understand is this statement.. in maskedEdit Extender
how to include the Css class for changing the background color of textbox, depeding o the  Validity of the textbox

thanks for help
Question by:SaraDob
  • 2
  • 2

Expert Comment

Comment Utility
Hi There,

Try this:  OnInvalidCssClass="MaskedEditError". Taken from this link:

Author Comment

Comment Utility
Thanks for reply MrAgile..
I have read that article and trying to implement the maskedEditError...
If i'm not clear in my question post, here is the clarification I want to know how to get to write  the Maskededit error style sheet ???

Accepted Solution

MrAgile earned 250 total points
Comment Utility
Hi There,

There are a few ways to implement a stylesheet.

1. You can add this inconjunction with a theme for the app itself
2. you can create a stylesheet and reference it in the page.

paste  the code below into your page. and let me know if it worls the way that you want.
put this into your page

<style type="text/css">

.MaskedEditError {font-weight: bold; color: red; }


----for your control


Open in new window


Author Closing Comment

Comment Utility
Sorry foor the late reply.i was caught is other issues.
thanks a lot.It worked well.

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
DLL in ASP.NET 20 38
Convert string to date 3 39
Change data in datatable 8 15
Problem to page 4 16
Introduction Got endorsements from your clients?  Great!  There is almost nothing better than word-of-mouth advertising.  But how can you do that on the internet?  Sure you can make a page for endorsement quotations and list them all, but who is …
The Confluence of Individual Knowledge and the Collective Intelligence At this writing (summer 2013) the term API ( has made its way into the popular lexicon of the English language.  A few years ago, …
Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…
Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now