Ejemplo n.º 1
0
        public void MemberCaseLinkTemplate_DataBinding(Object sender, EventArgs e)
        {
            System.Web.UI.LiteralControl controlInstance = (System.Web.UI.LiteralControl)sender;

            if (!(controlInstance.NamingContainer is Telerik.Web.UI.GridDataItem))
            {
                return;
            }

            Telerik.Web.UI.GridDataItem container = (Telerik.Web.UI.GridDataItem)controlInstance.NamingContainer;

            Client.Core.CoreObject coreObject = (Client.Core.CoreObject)container.DataItem;

            controlInstance.Text = CommonFunctions.CaseAnchor(coreObject.Id, coreObject.Id.ToString());

            return;
        }