protected void btnPatternUpdate_Click(object sender, EventArgs e)
 {
     OSAEScriptManager.PatternUpdate(hdnSelectedPatternName.Text, txtPattern.Text);
     loadPatterns();
 }