private void UpdateLink(KmlViewInformation viewInfo)
        {
            try
            {
                if (Link != null)
                {
                    string url;
                    if (Link.ViewRefreshMode == viewRefreshModeEnum.onStop)
                    //if (!String.IsNullOrEmpty(Link.viewFormat))
                    {
                        url = viewInfo.PrepLinkUrl(Link.Href + "?" + Link.ViewFormat);
                    }
                    else
                    {
                        url = Link.Href;
                    }

                    LinkRoot = new KmlRoot(url, Owner);
                    Dirty = true;

                    //if (open)
                    //{
                    //    if (LinkRoot.children != null)
                    //    {
                    //        foreach (KmlFeature feature in LinkRoot.children)
                    //        {
                    //            feature.open = true;
                    //        }
                    //    }
                    //}

                    //if (visibility)
                    //{
                    //    if (LinkRoot.children != null)
                    //    {
                    //        foreach (KmlFeature feature in LinkRoot.children)
                    //        {
                    //            feature.visibility = true;
                    //        }
                    //    }
                    //}
                }
            }
            catch
            {
            }
        }