void MyClientSideAnchor_OnWindowClose(Codesummit.WebModalAnchor sender) { string outputData = sender.OutputData; if (outputData.Length > 0) { if (outputData.StartsWith("<createSingleInvoice")) { // Retrieve the invoice id and display it on the page. System.Xml.XmlDocument doc = new System.Xml.XmlDocument(); doc.LoadXml(outputData); string invoiceId = doc.DocumentElement.GetAttribute("invoiceId"); lblConfirmation.Text = "Your invoice has been created with Invoice No: " + invoiceId + "."; pnlConfirmation.Visible = true; lblConfirmation.ForeColor = Color.Blue; } } hidBatchIdCSV.Value = string.Empty; LoadBatchInvoices(); if (cboClient.SelectedValue != string.Empty) { LoadGrid(); } else { ClearFields(); } }
void MyClientSideAnchor_OnWindowClose(Codesummit.WebModalAnchor sender) { extraIdCSV = hidSelectedExtras.Value; if (sender.OutputData.IndexOf("AddExtra") > 0) { BindData(); } }
void MyClientSideAnchor_OnWindowClose(Codesummit.WebModalAnchor sender) { UseDefaultFilter(); // Hook ethe PreRenderComplete Event for the Databinding this.PreRenderComplete += new EventHandler(Traffic_TrafficSheet4_PreRenderComplete); //register the Async Load Methods AddOnPreRenderCompleteAsync(new BeginEventHandler(BeginAsyncGetMyResource), new EndEventHandler(EndAsyncGetMyResource)); AddOnPreRenderCompleteAsync(new BeginEventHandler(BeginAsyncGetMyResourceFuture), new EndEventHandler(EndAsyncGetMyResourceFuture)); }
void MyClientSideAnchor_OnWindowClose(Codesummit.WebModalAnchor sender) { LoadJob(); }