Hi,
An ASP.NET question again.The assignment is simple.I have 2  css style sheets that I need to switch back and forth to display some events.I intent to load the pages dynamically switch between the sheets dynamically using radio buttons,so on page load I have code that looks like this:
 Dim link As New HtmlLink()

        If rblCSS1.SelectedValue = "ShowCSS1" Then
            link.Href = "css1.css"
            link.Attributes.Add("rel", "stylesheet")
            link.Attributes.Add("type", "text/css")
            Page.Header.Controls.Add(link)

        Else
            link.Href = "css2.css"
            link.Attributes.Add("rel", "stylesheet")
            link.Attributes.Add("type", "text/css")
            Page.Header.Controls.Add(link)
        End If

Apparently this is supposed to add the links to the css dynamically but thats not happening.Anyone who knows why this is the case?
And thanks to all who inboxed me and helped when I posted the last question.

Edwin Wambua