Ajax Control Toolkit Calendar Control CSS

Question :

Ajax Control Toolkit Calendar Control CSS,

Answer :

I am using the AJAX Control Toolkit Popup Calendar Control in a datagrid. When it is in the footer it looks fine. When it is in the edit side of the datagrid it is inheriting the style from the datagrid and looks completely different (i.e. too big).

Is there a way to alter the CSS so that it does not inherit the style from the datagrid?


Open the page in firefox. However, first, download the firebug extension. Then, right click on the offending version and go down to inspect element.

Read More  Effective Ways to Introduce Agile into the Workplace?

Firebug is awesome because it let’s you navigate the css of any element. You have two options here:

1) Assign the topmost element an css class and work it that way.
If that’s not an option, you can use firebug to get the xpath to the offending element.
Xpaths look like body/table/tr/td/table/tr[2]

what you want to do with that in css is

body table tr td table tr {      /*css goes here */    }  

Option 1 is definitely the better pick. Option 2 is more of a dirty way of getting things
done when things like asp.net doesn’t let us have the fine grain of control we want.

Read More  Delphi and COM: TLB and maintenance issues

It would be really awesome if you used a pastebin and posted the link to your rendered page’s html.

That’s the answer Ajax Control Toolkit Calendar Control CSS, Hope this helps those looking for an answer. Then we suggest to do a search for the next question and find the answer only on our site.

Disclaimer :

The answers provided above are only to be used to guide the learning process. The questions above are open-ended questions, meaning that many answers are not fixed as above. I hope this article can be useful, Thank you

Read More  Running xinc on OpenBSD’s Apache Server