| Article: |
Web Parts in ASP.NET 2.0 | |
| Subject: | webpart control | |
| Date: | 2006-11-27 01:21:46 | |
| From: | Prachi_Gurjar | |
|
How to retain the webpart control, once closed by mistake? (at runtime). I am not able to view the webpart once i closed it on runtime. |
||
Showing messages 1 through 3 of 3.
-
webpart control
2007-04-09 06:40:42 shhhh [Reply | View]
hi write this code on ur webpart.aspx
<asp:CatalogZone ID="CatalogZone1" runat="server">
<ZoneTemplate>
<asp:DeclarativeCatalogPart ID="DeclarativeCatalogPart1" runat="server">
<WebPartsTemplate>
<asp:button id=btnttms/>
</WebPartsTemplate>
</asp:DeclarativeCatalogPart>
<asp:PageCatalogPart ID="PageCatalogPart1" runat="server" />
</ZoneTemplate>
</asp:CatalogZone>




Thanks!
-j
-j