tags:

views:

120

answers:

1

hi. i have 4 content placeholder from my master page and i am using the 3rd contentplace holder. and iam trying to block the entire page. but it blocks only the 3rd content palceholder Area. it blocka only the Specified Area
i am using the jQuey

<script language="javascript" type="text/javascript">
    $(function() {
        //$().ajaxStart($.blockUI).ajaxStop($.unblockUI);
        $('#divConfirmBox1').block({ message: $('#divConfirmBox') });
    });
    $(function() {
        //$().ajaxStart($.blockUI).ajaxStop($.unblockUI);
        $('#divConfirmBox').click(function(event) {
            $('#divConfirmBox1').unblock();
        });
    });
</script>

is ther any way i can block the the entire page

A: 

Well you are specifying an element to block : $('#divConfirmBox1').blockui

To block the whole page you use $.blockui

e.g

$.blockUI({ message: '<h1>I block the whole page</h1>' });
redsquare
thank you it worked .<script language="javascript" type="text/javascript"> $(function() { $.blockUI({ message: $('#divConfirmBox') }); }); $(function() { $('#divConfirmBox').click(function(event) { $.unblockUI(); }); }); </script>
prince23