Welcome to Tech Support Forum home to more then 136,000 problems solved. Issues have included: Spyware, Malware, Virus Issues, Windows, Microsoft, Linux, Networking, Security, Hardware, and Gaming Getting your problem solved is as easy as:
1. Registering for a free account
2. Asking your question
3. Receiving an answer

Registered members:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* See fewer ads.
* And much more..

 





Want to know how to post a question? click here Having problems with spyware and pop-ups? First Steps
Go Back   Tech Support Forum > Design Forum > Web Design & Programming
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read

Web Design & Programming Discussion of web design, and server-side & client-side scripting

Reply
 
Thread Tools
Old 07-29-2008, 07:36 PM   #1 (permalink)
Registered User
 
Join Date: Jul 2008
Posts: 10
OS: XP prof


Question Validation...range validator prblm

Iam trying to use range validaor for a text box for which user has to enter phone nunber. Max vaue 9999999999 Min value 1000000000. Type = string and also tried with int.The error was not displaying.Any one plz solve my prblm.
sudhakarnaidu is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 07-30-2008, 02:30 PM   #2 (permalink)
Design Team Member
 
jamiemac2005's Avatar
 
Join Date: Jul 2007
Location: Northampton, UK
Posts: 1,090
OS: Win Vista Home Premium & Ubuntu Hardy(8.04)


Re: Validation...range validator prblm

Could you post your code?
What language are you using?
What's wrong with it? (you don't mention the actual problem just that there is one).

Cheers,
Jamey
__________________

Help fight cancer. < I just started =]
jamiemac2005 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 07-30-2008, 04:57 PM   #3 (permalink)
Registered User
 
Join Date: Feb 2008
Posts: 269
OS: Vista


Re: Validation...range validator prblm

What error wasn't displaying? As Jamey said, please post your code.
Slapshot is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 07-31-2008, 12:42 PM   #4 (permalink)
Registered User
 
Join Date: Jul 2008
Posts: 10
OS: XP prof


Re: Validation...range validator prblm

Hai frnd,

Any way i got it...thanks for ur reesponse.
sudhakarnaidu is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 07-31-2008, 12:45 PM   #5 (permalink)
Registered User
 
Join Date: Jul 2008
Posts: 10
OS: XP prof


hai frnds my new doubt

Iam creating website. I creted many aspx pages. But i want only some pages access to anonymous users but i want to strictly allow only registerd users to some pages. What to do??
sudhakarnaidu is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 07-31-2008, 04:28 PM   #6 (permalink)
Registered User
 
Join Date: Feb 2008
Posts: 269
OS: Vista


Re: Validation...range validator prblm

I don't know any ASP... www.w3schools.com should help a bit.

If you want to do it in PHP I'd be happy to help.
Slapshot is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 07-31-2008, 08:15 PM   #7 (permalink)
Registered User
 
TreyeMe's Avatar
 
Join Date: Jul 2006
Location: NY
Posts: 83
OS: VISTA


Re: Validation...range validator prblm

I am just now learning PHP and MYAQL but I wouldsay it makes a bit more sense to go down that road...
TreyeMe is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 07-31-2008, 09:00 PM   #8 (permalink)
Registered User
 
Join Date: Feb 2008
Posts: 269
OS: Vista


Re: Validation...range validator prblm

PHP is much more widely used and is rapidly growing in terms of use. ASP is a dead language in my opinion.
Slapshot is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 08-01-2008, 11:37 AM   #9 (permalink)
Registered User
 
Join Date: Jul 2008
Posts: 10
OS: XP prof


Plz any tell me authentication

Hai frnds how to do asp.net forms authentication.
sudhakarnaidu is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 08-01-2008, 12:45 PM   #10 (permalink)
Registered User
 
Join Date: Jul 2008
Posts: 10
OS: XP prof


Re: Validation...range validator prblm

Hai frnd,

Suddenly all my images of the web site are disappered and when I view tht in internet explorer i can only see red color "X" inplace of image. what happened to my web site?? any one plz help..
sudhakarnaidu is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 08-01-2008, 08:24 PM   #11 (permalink)
Registered User
 
