Solved

AJAX: On Focus CssClass masked Edit Extendar for calendar Control

Posted on 2009-04-09
4
1,402 Views
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
OnFocusCssClass="MaskedEditFocus"
OnInvalidCssClass="MaskedEditError"
how to include the Css class for changing the background color of textbox, depeding o the  Validity of the textbox

thanks for help
0
Comment
Question by:SaraDob
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 8

Expert Comment

by:MrAgile
ID: 24113164
Hi There,

Try this:  OnInvalidCssClass="MaskedEditError". Taken from this link: http://www.asp.net/ajax/ajaxcontroltoolkit/samples/maskededit/maskededit.aspx
0
 
LVL 1

Author Comment

by:SaraDob
ID: 24115448
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 ???
0
 
LVL 8

Accepted Solution

by:
MrAgile earned 250 total points
ID: 24123694
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; }
 
 
</style> 
 
----for your control
OnInvalidCssClass="MaskedEditError"

Open in new window

0
 
LVL 1

Author Closing Comment

by:SaraDob
ID: 31568626
Sorry foor the late reply.i was caught is other issues.
thanks a lot.It worked well.
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
OverviewThis article demonstrates a simple search form using AJAX. The purpose of the article is to demonstrate how to use the same code to render a page and javascript (JQuery) and AJAX to make subsequent calls to refine the results. The princip…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

734 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