Ejemplo n.º 1
0
        public void Initialize()
        {
            if (initialized)
            {
                return;
            }
            initialized = true;

            FastTrackPage page = this.Page as FastTrackPage;

            if (page != null)
            {
                if (!Page.IsPostBack)
                {
                    object value = page.GetPropertyValue(propertyName);

                    if (value != null)
                    {
                        this.Text        = page.GetObjectName(value);
                        this.NavigateUrl = page.GetEditUrl(value, this.viewUrl);
                    }
                }
            }
        }