|
Sun Rays ny other possibilities ?
No.
What makes you think/worry about users who come to your site and type in random folder names ?
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 )
|
|
|
|
|
Oh yes dts true,
but wanna know if we can do something.
any ways closing thread...
Thanks for yr kindly help
Thanks,
Sun Rays
To get something you must have to try once.
My Articles
|
|
|
|
|
You can turn on custom errors in web.config file where you can redirect users to an error page
We are not a Code Charity
|
|
|
|
|
Hi,
thanks for your reply.
But I am still getting the same error.
Have done change in web.config.
But no hope.
Thanks,
Sun Rays
To get something you must have to try once.
My Articles
|
|
|
|
|
plz guide me to develop application like blogspot.com. actually i would like to know how to create a blog?. for example: my domain is xyz.com. i want to create a blog with the name abc. and access that blog using url as abc.xyz.com.
|
|
|
|
|
check this out:
http://www.google.co.uk/search?hl=en&q=how+to+create+a+blog&btnG=Google+Search&meta=
We are not a Code Charity
|
|
|
|
|
Supporting subdomains is something you need to talk to your host about. It's not something you do in code.
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 )
|
|
|
|
|
I got a winform which is displayed in browser...the a.exe file has a config file which has a key to choose between production and dev databases. I created the iexplore.exe.config file with the required config file keys and kept in the root folder(c:/inetpub/wwwroot/)...when i run the a.exe file in browser its not reading the iexplore.exe.config file at all ....could any 1 please help me...
a.exe (.net2.0 app) working in IE6 in win 2003 server
Thanks in advance.....
|
|
|
|
|
This forum is for ASP.NET questions.
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 )
|
|
|
|
|
I am trying to print a GridView. Everything is fine for, say, 5 records.
But when the number of records makes the grid view longer than the page then the trouble starts. It will still try and print the correct number of pages (in the case of 50 records, 2 pages), but all pages are blank except for when the first - where about 25 records will be displayed. It truncates the rest of the records.
This happens in both FF and IE.
Does anyone have any ideas?
thanks.
|
|
|
|
|
Check this out:
http://www.codeproject.com/KB/custom-controls/GridViewPrinting.aspx
We are not a Code Charity
|
|
|
|
|
The real problem was due to this construction:
<br />
<asp:Panel ... ><br />
<asp:GridView ...><br />
...<br />
</asp:GridView><br />
</asp:Panel><br />
The properties that were causing problems were in the Panel: overflow and scrollbars .
Settting overflow to visible and scrollbars to none fixed my problems.
*happy*
|
|
|
|
|
I created new user by membership.
when user type the wrong password too many, this user will locked.
I want to ask user to Unlock through submit PasswordAnswer for PasswordQuestion.
But I can't validate the PasswordAnswer was submited.
How to do ?
|
|
|
|
|
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()
|
|
|
|