Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Page.LoadControl and CSS

Reply
Thread Tools

Page.LoadControl and CSS

 
 
Ben Fidge
Guest
Posts: n/a
 
      06-26-2004
I've got a page that dynamically loads web UserControls at run-time. The
problem is that CSS styles applied to the UserControl's controls and page
elements aren't being applied.

Any ideas?

Thanks

Ben


 
Reply With Quote
 
 
 
 
Harshdeep Mehta
Guest
Posts: n/a
 
      08-11-2004
Hi Ben,

Apply CSS file in Page that contains UserControl, and apply CSS classes in
UserCOntrol but don't link your usercontrol with CSS file. so only Container
page will have linked to CSS and Usercontrol will inherit CSS file from the
container page.

Revert back if not getting.

Harsh

"Ben Fidge" <> wrote in message
news:...
> I've got a page that dynamically loads web UserControls at run-time. The
> problem is that CSS styles applied to the UserControl's controls and page
> elements aren't being applied.
>
> Any ideas?
>
> Thanks
>
> Ben
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CSS MENU and CSS photo gallery desjardins.daniel@gmail.com Javascript 1 02-19-2006 06:22 PM
Whining and bitching about MSIE 6 CSS bugs and CSS support =?ISO-8859-1?Q?G=E9rard_Talbot?= HTML 0 07-09-2005 06:48 AM
CSS Layout question - how to duplicate a table layout with CSS Eric ASP .Net 4 12-24-2004 04:54 PM
Is there a way to set the a CSS property to be explicitly the same as another CSS property? Joshua Beall HTML 1 12-10-2003 07:21 PM
print.css and screen.css tom watson HTML 1 09-09-2003 02:48 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57