Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:5933
More Search Options
RSS Available
Matching Posts
Re: ComboBox list position problem
Chris, No problem, glad to be able to help. I wish I knew what to tell you about that - but I must admit I don't know what to do about that. I wasn't sure it would do that (with the hashes) or not - that's why when I did it, I actually opened the debug file in notepad (using explorer) and just copied and pasted it into the ComboBox.js file that was already in the project. Plus, I actually never compiled the rest of the solution - I just built the toolkit DLL and copied it to the website
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
wdupree
on 5/20/2009
Re: ComboBox list position problem
Chris, You should just be able to add the two lines to _popupShown under the one I commented out from the original code and then add _findPos anywhere in the source (I added it right after just for simplicity-sake). The reason it shows up as a single in when you open ComboBox.js it is because it's been run though a JavaScript optimizer to remove comments, carrige returns, etc. When you open the source folder, you should see a ComboBox.debug.js file, this file has the source in the easy-to-read
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
wdupree
on 5/20/2009
Re: ComboBox list position problem
Oops... I forgot to add the check in case it's null (the body or document root). The _findPos method should look like this: _findPos: function(obj) { // loop though offsetParent objects and total their top and left offsets var curleft = curtop = 0; if ((obj) && (obj.offsetParent)) { //changed here do { curleft += obj.offsetLeft; curtop += obj.offsetTop; } while (obj = obj.offsetParent); } return [curleft, curtop]; },
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
wdupree
on 5/19/2009
Re: ComboBox list position problem
Vince, I tried both of your suggestions to no avail. I finally had to go to the code to see if I could figure out what was going on and found that the javascript code that runs when the popup containing the list of options was causing the problem. Looking in to it further, I found that it was actually the calling of Sys.UI.DomElement.setLocation (line 491 of ComboBox.js) that was causing the list to shift position - before this line it was in the correct location. I read up on the setLocation function
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
wdupree
on 5/19/2009
Re: ComboBox list position problem
You just beat me to it Chris. I am stuck with the exact same problem. I didn't know what was causing this either until I traced it back to the root DIV having an attribute of "position: absolute;" - if I remove that one CSS style, everything works fine - when I put it back, its displaces just like you describe. I've been trying to fiddle with the CSS of the "ajax__combobox_itemlist" class, but haven't found anything yet that fixed this. I hope someone finds a fix soon
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
wdupree
on 5/14/2009
Re: Tabs Control script problem on update
That did it Shawn! It works perfectly now. Thanks!
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
wdupree
on 1/25/2007
Tabs Control script problem on update
I was converting from using the TabStrip control to using the Tabs Control in the new version of the Toolkit. I have a Web User Control that has a TabContainer (and two TabPanel controls inside) which is inside an UpdatePanel. Each tab has a custom-paged datalist of items with a header that allows next and previous page navigation, also - there's a refresh button (outside of the TabControl, but inside of the UpdatePanel) that allows the PagedDataSource of the DataList controls to reload and display
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
wdupree
on 1/25/2007
Re: A gift to you all: An Atlas client-side tabstrip
Hey everyone. Here's my small contribution to this great control! I noticed that this control didn't work correctly in Firefox - now it should (only tested in Firefox 2 though). Thanks to Shazam999 & valasekj for all of their previous work! I left the original code, but commented out the line to notate the change that was required for it to work in Firefox. // ASP.NET AJAX Tabset View // Created by Shazam999 // Beta 2 compatibility by valasekj // Last Modified: 12/13/06 - Firefox compatibility
Posted to
Tips & Tricks
(Forum)
by
wdupree
on 12/13/2006
Re: Reorderlist Drag behavior not firing at all...
Follow up - I saw other posts about people rebooting before and after installation and it working. I tried it too and lo and behold - it works. Seems flaky for a reason - but I'll take it! Hope it helps others. Wayne
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
wdupree
on 11/7/2006
Re: Reorderlist Drag behavior not firing at all...
I am having problems like this as well with other controls. I upgraded my development environment and made sure all the caveats found so far (i.e. the Microsoft.Web.Extensions.Design.dll fix, etc.) and when I load my page (one which uses CollpasiblePanels, and another that uses an Accordion) - the page loads but clicking the expected regions does nothing (i.e. collapse/expand the panel). If I go back and use the Beta 1 dll of the toolkit - it works with no problem. If I go back and use the Beta 2
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
wdupree
on 11/7/2006
Page 1 of 2 (12 items) 1
2
Next >
ASP.NET:
jQuery Hide/Close Link
ASP.NET:
Merry Christmas
TechNet Edge:
FPE Customer Story
Silverlight:
Being a writer, and having an editor. A Short Rant.
Channel 9:
Channel 9 Live at PDC09: Dr Brian Brooks (3M)
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 13 of 13
Silverlight:
Information for Silverlight HVP Developers…
WindowsClient:
Custom Content Loaders in Silverlight 4.0
WindowsClient:
MVVM Links\Info
TechNet Edge:
Check out how Dolly Parton uses IE8 and Web slices!!!
Silverlight:
A Silverlight HVP Update
Channel 9:
Channel 9 Live at PDC09: This Week on Channel 9 - PDC09 Daily Show Edition Day 1
Channel 9:
Maria Klawe: Scholar, Scientist and Microsoft Board Member
Channel 10:
Play the Bing Sherlock Holmes Game
Channel 9:
Channel 9 Live at PDC09: Loic Le Meur
Channel 10:
How to Delete Jump List Items
Channel 10:
Roll Back to Classic Network Indicator in Win7
Channel 9:
Jafar Husain: Silverlight Toolkit and Rx, Part 2
Channel 9:
Ping 42: Is Microsoft cool? Photo DNA, Win7 tool, 10k MIX contest
Channel 9:
Jafar Husain: Silverlight Toolkit and Rx, Part 1
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online