Hi
How to UnRegister or Hide User Control in Code Behind on a particular Page
<%@ Register Src="~/User/SideBar.ascx" TagPrefix="uc1" TagName="SideBar" %>
Thanks
Hi
How to UnRegister or Hide User Control in Code Behind on a particular Page
<%@ Register Src="~/User/SideBar.ascx" TagPrefix="uc1" TagName="SideBar" %>
Thanks
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Sachin SinghPosted Jan 28, 2023, 8:15 AM
Test this if Output Cache is not enabled.
Naimish MakwanaPosted Jan 30, 2023, 8:12 AM
Hello Ramco
Please use below code
In case of Output Cache is enable than please refer below link.
https://www.codeproject.com/Articles/444421/How-to-manipulate-master-page-controls-in-ASP-NET
Thanks
Naimish