Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Sep 12, 2012 08:28 AM by Ruchira
Sep 11, 2012 11:36 PM|LINK
I traced this to the control IDs (controls on a panel in a page inheriting a Master Page) being generated differently, and realised I needed to set the Page property "ClientIDMode" to "Auto" - tried that on test server, worked fine. Put it back in the dev
copy and now the dev copy won't even build...
System.Web.UI.Page does not have a public property named 'clientidmode' (error is all lower case and not how it is in the file)
Apparently it needs to go in the web.config file in the pages section. However that won't accept that property either, it does not exist.
So I have an app that runs fine on the server and won't build on the client.
want to change it right now.
How do I get this so it works both on the server and on my test machine, as the two approaches - Page and Web.Config aren't working...
Sep 12, 2012 06:42 AM|LINK
The reason is becuase ClientIDMode property is supported only in Framework 4 and 4.5
Read more about it : http://msdn.microsoft.com/en-us/library/system.web.ui.control.clientidmode.aspx
Hope this helps..
Sep 12, 2012 08:28 AM|LINK
Please 'Mark as Answer' if this post helps you.