modal popup issue
-
Hi in asp.net, I have opened modal pop using jquery with login form and after logged in I'm displaying data in modal popup itself but I want to display username and Logout link in parent page which content is disabled when modal popup is opened. when i use below code to refresh parent page: window.parent.location.reload(); it refreshes parent page and in parent page username logout link also displayed which is managed by user control. but I want that: modal popup should not be closed and paraent page should be refreshed without looking like server trip. thanks
You get the best out of others when you give the best of yourself.
-
Hi in asp.net, I have opened modal pop using jquery with login form and after logged in I'm displaying data in modal popup itself but I want to display username and Logout link in parent page which content is disabled when modal popup is opened. when i use below code to refresh parent page: window.parent.location.reload(); it refreshes parent page and in parent page username logout link also displayed which is managed by user control. but I want that: modal popup should not be closed and paraent page should be refreshed without looking like server trip. thanks
You get the best out of others when you give the best of yourself.
trilokharry wrote:
modal popup should not be closed and paraent page should be refreshed without looking like server trip
Why not do it using JavaScript/jQuery? Google for: updating Parent page control from child page... You can also trigger an async parent page button to update it partially.