sansat6699 Posted March 7, 2008 Share Posted March 7, 2008 i have a drop down list i want to validate it, it is bounded to database as text field for display and integer value for coding i.e selected items value.so i want to validate dropdownlist on its selected items valiue rather than text present in ddl for make sure that user selected some item.i know about InitialValue propery but it only checks for text in dropdpwnlist so what happening is if someon type a text and not seleced item in ddl it gets valideted so i want to implement validation on its seleceted items value using standrd asp.ent2.0 validation controlsplease help Link to comment Share on other sites More sharing options...
aspnetguy Posted March 7, 2008 Share Posted March 7, 2008 I don't understand what you are asking. You cannot type text into a drop down list. Link to comment Share on other sites More sharing options...
sansat6699 Posted March 8, 2008 Author Share Posted March 8, 2008 I don't understand what you are asking. You cannot type text into a drop down list.ok can u tell me how to validate ddl on selected value rather than text present in ddl using initial value property.ie i have ddl bounded to databse text for display in ddl and value bounded which integer value to every item in ddl. Link to comment Share on other sites More sharing options...
aspnetguy Posted March 10, 2008 Share Posted March 10, 2008 please post your code so I can see what you are doing. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.