0

I have an asp button which calls a javascript function during "OnClientClick".This javascript function then calls a button click event of a hidden button(document.getElementById('btnHidden').click().So this leads to server side event handler for the hidden button.

Over there I update the database and based on the number of errors,I use a label control to display "Saved successfully".But this doesnt show up in I.E 8.Whereas in mozilla or google chrome, it is working

I face these issues only in IE8 but its working fine in mozilla or chrome.I even tried to do content=IE=Edge but no hope, can anyone explain what could be the reason for this and appropriate remedy?

S S
  • 1
  • What do you mean with "it doesn't work"? Errors in console window? Server side event is not called? Everything is done but message is not displayed? What's your code? I would also take a look to this post here on SO: http://stackoverflow.com/questions/13796729/ie-8-and-below-not-triggering-click-on-elements-which-have-display-none-any-wo – Adriano Repetti Nov 04 '13 at 11:38
  • Not errors, it just doesnt show up.The label message to show the message "Saved successfully" is not appearing. – S S Nov 04 '13 at 12:19
  • Is server side processing done and just label doesn't show up? – Adriano Repetti Nov 04 '13 at 12:21
  • See, server side processing does happen - the public sub btnhidden_click(object sender,event args e) is getting hit and all the updates to the database happens successfully,but if I set the properties of any of the controls(for example label text) to some value, it isnt relfecting.Also if I try to use scriptmanager register client script to show popup of saved message, it doesnt work either – S S Nov 04 '13 at 12:37
  • the hidden button is configured like this – S S Nov 04 '13 at 12:39

0 Answers0