Women in Technology

Hear us Roar

  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.
Full Threads Oldest First

Showing messages 1 through 3 of 3.

  • webpart control
    2008-08-04 03:02:43  Ravi Kalivarapu [View]


    By Executing Above Statment resets the particular user's settings.
  • webpart control
    2007-04-09 06:40:42  shhhh [View]

    hi write this code on ur webpart.aspx

    <asp:CatalogZone ID="CatalogZone1" runat="server">
    <asp:DeclarativeCatalogPart ID="DeclarativeCatalogPart1" runat="server">
    <asp:button id=btnttms/>
    <asp:PageCatalogPart ID="PageCatalogPart1" runat="server" />
  • webpart control
    2006-11-27 05:30:56  JesseLiberty [View]

    To solve this, modify your Zone Template (where you currently have a DeclarativeCatalogPart, and add a PageCatalogPart (self-closing). This will modify your page, adding to the page catalog each web part that you close, allowing you to reopen it and assign it to any zone you choose, as shown here (http://www.jliberty.com/pages/WebPartsPageCatalogPart.htm)