ICSSoft.STORMNET.Web.AjaxControls.ShowHideDiv - control for showing/hiding content.

Properties:

Property Type Description
Content System.Web.UI.ControlCollection Content that you want to hide/show
CookieName string Returns the name to maintain state control in the cookies (formed from the form name and ID control)
Title string Header

Methods:

Method Description
HideDiv() Hide content
ShowDiv() Show content of

Example usage:

...
<%@ Register TagPrefix="ac" Namespace="ICSSoft.STORMNET.Web.AjaxControls" Assembly="ICSSoft.STORMNET.Web.AjaxControls" %>
...
        <ac:ShowHideDiv ID="shd" runat="server">
            <img src="http://flexberry.ru/App_Themes/Blue/images/flex/Logo_h113px.png" />         
        </ac:ShowHideDiv>
...

View

In the closed state:

open:

Client methods

Concealment and disclosure: setExpand

$('#ИД').showHide('setExpand', false)