I have a alphabetized menu for the selection of a customer to manage. I wanted to make this section to collapse so it can be viewed as needed; however, there is an issue when i add the collapsible panel extender and I cannot figure out why it is not working.
The menu consists of 3 listviews, the top listview displays a list of buttons that show a letter of the alphabet, the next 2 listviews display customers that begin with the letter of the alphabet chosen. One is for business customers, the other is for personal
On page load the list is defined by the letter A, then after you select a letter, it displays the clients in each list with the appropriate letter. Everything works fine. The issue begins when I add the extender, the Alpabet listview displays just fine,
but the other 2 are not displayed until I collapse the panel then open it again then they display fine; however, I want the panel to be open upon the loading of the page since no customer data will be displayed and you will have to select an account to view,
I do not want to have to add an extra click to open the panel when i am loading the page. I want the menus to display so I can select my account, then after I have already selected an account use the collapse to select other accounts as needed during operation.
I remove the collapsible panel, everything works fine, but i have to use hide to make panels invisible, and I would much rather use the collapse if I have the choice
Participant
1906 Points
1206 Posts
Collapsible Panel Extender Issue
Apr 18, 2014 10:50 AM|Bobby-Z|LINK
I have a alphabetized menu for the selection of a customer to manage. I wanted to make this section to collapse so it can be viewed as needed; however, there is an issue when i add the collapsible panel extender and I cannot figure out why it is not working.
The menu consists of 3 listviews, the top listview displays a list of buttons that show a letter of the alphabet, the next 2 listviews display customers that begin with the letter of the alphabet chosen. One is for business customers, the other is for personal
On page load the list is defined by the letter A, then after you select a letter, it displays the clients in each list with the appropriate letter. Everything works fine. The issue begins when I add the extender, the Alpabet listview displays just fine, but the other 2 are not displayed until I collapse the panel then open it again then they display fine; however, I want the panel to be open upon the loading of the page since no customer data will be displayed and you will have to select an account to view, I do not want to have to add an extra click to open the panel when i am loading the page. I want the menus to display so I can select my account, then after I have already selected an account use the collapse to select other accounts as needed during operation.
I remove the collapsible panel, everything works fine, but i have to use hide to make panels invisible, and I would much rather use the collapse if I have the choice
I can fix it with jQuery and it works, but my question is why is this not working using the ajax toolkit?
Currently Learning: ASP, SQL, CSS, JavaScript, AJAX, XML, XSLT, C# So please be patient with me! Thanks
All-Star
15648 Points
2151 Posts
Re: Collapsible Panel Extender Issue
Apr 21, 2014 12:30 AM|Happy Chen - MSFT|LINK
According to your description, i would suggest you try using HiddenField control and ClientID
please check out the links for details:
http://forums.asp.net/t/1284648.aspx?CollapsiblePanelExtender
CollapsiblePanelExtender inside a ListView
Hope it helps you.