Click here to Skip to main content
15,887,821 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Populating DropDownlist from Database using Ajax in ASP.Net 3.5 Pin
Andreas X3-Oct-08 1:52
professionalAndreas X3-Oct-08 1:52 
Generalsql string connection Pin
y_mmohd3-Oct-08 0:22
y_mmohd3-Oct-08 0:22 
GeneralRe: sql string connection Pin
Krazy Programmer3-Oct-08 0:51
Krazy Programmer3-Oct-08 0:51 
QuestionRe: sql string connection Pin
AprNgp3-Oct-08 5:03
AprNgp3-Oct-08 5:03 
QuestionPagination in ASP Pin
Amit Battan Ror3-Oct-08 0:01
Amit Battan Ror3-Oct-08 0:01 
GeneralProduct Showcase Module Pin
Brady Kelly2-Oct-08 23:50
Brady Kelly2-Oct-08 23:50 
Questionexport image and datagrid in one pdf Pin
saravanan052-Oct-08 23:39
saravanan052-Oct-08 23:39 
QuestionDropDown Validation Problem Pin
Ajeet mittal2-Oct-08 22:02
Ajeet mittal2-Oct-08 22:02 
I am working on asp.net 2.0 with c#,
In my project there is a dropdown which having autopostback enabled.
i have to validate its selection.

i write javascript for it like that.

<script type="text/javascript">
function alertOnBadSelection() {
var select = document.getElementById('ddlContract').value;
if (select=="-1") {
alert('Please select contract');
return false;
}
else
{return true;}
}
</script>

this working fine as script when wrong selection,but when i select right selection dropdown's OnSelectedIndexChanged event not fire.

can any one tell me how i will resolve my problem.

thanks
AnswerRe: DropDown Validation Problem Pin
J a a n s2-Oct-08 22:10
professionalJ a a n s2-Oct-08 22:10 
GeneralRe: DropDown Validation Problem Pin
Ajeet mittal2-Oct-08 22:18
Ajeet mittal2-Oct-08 22:18 
QuestionHow to add a blank item in DataList Control! [modified] Pin
Ross Brigoli2-Oct-08 21:49
Ross Brigoli2-Oct-08 21:49 
Questionfile uploading problem Pin
Miss Maheshwari2-Oct-08 21:36
Miss Maheshwari2-Oct-08 21:36 
AnswerRe: file uploading problem Pin
Eduard Keilholz2-Oct-08 21:55
Eduard Keilholz2-Oct-08 21:55 
AnswerRe: file uploading problem Pin
J a a n s2-Oct-08 22:13
professionalJ a a n s2-Oct-08 22:13 
QuestionUnable to find the requested .Net Framework Data Provider. It may not be installed. Pin
Krazy Programmer2-Oct-08 21:36
Krazy Programmer2-Oct-08 21:36 
AnswerRe: Unable to find the requested .Net Framework Data Provider. It may not be installed. Pin
J a a n s2-Oct-08 22:06
professionalJ a a n s2-Oct-08 22:06 
AnswerRe: Unable to find the requested .Net Framework Data Provider. It may not be installed. Pin
N a v a n e e t h2-Oct-08 22:31
N a v a n e e t h2-Oct-08 22:31 
GeneralRe: Unable to find the requested .Net Framework Data Provider. It may not be installed. Pin
Krazy Programmer2-Oct-08 22:35
Krazy Programmer2-Oct-08 22:35 
QuestionPerformance Tuning Pin
Govind Bhanushali2-Oct-08 21:25
Govind Bhanushali2-Oct-08 21:25 
AnswerRe: Performance Tuning Pin
Eduard Keilholz2-Oct-08 21:56
Eduard Keilholz2-Oct-08 21:56 
AnswerRe: Performance Tuning Pin
Brij3-Oct-08 1:08
mentorBrij3-Oct-08 1:08 
QuestionHelp With Dynamic TextBox Pin
DotNetCoderJunior2-Oct-08 21:04
DotNetCoderJunior2-Oct-08 21:04 
AnswerRe: Help With Dynamic TextBox Pin
acroitoriu2-Oct-08 21:33
acroitoriu2-Oct-08 21:33 
GeneralRe: Help With Dynamic TextBox Pin
DotNetCoderJunior2-Oct-08 22:01
DotNetCoderJunior2-Oct-08 22:01 
GeneralRe: Help With Dynamic TextBox Pin
acroitoriu2-Oct-08 22:09
acroitoriu2-Oct-08 22:09 

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.