Join Date: Feb 2008
Posts: 269
OS: Vista


Re: Validation...range validator prblm

You sure the images are in the correct path you specified?
Slapshot is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 08-30-2008, 12:11 PM   #12 (permalink)
Registered User
 
Join Date: Jul 2008
Posts: 10
OS: XP prof


difference bw sqlDBA and SQL

what is the difference between SQL DBA and DBA??
sudhakarnaidu is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 08-31-2008, 02:47 PM   #13 (permalink)
Registered User
 
Join Date: Jul 2008
Posts: 10
OS: XP prof


Prblm with get accessor

Hai frnds,

I was totally confused with get and set acessors.i understood that as we declare private fields and in order to give access of private properties we declare public property {get or Set}. but any one explain in practical manner. I have one example.

public class ShoppingCartItem
{
public string Description;
public int Quantity;
public ShoppingCartItem(string description,
int quantity)
{
Description = description;
Quantity = quantity;
}
public string ItemLine
{
get
{
string line = Quantity.ToString() + “ “
+ Description;
if (Quantity == 1)
line += “ costume”;
else
line += “ costumes”;
return line;
}
}
}

Here he did not declare any private property as Item line

but direcly setting the accessor(get).

Mainly i did not understood what the code in the get accessor is doing. any please help me out of this problem.actually iam begiiner to .net. plz try to explain me in detail. I searched in different sites but i did not get a clear idea.

Thanking you in advance.
sudhakarnaidu is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 08-31-2008, 03:01 PM   #14 (permalink)
Design Team Member
 
jamiemac2005's Avatar
 
Join Date: Jul 2007
Location: Northampton, UK
Posts: 1,090
OS: Win Vista Home Premium & Ubuntu Hardy(8.04)


Re: Validation...range validator prblm

Hey, i'm not very good with .Net (because i've not done a whole lot in .Net)...

But as i see it the code within the get statement returns how many costume(/s) are currently set(By doing the following):
- Works out whether the variable Quantity is singular/plural(seen below:)
Code:
if (Quantity == 1)
If it's one it set's the returned string to "1 costume"

- Else it set's the returned string to the amount of costumes plus the string " costumes":
Code:
line += “ costumes”;
the variable line holds the Quantity variable as the string variable type so that there is no chance of a datatype mis-match.

Then the line:
Code:
return line;
returns the string which is either "1 costume", "2 costumes", "3 costumes" or so on.

Hope that explains it well enough

Cheers,
Jamey
__________________

Help fight cancer. < I just started =]
jamiemac2005 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 08-31-2008, 04:25 PM   #15 (permalink)
Registered User
 
Join Date: Jul 2008
Posts: 10
OS: XP prof


get accessor..

Thank you james..Is there any one to give a better explaination to this poor beginner..
sudhakarnaidu is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 08-31-2008, 07:59 PM   #16 (permalink)
Registered User
 
Join Date: Feb 2008
Posts: 269
OS: Vista


Re: Validation...range validator prblm

www.txt2re.com
Slapshot is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 11-08-2008, 01:27 PM   #17 (permalink)
Registered User
 
Join Date: Jul 2008
Posts: 10
OS: XP prof


Forms Authentication

Hi frnds, This is SUDHAKAR backwith starting trouble...
Iam trying to use membership. I created 4 aspx pages(login page, regular page, register page and sepearte folder and kept reserved page for members.). I made some changes to asp.net website administration tools for security tab like followed the wizard steps and created 4 users. Then allowed all anonymous users to root folder(all folders). then All users deneid to the member folder. Then allowed 1 user to the member folder. then every thing is finished but when iam opening the reserved page in browser it must take me to the login page and after entering ID nd pass word it shud take me to the reserved page.
What To do If i want to display Login page ,If any anonomys user tries to access the members Page ??



Thanking you in advance
SUDHAKAR...
sudhakarnaidu is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -7. The time now is 03:42 PM.



Copyright 2001 - 2008, Tech Support Forum

Search Engine Friendly URLs by vBSEO

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82