Exemplo n.º 1
0
 /// <summary>
 /// Cria campos ocultos com informa????es sobre essa datapage usados para controle em javascript
 /// </summary>
 public void CreateHiddenFields()
 {
     RegisterTelerikHiddenField("__PAGENUMBER", DataProvider.PageNumber.ToString());
     RegisterTelerikHiddenField("__PAGECOUNT", DataProvider.PageCount.ToString());
     RegisterTelerikHiddenField("__TABLENAME", TableName);
     RegisterTelerikHiddenField("__DATABASENAME", DatabaseName);
     RegisterTelerikHiddenField("__PAGESTATE", PageState.ToString());
     RegisterTelerikHiddenField("__PAGENAME", PageName);
     RegisterTelerikHiddenField("__PERMISSION", Permission);
     RegisterTelerikHiddenField("__TABLEPARAMETER", TableParameters.ToString().ToLower());
     RegisterTelerikHiddenField("Targets", "");
 }
Exemplo n.º 2
0
 void ReFreshState()
 {
     tssl_State.Text = string.Format("当前时间:{0} | FormState:{1} | CheckState:{2} | CurrentReport:{3}",
                                     DateTime.Now, _formState.ToString(), _checkState.ToString(), tb_reportId.Text);
 }