I have a aspx .net webform and I use a validation summary to display val errors and I have been using a linkbutton to call an onClick method. 1. If the form validates it does the post and life goes on. 2. If validation fails the ValSummary displays the error message fine BUT the linkbutton will NOT postback again. ???????
It is supposed to postback to the same page. If I manually change the PostBackURL attribute to tell it to postback to itself it doesn't work at all. Even for the first postback.
Link b4 click - javascript:__doPostBack('ctl00$cphContent$lnkTest','')
Linkafter click-javascript:WebForm_DoPostBackWithOptions(new%20WebForm_PostBackOptions("ctl00$cphContent$lnkTest",%20"",%20false,%20"",%20"../contact/testval.aspx",%20false,%20true))*
The strange thing is this just cropped up within the last week and the site has been running correctly for a couple years with the linkbutton operating correctly. Essentially the client calls and goes something is working funny!! lol. I can duplicate it in VS but an exception doesn't get thrown. I have the issue on all pages that use the linkbutton with validation. I have recreate the same on a test form page.
If switch out the linkbutton control with a button control it works correctly. But what did I miss that changed???
Thanks