Click here to Skip to main content
14,969,910 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
if a dropdown list is created and has some values.
how can we pop up a msg saying value already exists if selected value is already in grid?
how can i validate it?
Kornfeld Eliyahu Peter 28-Jan-14 5:09am
Have you done anything so far? Are you stuck with your code? Let us see your effort and try to point you into the right direction...

1 solution

Hi ,

You can use script tag within Respose.Write("").
for example :-
Response.Write("<script language="javascript">alert('The following errors have occurred:" + YourMessageHere + " .');</script>");

Let me know if it helps.


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900