|
jason_mf wrote: But I can't validate the PasswordAnswer was submited.
What do you mean?
Do you mean that they can enter any password and it accepts it or if you enter the correct password it doesnt accept it?
We are not a Code Charity
|
|
|
|
|
Membership DataTable In aspnetdb DataBase.
It has a IsLockedOut field.
when user enter the wrong password too many times, IsLockedOut will be update to True(Lockout account).Now user login will faild, Regardless passwords right or wrong.
Then, I want to offer user a wizard for unlock account(update IsLockedOut from true to false).
So I need to compare the same as PasswordAnswer user submited and PasswordAnswer in DataBase.
But Membership does not provide method for get PasswordAnswer.
And PasswordAnswer is encrypted.
How can I provide this wizard for unlock account.
|
|
|
|
|
I don't really understand your question, but maybe this is the answer you are looking for:
Hook into the OnAuthenticate Event:
protected void login_Authenticate(object sender, AuthenticateEventArgs e)
from this method you can tell if the user was successful in authenticating.
ie.
e.Authenticated
|
|
|
|
|
Membership DataTable In aspnetdb DataBase.
It has a IsLockedOut field.
when user enter the wrong password too many times, IsLockedOut will be update to True(Lockout account).Now user login will faild, Regardless passwords right or wrong.
Then, I want to offer user a wizard for unlock account(update IsLockedOut from true to false).
So I need to compare the same as PasswordAnswer user submited and PasswordAnswer in DataBase.
But Membership does not provide method for get PasswordAnswer.
And PasswordAnswer is encrypted.
How can I provide this wizard for unlock account.
|
|
|
|
|
check this out:
http://msdn.microsoft.com/en-us/library/ms998347.aspx
We are not a Code Charity
|
|
|
|
|
*nods* - that would be my suggestion too.
|
|
|
|
|
Hi i have one multiline textbox onmy form...,
I restrict that cant enter more than 300 characters using javascript:
Its in onkeeppressevent of textbox...,
function discriptionLength()
{
if (document.all('txtDiscription').value.length >= 300)
{
alert('Description cant be more than 300 characters');
return false;
}
return true;
}
Its working cool when user enter data...,
But if i copy some text from some where and paste it on that textbox that time its not at all checking that javascript validation part...,
how to solve the probs?
Thanks & Regards,
NeW OnE,
please don't forget to vote on the post
|
|
|
|
|
New one wrote: I restrict that cant enter more than 300 characters using javascript:
TextBox has one property named MaxLength. You can set MaxLength=300.
OR
You can also check your javascript when Button event call.
Regards
Khan
please don't forget to vote on the post that helped you.
|
|
|
|
|
Ho we can remove menubar and toolbar of a webpage ?
Got ? Give..
|
|
|
|
|
Masood Kochi,SSF wrote: Ho we can remove menubar and toolbar of a webpage ?
No need to write code to remove toolbar as well as menubar.
just use this script to open popup window
window.open('PageName.aspx','title','width=500,height=500','');
Regards
kHan
please don't forget to vote on the post that helped you.
|
|
|
|
|
sorry dude, when i respond to post no answer was available
|
|
|
|
|
may with something like this
toolbar=no, menubar=no, scrollbars=no, resizable=no,
location=no, directories=no, status=no'
in window.open()
|
|
|
|
|
i want to connect network pc through IP address. how it is possible. i am using namespace.
System.Net.Sockets;
System.Net
|
|
|
|
|
What you want to do after connection ?
You have already posted this question in C# section.
Parwej Ahamad
R & D: REST services with WCF
|
|
|
|
|
when connection will estiblish then backend processing open terminal window ask me username and password. i want that username and password to fix in code. connect network pc.
|
|
|
|
|
I dont think you can do this through asp.net
We are not a Code Charity
|
|
|
|
|
Hi All,
Is there any way to set multiple target controls for a single AJAX Extender!?
I know there is no direct way to do this, as far as my knowledge says, but can we accomplish this using scripting lang. like javascript!!?
Why I want to know this -
I'm required to implement Calendar Extender to display date. I have to get the day, month and year in three different textboxes. Can I bind these three as target controls to the Calendar Extender!!!
I'm trying to solve this from my end too ... will update if I arrive at a solution.
Any suggestions and/or help would be greatly appreciated.
Thanks.
|
|
|
|
|
1. I have a image button in Image.aspx.
2. I want to enlarge image in new window when i click this button. ?
3. Image Path is coming from the database.
Got ? Give...
|
|
|
|
|
well, a new window means you pass the id on the URL so the window opens the image and shows it at a bigger size.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
The Link is not solve my problem ?
Give me a Usefull Link
|
|
|
|
|
Sorry, are you kidding ?
How did you open the image in the first place ? You're going to open it the same way in the popup. I really don't get which bit you're stuck on.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Seems hopeless case !!!
Thanks,
Arindam D Tewary
|
|
|
|
|
Masood Kochi,SSF wrote: I have a image button in Image.aspx.
Call javascript onClientClick event of this Button.
Masood Kochi,SSF wrote: I want to enlarge image in new window when i click this button. ?
Ok. You can open new window using
window.open()
Masood Kochi,SSF wrote: Image Path is coming from the database.
You can pass ID of the image which you get that image on second page on page load event.Get ID from querystring and retrieve data from database.
Got? now do?
please don't forget to vote on the post that helped you.
|
|
|
|
|
I have written function by using java script. This function is working click click event but not for onblur event. Pls help.
---------
rbRndQRSSPoor.Attributes.Add("onblur", "EnableTxtBox(this)")
rbRndQRSSPoor.Attributes.Add("onClick", "EnableTxtBox(this)")
-----------------
What will be the problem
This is html view (by right clicking + View source) of my web page. Here, onblur event has set on out of the control. But click event is in side of the control. Why it is like that? What is the problem?
|
|
|
|
|
I don't see your script. I even checked the source, but what I saw was not script for a textbox.
Is it onblur and not onBlur, but it's onClick and not onclick ? I thought it was onblur and onclick. What if you add only one ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|