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

Search with relational database
Hey,

I have quite a complicated (for me anyway ) relational database for an apartments syste

Place specific image in html page when specific name is typed.
Hello,

Fairly new to PHP and was curious if someone might know how to solve a fairly simple r

Blogging s/w
heya frndz!!! i want to start a blog.... m looking for a s/w like oscommerce which is thr for e-comm

Image upload - determine folder
I have an upload script that may be accessed from different directories. Problem is, the script is m

array_combine() error
getting an "Warning: array_combine() [function.array-combine]: Both parameters should have an e

reading xml faster than DB call?
I am trying to optimize a high traffic website, and I enabled a feature where there are three photos

Progress bar tracking file downloads
Hey guys, was wondering if there was a way to track how far a file has been downloaded. I know there

mr8m - reverse document
Friends,

I'm trying to reverse a document held by MIRO, but it reports the message balan

Problem with HTTP Caching...?
Hi there, im trying to implement caching. But it doesn't always work.
I post it here because ther

How to add an image/C++ OpenGL?
Hi,

I have been trying to look online for this and, so far, I haven't found anything usef

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