/// <summary>
 /// Registers the clientscript with the page.
 /// </summary>
 protected virtual void RegisterClientScript()
 {
     ExpandingButtonScriptUtil.RegisterScriptForControl(
         this.button,
         this.targetControl,
         this.tracker,
         "{ Alt:'" + this.ExpandedAlternateText + "', Src:'" + this.ClientExpandedImageUrl + "' }",
         "{ Alt:'" + this.ContractedAlternateText + "', Src:'" + this.ClientContractedImageUrl + "' }"
         );
 }
Exemplo n.º 2
0
 /// <summary>
 /// Registers the clientscript with the page.
 /// </summary>
 protected virtual void RegisterClientScript()
 {
     ExpandingButtonScriptUtil.RegisterScriptForControl(this.button, this.targetControl, this.tracker, this.ExpandedText, this.ContractedText);
 }
 /// <summary>
 /// Registers the clientscript with the page.
 /// </summary>
 protected virtual void RegisterClientScript()
 {
     ExpandingButtonScriptUtil.RegisterScriptForControl(this.checkBox, this.targetControl, null, "true", "false");
 }