0

I am using a asp.net aspx page which has a master page. There is a custom control and it does not have cssClass attributes or style attribute. It autogenerates div ids and i want to assign a css just for that aspx page. The tricky part is the id generates by other pages as well. I cannot set this css in my stylesheet because of that reason. any help, greatly appreciated!

1
  • 1
    You will want to post some of the relevant code in your question. Commented Mar 19, 2013 at 21:43

1 Answer 1

1

You can use ClientIDMode="Static" if you want ID to be fixed. But you want to make sure IDs won't collide each other.

ClientIDMode in ASP.NET 4.0

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.