• DataCogsFieldControls 有时保存不上的问题


            public void InitializeWithField(SPField field)
            
    {
                
    if (!IsPostBack)
                
    {
                    ChildDropDownListField ChildField 
    = field as ChildDropDownListField;
                    
    if (ChildField != null)
                    
    {
                        childSiteUrl 
    = ChildField.ChildSiteUrl;
                        childListName 
    = ChildField.ChildListName;
                        childListTextField 
    = ChildField.ChildListTextField;
                        childListValueField 
    = ChildField.ChildListValueField;
                        childJoinField 
    = ChildField.ChildJoinField;

                        EnsureChildControls();

                        
    if (string.IsNullOrEmpty(txtSiteURL.Text) && !string.IsNullOrEmpty(childSiteUrl))
                        
    {
                            txtSiteURL.Text 
    = childSiteUrl;
                            loadLists();
                            ddlLists.Items.FindByText(childListName).Selected 
    = true;
                            refreshLookups();
                            ddlColumnText.Items.FindByText(childListTextField).Selected 
    = true;
                            ddlColumnValue.Items.FindByText(childListValueField).Selected 
    = true;
                            ddlColumnJoin.Items.FindByText(childJoinField).Selected 
    = true;
                        }

                    }

                }

            }
  • 相关阅读:
    Asp.Net基础 9.Web开发原则
    JavaScript – 1.事件 + 2.变量 + 3.判断变量初始化 + 4.函数的声明 + 5.匿名函数
    DOM – 3.window对象的属性
    Dom – 1.window对象事件 + 2.body、document对象的事件
    faint
    开会
    it's over
    so funny
    no topic
    震惊:有良医生揭无良献血内幕!
  • 原文地址:https://www.cnblogs.com/chenfulai/p/1183407.html
Copyright © 2020-2023  润新知