/// <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 + "' }"
         );
 }
Ejemplo 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);
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Registers the clientscript with the page.
 /// </summary>
 protected virtual void RegisterClientScript()
 {
     ExpandingButtonScriptUtil.RegisterScriptForControl(this.checkBox, this.targetControl, null, "true", "false");
 }