I'm using a PanelBar with MVC extensions to have about 5 grids on the screen (grids are AJAX content in each PanelBar item - from partial view).
I also have two dropdowns at the top of the page (companies & locations) where locations cascades from companies. When the cascade event on the location happens, I want to reload all 5 grids at once and not wait for the user to open each panelbar. In addition, I want to show the count of items in the grid in the text of the panel bar (e.g. "Transmission Errors (25)" where "Transmission Errors" is the text of the panelbar item and 25 is the number of items in the grid). When the grid is loading the count in the panelbar item text should be "--" to indicate loading.
I've got the dropdownlists working (for the most part - that's a different post) and am subscribing to the cascade event and am updating each panelbar item's href (ul>li>a.k-link) to have the appropriate company and location query strings.
Now, how do I force each panelbar to go get that content from the server without programmatically opening each panelbar? In other words, I want each PanelBar item to get its AJAX content while having each PanelBar remain closed.
For now, I'll hold off on my question about updating the text of the panelbar item (with the grid data total count) until I get past this issue.
Thanks,
--John
I also have two dropdowns at the top of the page (companies & locations) where locations cascades from companies. When the cascade event on the location happens, I want to reload all 5 grids at once and not wait for the user to open each panelbar. In addition, I want to show the count of items in the grid in the text of the panel bar (e.g. "Transmission Errors (25)" where "Transmission Errors" is the text of the panelbar item and 25 is the number of items in the grid). When the grid is loading the count in the panelbar item text should be "--" to indicate loading.
I've got the dropdownlists working (for the most part - that's a different post) and am subscribing to the cascade event and am updating each panelbar item's href (ul>li>a.k-link) to have the appropriate company and location query strings.
Now, how do I force each panelbar to go get that content from the server without programmatically opening each panelbar? In other words, I want each PanelBar item to get its AJAX content while having each PanelBar remain closed.
For now, I'll hold off on my question about updating the text of the panelbar item (with the grid data total count) until I get past this issue.
Thanks,
--John