Victor
Victor

Reputation: 1271

ASP.NET ID Placeholder Name

When I moved some of my pages to a different server, the ASP.NET started rendering the controls ID without the master page placeholder. So, before it used to be rendered like this ctl00_MainContent_control1 and now it is MainContent_control1. What could of caused this change and if there's a way to control it?

Upvotes: 0

Views: 450

Answers (1)

appenthused
appenthused

Reputation: 173

You have the right to determine clientid by using clientid attribute, check if this link helps you:

Upvotes: 1

Related Questions