asp.netclientidmodesetting

How should we use ClientIDMode property that comes with asp.net 4.0?


How should we use ClientIDMode property that comes with asp.net 4.0?... When i should i use one over the other clientIdModes?


Solution

  • Rick Strahl wrote a nice article on this very topic:

    One of the more anticipated features of ASP.NET 4.0 – at least for me - is the new ClientIDMode property, which can be used to force controls to generate clean Client IDs that don’t follow ASP.NET’s munged NamingContainer ID conventions.