This project is read-only.
3

Resolved

Hide/Show of Console-bar loses FieldValues.

description

When i click the "Hide/Show" hyperlink of the console-bar the Fields lose their value and display "#VALUE!".

comments

tommysegoro wrote Dec 3, 2009 at 4:06 AM

Fixed on V3.0.

wrote Dec 3, 2009 at 4:06 AM

SanderSchutten wrote Dec 4, 2009 at 12:02 PM

Hi Tommy,
i just installed v3.0 and the show/hide-functionality now raises a clientside-error (NULL related). I think a new issue is introduced.

This is the Create-script of a page:
Sys.Application.add_init(function() {
$create(AjaxControlToolkit.ModalPopupBehavior, {"BackgroundCssClass":"modalBackground","PopupControlID":"ctl00_PlaceHolderMain_ucPageEditingToolbar_ucModalPopupExtender_pnlPopup","dynamicServicePath":"/nederlands/Pages/index.aspx","id":"ctl00_PlaceHolderMain_ucPageEditingToolbar_ucModalPopupExtender_mdlPopup"}, null, null, $get("ctl00_PlaceHolderMain_ucPageEditingToolbar_ucModalPopupExtender_pnlPopup"));
});

This is the register script on the same page:
//  register for our events
Sys.WebForms.PageRequestManager.getInstance().add_beginRequest(beginRequest);
Sys.WebForms.PageRequestManager.getInstance().add_endRequest(endRequest);    

function beginRequest(sender, args){
    // show the popup
    $find('ctl00_PlaceHolderMain_ucModalPopupExtender_mdlPopup').show();      
}

function endRequest(sender, args) {
    //  hide the popup
    $find('ctl00_PlaceHolderMain_ucModalPopupExtender_mdlPopup').hide();

The names differ and thus the object is not found:
ctl00_PlaceHolderMain_ucModalPopupExtender_mdlPopup
ctl00_PlaceHolderMain_ucPageEditingToolbar_ucModalPopupExtender_mdlPopup

wrote Feb 13, 2013 at 8:10 PM

wrote May 16, 2013 at 3:18 AM

wrote May 16, 2013 at 3:18 AM

wrote Jun 14, 2013 at 8:27 AM