Author: cbryant5 | Posted on: 4/28/2004 5:44:57 AM | Views : 360

This may be a stupid question, but I can't seem to get my ascx file for my user control to recognize a class in my stylesheet. I put the link at the top of the ascx file, but I'm new to user controls and not sure if this isn't working because I don't have <head></head> section at the top like aspx pages do. Or maybe I'm trying to get something to work that won't work, but I'd like to reference a CssClass on my linkbutton in the user control.





I can, however, put a <style></style> section in the ascx page and it works fine, but I'd like to keep all of this in one css file and not have my styles spread out over many pages in case I ever have to make a change in the future.





Thanks in advance!





Chad ...

Go to the complete details ...