Comments (2)
The issue is caused by dnnTabs jQuery plugin behavior - it stores currently selected tab in the cookie by 2 minutes by default, and (just my thinking) not updates it every time when tab is switched by user. This may be fine with AJAX-based queries, as then dnnTabs() is calling just once - but not with standard ASP.NET postbacks, as we need to call dnnTabs() function every single page load.
from r7.university.
The idea behind the fix: use ViewState to store selected tab number and pass it to dnnTabs () function every page load. Default value is 0 (no ViewState ~ first load), so first tab is selected by default. Then, for each postback event handler, we update ViewState to the number of tab, on which control (postback) is located.
Solution is not very elegant, but working. Also need check how it will work along with form validation, as dnnTabs () should automatically switch to the tab where invalidated messages appears.
from r7.university.
Related Issues (20)
- При редактировании сведений о численности не-админом отображаются лишние вкладки
- Display items with publish date in the "future" with green background
- Launchpad misbehavior on postback HOT 2
- ScienceDirectory: Load text into modal via AJAX request
- Convert links used to open modals into buttons HOT 1
- Rename WorkbookConverter module to FormConverter
- Error deleting edu. program with linked documents
- Temporary add Linear CSV serializer from 2.7.0
- Для подразделений из 1 сотрудника отображать контакты сотрудника, а не подразделения?
- Не открывается форма редактирования сроков обучения под редактором
- Corporate email fields for employees and divisions
- New edu. program: Prefill divisions list from module settings
- Review records sorting by edu. form
- WorkbookConverter: Use 2.7.0 template for "download original" HOT 1
- Filter edu. programs grids by querystring param (e.g. divisionId)
- Division search: remove division dropdown
- Labels for emails
- Allow 3 or more emails
- Validation for email fields
- Remove divisions dropdown from employee seach
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from r7.university.