473,612 Members | 2,181 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

asp.net ajax collapsible control, always visible control

4 New Member
i made asp.net webusercontrol which contains panel which contains datalist and that panel is in ajax collapsableExte nder and that webusercontrol is in master page header and in always visible control problem is little i think but very stupid that whenever i go on any page whilst page load my webusercontrol expand for a sec and then collapse but i want it to remain collapsed until i want it to expand..

you may see demo on http://netcart.1stworl dcommerce.com .. its shopping panel on right top of the page when u click on shopping panel it will expand

other problem is

i have server side asp:linkButton control which causes postback i wrote some function in its click event i want when it get press that function get call and also collapsible control expand but either it expand or it call function but not both functionalities i m getting.. what would be work arround...
Oct 3 '07 #1
1 2877
acoder
16,027 Recognized Expert Moderator MVP
To have it collapsed to begin with, set its style.display property to "none" from the beginning using CSS and don't use onload to set it.

For your second problem, put both functions in the one function and call that or attach/add both events to the object.
Nov 3 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
2061
by: jobs | last post by:
I have two Nested repeating Datalists with different data sources. Currently the second Datalist is set to visible=false I have an oncommand button on the first, that when selected I would like to make it's sub datalist visible. I'm a bit confused about how to refrence the instance of the second datalist.
7
4811
by: Kamal | last post by:
Hello all, I have a very simple html table with collapsible rows and sorting capabilities. The collapsible row is hidden with css rule (display:none). When one clicks in the left of the expandable row, the hidden row is made visible with css. The problem is when i sort the rows, the hidden rows get sorted as well which i don't want and want to be moved (while sorting) relative to their parent rows. The following is my complete html code...
2
6993
by: BJ | last post by:
I had this crazy idea. We have an existing application that could use some rework. I was going to redo the application (currently ASP.Net 1.1) using ASP.Net 2.0: Master page with Header, Footer, Side bar and Body One of the content panels would use a Wizard control stepping the user through submitting an Ergonomic Review Request.
2
1739
by: probashi | last post by:
Hi, I have couple of AJAX collapsible panels in one of my page. I would like the page to remember the state of the panel (is Expended ) property (i.e. user comes to my page and expands a panel (which was collapsed by default) and leave my page. Next time when the same user comes back, I would like to show the panel expanded (even the default is collapsed)). I believe one can accomplish this using ASP.NET profile.
1
4463
by: probashi | last post by:
Hi, Is there any events associated with collapsible panel related to expand and collapse behavior. I would like to execute some code (either client side or server side) when any of these events happen (i.e. collapsible panel is expended or collapsed) Thanks
1
3108
by: realfantasy | last post by:
i made asp.net webusercontrol which contains panel which contains datalist and that panel is in ajax collapsableExtender and that webusercontrol is in master page header and in always visible control problem is little i think but very stupid that whenever i go on any page whilst page load my webusercontrol expand for a sec and then collapse but i want it to remain collapsed until i want it to expand.. you may see demo on...
0
1065
by: realfantasy | last post by:
i made asp.net webusercontrol which contains panel which contains datalist and that panel is in ajax collapsableExtender and that webusercontrol is in master page header and in always visible control problem is little i think but very stupid that whenever i go on any page whilst page load my webusercontrol expand for a sec and then collapse but i want it to remain collapsed until i want it to expand.. you may see demo on...
1
1638
by: mahesh123 | last post by:
I am using Collapsible Panel in my project.But in other form of my project i want to use collapsible panel inside other Collapsible panel.Is it possible. Both panels are to be dinamic.Is it possible can any one help me plz. My requirement is I am having different A's. Under each A Can have different B's. For each B can have diffrent C's.
10
4329
malav123
by: malav123 | last post by:
Hi, In my master page i have right pannel, in which i am using the user control and collapsiblePanelExtender and in that right panel there is one link button named "Event", so if user clicks on that link button then the modal popup extender will be displayed... all thing is working well but when modal popup extender displays at that time in the back side collapsible extender also works that is not desirable situation of...
0
8114
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8615
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8568
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8253
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8422
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7044
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4110
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1699
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1414
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.