YAFLogo

Posted by: kysanthosh - Wednesday, 6 February 2008 05:32:15
1)i used master page with menu named "forum" 2)i download all src file(YAF-v1.9.1.6-FINAL-SRC) from the site 3)created a folder named "forum" then copy all files from YAF-v1.9.1.6-FINAL-SRC eg: http://localhost/choose1/forum/... 4)i made corresponding changes to my website ABOVE WEB SITE WORKED FINE IN FIREFOX BUT NOT IN IE actual error was when i clicked forum menu the forum page loaded with javascript error "ctl00_ContentPlaceHolder1_forum1_ctl00_scrollLeft.value" is null or not an object what is this...plz help me...urgent

Posted by: Jaben - Wednesday, 6 February 2008 05:38:21
How is this urgent? Please explain how I should feel a sense of urgency for your problem because frankly I don't get it.

Posted by: kysanthosh - Wednesday, 6 February 2008 21:50:18
when i integrate into my site(asp.net 2.0 with masterpage) it willn't register any user or login any user actually the problem displayed in status bar(error on page).when i click on this Internet Explorer will display a messge like Line:408 Char:5 Error:'ctl00_ContentPlaceHolder1_forum1_ctl00_scrollLeft.value is null or not an object Code:0 URL:http://localhost/choose1/forum.aspx this is from Internet Explorer 6.0 But working properly in Mozilla Firefox...!

Posted by: kysanthosh - Wednesday, 6 February 2008 21:53:54
Sir, indeed this will work properly in Internet Explorer without masterpage!

Posted by: Jaben - Wednesday, 6 February 2008 23:03:46
Thanks for the bug report. I'll look into it here at some point.

Posted by: kysanthosh - Wednesday, 6 February 2008 23:25:51
is it my mistake?

Posted by: Jaben - Wednesday, 6 February 2008 23:55:50
I don't think so... but I haven't experienced it and THIS forum is a masterpage. Can you post your masterpage and default.aspx?

Posted by: kysanthosh - Thursday, 7 February 2008 00:24:17
how can i post?

Posted by: Jaben - Thursday, 7 February 2008 01:31:50
Good point. I just added "upload" access to this forum... So just click "Attach".

Posted by: kysanthosh - Thursday, 7 February 2008 01:57:44
did you get .zip file

Posted by: Jaben - Thursday, 7 February 2008 02:14:41
My suggestion is to do a complete search and replace of the YAF project /pages directory: and replace with nothing... So get rid of the smartscroller. That will fix your problem. I don't see anything immediately wrong with your masterpage... looks okay. Removing the smartscroller will fix.

Posted by: kysanthosh - Thursday, 7 February 2008 02:59:47
where can i change

Posted by: Mek - Thursday, 7 February 2008 03:08:21
It will be on the pages within Pages\*.ascx files.

Posted by: kysanthosh - Thursday, 7 February 2008 03:15:07
i don't have smartscroller.ascx in my pages folder

Posted by: Mek - Thursday, 7 February 2008 03:21:15
No the smartscroller control is included in each .ascx page in the pages folder. You have to remove the smartscroller entry from the text in each .ascx page.

Posted by: kysanthosh - Thursday, 7 February 2008 03:30:54
i did but still i have same problem but no error listed i think button click event not working...

Posted by: kysanthosh - Thursday, 7 February 2008 19:55:10
not working...in ie

Posted by: saukun - Wednesday, 21 May 2008 11:53:12
Hello all, I have faced the same problem with .....scrollLeft null in integrated forum. And yes javascript error was only in IE. My solution was to change: [code] function yaf_GetForm() { var theform; if (window.navigator.appName.toLowerCase().indexOf("microsoft") > -1) { theform = document.ctl04; } else { theform = document.forms["ctl04"]; } return theform; } [/code] to [code] function yaf_GetForm() { var theForm = document.forms["ctl04"]; if (!theForm) { theForm = document.ctl04; } return theForm; } [/code]