Hello there...
can somebody guide me on this…
I have a panel which is visible only when a checkbox is checked.
I have many text boxes in the panel. Among them many of them have required field valiadtior if another text box has a value in it ie; if there are 2 text boxes , txttbx1, txtbx2 and if the user enters value in txtbx1, the required field validatior for txtbx2 has to be enabled or vice-versa.. I am enabling this in page_load method. I have set validation group to all the requriedfield validators. I did try to debug the code and the validator code hits every time but still it would not prompt me for the error and the page gets submitted successfully.
Can somebody please tell me what could be the reason…thanks in advance….
P.S I did try to replicate the same scenario using only two text boxes in the panel and it works fine, but it fails only when the page has many elements in it.
can somebody guide me on this…
I have a panel which is visible only when a checkbox is checked.
I have many text boxes in the panel. Among them many of them have required field valiadtior if another text box has a value in it ie; if there are 2 text boxes , txttbx1, txtbx2 and if the user enters value in txtbx1, the required field validatior for txtbx2 has to be enabled or vice-versa.. I am enabling this in page_load method. I have set validation group to all the requriedfield validators. I did try to debug the code and the validator code hits every time but still it would not prompt me for the error and the page gets submitted successfully.
Can somebody please tell me what could be the reason…thanks in advance….
P.S I did try to replicate the same scenario using only two text boxes in the panel and it works fine, but it fails only when the page has many elements in it.