AJAX :: Collapsiblepanelextender - Extender To Expand Others Panels In Expanded State Should Be Collapsed At Same Time

Aug 30, 2010

I have four collapsiblepanelextendrs on my page. Now i want that whenever, i click on one extender to expand others panels in expanded state should be collapsed at same time. How can i achieve this in C#

View 13 Replies


Similar Messages:

AJAX :: Collapsiblepanelextender - Each Time The Page Opens Or Postsback The Panels Open For A Time And Then Close

May 20, 2010

I have a series of collapsible panel extenders on my page and each time the page opens or postsback the panels open for a time and then close. Is there a way to prevent this?

View 4 Replies

AJAX :: Use JavaScript To Find Out If The Accordion Is Expanded Or Collapsed

Apr 14, 2010

I am using vb.net/asp.net 2005.

I have an accordian in my nested gridview that has the defaul selectedindex=-1 (meaning its collapsed).

In order to change the expand icon I need to find out using javascript what the selectedindex value of the accordian is when it loads, does anyone know how to do this?

View 2 Replies

AJAX :: CollapsiblePanelExtender Collapsed=True Not Working?

Mar 30, 2011

I am using a CollapsiblePanelExtender inside a ListView and aside from one minor, but annoying problem, it works fine. The problem is, when the page first renders, I see all the panels expanded for a short moment before they all get collapsed. There are multiple CPEs because the ListView is databound to about 45 records. I have the Collapsed=True, and based on some not-quite-clear documentation, I also set the CollapsedSize=0 and the panel's Height=0. After that last change (panel height), they are now displaying collapsed except that the gridviews inside the target panel is still showing in a sort of overlapped way. I'd upload a picture so you can see, but I don't think I can in this forum. Since the page looks like this for about a half-second, it's enough to confuse and annoy my users (and myself). Can someone please help me set this up to truly show collapsed when the page loads?

I did also try looking at the code in the AJAX Toolkit's sample website but I still don't quite understand "Collapsed - Specifies that the object should initially be collapsed or expanded. Set this to match your initial size. In this case, we initially set the panel to a height of 0 to match the CollapsedSize property, so when the page first renders, we don't see the panel expanded." If the options are True/False, why does it say to set this to match your initial size? And I did set the panel height to 0 to match the collapsedsize and it's just not working.

[Code]....

View 3 Replies

AJAX :: CollapsiblePanelExtender Always Expanded In Formview?

May 21, 2010

I have several CollapsiblePanelExtenders in my formview (both EditTemplate and ItemTemplate). Everything works great, except that they always expand when I move from record to record. I'd like them to keep their previous state (collapsed or expanded). How can I do this with the Formview? Outside the Formview.

View 6 Replies

AJAX :: Stacked Collapsible Panels Lose Spacing After Being Collapsed

Aug 29, 2010

I can't figure out why these collapsible panels are losing their white space inbetween each header after the panel is collapsed.

[Code]....

View 4 Replies

SQL Reporting :: How To Differentiate SSRS Drill Down Between Expanded And Collapsed

Nov 9, 2010

I've a requirement to know if drill down is expanded then what would be value and if it is collapsed then what would be value in SSRS 2005 reporting. So on the basis of this; i can show and hide data column in the matrix control.

I tried to use inscope() function but always getting - True.

I need something if drill down ------> + = Inscope(Grid) value, - = Inscope(Grid) value.

View 1 Replies

AJAX :: Force A Collapsible Panel Extender To Stay Collapsed?

Mar 3, 2011

Is it possible to force a collapsible panel to stay collapsed based on a user role. If the user belongs to a certain role then allow the panel to become expendable otherwise keep it closed.

Tried the Enabled property of the extender but this doesnt work.

View 3 Replies

AJAX :: CollapsiblePanelExtender Control Always Expand And Show The Panel On The Left Margin?

Jan 6, 2011

I have made a user control using CollapsiblePanelExtender control. I am getting a small issue, that the panel that expands is not relative to the control. It always open on left side of the page. My control is in different location in different pages. How can I make sure that the expand and collapse is with respect to the control? I see "left: -36px" in the style attribute of "SettingsContentPanel". How can it be relative and doesn't break the code.

