P
Philip
I am using a asp:ValidationSummary with ShowMessageBox="true" and
ShowSummary="false" to validate some fields in conjunction with the
asp:RequiredFieldValidator. Everything is working as I prefer....up pops a
JavaScript message box which informs me of the required fields....however it
still does an annoying PostBack.
I am using the RequiredFieldValidator within a ListView InsertItemTemplate.
The only event that the ListView is defined to receive is the ListView
OnItemCommand event.
Any idea why the PostBack continues to occur....even when it is obvious that
fields are required....and the JavaScript message box informs the user of
such.
Also....the strange thing is that the PostBack only occurs the 1st
time....meaning....if I click on the Insert command for the ListView item in
question... it does not conduct a PostBack on subsequent attempts to insert
the item.....only the 1st time.
Any suggestions ?
ShowSummary="false" to validate some fields in conjunction with the
asp:RequiredFieldValidator. Everything is working as I prefer....up pops a
JavaScript message box which informs me of the required fields....however it
still does an annoying PostBack.
I am using the RequiredFieldValidator within a ListView InsertItemTemplate.
The only event that the ListView is defined to receive is the ListView
OnItemCommand event.
Any idea why the PostBack continues to occur....even when it is obvious that
fields are required....and the JavaScript message box informs the user of
such.
Also....the strange thing is that the PostBack only occurs the 1st
time....meaning....if I click on the Insert command for the ListView item in
question... it does not conduct a PostBack on subsequent attempts to insert
the item.....only the 1st time.
Any suggestions ?