I have a usercontrol in an ASP.net website which client side id was “contact_us” with the ct00 etc, but I have renamed the usercontrol to “feedback”, cleaned, rebuilt, published and recycled the app pool and still the name “contact_us”.
Does anyone have any idea why the client side name is not reflecting its server side name after being renamed?
This is an important issue which I need to resolve (client not happy).
public partial class Contact_Us: TransactionUserControl
{
#region Public ...
public partial class Feedback : TransactionUserControl
{
#region Public ...
Thanks for your time
All very odd
Try manually deleting content at the following locations
Temp ASP.Net files
(replace v2.0.50727 with version of asp.net – or better do all)
Website Cache
On my machine is at
Also check your page directive is referencing your new code behind file and not still the old one for some reason
I’ve occasionally had the wrong inherit attribute – it’s not automatically changed on changing name of file
Also – I would manually delete all dlls before publish – even though I know the clean solution should do that for you