Fellows, I don't know if this is a bug or just a mistake, but when I place a UpdatePanel inside a view, of a multiview, that isn't the activeview, I've got an JS error... the problem is at the follow sentence:
<script type="text/javascript">
Web.WebForms.PageRequestManager._setupAsyncPostBacks(document.getElementById('aspnetForm'), 'ctl00$ScriptManager1', ['ctl00_ContentPlaceHolder1_UpdatePanel1', 'ctl00_ContentPlaceHolder1_UpdatePanel2'], []);
</script>
it tries to access 'ctl00_ContentPlaceHolder1_UpdatePanel2' but this updatepanel is inside another view and cannot be rendered...
Well, if it was my fault or if someone have a work around, please answer me... if it is a bug, there is my feedback... :-)
Thanks a lot...
Wender
Try including the entire MultiView within the UpdatePanel instead. I tried this and it works beautifully.Hello jcasp, thanks for your reply.
I also tried this but didn't work. I really need two updatepanels... one for each view...
But, I added 2 lines at Atlas.js just to check if some updatepanel is null and now it's working. I think that at some version in the future it will works...
Thanks again...
Wender
What lines did you change?
Hi,
this may be related to a known bug about the UpdatePanel's ID. An error is raised when the UpdatePanel's ID contains an underscore '_' character.
 
No comments:
Post a Comment