[Code]....

View 4 Replies

Web Forms :: How To Expand And Collapsed Treeview Nodes

May 18, 2010

I m using Teeview control for displaying Family tree structure.its having around 500 members.

now, i would like to add search functionality inside a tree,after finding appropriate node,a whole tree should be expanded from that node only.

any one have idea? how can it possible?

i found one property called "ExpandDepth" but still its not proper for my requirements.

View 2 Replies

AJAX :: When Expand Another Node, The Previous Expanded Node Collapses?

Oct 19, 2010

I created a sitemap with a treeview navigation in my aspx site. I am hoping someone can show me the code to put in a Masterpage so that when I expand a child node, all other nodes collapse, and when I expand another node, the previous expanded node collapses.

I have an example here of what I am trying to accomplish:

[URL]

I am using asp.net with VB.

I have been scouring the internet looking for a solution, but so far haven't found anything that works.

View 1 Replies

User Try To Expand Them The Web Page View Will Become Not So Good Because Every Treeview Has Expanded?

Jul 11, 2010

I have Already used many treeview in my web page, when any user try to expand them the web page view will become not so good because every treeview has expanded.how can I close every treeview when any user expand one of them?

View 12 Replies

AJAX :: Collapsible Panels With Extender

Jul 6, 2010

I have 2 collapsible panel. The first panel is expanded by default and second panel is collapsed. When I insert a user control in the first panel (about 650px height) it displays it but the content overflows into second panel header. I have autosize to none and height to 0px in the cssclass.

The content section in panel is not expanding to fit. However if any place any amount of static text it works perfectly. Also when I collapse the first panel the rest of the panel is disappearing when an user control is used. Am I missing something. The same problem when I tried to used ajax accordion

<asp:CollapsiblePanelExtender
ID="CollapsiblePanelExtender1" runat="server"
TargetControlID="PanelContentMain"
ExpandControlID="PanelTitleMain"
CollapseControlID="PanelTitleMain"
Collapsed="True"
TextLabelID=""
ExpandedText=""
CollapsedText=""
ImageControlID="Image1"
CollapsedImage="Images/accordion_active.png"
ExpandedImage="Images/accordion_active.png"
SuppressPostBack="True" >
</asp:CollapsiblePanelExtender>
<asp:CollapsiblePanelExtender
ID="CollapsiblePanelExtender2" runat="server"
TargetControlID="PanelContentAddress"
ExpandControlID="PanelTitleAddress"
CollapseControlID="PanelTitleAddress"
Collapsed="True"
TextLabelID=""
ExpandedText=""
CollapsedText=""
ImageControlID="Image1"
CollapsedImage="Images/accordion_active.png"
ExpandedImage="Images/accordion_active.png"
SuppressPostBack="True" >
</asp:CollapsiblePanelExtender>
THe header and content
----------------------------------
<asp:Panel ID="PanelTitleMain" runat="server" CssClass="collapsePanelHeader">
Application Information
</asp:Panel>
<asp:Panel ID="PanelContentMain" runat="server" CssClass="collapsePanel" >
<ucpers:ucpspers id="ucpspers1" runat="server" />
</asp:Panel>
<asp:Panel ID="PanelTitleAddress" runat="server" CssClass="collapsePanelHeader">
Contact Address Information
</asp:Panel>
<asp:Panel ID="PanelContentAddress" runat="server" CssClass="collapsePanel">
Contact Address
</asp:Panel>
The css
-------------
.collapsePanel
{
width:640px;
height:0px;
background-color:White;
overflow:hidden;
background-color: #E7FBFB;
border: 1px double #2E4d7B;
}
.collapsePanelHeader
{
width:640px;
height:20px;
color:Black;
background-color:#DDBF7D;
font-weight:bold;
font-size: 12px;
font-family:Arial,Verdana;
padding:5px;
cursor:pointer;
vertical-align:middle;
overflow:hidden;
border: 1px solid #b85dc3;
cursor: pointer;
}

View 2 Replies

AJAX :: Collapsible Panel Extender Doesn't Re-expand After Postback?

Jun 29, 2010

Here is my code. The only problem i am facing is that header panel does not expand after a button in content panel postbacks.

