예제 #1
0
        private static void TicketDataBinding(object sender, EventArgs e)
        {
            Literal             ticket       = (Literal)sender;
            IPanelContentSource panelContent = ticket.NamingContainer as IPanelContentSource;

            if (panelContent != null)
            {
                ticket.Text = "</div>";
            }
        }
예제 #2
0
        private static void TicketDataBinding(object sender, EventArgs e)
        {
            Literal             ticket       = (Literal)sender;
            IPanelContentSource panelContent = ticket.NamingContainer as IPanelContentSource;

            if (panelContent != null)
            {
                ticket.Text = string.Format("<div class=\"eS-panel eS-t-{0}\">", panelContent.PanelContent.Ticket);
            }
        }