Click here to Skip to main content
15,917,928 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Plz help ?problem in dropdownlist Pin
_AK_21-Jun-06 19:39
_AK_21-Jun-06 19:39 
GeneralRe: Plz help ?problem in dropdownlist Pin
nabeelkhan21-Jun-06 19:51
nabeelkhan21-Jun-06 19:51 
GeneralRe: Plz help ?problem in dropdownlist Pin
_AK_21-Jun-06 21:36
_AK_21-Jun-06 21:36 
GeneralRe: Plz help ?problem in dropdownlist Pin
nabeelkhan22-Jun-06 0:13
nabeelkhan22-Jun-06 0:13 
AnswerRe: Plz help ?problem in dropdownlist Pin
minhpc_bk21-Jun-06 19:49
minhpc_bk21-Jun-06 19:49 
GeneralRe: Plz help ?problem in dropdownlist [modified] Pin
nabeelkhan21-Jun-06 19:54
nabeelkhan21-Jun-06 19:54 
GeneralRe: Plz help ?problem in dropdownlist Pin
minhpc_bk21-Jun-06 19:58
minhpc_bk21-Jun-06 19:58 
GeneralRe: Plz help ?problem in dropdownlist [modified] Pin
nabeelkhan21-Jun-06 21:18
nabeelkhan21-Jun-06 21:18 
thks for taking interest
i wnt to validate my dropdwn list through javascript
i hv grid and in the grid i hv Dropdownlist ,the dropdownlist
is populated through database.,i wnt to apply Validation on the
dropdown ,either the user select the value or not...danish bahi in
servr side i down it ..bt i wnt to do in client side,,or tell
the function name that Count the Number of Dropdwnlist Control on
the webpage under the datagrid..


this is my whole code
"asp:DropDownList id=DropDownList1 onChange="JavaScript:get_selected(this);" Width="150" Runat="server" AutoPostBack="false" DataSource="<%#load_()%>" DataTextField="GradeDescription" DataValueField="GradeDescription">
"/asp:DropDownList>

and this is my javascript function
"
function get_selected()
{

var theContent=document.getElementById("DropDownList1").sourceIndex;
//var theContent=document.getElementById["DropDownList1"]
if (theContent="[SELECT ONE]")
{
window.alert("Select all the value from the dropdownList");
}
}
"

plz help me hw can i validate this on the cleint side
waiting for ur rply


-- modified at 3:19 Thursday 22nd June, 2006
QuestionReading Text Files. Pin
deepaks321-Jun-06 18:31
deepaks321-Jun-06 18:31 
AnswerRe: Reading Text Files. Pin
minhpc_bk21-Jun-06 19:53
minhpc_bk21-Jun-06 19:53 
GeneralRe: Reading Text Files. Pin
deepaks321-Jun-06 20:06
deepaks321-Jun-06 20:06 
GeneralRe: Reading Text Files. Pin
minhpc_bk21-Jun-06 20:18
minhpc_bk21-Jun-06 20:18 
Questiondynamic check boxes Pin
peter rankel21-Jun-06 18:26
peter rankel21-Jun-06 18:26 
AnswerRe: dynamic check boxes Pin
_AK_21-Jun-06 19:00
_AK_21-Jun-06 19:00 
AnswerRe: dynamic check boxes Pin
minhpc_bk21-Jun-06 20:00
minhpc_bk21-Jun-06 20:00 
Questiondataview.sort property [modified] Pin
Dhruvil21-Jun-06 16:45
Dhruvil21-Jun-06 16:45 
AnswerRe: dataview.sort property Pin
minhpc_bk21-Jun-06 20:06
minhpc_bk21-Jun-06 20:06 
GeneralRe: dataview.sort property Pin
Dhruvil22-Jun-06 3:09
Dhruvil22-Jun-06 3:09 
GeneralRe: dataview.sort property Pin
minhpc_bk22-Jun-06 16:24
minhpc_bk22-Jun-06 16:24 
GeneralRe: dataview.sort property Pin
Dhruvil26-Jun-06 2:22
Dhruvil26-Jun-06 2:22 
QuestionProblem with populating datagrid Pin
i@@21-Jun-06 16:23
i@@21-Jun-06 16:23 
AnswerRe: Problem with populating datagrid Pin
minhpc_bk21-Jun-06 16:56
minhpc_bk21-Jun-06 16:56 
GeneralRe: Problem with populating datagrid Pin
i@@21-Jun-06 17:31
i@@21-Jun-06 17:31 
QuestionStumped on IsDBNull on SQLDataReader Pin
AaronM_NZ21-Jun-06 14:13
AaronM_NZ21-Jun-06 14:13 
AnswerRe: Stumped on IsDBNull on SQLDataReader Pin
Kelly Herald21-Jun-06 14:44
Kelly Herald21-Jun-06 14:44 

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.