473,763 Members | 6,401 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ajax accordion control

I am just stating to use ajax, and have a perfect place to use the accordion
control. I have it working fine, but need to have a normal asp button in one
of the panes that fires an onclick event as normal. The button works fine
outside of the pane, but once I put it in the pane it no longer fires the
event. How can I get a button in the accordion to run a function on the
server on the onclick event?

Thanks.
Jun 19 '07 #1
4 6277

Gerhard wrote:
I am just stating to use ajax, and have a perfect place to use the accordion
control. I have it working fine, but need to have a normal asp button in one
of the panes that fires an onclick event as normal. The button works fine
outside of the pane, but once I put it in the pane it no longer fires the
event. How can I get a button in the accordion to run a function on the
server on the onclick event?

Thanks.
Hi,
Does it fire asynchronous postback instead of ordinary postback or it
does not fire event at all?
In first case you can use PostBackTrigger :
<asp:UpdatePane l ID="UpdatePanel 1" ...>
<ContentTemplat e>
....
<asp:LinkButt on ID="Button1" ...
....
</ContentTemplate >
<Triggers>
<asp:PostBackTr igger ControlID="Butt on1" />
</Triggers>
</asp:UpdatePanel >

If it does not fire an event at all I guess the problem is in your
code but not in AJAX.
Regards, Mykola
http://marss.co.ua

Jun 20 '07 #2
I haven't been able to capture any replies at all.

"marss" wrote:
>
Gerhard wrote:
I am just stating to use ajax, and have a perfect place to use the accordion
control. I have it working fine, but need to have a normal asp button in one
of the panes that fires an onclick event as normal. The button works fine
outside of the pane, but once I put it in the pane it no longer fires the
event. How can I get a button in the accordion to run a function on the
server on the onclick event?

Thanks.

Hi,
Does it fire asynchronous postback instead of ordinary postback or it
does not fire event at all?
In first case you can use PostBackTrigger :
<asp:UpdatePane l ID="UpdatePanel 1" ...>
<ContentTemplat e>
....
<asp:LinkButt on ID="Button1" ...
....
</ContentTemplate >
<Triggers>
<asp:PostBackTr igger ControlID="Butt on1" />
</Triggers>
</asp:UpdatePanel >

If it does not fire an event at all I guess the problem is in your
code but not in AJAX.
Regards, Mykola
http://marss.co.ua

Jun 20 '07 #3
Hi,

Sorry this is not a direct answer to your question.

Please note:

The ASP.NET AJAX downloads contain four parts:

* ASP.NET 2.0 AJAX Extensions
* Microsoft AJAX Library
* ASP.NET AJAX Futures CTP
* ASP.NET AJAX Control Toolkit

