hello
i am using a aspxgridview in a aspxpopupcontrol (which is dynamically set to the page url
using setcontenturl).
problem: when i trigger a "performcallback" on the gridview to update the datarows, then
the styles on the page are applied with different priorities.
as example, when i look at a page titel label (which is not even part of the gridview), the
applied styles look as follows (using IE6 + IEdevelopertoolbar):
/* Rule 5 of /WebResource.axd?d=YqryKbmtmQzEPccv5RS_J4Z8-P-JInJ_Z1HyOwbEKaX1FuD9u_jvnNsmDEKKxA0S7uBPOOJ-EDT4CQQhL-dcEU7W7BmC32Xiqmg3h9Fp8GcZuCHXJW_GaLC8qV9F_IXyOExN6_EPFKrGaT68IQ11Rw2&t=633676180631250000 */
.dxeBase { FONT-SIZE: 9pt; FONT-FAMILY: Tahoma}
/* Rule 16 of MasterStyles.css */
.xHDRTXT { FONT-WEIGHT: bold; FONT-SIZE: 16px}
/* Rule 2 of ../Styles/PriceCoach.css */
.dxeBase { FONT-FAMILY: Verdana}
now, before performing the callback, the label appears as verdana 16px bold,
thus using parts of all three style sources (devexpress webresource.axd,
my masterstyles.css and my custom pricecoach.css).
> see attached b4callback.jpg
after the callback, the label appears as tahoma 9pt bold, thus applying the
same styles (e.g. bold is taken from masterstyles.css), but setting a higher
priority on the devexpress webresource.axd, thus overriding my font size and
font family definitions.
> see attached aftercallback.jpg
this happens to all controls on the page, including my custom styling for the
grid template controls...
how can this be resolved?
regards,
alex satava
xss ag
after performing the callback
/* Rule 5 of /WebResource.axd?d=YqryKbmtmQzEPccv5RS_J4Z8-P-JInJ_Z1HyOwbEKaX1FuD9u_jvnNsmDEKKxA0S7uBPOOJ-EDT4CQQhL-dcEU7W7BmC32Xiqmg3h9Fp8GcZuCHXJW_GaLC8qV9F_IXyOExN6_EPFKrGaT68IQ11Rw2&t=633676180631250000 */ .dxeBase { FONT-SIZE: 9pt; FONT-FAMILY: Tahoma} /* Rule 16 of MasterStyles.css */ .xHDRTXT { FONT-WEIGHT: bold; FONT-SIZE: 16px} /* Rule 2 of ../Styles/PriceCoach.css */ .dxeBase { FONT-FAMILY: Verdana}