Αναζήτηση στην υποστήριξη

Προσοχή στις απάτες! Δεν θα σας ζητήσουμε ποτέ να καλέσετε ή να στείλετε μήνυμα σε κάποιον αριθμό τηλεφώνου ή να μοιραστείτε προσωπικά δεδομένα. Αναφέρετε τυχόν ύποπτη δραστηριότητα μέσω της επιλογής «Αναφορά κατάχρησης».

Μάθετε περισσότερα

Firefox have problem with Reload page event,it's diferent compared to Opera,Explorer... (Opera,Explorer,... Reload=Load Page, Firefox Reload<>Load Page) Example... CheckBox.Checed=True+Reload=False... TextBox.Visible=True+Reload=False... How..?

  • 1 απάντηση
  • 10 έχουν αυτό το πρόβλημα
  • 12 προβολές
  • Τελευταία απάντηση από MukyF

more options

ASP.NET 2+ , VB


ASP Controls:

           ddlBrojBrzina.Visible = False(Default) ... DropDownList
           lblBrzine.Visible = False(Default) ... Label
           CheckBox1.checked=True(Default) ... CheckBox
           CheckBox2.checked=False(Default) ... CheckBox

VB: Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

       If CheckBox2.Checked = True Then
           ddlBrojBrzina.Visible = False
           lblBrzine.Visible = False
       End If
If CheckBox1.Checked = True Then
           ddlBrojBrzina.Visible = True
           lblBrzine.Visible = True
       End If
      If Not (IsPostBack = True) Then
           CheckBox1.Checked = True
           CheckBox2.Checked = False
           ddlBrojBrzina.Visible = True
           lblBrzine.Visible = True

End If

End Sub

Works with Opera and W.Explorer..... I combined VB code and dat's why is littlebit in mess ... Sorry,my english is bad.

ASP.NET 2+ , VB ----------------------------------------------- ASP Controls: ddlBrojBrzina.Visible = False(Default) ... DropDownList lblBrzine.Visible = False(Default) ... Label CheckBox1.checked=True(Default) ... CheckBox CheckBox2.checked=False(Default) ... CheckBox ------------------------------------------------ VB: Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load If CheckBox2.Checked = True Then ddlBrojBrzina.Visible = False lblBrzine.Visible = False End If If CheckBox1.Checked = True Then ddlBrojBrzina.Visible = True lblBrzine.Visible = True End If If Not (IsPostBack = True) Then CheckBox1.Checked = True CheckBox2.Checked = False ddlBrojBrzina.Visible = True lblBrzine.Visible = True End If End Sub --------------------------------------------------------- Works with Opera and W.Explorer..... I combined VB code and dat's why is littlebit in mess ... Sorry,my english is bad.

Όλες οι απαντήσεις (1)

more options

Controls is in the AJAX UpdatePanel... I combined but in Firefox,when i Reload,my CheckBox1=False and CheckBox2=True (Default is 1-True and 2-False) ... in Opera,Explorer... it's OK I'think that Firefox is #1 but last update(s) have a some problems(Load WEB Site page time(data transfer) have some pause)

Τροποποιήθηκε στις από το χρήστη MukyF