The header panel returns to its original state i.e. collapsed but doe not expand on clicking it.

[Code]....

View 4 Replies

AJAX :: Assign Multiple Panels To Modal Popup Extender

May 6, 2014

Requirement is:When I click on "Show Modal" button, it should open a ajax ModalPopup with 2 buttons: "Add Node" and "Add Goal"when I click on "Add Node" button, panel 1 should openWhen I click on "Add Goal" button, panel 2 should open.

I tried below code:

HTML:

<asp:Button ID="BAdd" runat="server" Text="Show Modal" ValidationGroup="usrvalid"/>
<!-- ModalPopupExtender -->
<cc1:ModalPopupExtender ID="Modal" runat="server" PopupControlID="ShowPanel" TargetControlID="BAdd" CancelControlID="btnClose" BackgroundCssClass="modalBackground1">
</cc1:ModalPopupExtender>

[Code] ....

But its not showing the panel1 and panel2 on button click(that are inside modal pop up)....

View 1 Replies

AJAX :: CollapsiblePanelExtender - Open Only One At The Time Other Close?

Jan 27, 2010

If I have 5 CollapsiblePanelExtenders on page and I want open second one I want close the first one and then open second one...How??

View 2 Replies

AJAX :: How To Save The State Of A CollapsiblePanelExtender To A Cookie

May 17, 2010

I have a page that has a few controls inside a CollapsiblePanelExtender. What i need to do is save the state of the CollapsiblePanelExtender so that its easier for the user when they comeback to the page.

How would i go about saving the state of the CollapsiblePanelExtender to a cookie each time its expanded or collapsed?

View 4 Replies

AJAX :: How To Expand A Collapsible Panel At The Same Time

Aug 29, 2010

I have four collapsile panels. Now i want there sould be two link buttons expand all and collapse all. Now whenever user will click on expand all, all the collapsible panels should expand at the same time. Similarly, whenever user will click on collapse all, all the panels should be collapsed.

View 17 Replies

Web Forms :: Treeview Save Expanded Node State?

Nov 1, 2010

I have an Update Panel on my web form. After click on the button inside panel, program generates treeview dynamically.

After postback, i initialize tree in Page Load.

The problem:

After clicking on the root node, node doesn't expand.

Question:

How it will be better to save and load expand (collapse) nodes state of my treeview?

View 3 Replies

Web Forms :: TreeView - Maintain Expanded Or Selected State Of Nodes?

Feb 8, 2010

I am trying to maintain the state of a TreeView on postback. I have a simple method to save the state of the tree on postback but it does not seem to capture the Expanded and the Selected state. Also, i have another method to restore the tree state after a postback. When a user selects an item in the TreeView i would like to have this item highlighted/selected. Along those lines i would also like to have all expanded or collapsed mainated after a postback.

[Code]....

store the state of a TreeView on postback?

View 3 Replies

AJAX :: Show Both Date And Time Using Ajax Calendar Extender?

Mar 19, 2010

I'm using ajax calendar extender to store an event in database. I also need the time of event, when i select the date.. Is there anyway to display both date and time using ajax calendar extender?

View 2 Replies

AJAX :: Developing Own Time Extender

Apr 29, 2010

We all know that, there is lot of extender available with AJAX. Experts, I want to develop an extender, which show time. Like 05:45. How should I move ahead? I am new to this concept.

View 10 Replies

AJAX :: Best Way To Select Time In The Calendar Extender?

Jan 7, 2010

Probably the solution is very simple but can't find a solution in the web about this... Is there a way to select time in the Calendar extender? Need to specify also the time when a user select the date.

View 1 Replies

AJAX :: Run Time Popup Control Extender?

Mar 31, 2010

I have a bunch of link buttons which I crate at runtime. Now when the user clicks the link button I generate a gridview based on the selection. I got all this to work.Now instead of showing it just like a gridview I would like to attach a popup to the link buttons I created at runtime and show them as a panel popup with the gridview in it.How do I do something like this?

View 6 Replies

AJAX :: Popup Extender At Run Time Or Programmatically?

Dec 24, 2010

How can I use Ajax Popup Extender at run time Or Programmatically??

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved