Exemplo n.º 1
0
 protected override void OnLoad(EventArgs e)
 {
     if (RegisterJs)
     {
         JsHelper.RegisterJsFile(Page, JsScriptName);
     }
 }
Exemplo n.º 2
0
 protected override void OnLoad(EventArgs e)
 {
     if (RegisterJs)
     {
         foreach (var jsName in JsScriptNames)
         {
             JsHelper.RegisterJsFile(Page, jsName);
         }
     }
 }
Exemplo n.º 3
0
    protected override void OnLoad(EventArgs e)
    {
        if (RegisterJs)
        {
            JsHelper.RegisterJsFile(Page, JsScriptName);
        }

        // change behaviour for filter container
        if (FindFilter() != null)
        {
            AutoPostBack = true;
        }
    }
Exemplo n.º 4
0
 protected override void OnLoad(EventArgs e)
 {
     if (RegisterJs)
     {
         foreach (var jsName in JsScriptNames)
         {
             JsHelper.RegisterJsFile(Page, jsName);
         }
     }
     if (String.IsNullOrEmpty(StartDir) && this.GetContext()["dir"] != null)
     {
         StartDir = Convert.ToString(this.GetContext()["dir"]);
     }
 }
Exemplo n.º 5
0
	protected override void OnLoad(EventArgs e) {
		if (SpinEnabled) {
			JsHelper.RegisterJsFile(Page,SpinJsScriptName);
		}
	}