views:

98

answers:

0

I'm using the jQuery plugin blockui as part of a project, and it causing me some grief while trying to call a postback as part of an asp.net ajax updatepanel. Is there a way to enable form posting for an element without performing the .unblock() command?

I was able to get around this for my submit button by using:

                    $('#' + btnSuccessLinkId).click(function(e) {
                    e.preventDefault();
                    $.unblockUI({
                        onUnblock: function() {
                            eval($('#' + btnSuccessLinkId).attr('href'));
                        }
                    });

However, with the updatepanel, unblocking closes the div element, and also it reduces the fade. I'd rather there be no close, or no effect, just refreshing the content. If it is of any use, I am using a select/dropdown box to trigger the postback.

Thanks, Kyle