Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 248293
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T21:19:51+00:00 2026-05-11T21:19:51+00:00

I’ve always thought that server-side code is unaffected by the browser requesting it, but

  • 0

I’ve always thought that server-side code is unaffected by the browser requesting it, but I’ve just come across an exception:

I have a button that when clicked, changes the button’s CSS class (and those relative to it) and rebinds a GridView with new data. The function is this:

Private Sub lbViewUnUsed_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles lbViewUnUsed.Click
    lbViewUsed.CssClass = "button small"
    lbViewUnUsed.CssClass = "button small selected"
    BindUsage(UsageBinding.UnUsed)
End Sub

In IE, this works perfectly. However, in Firefox, the BindUsage() function stops firing midway and nothing gets accomplished at all! In my frustration, I inserted Debug.Assert() statements after every line of code in the BindUsage() to see what was going on, and sure enough, the function would not go all the way through in Firefox ONLY.

The BindUsage() function is this (with the Debug assertions still in):

Private Sub BindUsage(ByVal bindWhat As UsageBinding)
    Debug.Assert(False, 1)

    If bindWhat = UsageBinding.Used Then
        gvUsage.DataSource = sUser.GetWordsMarkedWithUsage(True)
        gvUsage.Columns(0).Visible = False 'hide button column'
    Else
        Debug.Assert(False, 2)

        gvUsage.DataSource = sUser.GetWordsMarkedWithUsage(False)
        Debug.Assert(False, 3)

        Dim userInfo As UserAccount.LoginInfo = UserAccount.GetUserLoginInfo
        Debug.Assert(False, 4)

        Dim showUsedButton As Boolean
        Debug.Assert(False, 5)

        showUsedButton = (userInfo.UserName.ToLowerInvariant = sUser.UserName.ToLowerInvariant)
                       Debug.Assert(False, 6)

        gvUsage.Columns(0).Visible = showUsedButton 'show button column'
        Debug.Assert(False, 7)

    End If
    Debug.Assert(False, 8)

    gvUsage.DataBind()
    Debug.Assert(False, 9)

End Sub

The above function does not make it past 5 in Firefox. I’m guessing there’s some sort of problem with the assignment of the showUsedButton variable, but I can’t figure out what it would be. Why would this fail only in Firefox, but not in any other browser especially since this is occurring on the server???

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T21:19:51+00:00Added an answer on May 11, 2026 at 9:19 pm

    It’s happening on the server, but you are retrieving data that was generated by the client:

    UserAccount.GetUserLoginInfo

    I would review your stored data and see what’s different in it based on client application and see how it’s handled.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 118k
  • Answers 118k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer You could simply put the ASP.NET user control inside the… May 11, 2026 at 11:34 pm
  • Editorial Team
    Editorial Team added an answer The 8 in 8.2 is the width "Minimum number of… May 11, 2026 at 11:34 pm
  • Editorial Team
    Editorial Team added an answer Content-type You don't need to specify that content-type on calls… May 11, 2026 at 11:34 pm

Related Questions

I ran into a problem. Wrote the following code snippet: teksti = teksti.Trim() teksti
I am currently running into a problem where an element is coming back from
Seemingly simple, but I cannot find anything relevant on the web. What is the
Does anyone know how can I replace this 2 symbol below from the string
Configuring TinyMCE to allow for tags, based on a customer requirement. My config is

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.