Last post Feb 28, 2019 07:46 AM by mnmhemaj
Feb 27, 2019 10:20 AM|mnmhemaj|LINK
I have a button styled with bootstrap as follows:
<asp:Button ID="btnExit" runat="server" Text="EXIT"
class="btn btn-danger btn-sm btnExit" UseSubmitBehavior="false" TabIndex="-1"
data-toggle="tooltip" data-placement="right" title="Back to overview" />
The onclick button event hides and shows some controls in the same page.
Protected Sub btnExit_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnExit.Click
pnlFastTrack.Visible = False
PnlAddNew.Visible = False
pnlDetail.Visible = False
pnlOverView.Visible = True
Dim taskno As String = LblDetailTaskNo.Text
Dim intSelectedIndex As Integer = -1
GridView1.Visible = True
SqlDataSource1.SelectCommand = Session("strsel")
This works well in all client computers. But only one user says that after clicking the button, the page is dispalyed in a new tab in his computer.
How is this possible? What should be done to prevent this error?
Feb 28, 2019 02:07 AM|Wei Zhang|LINK
According to your description,I suggest you could ask that user which type of browser does he use.Since nobody except him has this problem I think it may caused by the browser he used.
Else , he could let him provided the Screenshot of the page, so you could see the problem clearly.
Feb 28, 2019 07:46 AM|mnmhemaj|LINK
The intranet site was under Local Intranet Site zone. After changiing it to Trusted Sites, the problem is resolved.