473,408 Members | 2,832 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

expand and collapse regions

Hi,

New to asp.net, and using vb.net behind code.

I want to have a basic page with some areas of the page, that I can collapse
and expand so that I can hide or display sections of my web page. Each
section will contain other controls that will mainly display static data.

Is this an out of the box or standard asp/vb.net function, or do I need to
get a customer web control?

Thanks

Sep 23 '08 #1
1 1255
CJM

"NoSpam Man" <no****@nospam.comwrote in message
news:eE**************@TK2MSFTNGP05.phx.gbl...
Is this an out of the box or standard asp/vb.net function, or do I need to
get a customer web control?
It's more a question of which box to get it out of...

It's a UI issue therefore you need some javascript. You could code it
yourself, or if you want to make it easier, pick one of the billion code
snippets around that will do similar things.
However, if you want to take a real step forward, I'd start to get to grips
with AJAX or one of the many good javascript frameworks out there (jQuery,
Prototype, Mootools, Scriptaculous...etc).

Personally, I'm using ASP.NET AJAX. OK, AJAX is more than just fancy
javascript effects, so I need it anyway, but the kit also includes the AJAX
Component Toolkit which includes control extenders such as the Accordion or
CollapsiblePanel

See:
-
http://www.asp.net/AJAX/AjaxControlT...iblePanel.aspx
-
http://www.asp.net/AJAX/AjaxControlT...Accordion.aspx
- http://www.asp.net/AJAX/ajaxcontroltoolkit/

Hope this helps...

CJM

Sep 23 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: James Hurrell | last post by:
Hi, I'm using the following javascript function to expand and collapse portions of text in a web page (targeted at IE5.5 and above): function doExpand(paraNum,arrowNum) { if...
7
by: peter | last post by:
I use the click-to-expand menu at http://javascript.internet.com/navigation/click-to-expand-menu.html This works fine, but is there a way to expand or collapse all the menus? An example of how...
1
by: Randy Starkey | last post by:
Hi, Is there a way to expand and collapse all if I have multiple implementations of this script on a single page? The script works well individually. Thanks! --Randy Starkey ---
2
by: Jenny | last post by:
My codebehind file contains a lot of sub's. Is there a fast way to expand and collapse them in the VisualStudio? It's really exhausting to collapse them all after opening the project in the...
4
by: Gönen EREN | last post by:
how can i collapse or expand a node of treeview control programmaticly? thanks.
4
by: Dennis | last post by:
Is there anyway to expand and collapse all the "Regions" with one click? Everytime I want to search for something, it never looks in the regions that are collapsed. Also, when I split the screen,...
0
by: Shadow Lynx | last post by:
When using ASP.NET 2.0's built-in TreeView on a page with <BASE target = "AnythingBut_Self"></BASE> in the HEAD, the expand/collapse buttons fail to function. The reason for this is that the...
0
by: jim | last post by:
Hi, I have a TreeView control that sits on the MasterPage. All of my other webpages inherit from that Master Page. The Treeview receives it's data using an XMLDataSource that has it's DataFile...
4
by: Rabel | last post by:
I am not very good at javascript I mostly am a flash developer but I am trying to apply one of our old expanding menus to work for a new site but it doesn't collapse the way I need it to right now...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.