PC Review


Reply
Thread Tools Rate Thread

ajax accordion control

 
 
=?Utf-8?B?R2VyaGFyZA==?=
Guest
Posts: n/a
 
      19th Jun 2007
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.
 
Reply With Quote
 
 
 
 
marss
Guest
Posts: n/a
 
      20th Jun 2007

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

 
Reply With Quote
 
=?Utf-8?B?R2VyaGFyZA==?=
Guest
Posts: n/a
 
      20th Jun 2007
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
>
>

 
Reply With Quote
 
Walter Wang [MSFT]
Guest
Posts: n/a
 
      21st Jun 2007
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 ((E-Mail Removed), 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.

 
Reply With Quote
 
=?Utf-8?B?R2VyaGFyZA==?=
Guest
Posts: n/a
 
      21st Jun 2007
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 ((E-Mail Removed), 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.
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Accordion and Gridview in AJAX Control Toolkit Gregory A. Beamer Microsoft ASP .NET 0 29th Oct 2009 06:25 PM
Re: Accordion and Gridview in AJAX Control Toolkit Scott M. Microsoft ASP .NET 0 29th Oct 2009 03:07 PM
Accordion (Ajax Control Toolkit relelase 20820) problem after migration to .Net 3.5 Tomasz J Microsoft ASP .NET 9 30th Dec 2008 09:42 AM
AJAX accordion and control validation in each pane CodeRazor Microsoft C# .NET 0 30th Oct 2008 10:55 AM
ajax accordion control broken in ajax 1.0 Andy B Microsoft ASP .NET 0 28th Nov 2007 06:49 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:58 AM.