Click here to Skip to main content
15,899,754 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionIntegrating FLASH with ASP.NET Pin
GreenKhan14-Aug-09 7:50
GreenKhan14-Aug-09 7:50 
AnswerRe: Integrating FLASH with ASPX Pin
Abhishek Sur14-Aug-09 11:21
professionalAbhishek Sur14-Aug-09 11:21 
GeneralRe: Integrating FLASH with ASPX Pin
GreenKhan14-Aug-09 16:12
GreenKhan14-Aug-09 16:12 
GeneralRe: Integrating FLASH with ASPX Pin
Abhishek Sur15-Aug-09 12:36
professionalAbhishek Sur15-Aug-09 12:36 
QuestionPageMethods return value !!!!!!! Pin
zeeShan anSari14-Aug-09 7:24
zeeShan anSari14-Aug-09 7:24 
AnswerRe: PageMethods return value !!!!!!! Pin
Not Active14-Aug-09 10:23
mentorNot Active14-Aug-09 10:23 
QuestionNeed Assistance with Collapsible Content (C#) Pin
ahayw0114-Aug-09 6:28
ahayw0114-Aug-09 6:28 
AnswerRe: Need Assistance with Collapsible Content (C#) Pin
Abhishek Sur14-Aug-09 9:40
professionalAbhishek Sur14-Aug-09 9:40 
why dont you use Javascript to display / hide content.

Say you have used the html code block as below :

<div onclick="javascript:expandCollapsePane(this, 'dvContainer');">
August
</div>
<div id="dvContainer">
Event 1 
News 2
</div>



Now when user clicks on the Div Pane named august you can make the container div visible true or false :

function expandCollapsePane(obj, pane) {
   var containerPane = document.getElementByID(pane);
   var isCollapsed = (containerPane.style.display == 'none');
   if (isCollapsed) {
      containerPane.style.display = 'block';
   }
   else {
      containerPane.style.display = 'none';
   }
}


The javascript just hides the dvContainer on click. To make all of them invisible when one is open, just create an array of all such elements you create and before expanding anyone of them do a for loop and hide each other element in the block.

Hope you understand. Thumbs Up | :thumbsup: Rose | [Rose]

Abhishek Sur

My Latest Articles
Create CLR objects in SQL Server 2005
C# Uncommon Keywords
Read/Write Excel using OleDB

Don't forget to click "Good Answer" if you like to.

QuestionBrowser Print Preview Background Color And Image Setting Pin
Civic0614-Aug-09 4:20
Civic0614-Aug-09 4:20 
AnswerRe: Browser Print Preview Background Color And Image Setting Pin
Abhijit Jana14-Aug-09 4:25
professionalAbhijit Jana14-Aug-09 4:25 
AnswerRe: Browser Print Preview Background Color And Image Setting [modified] Pin
Abhishek Sur14-Aug-09 5:51
professionalAbhishek Sur14-Aug-09 5:51 
QuestionProblem in Javascript Pin
janani1314-Aug-09 3:58
janani1314-Aug-09 3:58 
AnswerRe: Problem in Javascript Pin
Abhishek Sur14-Aug-09 11:35
professionalAbhishek Sur14-Aug-09 11:35 
QuestionUsing SqlBulkCopy Pin
srikantha_nagaraj14-Aug-09 3:52
srikantha_nagaraj14-Aug-09 3:52 
AnswerRe: Using SqlBulkCopy Pin
Abhijit Jana14-Aug-09 4:22
professionalAbhijit Jana14-Aug-09 4:22 
QuestionRe: Using SqlBulkCopy Pin
srikantha_nagaraj14-Aug-09 6:27
srikantha_nagaraj14-Aug-09 6:27 
AnswerRe: Using SqlBulkCopy Pin
Abhishek Sur14-Aug-09 12:17
professionalAbhishek Sur14-Aug-09 12:17 
QuestionSelecting rows in GridView without postback with javascript? Pin
Chesnokov Yuriy14-Aug-09 3:14
professionalChesnokov Yuriy14-Aug-09 3:14 
AnswerRe: Selecting rows in GridView without postback with javascript? Pin
Abhijit Jana14-Aug-09 3:35
professionalAbhijit Jana14-Aug-09 3:35 
QuestionSelect items in gridview using checkbox and move them to another grid. Pin
Member 629328214-Aug-09 2:53
Member 629328214-Aug-09 2:53 
AnswerRe: Select items in gridview using checkbox and move them to another grid. Pin
Suresh Suthar14-Aug-09 3:01
professionalSuresh Suthar14-Aug-09 3:01 
QuestionDoes anyone use mono? [modified] Pin
Jeff Circeo14-Aug-09 1:30
Jeff Circeo14-Aug-09 1:30 
AnswerRe: Does anyone use mono? Pin
padmanabhan N14-Aug-09 1:42
padmanabhan N14-Aug-09 1:42 
GeneralRe: Does anyone use mono? Pin
Jeff Circeo14-Aug-09 1:49
Jeff Circeo14-Aug-09 1:49 
GeneralRe: Does anyone use mono? Pin
Abhishek Sur14-Aug-09 2:15
professionalAbhishek Sur14-Aug-09 2:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.