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;
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.
Help with Contact Form
I have this Form on an html page and the associated code on page.php (below).I keep getting the "Please Fill In All Fields" message. Can you help me fix this?I'm sure I'm just missing
Generate PDF
Hi guys,I would like to know if there is a way to generate pdf when clicking on a link. In fact, I would like to be able to click on a link and generate a pdf file with information from my database,
Checking BOM Authorization Group
Hai Friends,
Displaying Column Names
I have a question regarding the ability to show the column names from my table/query.What I'm looking to do is to be able to have my users enter their own query via a builder (Which I haven't built
CHMOD script
Hi,I need a script to read all files in a folder and set to 777.Can anyone help out please?
Multi dimensional arrays
If I put in this code:
small inaccuracies
I have this code to convert fractional base 10 into base 2: while($num > 0) { echo "<tr><td>". $num." * 2 =
Move array index to end
Hey guys, Quick question: I have an array that looks like this:Code: [Select]$var = array( 'name' => 'thename', 'title' => 'thetitle', 'media'
Help with php code
Hello, can anyone tell me why this php word trap fails to work, and the trigger words get blow right past, and the comments get posted anyway?heres the php code im testing on a
If a record matches an existing record do nothing
So I don't know if I should put this here or in mysql, but what my script is for is for people to add their emails to our mailing list. Pretty simple, I got that working. But what I want it do now