Click here to Skip to main content
15,868,026 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: restrict the user from any action during an web request in asp.net 2.0 Pin
Abhijit Jana4-May-09 0:43
professionalAbhijit Jana4-May-09 0:43 
AnswerRe: restrict the user from any action during an web request in asp.net 2.0 Pin
saanj4-May-09 1:44
saanj4-May-09 1:44 
QuestionLocalization and Globalization Pin
Member 42532763-May-09 23:31
Member 42532763-May-09 23:31 
AnswerRe: Localization and Globalization Pin
Christian Graus3-May-09 23:49
protectorChristian Graus3-May-09 23:49 
GeneralRe: Localization and Globalization Pin
Abhijit Jana4-May-09 0:40
professionalAbhijit Jana4-May-09 0:40 
Questionvalidation on dropdown list Pin
mdazeemuddin3-May-09 23:23
mdazeemuddin3-May-09 23:23 
AnswerRe: validation on dropdown list Pin
Abhijit Jana3-May-09 23:25
professionalAbhijit Jana3-May-09 23:25 
Answervalidation on dropdown list Pin
Member 42532763-May-09 23:39
Member 42532763-May-09 23:39 
U need to write the validation in java script for this to work. as follows

function ddlValidation()
{
if (document.getElementById(<control_name>.Selectedindex) == "-1"
{
alert('Select the item and proceed');
return false;
}
else
return true;
}
if u want to show this message on click event of any button say 'Save' for example and id for the button is btnSave then call the above function from coding as follows

btnSave.Attributes.Add("OnClick","javascript: return ddlValidation()");

try with this one....
GeneralRe: validation on dropdown list Pin
mdazeemuddin5-May-09 0:15
mdazeemuddin5-May-09 0:15 
AnswerRe: validation on dropdown list Pin
saanj4-May-09 1:47
saanj4-May-09 1:47 
AnswerRe: validation on dropdown list Pin
Uma J5-May-09 0:57
Uma J5-May-09 0:57 
AnswerRe: validation on dropdown list Pin
Uma J5-May-09 1:00
Uma J5-May-09 1:00 
Questiontyping special character in ie 7 and above Pin
jhyn3-May-09 21:29
jhyn3-May-09 21:29 
AnswerRe: typing special character in ie 7 and above Pin
N a v a n e e t h3-May-09 21:45
N a v a n e e t h3-May-09 21:45 
GeneralRe: typing special character in ie 7 and above Pin
jhyn3-May-09 21:49
jhyn3-May-09 21:49 
GeneralRe: typing special character in ie 7 and above Pin
N a v a n e e t h3-May-09 21:59
N a v a n e e t h3-May-09 21:59 
QuestionSQL Quastion Pin
Vimalsoft(Pty) Ltd3-May-09 21:20
professionalVimalsoft(Pty) Ltd3-May-09 21:20 
AnswerRe: SQL Quastion Pin
Christian Graus3-May-09 22:12
protectorChristian Graus3-May-09 22:12 
GeneralRe: SQL Quastion Pin
Vimalsoft(Pty) Ltd3-May-09 22:30
professionalVimalsoft(Pty) Ltd3-May-09 22:30 
GeneralRe: SQL Quastion Pin
Christian Graus3-May-09 22:44
protectorChristian Graus3-May-09 22:44 
AnswerRe: SQL Quastion Pin
Ramesh Swaminathan3-May-09 22:56
Ramesh Swaminathan3-May-09 22:56 
QuestionShow Popup message dynamically Pin
scothykonma3-May-09 20:54
scothykonma3-May-09 20:54 
AnswerRe: Show Popup message dynamically Pin
Christian Graus3-May-09 22:14
protectorChristian Graus3-May-09 22:14 
GeneralRe: Show Popup message dynamically Pin
scothykonma4-May-09 0:17
scothykonma4-May-09 0:17 
AnswerRe: Show Popup message dynamically Pin
saanj3-May-09 22:55
saanj3-May-09 22:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.