Office Pool Pickem Pools, Survivor Pools, & March Madness Pools

Back to General Inquiries

Player-Image

Unable to access "week" tab of standings

 Started by Tom Nimitz on Nov 25, 2018 at 7:09 PM

       
 Tom Nimitz
Online
Age: 65
21 Posts
Posted Nov 25, 2018 at 7:09 PM
 I cannot get to the "week" tab under standings in my pick-em pool.  I can access "Season", "Picks", and "Trends", but when I click on "Picks", the "Season" tab is displayed instead. I've switched browsers and switched devices with the same results. 
 Tom Nimitz
Online
Age: 65
21 Posts
Posted Nov 25, 2018 at 7:25 PM
DEBUG INFO: In the html, I  am seeing a div named "BPMainContent_Week" , but the javascript is looking for "Week". If I rename the div, the "Week" tab can be selected. - Tom
 Fred Williams
Online
The Commish
Age: 62
850 Posts
Posted Nov 25, 2018 at 11:15 PM
Quote Tom Nimitz wrote:
View Original Post
DEBUG INFO: In the html, I  am seeing a div named "BPMainContent_Week" , but the javascript is looking for "Week". If I rename the div, the "Week" tab can be selected. - Tom

Hi Tom,

Thanks for the debug info! We fixed this earlier this evening, it was caused by an upload to support college bowl pickem.  In Aspx, when you allow a div to be runat="server" (which we needed to do so that we can turn off that tab for college bowl pickem), it changes the name to include the master page. 

Fred 



"I want to die peacefully in my sleep like my grandfather, not screaming in terror like his passengers!"

 Tom Nimitz
Online
Age: 65
21 Posts
Posted Nov 25, 2018 at 11:30 PM
I saw that it was fixed. I also noticed that the WeekTab name was prefixed, but that didn't seem to affect behavior (at least not on the pickem pool.)  In case you aren't aware, you can use ClientIDMode="static" to avoid name mangling when using runat="server". I've used this to resolve similar problems in my work. - Tom
 Fred Williams
Online
The Commish
Age: 62
850 Posts
Posted Nov 26, 2018 at 7:48 AM
Quote Tom Nimitz wrote:
View Original Post
I saw that it was fixed. I also noticed that the WeekTab name was prefixed, but that didn't seem to affect behavior (at least not on the pickem pool.)  In case you aren't aware, you can use ClientIDMode="static" to avoid name mangling when using runat="server". I've used this to resolve similar problems in my work. - Tom

Tom, that is really good to know! In fact I've made that change. Truth be told I'm an embedded C/C++ programmer first, ASP and MSSQL came later in life when I decided to do this website, and I know just enough to be dangerous. ;) The other programmer is an up and coming ace student at CSU (my son) who will likely be much more proficient before too long at ASP.net and hopefully find other shortcomings of mine. :)

Thanks again!

Fred



"I want to die peacefully in my sleep like my grandfather, not screaming in terror like his passengers!"