login page problem

Please support our ASP.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Feb 2008
Posts: 26
Reputation: s1986 is an unknown quantity at this point 
Solved Threads: 1
s1986 s1986 is offline Offline
Light Poster

login page problem

 
0
  #1
Feb 26th, 2008
i have a login page with a login button and reset button.now when the user enter its id and password and then press enter both the user id and password textbox becomes blank.i checked the tabbed index of the two button thinking it may be due to the reset button but found it to be ok.i want that once the user types the password and press enter it must sucessfully login and not clear the textboxes.how do i do it.
Reply With Quote Quick reply to this message  
Join Date: Jan 2008
Posts: 2,052
Reputation: serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light 
Solved Threads: 118
Featured Poster
serkan sendur serkan sendur is offline Offline
Postaholic

Re: login page problem

 
0
  #2
Feb 26th, 2008
put your login controls into asp:panel then set asp:panel's defaultButton attribute to your login button Id.
Due to lack of freedom of speech, i no longer post on this website.
Reply With Quote Quick reply to this message  
Join Date: Sep 2007
Posts: 1,080
Reputation: SheSaidImaPregy is an unknown quantity at this point 
Solved Threads: 68
SheSaidImaPregy SheSaidImaPregy is offline Offline
Veteran Poster

Re: login page problem

 
0
  #3
Feb 26th, 2008
Funny, but it goes by which control is created first. Otherwise you have to have set which is which. To be honest, your btnSubmit should be run on the server, and your reset button should be a reset form button in HTML.

And you won't encounter this problem.
Reply With Quote Quick reply to this message  
Join Date: Feb 2008
Posts: 26
Reputation: s1986 is an unknown quantity at this point 
Solved Threads: 1
s1986 s1986 is offline Offline
Light Poster

Re: login page problem

 
0
  #4
Feb 27th, 2008
but how to assign color and font to a html button.i tried but was unsuccessful in doing so
Reply With Quote Quick reply to this message  
Join Date: Sep 2007
Posts: 1,080
Reputation: SheSaidImaPregy is an unknown quantity at this point 
Solved Threads: 68
SheSaidImaPregy SheSaidImaPregy is offline Offline
Veteran Poster

Re: login page problem

 
0
  #5
Feb 27th, 2008
set the style attribute:

style="font-size:10px;font-weight:bold;color:red;"
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC