YAFLogo

Posted by: anthony_318 - Thursday, 15 May 2008 01:26:01
i want to put Login function (Username, password, auto login, login, lost password) under Toolbar and the same at that box(
. I know that all it's thing in Fourmpage.cs but i don't know how to do. Please help me work it out. Thanks alot.

Posted by: test2005 - Thursday, 15 May 2008 03:55:12
Take the code from the current login page and create a usercontrol. Put this control whereever you need! :-P

Posted by: anthony_318 - Thursday, 15 May 2008 04:58:39
[quote=test2005] Take the code from the current login page and create a usercontrol. Put this control whereever you need! :-P [/quote] But in YAF don't have file Fourmpage.ascx, so how to put user control on? Please

Posted by: test2005 - Thursday, 15 May 2008 09:39:51
Create a usercontrol, lets call it "My_Super_Cool_Login_Control.ASCX" Open the existing Login.ascx files, cut-n-paste the HTML and code required to run the login function INTO My_Super_Cool_Login_Control.ASCX Then, add My_Super_Cool_Login_Control.ASCX to the menu bar area. You can have usercontrols inside usercontrols. I don't think there's a limit to embedded levels. HTH :-P

Posted by: anthony_318 - Thursday, 15 May 2008 18:08:04
thanks oalt. Let me try!