aspx.designer.cs no updating

Posted by Nismeh under .NET Framework on 12/31/2013 | Points: 10 | Views : 863 | Status : [Member] | Replies : 3
Hi,
I am updating my UI. For that I am replacing some controls to another control. Now an issue for me is I am keeping same Id of new control which I was using previously. So in designer.cs it shows an error.

For ex I am having linkbutton as abc
now I am replacing it with imagebutton as abc

Can you suggest that how can I regenerate full file after making changes on it?

IT KNOWLEDGE IS APPLIED KNOWLEDGE
So Just Do It



Responses

Posted by: vishalneeraj-24503 on: 12/31/2013 [Member] [MVP] Platinum | Points: 25

Up
0
Down
Close your solution and re open your visual studio.

Nismeh, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: kgovindarao523-21772 on: 12/31/2013 [Member] [MVP] Bronze | Points: 25

Up
0
Down
Hi,
if you do replacing linkbutton with imagebutton while the solution is in running, stop the solution open aspx.designer.cs and replace linkbutton with imagebutton at the error point. now run the solution. this will work fine

Thank you.


Thank you,
Govind

Nismeh, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: vishalneeraj-24503 on: 12/31/2013 [Member] [MVP] Platinum | Points: 25

Up
0
Down
close the designer file and make changes and then run the application.

Nismeh, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response