Getting error ASPPARSE: Unknown server tag 'ajaxToolkit:ModalPopupExtender' error on server but its working fine on my machine. Any idea what is missing.
Asked
Active
Viewed 3,469 times
1 Answers
0
In essence, the steps to rectify the issue are as follows:
To work around this problem, replace the <asp:Panel></asp:Panel>
tags that contain user controls in the .aspx page with <div></div>
tags. The <asp:Panel>
tag is rendered as an HTML <div>
element.
To replace the <asp:Panel></asp:Panel>
tags in the .aspx page with <div></div>
tags:
- Open the Web page that you want to modify.
- At the bottom of the page, click Code.
- On the Edit menu, click Find.
- Click the Replace tab.
- In the Find what box, type
<asp:Panel>
. - In the Replace with box, type
<div>
, and then click Replace. Replace all<asp:Panel>
tags that contain a user control. - In the Find what box, type
</asp:Panel>
. - In the Replace with box, type
</div>
, and then click Replace. Replace all</asp:Panel>
tags that contain a user control. On the File menu, click Save.

chridam
- 100,957
- 23
- 236
- 235
-
1Link above is broken. This topic may have the answer you need: http://stackoverflow.com/questions/2009138/asp-net-custom-control-unknown-server-tag – lixonn Mar 20 '17 at 14:46
-
@lixon Thanks for noticing this. – chridam Mar 20 '17 at 15:02