ConvincingMail - Email Marketing SoftwareConvincingMail
 
Email Marketing Software

Welcome Guest Search | Active Topics | Members | Log In | Register

firing onload ShowSuggestions Options · View
sanderb
Posted: Tuesday, March 10, 2009 5:04:16 AM
Rank: Newbie
Groups: Member

Joined: 3/10/2009
Posts: 3
Points: 9
Hello,

i wanna have default when the page is load that its possible to scroll in the result list when the list contains f.e. 100 items. Normally you can't scroll in the result list because you need to fire first the event ShowSuggestions in javascript $find('<%=StateAASE.ClientID%>').ShowSuggestions(ev);

How can i fire this event on the body onload event so that its possible to scroll in the result of 100 items.

thx

greetings,

Sander
trooper
Posted: Tuesday, March 10, 2009 10:09:20 AM
Rank: Administration
Groups: Administration

Joined: 11/18/2007
Posts: 80
Points: 152
Hi Sander,

Can you please give a little bit more info about what you need. I'm a little confused.
do you want to show suggestions list when the page finished loading? It looks very strange to me.

Thanks
Mikhail
sanderb
Posted: Tuesday, March 10, 2009 10:50:09 AM
Rank: Newbie
Groups: Member

Joined: 3/10/2009
Posts: 3
Points: 9
Hello,

well i think its a bug. When i get a scrollbar because the resultset is to large, you cannot press down. The dropdown automatic hides when i try to scroll. When i run the function $find('<%=StateAASE.ClientID%>').ShowSuggestions(ev); the scrollbar doesn't hide it stays so i think its a bug.


greetings,

Sander
trooper
Posted: Tuesday, March 10, 2009 6:06:42 PM
Rank: Administration
Groups: Administration

Joined: 11/18/2007
Posts: 80
Points: 152
yes that is a known issue of IE in FF the scroll works fine.
The problem happens because in IE the input field looses focus when a user tries to scroll the list.

I'll try to fix this issue in the next version but I don't recommend you to use big lists where the scroll is required.
Try to limit results to about 7~10 and add some more advanced logic serverside.
For example for states you can suggest most populated states first or use ip-to-location....

Thanks.
Mikhail
sanderb
Posted: Wednesday, March 11, 2009 12:48:44 AM
Rank: Newbie
Groups: Member

Joined: 3/10/2009
Posts: 3
Points: 9
Hell,

thx for the replay. How come when i press a link with the following javascript: $find('<%=StateAASE.ClientID%>').ShowSuggestions(ev); The scroll works fine i think there is something in the code of the methode ShowSuggestions that keeps the focus of the textbox.

greetings,

Sander
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

Powered by Yet Another Forum.net version 1.9.1.8 (NET v2.0) - 3/29/2008
Copyright © 2003-2008 Yet Another Forum.net. All rights reserved.
This page was generated in 0.066 seconds.