I'm trying to use request.querystring to determine which page I'm dealing with and show the associated DIV..How do I accomplish this.. It doesn't like
Dim divControl As System.Web.UI.HtmlControls.HtmlGenericControl = Request.QueryString("page") cause i'm trying to assign a HtmlGenericControl with a string..but how do people
accomplish what I'm trying to do here..Am I going about it the wrong way? Just ignore the redundant code..I 've just been trying different things
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim v As String = Request.QueryString("page")
Dim divControl As System.Web.UI.HtmlControls.HtmlGenericControl = Request.QueryString("page")
If Not String.IsNullOrEmpty(v) Then
divControl.Style("Display") = "block"
E ...
Go to the complete details ...