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?
Asked
Active
Viewed 429 times
0

Victor
- 1,251
- 6
- 21
- 43
-
2Check this: http://stackoverflow.com/questions/4437717/asp-net-2-5-prefixing-ctl00-and-asp-net-4-not-prefixing-ctl00/4437786#4437786 – Yuriy Rozhovetskiy Nov 21 '11 at 13:44
1 Answers
1
You have the right to determine clientid by using clientid attribute, check if this link helps you:

Rajesh
- 7,766
- 5
- 22
- 35

appenthused
- 173
- 1
- 10