I am create user control but css classes is not show in user control. so plz tell me how to embed css file in web user control?
User Control
Hi,
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Abhishek JainRank #1,062 · 1.8K reputationPosted Sep 12, 2013, 11:05 PM EDT
So if you want to do so it is better to provide the path of CSS from the code behind of the user control like this:
Try this code on Page Load.
Regards
AJ