Only the ASP.NET 2.0 AJAX Extensions and the Microsoft AJAX Library will be
supported by MSDN Managed Newsgroup Support Service or Microsoft Customer
Support and Service. The ASP.NET AJAX Futures CTP is supported via the
forums located at http://forums.asp.net/ website. The ASP.NET AJAX Control
Toolkit is a shared source project that is built and based off the AJAX
Extensions, which is also supported by the community
(http://forums.asp.net/1022.aspx).

Thank you for your understanding.

Regards,
Walter Wang (wa****@online. microsoft.com, remove 'online.')
Microsoft Online Community Support

=============== =============== =============== =====
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=============== =============== =============== =====

This posting is provided "AS IS" with no warranties, and confers no rights.

Jun 21 '07 #4
Thanks, I figured out a work around on the accordian.

"Walter Wang [MSFT]" wrote:
Hi,

Sorry this is not a direct answer to your question.

Please note:

The ASP.NET AJAX downloads contain four parts:

* ASP.NET 2.0 AJAX Extensions
* Microsoft AJAX Library
* ASP.NET AJAX Futures CTP
* ASP.NET AJAX Control Toolkit

Only the ASP.NET 2.0 AJAX Extensions and the Microsoft AJAX Library will be
supported by MSDN Managed Newsgroup Support Service or Microsoft Customer
Support and Service. The ASP.NET AJAX Futures CTP is supported via the
forums located at http://forums.asp.net/ website. The ASP.NET AJAX Control
Toolkit is a shared source project that is built and based off the AJAX
Extensions, which is also supported by the community
(http://forums.asp.net/1022.aspx).

Thank you for your understanding.

Regards,
Walter Wang (wa****@online. microsoft.com, remove 'online.')
Microsoft Online Community Support

=============== =============== =============== =====
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
=============== =============== =============== =====

This posting is provided "AS IS" with no warranties, and confers no rights.

Jun 21 '07 #5

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

Similar topics

3
3435
by: srilakshmim | last post by:
Hello I want to create Accordion (Ajax Control Tool Kit)dynamically. My Code is as follows Code: ( cpp ) protected void Page_Load(object sender, EventArgs e) { try { Accordion aCC = new Accordion();
0
6886
by: rsdev | last post by:
Hi, I am new to implementing Asynchronous javascript in asp.net (or any framework) and have come across a problem. In a user control I have an accordion with a nested updatepanel, the trigger is a link button in the header. I have read several posts that suggest I need to add the ControlID in the codebehind, so I have and I don't get any errors, but also there's nothing loading into the updatepanel. Here's the code; Codebehind:
7
1897
by: =?Utf-8?B?V2FubmFiZQ==?= | last post by:
We are looking at Ajaxing our existing web application. Question is...Should we Ajax any and everything we can, or not? One example...if a page posts back to itself, is that a good candidate for Ajax?
3
13200
by: GeoffreyD | last post by:
Hi I installed the Ajax Control Toolkit according to the instructions, and added the controls to my toolbox. However, when I drag a control onto my aspx page, it reads something like: <cc1:Accordion ID="Accordion1" runat="server"> </cc1:Accordion> However the examples display: <ajaxToolkit:Accordion>... How do I get Visual Studio to use the same reference? cc1 doesn't mean much
4
3783
by: ameshkin | last post by:
Hi Everybody, I'm just now learning javascript and I'm using mootools. What I want to do is to dynamically load a php page into accordian panel 2, depending on which radio button is selected in accordian panel 1. Here is a simplified version of my code. window.addEvent('domready', function() { var accordion = new Accordion('h3.atStart', 'div.atStart', { display: 0, //will open the 1st panel at start
8
2738
by: Tomasz J | last post by:
Hello developers, After migrating my web project application (using the old model) to .Net Framework 3.5 and Ajax Control Toolkit release 20820 the Accordion control no longer works correctly. In certain cases (only) it renders but is dead - does not initialize. Before the migration it worked, no changes have been made. Here is the complete scenario description:
7
6669
by: RichB | last post by:
I am trying to get to grips with the asp.net ajaxcontrol toolkit, and am trying to add a tabbed control to the page. I have no problems within the aspx file, and can dynamically manipulate a tabcontainer which has 1 panel already, however I want to try create the TabPanels dynamically. I followed the advice here: http://www.asp.net/learn/ajax-videos/video-156.aspx (3rd comment - Joe Stagner)
1
2138
by: E11esar | last post by:
Hi there. I have created an asp.net page with C# and have added two tabs using the respective AJAX control. I am trying to add a table within an AJAX Accordion control in the second tab but I am running into problems where the two accordian entries are not functioning correctly. If I don't use a table and just place some sample text within the accordian body then this works okay but once I add the table, the second accordion value appears on...
8
3605
by: quipo | last post by:
Hi, im using an accordion script but it doesnt work if i use it with ajax. example: <div id="accordion"> <dl class="accordion" id="slider"> <dt>click here for the 1st pane</dt> <dd>content of the 1st pane</dd> <dt>click here for the 1st pane</dt> <dd>content of the 1st pane</dd> <dt>click here for the 1st pane</dt>
0
9563
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9386
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
10144
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
9997
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
9937
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
9822
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
8821
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...
1
7366
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
3
2793
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.