473,400 Members | 2,163 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,400 software developers and data experts.

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 6251

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:UpdatePanel ID="UpdatePanel1" ...>
<ContentTemplate>
....
<asp:LinkButton ID="Button1" ...
....
</ContentTemplate>
<Triggers>
<asp:PostBackTrigger ControlID="Button1" />
</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:UpdatePanel ID="UpdatePanel1" ...>
<ContentTemplate>
....
<asp:LinkButton ID="Button1" ...
....
</ContentTemplate>
<Triggers>
<asp:PostBackTrigger ControlID="Button1" />
</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
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 ...
0
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...
7
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...
3
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:...
4
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...
8
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....
7
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...
1
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...
8
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> ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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...
0
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...

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.