How To Put Validate Control For Person

Jul 22, 2010

i want to put validation contorl for textbox.

it should accept only characters and digits only.

View 2 Replies


Similar Messages:

JQuery :: JQuery Validate Plugin To Add Rules To Validate ASCX Custom User Control?

Mar 6, 2011

I would like to know how to use jQuery's Validate plugin to add rules to validate controls in ASCX custom user control?

View 4 Replies

Web Forms :: Validate Control A Depending On If Control B Has Any Value (diff Types)?

Sep 3, 2010

I've ready everything I can find on the built-in validators but can't figure out how to do the sort of validation I need on theclient-side (I can do it on the server-side). Business rule I want to enforce (review the gridview snippet below) is if user checks the CheckBox_EditLifeCycleRpt control but doesn't enter a value in the TextBox_LifeExpectancy control then the validation should fail.

[Code]....

Like I said I can get this done on the server-side but thought it would be a good opportunity to learn how to use one of the compare validators. Also (FYI) I'm not too good at authoring Javascript but I can copy/modify other people's code fairly well.

View 1 Replies

AJAX :: Necessary To Give Control To Validate Control In Custom Validator

Sep 18, 2013

Is it necessary to give Control to Validate control in Custom Validator?

If yes then why this will happen?

View 1 Replies

How To Show A Div Tag Only If A Person Is Logged In

Jan 23, 2011

I was trying to incorporate a functionality in my ASP.NET such that a DIV tag which contains the Profile Navigation Menu should only be visible if a person is logged in. I know the condition on how to if the person is logged in or not but wanted to know the method to toggle the div tag on/off based on person's logged in status.

if(loggedin==yes)
{
//?
}

View 3 Replies

How To Identify Whether A Person Is Online Or Not

Jun 11, 2010

I am creating a userprofile type of thing in my site i want to show all user SKYPE status whether online or offline how to do

View 1 Replies

C# - Get All Photos From Picasa By Person?

Dec 30, 2010

to get all photos by a persons name through the Picasa Web Albums Data API?

All examples I can find, shows how to get photos by an albumid.

View 1 Replies

Only One Person At A Time Can See Website

Aug 9, 2011

I have a web site published to a Windows 2008 R2 server running IIS 7.5. The web site accesses a SQL 2008 database on a different server. The web site is accessed from an intranet.

In global.aspx users are logged in by retrieving their Windows.Identity which is passed to a stored procedure that checks they have rights to access the system. All the people trying to access the system have rights to the system and if I run the stored procedure with their various Windows.Identities passed as the parameter - it returns that they are authorized.

I have admin rights on the web server. If I browse the site from my box it works okay. If another user who has admin rights on the server browses the site (at the same time as me - or on their own) it works okay.

If someone without admin rights to the server browses the site - and they are the only person 'on' the site - it works okay. If a second person tries to browse the site at the same time as the first person is logged in ... nothing happens. The progress bar in the browser just sits there forever. No errors etc.

So, no-one using the site ... Fred types http://server1/system1/ into his browser and the site works okay.

Jim types http://server1/system1/ into his browser and nothing happens.

Fred logs off and Jim tries the site again. Works fine for Jim this time.

View 5 Replies

ADO.NET :: How To Return DISTINCT Values Of Person.ID

Oct 31, 2010

This is my query

Dim s_Person = From Person In db.People Join ProspectStatus In db.ProspectStatus On Person.Id Equals ProspectStatus.Prospect_ID Where (Person.Organization_ID = s_Organization_ID)Select Person.

I only want to return DISTINCT values of Person.ID. Right now, it returns the same person multiple times because there are several entries in the status table.

Dim s_Person = From Person In db.People Join ProspectStatus In db.ProspectStatus

View 1 Replies

WCF / ASMX :: Share Address In LAN To Other Person

Feb 27, 2011

I wrote small wcf service. Its working fine. I have one doubt if i want to share the address in lan to other person so he can consume the service of mine he can build the application. how can he access the service in local lan.

View 1 Replies

Configuration :: Set SMTP For Person Website?

Mar 8, 2010

i am working on a personal website, so obviously it's not a company website which have exchange server or anything like that

I know how to setup SMTP but what details should i give for SMTP service ? i mean my yahoo/hotmail/gmail account will work, setting up SMTP is really important for the website i am working on to recieve and send e-mail how to do that for a personal website when there is no exchange server ?

View 4 Replies

VS 2008 - Can Login For Membership Be Used By More Than One Person?

Sep 1, 2011

I am using the asp.net membership on my website and I have a user called DemoUser for someone who has not joined and wants to try out the site. All they can do is look around and search records. Nothing more. If more than one person logs in with this username, will all of these people be counted in how many are online? Or will that username only be counted once even though 20 people might be using it?

View 3 Replies

How To Create A Function That Takes Person Full Name

Mar 3, 2011

I want to create a function that takes person full name as string and return its firstname and lastname.

