My asp.net application (aspx) has two Label controls that need to be populated with information from a Request QueryString. In Page_Load I make the treatment so that Label-type controls receive this information and actually receive it, but it does not render, that is, it does not appear on the page. I made a test by placing constants in place of the Request QueryString values and when I do this the Label type controls are populated. What could this be? I have read a lot about ViewState and its commands but none have resolved.
insira o código aqui
<asp:Panel ID="panFeedBack" runat="server">
<div class="row">
<div class="col-xs-8">
<div class="control-group">
<div class="controls">
<asp:Label ID="lblMarcacao" runat="server"></asp:Label>
</div>
</div>
</div>
</div>
</asp:Panel>
insira o código aqui
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Not Request.QueryString.Item("id") Is Nothing Then
Dim QueryStrMarcacao As String = Request.QueryString.Item("id").Split("|")(1)
lblMarcacao.Text = "Marcação: " & QueryStrMarcacao
End If
End Sub