Click here to Skip to main content
11,640,626 members (60,312 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# ASP.NET
i have put search facility in page .Below this my other data exsist. near search ,i have put button 'hide'.when i click on hide.search facility hide.i have to do this using ajax.But i dont know what controll is used and how to do this?
Posted 1-Feb-13 23:19pm
Comments
Trics071 at 2-Feb-13 6:04am
   
you can use collaspblepanelextender option present in Ajax Control ToolKit
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Sounds like you actually need a collapsible panel. On high level, you need a Div element that toggles(show/hide the display style) on the click of the '+'/'-' image or hide/show button.

Following will help:
Those are also called as Accordion control in ASP.NET:
jquery: Accordion[^]
Ajax: Accordion Demonstration[^]

For HTML/CSS, smaple, look at this one: Javascript animated collapsible panels without any frameworks[^]
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Mika Wendelius 310
1 OriginalGriff 165
2 Afzaal Ahmad Zeeshan 130
3 CPallini 109
4 Sergey Alexandrovich Kryukov 94
0 Mika Wendelius 200
1 OriginalGriff 145
2 CPallini 115
3 jgakenhe 40
4 sasanka sekhar panda 30


Advertise | Privacy | Mobile
Web04 | 2.8.150731.1 | Last Updated 2 Feb 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100