473,587 Members | 2,291 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Accordion (Ajax Control Toolkit relelase 20820) problem after migration to .Net 3.5

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:

1. There are two nested master pages, ScriptManager is defined within the
grand master page, no ScriptManagerPr oxy.
2. There are two content pages using Accordion control. Accordion control
works fine on whatever page opens first when the application starts (tested
with both pages), but does not work when I navigate to the other page.
3. The page where it does not work is missing Accordion initialization
script:
Sys.Application .add_init(funct ion() {
$create(AjaxCon trolToolkit.Acc ordionBehavior
4. All the control html tags render correctly, so the Accordion shows up but
is dead - panes cannot be expanded/collapsed.
5. All the other Ajax Toolkit Controls on this content page render and
initialize. Only the Accordion control does not.

It seems that ScriptManager thinks this script is already rendered. It can
also be some kind of caching problem. I am clueless.

Thanks,
Tomasz

Aug 28 '08 #1
8 2719
Hi Tomasz,

From your description the Accordion initialization script is not rendered
in a nested master page scenario, correct? Is there a ScriptManagerPr oxy
put in the content page where the Accordion resides?

Could you send a demo project to me that can reproduce this problem? My
email is v-******@microsof t.com. I'll try to repro it on my side to see
what the root cause of this behavior is.
Regards,
Allen Chen
Microsoft Online Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsof t.com.

=============== =============== =============== =====
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
| From: "Tomasz J" <oe****@nospam. nospam>
| Subject: Accordion (Ajax Control Toolkit relelase 20820) problem after
migration to .Net 3.5
| Date: Thu, 28 Aug 2008 18:01:42 +0200
| Lines: 30
| MIME-Version: 1.0
| Content-Type: text/plain;
| format=flowed;
| charset="iso-8859-1";
| reply-type=original
| Content-Transfer-Encoding: 7bit
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Windows Mail 6.0.6001.18000
| X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049
| Message-ID: <OA************ **@TK2MSFTNGP03 .phx.gbl>
| Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| NNTP-Posting-Host: bwz5.internetds l.tpnet.pl 83.18.233.5
| Path: TK2MSFTNGHUB02. phx.gbl!TK2MSFT NGP01.phx.gbl!T K2MSFTNGP03.phx .gbl
| Xref: TK2MSFTNGHUB02. phx.gbl
microsoft.publi c.dotnet.framew ork.aspnet:7483 5
| X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
|
| 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:
|
| 1. There are two nested master pages, ScriptManager is defined within the
| grand master page, no ScriptManagerPr oxy.
| 2. There are two content pages using Accordion control. Accordion control
| works fine on whatever page opens first when the application starts
(tested
| with both pages), but does not work when I navigate to the other page.
| 3. The page where it does not work is missing Accordion initialization
| script:
| Sys.Application .add_init(funct ion() {
| $create(AjaxCon trolToolkit.Acc ordionBehavior
| 4. All the control html tags render correctly, so the Accordion shows up
but
| is dead - panes cannot be expanded/collapsed.
| 5. All the other Ajax Toolkit Controls on this content page render and
| initialize. Only the Accordion control does not.
|
| It seems that ScriptManager thinks this script is already rendered. It
can
| also be some kind of caching problem. I am clueless.
|
| Thanks,
| Tomasz
|
|

Aug 29 '08 #2
Hi Chen,
I sent the repro vie the email.
TJ
Aug 29 '08 #3
Hi Tomasz,

Thanks for your project. I'm now investigating this issue. In the mean time
you're appreciated to send me a concise demo that can repro this problem. I
think it can help to speed up my troubleshooting progress.

Regards,
Allen Chen
Microsoft Online Support

--------------------
| From: "Tomasz J" <oe****@nospam. nospam>
| References: <OA************ **@TK2MSFTNGP03 .phx.gbl>
<Fy************ **@TK2MSFTNGHUB 02.phx.gbl>
| In-Reply-To: <Fy************ **@TK2MSFTNGHUB 02.phx.gbl>
| Subject: Re: Accordion (Ajax Control Toolkit relelase 20820) problem
after migration to .Net 3.5
| Date: Fri, 29 Aug 2008 22:42:59 +0200
| Lines: 3
| MIME-Version: 1.0
| Content-Type: text/plain;
| format=flowed;
| charset="iso-8859-1";
| reply-type=original
| Content-Transfer-Encoding: 7bit
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Windows Mail 6.0.6001.18000
| X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049
| Message-ID: <OE************ **@TK2MSFTNGP03 .phx.gbl>
| Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| NNTP-Posting-Host: bwz5.internetds l.tpnet.pl 83.18.233.5
| Path: TK2MSFTNGHUB02. phx.gbl!TK2MSFT NGP01.phx.gbl!T K2MSFTNGP03.phx .gbl
| Xref: TK2MSFTNGHUB02. phx.gbl
microsoft.publi c.dotnet.framew ork.aspnet:7493 7
| X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
|
| Hi Chen,
| I sent the repro vie the email.
| TJ
|

Sep 2 '08 #4
Hi Allen,
I sent more concise demo via email.
TJ

"Allen Chen [MSFT]" <v-******@online.m icrosoft.comwro te in message
news:aT******** ******@TK2MSFTN GHUB02.phx.gbl. ..
Hi Tomasz,

Thanks for your project. I'm now investigating this issue. In the mean
time
you're appreciated to send me a concise demo that can repro this problem.
I
think it can help to speed up my troubleshooting progress.

Regards,
Allen Chen
Microsoft Online Support

--------------------
| From: "Tomasz J" <oe****@nospam. nospam>
| References: <OA************ **@TK2MSFTNGP03 .phx.gbl>
<Fy************ **@TK2MSFTNGHUB 02.phx.gbl>
| In-Reply-To: <Fy************ **@TK2MSFTNGHUB 02.phx.gbl>
| Subject: Re: Accordion (Ajax Control Toolkit relelase 20820) problem
after migration to .Net 3.5
| Date: Fri, 29 Aug 2008 22:42:59 +0200
| Lines: 3
| MIME-Version: 1.0
| Content-Type: text/plain;
| format=flowed;
| charset="iso-8859-1";
| reply-type=original
| Content-Transfer-Encoding: 7bit
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Windows Mail 6.0.6001.18000
| X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049
| Message-ID: <OE************ **@TK2MSFTNGP03 .phx.gbl>
| Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| NNTP-Posting-Host: bwz5.internetds l.tpnet.pl 83.18.233.5
| Path: TK2MSFTNGHUB02. phx.gbl!TK2MSFT NGP01.phx.gbl!T K2MSFTNGP03.phx .gbl
| Xref: TK2MSFTNGHUB02. phx.gbl
microsoft.publi c.dotnet.framew ork.aspnet:7493 7
| X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
|
| Hi Chen,
| I sent the repro vie the email.
| TJ
|
Sep 2 '08 #5
Hi Tomasz,

Thanks for your project. I found the problem will happen if the output
cache in the UserControl is applied and your ImageLink control is added in
it. To work it around I suggest you remove the output cache in this
UserControl.

I agree that it's indeed a strange behavior. I suggest you submit a
feedback on our connect
(http://connect.microsoft.com/VisualStudio/Feedback). Our development team
engineer can get noticed of such issue and other community members can also
vote on the same issue. I have sent you a concise demo project that can
reproduce this problem.

Regards,
Allen Chen
Microsoft Online Support

--------------------
| From: "Tomasz J" <oe****@nospam. nospam>
| References: <OA************ **@TK2MSFTNGP03 .phx.gbl>
<Fy************ **@TK2MSFTNGHUB 02.phx.gbl>
<OE************ **@TK2MSFTNGP03 .phx.gbl>
<aT************ **@TK2MSFTNGHUB 02.phx.gbl>
| In-Reply-To: <aT************ **@TK2MSFTNGHUB 02.phx.gbl>
| Subject: Re: Accordion (Ajax Control Toolkit relelase 20820) problem
after migration to .Net 3.5
| Date: Tue, 2 Sep 2008 15:28:46 +0200
| Lines: 51
| MIME-Version: 1.0
| Content-Type: text/plain;
| format=flowed;
| charset="iso-8859-1";
| reply-type=original
| Content-Transfer-Encoding: 7bit
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Windows Mail 6.0.6001.18000
| X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049
| Message-ID: <Oj************ **@TK2MSFTNGP05 .phx.gbl>
| Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| NNTP-Posting-Host: bwz5.internetds l.tpnet.pl 83.18.233.5
| Path: TK2MSFTNGHUB02. phx.gbl!TK2MSFT NGP01.phx.gbl!T K2MSFTNGP05.phx .gbl
| Xref: TK2MSFTNGHUB02. phx.gbl
microsoft.publi c.dotnet.framew ork.aspnet:7508 8
| X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
|
| Hi Allen,
| I sent more concise demo via email.
| TJ
|
| "Allen Chen [MSFT]" <v-******@online.m icrosoft.comwro te in message
| news:aT******** ******@TK2MSFTN GHUB02.phx.gbl. ..
| Hi Tomasz,
| >
| Thanks for your project. I'm now investigating this issue. In the mean
| time
| you're appreciated to send me a concise demo that can repro this
problem.
| I
| think it can help to speed up my troubleshooting progress.
| >
| Regards,
| Allen Chen
| Microsoft Online Support
| >
| --------------------
| | From: "Tomasz J" <oe****@nospam. nospam>
| | References: <OA************ **@TK2MSFTNGP03 .phx.gbl>
| <Fy************ **@TK2MSFTNGHUB 02.phx.gbl>
| | In-Reply-To: <Fy************ **@TK2MSFTNGHUB 02.phx.gbl>
| | Subject: Re: Accordion (Ajax Control Toolkit relelase 20820) problem
| after migration to .Net 3.5
| | Date: Fri, 29 Aug 2008 22:42:59 +0200
| | Lines: 3
| | MIME-Version: 1.0
| | Content-Type: text/plain;
| | format=flowed;
| | charset="iso-8859-1";
| | reply-type=original
| | Content-Transfer-Encoding: 7bit
| | X-Priority: 3
| | X-MSMail-Priority: Normal
| | X-Newsreader: Microsoft Windows Mail 6.0.6001.18000
| | X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049
| | Message-ID: <OE************ **@TK2MSFTNGP03 .phx.gbl>
| | Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| | NNTP-Posting-Host: bwz5.internetds l.tpnet.pl 83.18.233.5
| | Path: TK2MSFTNGHUB02. phx.gbl!TK2MSFT NGP01.phx.gbl!T K2MSFTNGP03.phx .gbl
| | Xref: TK2MSFTNGHUB02. phx.gbl
| microsoft.publi c.dotnet.framew ork.aspnet:7493 7
| | X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
| |
| | Hi Chen,
| | I sent the repro vie the email.
| | TJ
| |
| >
|
|

Sep 5 '08 #6
Hi Allen,
Thanks for your help. There are many more instances of my ImageLink control
on those pages, so I am not sure why removing one of them makes a
difference. Anyway, I will do as you suggested - report a bug.
T

"Allen Chen [MSFT]" <v-******@online.m icrosoft.comwro te in message
news:Ty******** ******@TK2MSFTN GHUB02.phx.gbl. ..
Hi Tomasz,

Thanks for your project. I found the problem will happen if the output
cache in the UserControl is applied and your ImageLink control is added in
it. To work it around I suggest you remove the output cache in this
UserControl.

I agree that it's indeed a strange behavior. I suggest you submit a
feedback on our connect
(http://connect.microsoft.com/VisualStudio/Feedback). Our development team
engineer can get noticed of such issue and other community members can
also
vote on the same issue. I have sent you a concise demo project that can
reproduce this problem.

Regards,
Allen Chen
Microsoft Online Support

--------------------
| From: "Tomasz J" <oe****@nospam. nospam>
| References: <OA************ **@TK2MSFTNGP03 .phx.gbl>
<Fy************ **@TK2MSFTNGHUB 02.phx.gbl>
<OE************ **@TK2MSFTNGP03 .phx.gbl>
<aT************ **@TK2MSFTNGHUB 02.phx.gbl>
| In-Reply-To: <aT************ **@TK2MSFTNGHUB 02.phx.gbl>
| Subject: Re: Accordion (Ajax Control Toolkit relelase 20820) problem
after migration to .Net 3.5
| Date: Tue, 2 Sep 2008 15:28:46 +0200
| Lines: 51
| MIME-Version: 1.0
| Content-Type: text/plain;
| format=flowed;
| charset="iso-8859-1";
| reply-type=original
| Content-Transfer-Encoding: 7bit
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Windows Mail 6.0.6001.18000
| X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049
| Message-ID: <Oj************ **@TK2MSFTNGP05 .phx.gbl>
| Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| NNTP-Posting-Host: bwz5.internetds l.tpnet.pl 83.18.233.5
| Path: TK2MSFTNGHUB02. phx.gbl!TK2MSFT NGP01.phx.gbl!T K2MSFTNGP05.phx .gbl
| Xref: TK2MSFTNGHUB02. phx.gbl
microsoft.publi c.dotnet.framew ork.aspnet:7508 8
| X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
|
| Hi Allen,
| I sent more concise demo via email.
| TJ
|
| "Allen Chen [MSFT]" <v-******@online.m icrosoft.comwro te in message
| news:aT******** ******@TK2MSFTN GHUB02.phx.gbl. ..
| Hi Tomasz,
| >
| Thanks for your project. I'm now investigating this issue. In the mean
| time
| you're appreciated to send me a concise demo that can repro this
problem.
| I
| think it can help to speed up my troubleshooting progress.
| >
| Regards,
| Allen Chen
| Microsoft Online Support
| >
| --------------------
| | From: "Tomasz J" <oe****@nospam. nospam>
| | References: <OA************ **@TK2MSFTNGP03 .phx.gbl>
| <Fy************ **@TK2MSFTNGHUB 02.phx.gbl>
| | In-Reply-To: <Fy************ **@TK2MSFTNGHUB 02.phx.gbl>
| | Subject: Re: Accordion (Ajax Control Toolkit relelase 20820) problem
| after migration to .Net 3.5
| | Date: Fri, 29 Aug 2008 22:42:59 +0200
| | Lines: 3
| | MIME-Version: 1.0
| | Content-Type: text/plain;
| | format=flowed;
| | charset="iso-8859-1";
| | reply-type=original
| | Content-Transfer-Encoding: 7bit
| | X-Priority: 3
| | X-MSMail-Priority: Normal
| | X-Newsreader: Microsoft Windows Mail 6.0.6001.18000
| | X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049
| | Message-ID: <OE************ **@TK2MSFTNGP03 .phx.gbl>
| | Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| | NNTP-Posting-Host: bwz5.internetds l.tpnet.pl 83.18.233.5
| | Path:
TK2MSFTNGHUB02. phx.gbl!TK2MSFT NGP01.phx.gbl!T K2MSFTNGP03.phx .gbl
| | Xref: TK2MSFTNGHUB02. phx.gbl
| microsoft.publi c.dotnet.framew ork.aspnet:7493 7
| | X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
| |
| | Hi Chen,
| | I sent the repro vie the email.
| | TJ
| |
| >
|
|
Sep 5 '08 #7
Bug has been reported via Microsoft Connect, item ID 366191
https://connect.microsoft.com/Visual...dbackID=366191

TJ

Sep 8 '08 #8
For the record: I finally compiled the latest version of Ajax Toolkit
Framework under .Net Framework 2.0 and changed website configuration so it
uses .Net 2.0 - it solved the problem, so it seems the problem is with the
..Net framework 3.5, not the newest Ajax Control Toolkit 20820.
TJ

Sep 15 '08 #9

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

Similar topics

1
1749
by: mark4asp | last post by:
Which should I use: 1. "ASP.NET AJAX-Enabled Web Site" or 2. "AJAX Control Toolkit Web Site"? In the first, controls from the control toolkit start as: <cc1:SomeControl></cc1> In the 2nd, those controls are: <ajaxToolkit:SomeControl></ ajaxToolkit>
4
6269
by: =?Utf-8?B?R2VyaGFyZA==?= | last post by:
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...
7
6190
by: srilakshmim | last post by:
Hello I want to create Accordion (Ajax Control Tool Kit). My Code is as follows protected void Page_Load(object sender, EventArgs e) { try { Accordion aCC = new Accordion(); AccordionPane aPane = new AccordionPane();
3
3421
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();
1
8727
by: John Graham | last post by:
I have a form where I separate several of the sections with the use of an accordion. Because of the requirements I have, I need the form to be saved every time the user clicks on a different pane of the accordion. I am not able to find an event I can use to do this. Any suggestions would be appreciated.
1
4718
by: petersonus115 | last post by:
Hi my name is jewel.. i am having a problem with accordion pane.. I am using newest version of ajax control tool kit.. i have two text box and one button in my accordion pane... I want to execute code written in the Button click event.. But its not working.. the button click event is not working in the accordion pane. Can you help me to find out...
2
1434
by: =?Utf-8?B?TWlrZSBDb2xsaW5z?= | last post by:
Is there a way to show the accordion before a user logins, but have everything in it disabled so they cannot change the selected pane? I have tried setting enabled="false", but this looks bad.
6
2171
by: Andy B | last post by:
I am trying to use an accordion control from the ajax control toolkit for ..net3.5 sp1. When I put a link in one of the accordion pannel headerTemplates to open and close the content, I always get an "index of /" page that shows the files and folders in the folder the current page is in. The link looks like this: <a href="">Open/close...
8
3597
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>...
0
7915
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...
0
8205
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. ...
0
8339
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...
1
5712
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...
0
5392
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3840
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
2347
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1452
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1185
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...

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.