HeaderSelectedCssClass not working


Posted on 16th Feb 2014 07:03 pm by admin

I have an accordian where I have a drop down list in the first pane and a grid in the second pane. When the ddl selection is changed, I programatically change the selected index of the accordian to now display the grid using the following code:view plaincopy to clipboardprint?AjaxControlToolkit.Accordion acc = (AjaxControlToolkit.Accordion)this.Master.FindControl("Content_Accordion"); acc.SelectedIndex = 1; AjaxControlToolkit.Accordion acc = (AjaxControlToolkit.Accordion)this.Master.FindControl("Content_Accordion"); acc.SelectedIndex = 1;

Did you know?Explore Trending and Topic pages for more stories like this.
It works correctly in that it correctly expands the 2nd pane and contracts the 1st pane. It does not, however, change the header back color of the 1st pane to the unselected color. Instead, both panes have the selected color from my style sheet.
No comments posted yet

Your Answer:

Login to answer
113 Like 22 Dislike
Previous forums Next forums
Other forums

HTML Viewer HIDE scrollbar
How can I disable scrollbars in a HTML Viewer control? I can't hide them. Even i have enough space b

2 decima places & How to reload my page
Hello There,

How do i put full-stop (.) after second figure from behind? ie if i have 123456

.htpasswd Registration Form
Hi,
I wanted to make an htpasswd registration form.
I found this code on the internet but have

How to create a static html menu from a database
Hi,

I have built a small cms which allows me to create simple html pages and then upload them

Character increment
Hi,

I am facing a scenario like above,but in my case i want to show up like Col A,Col B etc..

PHP Login
Hey!
I got this shopcart code online, am trying to modify it but am getting an error when i try a

a dificult string search
Hi I don't know a way around this. I want the user to input a password, but to make it a bit complca

Problem with the Update command used with a sqldataadapter
I'm connected to a database on an SQL Server and I'm using a sqldataadapter, sqlconnection, sqldatas

Need help adding a timestamp to my filename/variable
Hello,

I'm kind of stupid when it comes to php and I need a tiny bit of help. I've got a f

Where do I put CRON code
So I've figured out alot about how to automatically run a php function. I can't figure out where to

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash