Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesCollapsible Panels Conflict w/ AJAX?Collapsible Panels Conflict w/ AJAX?
Previous
 
Next
New Post
1/12/2015 9:46 AM
 

I have a page with two main sections. The first has a RADGrid and the second section is a collapsible panel area with an E-Mail form.

The issue I am coming across is that within my RADGrid, I have a Tooltip popup when an image icon is clicked on any row which offers up a tooltip window that gives more details regarding that particular record. I found that each time I click for this tooltip to become visible, (it appears that) the JQuery code to toggle the collapsible section duplicates itself on the page. In other words, when the page first loads the collapsible panel works fine. When I click the icon to make the tooltip appear and then click the collapsible panel again, it opens and then immediately closes. When I click the icon to make a tooltip appear again, and then click the collapsible panel another time, it opens and then immediately closes and then immediately opens again. Each successive tooltip display adds another "toggle" to the collapsible panel.

I've been trying to resolve this for almost two weeks and I am at my wits end.

Can anyone help me figure out a way to fix this?

-Ben


Ben Santiago, MCP Certified & A+ Certified
Programmer Analyst
(SQL, FoxPro, VB, VB.Net, Java, HTML, ASP, JSP, VBS, Cognos ReportNet)
 
New Post
2/11/2015 9:25 AM
 
There is not a single person out there that has come across this issue or might have an idea on what I can do to fix it?

Ben Santiago, MCP Certified & A+ Certified
Programmer Analyst
(SQL, FoxPro, VB, VB.Net, Java, HTML, ASP, JSP, VBS, Cognos ReportNet)
 
New Post
2/11/2015 9:38 AM
 
Why do you think it's a DNN problem?

You provided no code. I imagine people have better things to do than guess what your code looks like.

Best wishes,
- Richard
Agile Development Consultant, Practitioner, and Trainer
www.dynamisys.co.uk
 
New Post
2/11/2015 10:17 AM
 
Richard,

There was no need to be snippy with your response.

I didn't say this was a "DNN problem", I was simply asking if anyone had seen/experienced this issue and had any clues as to how to prevent my jQuery from duplicating the toggle of the collapsible panel after every AJAX request. This is after all the "Module Development" forum.

The code is in several different areas, thought it wouldn't make much sense to post it all as it would be difficult to replicate anything with snippets here and there, especially when I am not sure where the error is centered. However...

Here are some more details for what it's worth: The RADGrid is a CompositeControl I created that extends the Telerik RADGrid with customized features. I also applied a Telerik ToolTipManager control to control the Tooltip that displays on an image inside each row within the grid. At the bottom of the ASPX page I have jQuery code to run the DNN Collapsible Panel UI formatter. I have never been able to get code to format correctly in these forums, so here is a GIST to some code snippets of what I have: https://gist.github.com/dad91ce2e5aea...

I was hoping that someone could at least maybe point me in the correct direction.

Ben Santiago, MCP Certified & A+ Certified
Programmer Analyst
(SQL, FoxPro, VB, VB.Net, Java, HTML, ASP, JSP, VBS, Cognos ReportNet)
 
New Post
2/11/2015 1:32 PM
 
It may be that each time you click the Tooltip it somehow adds another instance of the eventhandler attached to click on the panel.

Does the call to this... Sys.WebForms.PageRequestManager.getInstance().add_endRequest... somehow inadvertently add a new handler each time?

Best wishes,
- Richard
Agile Development Consultant, Practitioner, and Trainer
www.dynamisys.co.uk
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesCollapsible Panels Conflict w/ AJAX?Collapsible Panels Conflict w/ AJAX?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out