public TreePanelNodeClickEventArgs(Ext.Net.ParameterCollection extraParams, NodeEx nodeClick) : base(extraParams) { NodeDbClick = nodeClick; //NodeID = extraParams["id"].ToString(); //NodeText = extraParams["text"].ToString(); }
protected void Page_Load(object sender, EventArgs e) { if (!X.IsAjaxRequest && !IsPostBack) { SetExtLanguage(); HideShowButtons(); HideShowColumns(); ldMethod.Select("0"); cc.Format = date.Format = effectiveDate.Format = _systemService.SessionHelper.GetDateformat(); //if (string.IsNullOrEmpty(Request.QueryString["employeeId"])) // X.Msg.Alert(Resources.Common.Error, Resources.Common.ErrorOperation).Show(); //CurrentEmployee.Text = Request.QueryString["employeeId"]; //cc.Format = _systemService.SessionHelper.GetDateformat(); if (!string.IsNullOrEmpty(Request.QueryString["_employeeId"]) && !string.IsNullOrEmpty(Request.QueryString["_loanId"])) { var p1 = new Ext.Net.Parameter("id", Request.QueryString["_loanId"]); var p2 = new Ext.Net.Parameter("type", "imgEdit"); var col = new Ext.Net.ParameterCollection(); col.Add(p1); col.Add(p2); PoPuP(null, new DirectEventArgs(col)); } //try //{ // AccessControlApplier.ApplyAccessControlOnPage(typeof(loanSelfService), BasicInfoTab, GridPanel1, btnAdd, SaveButton); //} //catch (AccessDeniedException exp) //{ // X.MessageBox.ButtonText.Ok = Resources.Common.Ok; // X.Msg.Alert(Resources.Common.Error, Resources.Common.ErrorAccessDenied, "closeCurrentTab()").Show(); // Viewport1.Hidden = true; // return; //} //try //{ // AccessControlApplier.ApplyAccessControlOnPage(typeof(LoanComment), null, loanCommentGrid, null, Button1); // ApplyAccessControlOnLoanComments(); //} //catch (AccessDeniedException exp) //{ // caseCommentsTab.Hidden = true; //} if (purpose.InputType == InputType.Password) { purpose.Visible = false; purposeField.Visible = true; } } }
public void Show(string classId, string masterRef) { currentClassId.Text = classId; currentMasterRef.Text = masterRef; Ext.Net.ParameterCollection col = new Ext.Net.ParameterCollection(); col.Add(new Ext.Net.Parameter() { Name = "ClassId", Value = classId }); col.Add(new Ext.Net.Parameter() { Name = "PrimaryKey", Value = masterRef }); //transactionLogStore.Reload(col); TimeVariationHistoryStore.Reload(col); TimeVariationHistoryWindow.Show(); }
protected void Page_Load(object sender, EventArgs e) { if (!X.IsAjaxRequest && !IsPostBack) { SetExtLanguage(); HideShowButtons(); HideShowColumns(); FillSchedules(); FillWorkingCalendar(); releaseDate.Format = expiryDate.Format = releaseDateDF.Format = expiryDateDF.Format = _systemService.SessionHelper.GetDateformat(); if (!string.IsNullOrEmpty(Request.QueryString["record"])) { var p1 = new Ext.Net.Parameter("id", Request.QueryString["record"]); var p2 = new Ext.Net.Parameter("type", "imgEdit"); var col = new Ext.Net.ParameterCollection(); col.Add(p1); col.Add(p2); PoPuP(null, new DirectEventArgs(col)); } if (_systemService.SessionHelper.CheckIfIsAdmin()) { return; } try { AccessControlApplier.ApplyAccessControlOnPage(typeof(Branch), BasicInfoTab, GridPanel1, btnAdd, SaveButton); //ApplyAccessControlOnAddress(); } catch (AccessDeniedException exp) { X.MessageBox.ButtonText.Ok = Resources.Common.Ok; X.Msg.Alert(Resources.Common.Error, Resources.Common.ErrorAccessDenied).Show(); Viewport1.Hidden = true; return; } address.Text = string.Empty; } }
public TreePanelSubmittedNodeEventArgs(Ext.Net.ParameterCollection extraParams) : base(extraParams) { }
public DirectEventArgs(ParameterCollection extraParams) { this.extraParams = extraParams; }
public RemoteAppendEventArgs(bool insert, string serviceParams, ParameterCollection extraParams) : base(serviceParams, extraParams) { this.insert = insert; }