I have one Dropdownlist to be validated by RequiredFieldValidator. And It has OnSelectedIndexChanged event so I have set AutoPostBack=true.(That is required because this dropdownlist will fill another dropdownlist on selection index changed).
I have set InitialValue="-1" that is first item as "--Select--". As I click on submit button it reload the page and then it shows error message.
I have set InitialValue="-1" that is first item as "--Select--". As I click on submit button it reload the page and then it shows error message.
This is my controls....
Is there any option that can be used to validate dropdownlist without reloading page.
Thanks.
Vishwakant.


Midhun TpRank #388 · 6.5K reputationPosted Aug 17, 2016, 1:13 AM EDT
Vishwakant TripathiRank #1,870 · 797 reputationPosted Aug 17, 2016, 1:20 AM EDT
Midhun TpRank #388 · 6.5K reputationPosted Aug 17, 2016, 1:28 AM EDT
Rajeesh MenothRank #118 · 18.4K reputationPosted Aug 17, 2016, 1:40 AM EDT
Vinay SinghRank #604 · 4K reputationPosted Aug 17, 2016, 2:23 AM EDT
Bikesh SrivastavaRank #108 · 20.3K reputationPosted Aug 17, 2016, 4:50 AM EDT