ConvincingMail - Email Marketing SoftwareConvincingMail
 
Email Marketing Software

Welcome Guest! To enable all features please try to register or login.
firing onload ShowSuggestions
sanderb
#1 Posted : Tuesday, March 10, 2009 12:04:16 AM(UTC)
Rank: Newbie

Groups: Member
Joined: 3/10/2009(UTC)
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
#2 Posted : Tuesday, March 10, 2009 5:09:20 AM(UTC)
Rank: Administration

Groups: Administration
Joined: 11/18/2007(UTC)
Posts: 92
Points: 188
Man

Was thanked: 2 time(s) in 2 post(s)
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
#3 Posted : Tuesday, March 10, 2009 5:50:09 AM(UTC)
Rank: Newbie

Groups: Member
Joined: 3/10/2009(UTC)
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
#4 Posted : Tuesday, March 10, 2009 1:06:42 PM(UTC)
Rank: Administration

Groups: Administration
Joined: 11/18/2007(UTC)
Posts: 92
Points: 188
Man

Was thanked: 2 time(s) in 2 post(s)
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
#5 Posted : Tuesday, March 10, 2009 7:48:44 PM(UTC)
Rank: Newbie

Groups: Member
Joined: 3/10/2009(UTC)
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
Rss Feed  Atom Feed
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.

YAFVision Theme by Jaben Cargman (Tiny Gecko)
Powered by YAF 1.9.5 RC1 | YAF © 2003-2010, Yet Another Forum.NET
This page was generated in 0.063 seconds.