Esempio n. 1
0
        /// <exclude />
        public Dictionary <string, string> GetBindingToClientIDMapping()
        {
            var result = new Dictionary <string, string>();

            FormFlowUiDefinitionRenderer.ResolveBindingPathToClientIDMappings(_uiControl as IWebUiControl, result);

            return(result);
        }
        /// <exclude />
        public string GetTitleFieldControlId()
        {
            IWebUiControl container = GetContainer();

            if (_titleField.IsNullOrEmpty() || container == null)
            {
                return(string.Empty);
            }

            var mappings = new Dictionary <string, string>();

            FormFlowUiDefinitionRenderer.ResolveBindingPathToClientIDMappings(container, mappings);

            string clientId = mappings.ContainsKey(_titleField) ? mappings[_titleField] : "";

            return(clientId);
        }