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 173k
  • Answers 173k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

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

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

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

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Create your program as a Windows Service, and make it… May 12, 2026 at 2:39 pm
  • Editorial Team
    Editorial Team added an answer PHP is server side, so no. The page will get… May 12, 2026 at 2:39 pm
  • Editorial Team
    Editorial Team added an answer A bit more explanation would help. Anyways, are you updating… May 12, 2026 at 2:39 pm

Related Questions

I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
I ran into a problem. Wrote the following code snippet: teksti = teksti.Trim() teksti
I have a French site that I want to parse, but am running into
I have text I am displaying in SIlverlight that is coming from a CMS
I am currently running into a problem where an element is coming back from

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.