.NET Framework - Expand/Retract Section

Asked By Morris Neuman
19-Jan-10 08:45 PM
Hi,
I want to have several titles on a page with arrow to expand/contract
dynamically such that when user clicks on one of the titles, it expands a
section below it.  For example, please see page
http://www.dialogic.com/products/tdm_boards/system_release_software/default.htm
You can expand/retract any of the colored lines to see details below.

Are there special controls to automate this process?

Appreciate any help you can provide.

--
Thanks
Morris
Encoding
(1)
Control
(1)
Section
(1)
MimeOLE
(1)
Thread
(1)
AjaxControlToolkit
(1)
CgOqoA
(1)
CollapsiblePanel
(1)
  v-zhiqn replied to Morris Neuman
20-Jan-10 10:04 PM
Hi Morris,

To achieve this expand/collapse function by using a control, you can use
the AjaxControlToolkit CollaspiblePanel extender:
http://www.asp.net/AJAX/AjaxControlToolkit/Samples/CollapsiblePanel/Collapsi
blePanel.aspx

To install the AjaxControlToolkit:
http://www.asp.net/learn/Ajax-Control-Toolkit/tutorial-47-cs.aspx
http://www.asp.net/learn/ajax-videos/video-76.aspx

To use the CollaspiblePanel extender:
http://www.asp.net/learn/ajax-videos/video-89.aspx
http://www.asp.net/learn/Ajax-Control-Toolkit/tutorial-18-cs.aspx

Toolkit Tutorials
http://www.asp.net/learn/ajax/#ajaxcontroltoolkit
Tookit Videos
http://www.asp.net/learn/ajax-videos/#ajaxcontroltoolkit

--
Sincerely,

Zhi-Qiang Ni

Microsoft Online Support


==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications.

MSDN Managed Newsgroup support offering is for non-urgent issues where an
initial response from the community or a Microsoft Support Engineer within
2 business day is acceptable. Please note that each follow up response may
take approximately 2 business days as the support professional working with
you may need further investigation to reach the most efficient resolution.
The offering is not appropriate for situations that require urgent,
real-time or phone-based interactions. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/en-us/subscriptions/aa948874.aspx
==================================================

--------------------
| Thread-Topic: Expand/Retract Section
| thread-index: AcqZci4PYp4cQgYfSxey89A+CgOqoA==
| X-WBNR-Posting-Host: 71.245.243.190
| From: Morris Neuman <Morris@online.nospam>
| Subject: Expand/Retract Section
| Date: Tue, 19 Jan 2010 17:45:01 -0800
| Lines: 14
| MIME-Version: 1.0
| Content-Type: text/plain;
| 	charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4325
| Newsgroups: microsoft.public.dotnet.framework.aspnet.webcontrols
microsoft.public.dotnet.framework.aspnet.webcontrols:5042
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webcontrols
|
| Hi,
| I want to have several titles on a page with arrow to expand/contract
| dynamically such that when user clicks on one of the titles, it expands a
| section below it.  For example, please see page
|
http://www.dialogic.com/products/tdm_boards/system_release_software/default.
htm
| You can expand/retract any of the colored lines to see details below.
|
| Are there special controls to automate this process?
|
| Appreciate any help you can provide.
|
| --
| Thanks
| Morris
|
Create New Account
help
Web Deployment Project - Web.config section replacement .NET Framework I am replacing the appSettings section of my web.config file. In my replacement file the key looks like this: Seperate single quotes in the text, the carriage returns are still converted to the UTF-8 encoding and the embedded quotes are still represented as ". Is there any way to avoid this back during installation? My intent is to comment the entries that appear in the appSettings section of the config file. Normally I would use the <!- - - -> approach but comments of this sort are omitted during the section replacement and the comments are lost. As a result, I end up with either no using VS 2005. I tried using " as part of the embedded text in my replacement section. Unfortunately, the " was carried into the installation as a literal. When I installed the web Ampersand PoundSign xD semicolon Ampersand, PoundSign xA semicolon). There seems to be no way to control carriage return / linefeeds and associated spacing (included for proper formatting) in the resulting deployment web Also, it's better to include the suggestion about adding XML comments support for the section replacement. I think it a reasonable feature. I feel really sorry for the inconvenience it
the same settings (currency, date, spearators, . . ) as these that we can see and edit from Control Panel -> Regional and Language Options. It is true, when I use CurrentCulture in Console application settings differs from "Regional and Language Options". I looked web.config and machine.config - globalization section has default attributes: In ASP.Net 2.0 everything is correct. Can anyone help me Thanks, Ilya ASP.NET Discussions System.Globalization.CultureInfo.CurrentCulture (1) ASP.NET (1) Application (1) Encoding (1) Console (1) Control (1) CurrentCulture (1) CurrencySymbol (1) Encoding has nothing to do with culture. Try setting : . . .in web.config. Substitute the culture you predefined culture with I need to get settings that user can see and change from Control Panel -> Regional and Language Options. For example user can select "Russian" in Regional options and Thanks, Ilya re: !> I need to get settings that user can see and change from Control Panel You don't need to change Windows' Regional and Language Options in order for currencySymbol = "kr", for example). I'll try to explain what I want to get: In Control Panel -> Regional and Language Options user selects Danish culture. Than he or she clicks Customize
What's missing in this service? .NET Framework I've followed the section on MSDN on how to create a service but it seems that when i install one room to another for all eternity and beyond. C# Discussions RunInstallerAttribute (1) ServiceBase (1) Encoding (1) Console (1) Registry (1) Control (1) Installer (1) Main (1) Hi, Right click in the design panel of your service Let me check . . . keywords: What's, missing, in, this, service? description: I've followed the section on MSDN on how to create a service but it seems that when i install
change XML encoding .NET Framework Okay, I need to clean up these files. They are coming out of quotes around things are not coming in as quotes. And it is not the correct encoding anyway. It needs to be this: So I guess I need to change the encoding of each file before I can open it up as an XML doc and read get the XML that you are initially receiving to be well-formed. As for the encoding, you can read the original XML into a new XML DOM Document or XDocument and set the encoding of that new document. Where are these XML streams coming from in the first place IO.File.ReadAllLines(xmlFilesLocation & " \ " & sArticleToPost)) TheFileLines.RemoveAt(0) TheFileLines.Insert(0, "<?xml version = ""1.0"" encoding = ""ISO-8859-1""?> ") System.IO.File.WriteAllLines(xmlFilesLocation & " \ " & sArticleToPost, TheFileLines.ToArray) You realize that just because you have said what you want the encoding to be does not mean that the characters are actually encoded that way, right? They re coming from a crappy Mac system that is very inflexible. They have almost no control over how these get output. I wish i could get them well-formed but I