Esempio n. 1
0
    protected void form_DataBound(object sender, EventArgs e)
    {
        GenericInquiryDesigner graph = this.ds.DataGraph as GenericInquiryDesigner;

        if (graph.IsSiteMapAltered)
        {
            this.ds.CallbackResultArg = "RefreshSitemap";
        }
    }
Esempio n. 2
0
    protected void edField_RootFieldsNeeded(object sender, PXCallBackEventArgs e)
    {
        GenericInquiryDesigner graph = this.ds.DataGraph as GenericInquiryDesigner;

        if (graph != null)
        {
            e.Result = string.Join(";", graph.GetAllFields());
        }
    }
    protected void edValue_RootFieldsNeeded(object sender, PXCallBackEventArgs e)
    {
        GenericInquiryDesigner graph = this.ds.DataGraph as GenericInquiryDesigner;
        if (graph != null)
        {
            String[] fields = graph.GetAllFields();
            String[] parameters = graph.GetAllParameters();

            e.Result = string.Join(";", parameters.Concat(fields));
        }
    }