View 7 Replies

AJAX :: To Ensure User Enters All Of The Person's SSN?

Feb 4, 2011

I'm working with the AJAXControlToolkit in an ASP.NET 3.5 application. I've got a textbox on the page to take the person's social security number, and I've put an masked edit extender and an masked edit validator, force the user to enter the whole SSN, but it doesn't work. I'm not sure what I'm doing wrong, or have left out. Here's the relevant code:

[Code]....

View 1 Replies

Security :: Authenticate A Person Before It Visit A Page?

Nov 9, 2010

I have a page which can only be seen by the members...no guest can Access tht page ...m using asp.net wid c# can i get an basic idea how do i redirect tht person to login page if they r not logged...and wid a condition tht if they r loggin already thn no need to show the loggin page they can directly access to the private page

View 2 Replies

Web Forms :: How To Find IP Address Of A Person Who Has Logged In

May 14, 2013

How can we find the ip address of a person who has logged in?

View 1 Replies

Web Forms :: Validate Control If It Is Visible?

Dec 13, 2010

I hide some controls on my page if a specific condition is true. if the control is not visible i dont want to validate it, if it is visible i would like to , how can i do this?

View 5 Replies

Web Forms :: How To Validate FileUpload Control

Dec 7, 2010

I have one FileUpload Control on my webform. It should be validated with the following:

1.File should be "*.doc"

2.File should be more than 0 KB.

If it is satisfied with above conditions, the file should be rename with "sampledata.doc" and should be uploaded into remote server

View 3 Replies

Web Forms :: Validate Dropdownlist Of .net Control?

Sep 20, 2010

i want to validate dropdownlist(asp.net controll) at client side without any post back

View 2 Replies

Web Forms :: Date Control Does Not Validate?

Aug 17, 2010

i have two controls in one page, grid control and a form control, inside the grid control there is a textbox control. my question is when ever click update in the gridcontrol, the validation control in the form control get fired and the page does not post to the server.

View 2 Replies

Web Forms :: MS SQL Database Not Works - No Result When Entering In Person's Name

Mar 24, 2010

I am a beginner with ASP.Net and I am trying to build a Web site which searches a MS SQL database for a person by name using a search form. I have decided to do this project in two steps. Step one was to develop the functionality in basic .aspx page, and then step two is to transfer the working code into the 'business starter kit' template provided with Visual Studio Express 2008. During step 1, I have created the search form, a results page, and also a detailed results page which all work exactly as desired. However, I have now been working on step 2 and trying to place the search form portion of generic page into a page created within the actual web site created using the business starter kit and this is where i am running into problems.

My search form will not work and gives me no results when I enter in a person's name. I have checked, double-checked, and qtriple checked all of the controls I am using, the database connection, the gridview settings, etc... and everything appears correct. I can create simple .aspx pages, not utilizing the masterpage.master file, and copy and paste my search from code into that and again everything works perfectly, but it does not work within my actual Web page being used for the site. Thus, this leaves me to believe the probelm has something to do with the masterpage.master page. Can someone take a look at my code and see if they see anything which may be causing my problem(s)? I have been working on this since sunrise this morning and it is getting quite frustrating that I cannot figure out what the problem is.

search.aspx page code

[Code]....

masterpage.master page code

[Code]....

results.aspx page code

[Code]....

View 6 Replies

VS 2005 - Finding IP Address Of The Person Who Is Viewing Pages

Feb 1, 2011

I want ip address of the person who is viewing my pages. I am using following code. But i am getting :::1

currently using code :-

string strHostName = System.Net.Dns.GetHostName();
string ip = System.Net.Dns.GetHostAddresses(strHostName).GetValue(0).ToString();

what is wrong or what i need to change?

View 6 Replies

State Management :: Cache An Function Individually For Each Person?

Jun 10, 2010

Can I cache an function individually for each person? Is it possible?

View 4 Replies

Security :: Display Error Page 403 When Person Types An URL?

Jul 15, 2010

I try to create a webbased application with vb 2010 and asp.net 4.

I have a main loginpage, from there users are redirected based on their roles, I have 2 subdirectories and a admin page. User are being redirect so that is not the problem, but when for example, I am on subdirectory 2 and type in the addressbar the mainpage of subdirectory 1, I am redirected to the loginpage and still being loggedin (I see the login page but also my username in the upper right corner). What suppose to happen, is when a user types an unauthorised url, they should get a 403 access denied page (because it should not be possible to go directly to an other sub folder) and return to their previous page.

In every subdirectory folder I have a web.config with authorization on allow and deny access.

View 6 Replies

ADO.NET :: Try To Move Another Person / Getting The Error Message 'Cannot Find Table 0'?

Aug 25, 2010

When the page loads I am able to click the add button and it moves the selected person from one dataset to the next. If I then try to move another person I get the error message 'Cannot find table 0'. I have changed the text to bold where the error occurs.

Here is my code

[Code]....

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved