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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Same AJAX Problem in new versionSame AJAX Problem in new version
Previous
 
Next
New Post
4/24/2007 10:20 AM
 

Hello,

I'm using DNN 4.5.1 and I have this problem with my ListSearchExtender:

As you can see, the lable for searching (red points) displays at the wrong place. This happens when I scroll the site down. If the scroll bar is on the top there are no problems. The problem occures only in IE, not in Firefox. I checked the "Using AJAX in DotNetNuke Modules" tutorials in this forum but I can't fix the problem.

I hope you can help me. Thank you. Kevin

 
New Post
4/25/2007 2:00 PM
 

How are you doing the layout for the items in your page?  Tables?  CSS?


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
4/25/2007 3:25 PM
 

I have the same problem using the popupControlExtender.  The popup placement is correct until I scroll down the page.  The popup panel is positioned within a table cell. 

I get the same behavior with the AJAXControlToolkit sample module posted by Michael Washington.

 
New Post
4/25/2007 9:13 PM
 

The problem with this is in the popupControlbehavior.js in the AJAXtoolkit.  To fix/workaround you'll need to modify the js and rebuild the toolkit and re-copy the AjaxControlToolkit.dll into your dnn\bin.

This post pointed me in the right direction - http://forums.asp.net/thread/1505803.aspx.

in the AJAXControlToolkit directory - in file -popupControlbehavior.js - find this function: (and add the code between  <inserted></inserted> tags below)

    _getTopOffset : function() {
        /// <summary>
        /// Get the top offset for the popup
        /// </summary>
        /// <returns type="Number" integer="true">
        /// Top offset for the popup
        /// </returns>

        // Get the top offset for the popup
        var yoffSet;
        if(AjaxControlToolkit.PopupControlPopupPosition.Top == this._position) {
            yoffSet =  (-1 * this.get_element().offsetHeight) + this._offsetY;
        } else if (AjaxControlToolkit.PopupControlPopupPosition.Bottom == this._position) {
            yoffSet =  this.get_element().offsetHeight + this._offsetY;
        } else {
            yoffSet = this._offsetY;
        }
        <inserted>yoffSet = yoffSet + this.findScrollOffset('y');</inserted>
        return yoffSet;
    },
   
     <inserted>findScrollOffset : function(opt)
{
    // from Quirksmode and modified
    var _x,_y;
    if (self.pageYOffset) // all except Explorer
    {
        // _getTopOffset function already works in other browsers
     _x = 0; //self.pageXOffset;
     _y = 0; //self.pageYOffset;
    }
    else if (document.documentElement && document.documentElement.scrollTop)
     // Explorer 6 Strict
    {
     _x = document.documentElement.scrollLeft;
     _y = document.documentElement.scrollTop;
    }
    else if (document.body) // all other Explorers
    {
     _x = document.body.scrollLeft;
     _y = document.body.scrollTop;
    }
        if (opt == 'x') {
      return _x;
     }
     if (opt == 'y') {
      return _y;
     }
},</inserted>

This fixed the problem in IE7 and did not cause a new problem in firefox.  I did not test any other browsers.

 
New Post
4/26/2007 4:49 AM
 

Here you can find the source code from my Edit.ascx:

Source Code

And for the ListSearch Text ("Tippen zum Suchen") I added a new style sheet to the default.css. This one:

.listSearch
{
    background-color: #B0C4DE;
    border:solid 1px #000000;
    font-family: Verdana;
    font-weight: bold;
    font-size: 11px;
}

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Same AJAX Problem in new versionSame AJAX Problem in new version


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