In my project , i have created a custom control which inherits from label.
My aim is to add 2 links in this . I need to use the same label to render these two links.i tried the bellow code only the first link is loading ,not the second .Please help
my sample code looks like
writer.RenderBeginTag(HtmlTextWriterTag.Link);
writer.AddAttribute(HtmlTextWriterAttribute.Href, string.Concat(Path 1));
writer.AddAttribute(HtmlTextWriterAttribute.Type, "text/css");
writer.AddAttribute(HtmlTextWriterAttribute.Rel, "stylesheet");
writer.RenderEndTag();
writer.RenderBeginTag(HtmlTextWriterTag.Link);
writer.AddAttribute(HtmlTextWriterAttribute.Href, string.Concat(Path 2 ));
writer.AddAttribute(HtmlTextWriterAttribute.Type, "text/css");
writer.AddAttribute(HtmlTextWriterAttribute.Rel, "stylesheet");
writer.RenderEndTag();