1
My Asp.net application (aspx) has two Label-type Controls that need to be filled with information from a Request Querystring. In Page_load I do the treatment so that the Controls of type Label receive this information and actually receive, but do not render, that is, it is not displayed on the page. I did a test by placing constants in place of the values of Request Querystring and when I do this the Label type Controls appear filled. What could this be? I read a lot about Viewstate and his commands but none solved.
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
Post your code so it’s easier to assist
– Barbetta