•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP.NET section within the Web Development category of DaniWeb, a massive community of 423,737 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,368 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
Views: 496 | Replies: 2
![]() |
•
•
Join Date: Sep 2007
Posts: 1,057
Reputation:
Rep Power: 4
Solved Threads: 61
You can use a field validator. Use regular expressions to detect what the @ address is.
It will come up false and show an error if it is not the same @ address.
Or you can use javascript and simply place the end @ address in there.
Or just use a textbox, and to the right outside the text box, display "@company.com". That way they only enter the start of the email addy.
It will come up false and show an error if it is not the same @ address.
Or you can use javascript and simply place the end @ address in there.
Or just use a textbox, and to the right outside the text box, display "@company.com". That way they only enter the start of the email addy.
I answer pm's.
I answer questions.
I answer quickly.
I answer.
I answer questions.
I answer quickly.
I answer.
•
•
Join Date: Jun 2006
Posts: 12
Reputation:
Rep Power: 3
Solved Threads: 0
Hello dskumar_85 , you have to implement your custom way either form client side as a validation or ASP.NET validator or event when the user click submit button to verify that the mail he has entered is not belongs to the excluded id's you have mentioned.
Just try to substring between @ and .
Just try to substring between @ and .
Thanks,
Hosam Kamel
Hosam Kamel
![]() |
•
•
•
•
•
•
•
•
DaniWeb ASP.NET Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- Printing multiple pages, how? (C#)
- Pop3 Mail Watcher (Part 1) (Visual Basic 4 / 5 / 6)
Other Threads in the ASP.NET Forum
- Previous Thread: Crystal Report in ASP.net
- Next Thread: How to add data to the content place holder at runtime



Linear Mode