See, the update panel will wipe out all the jQuery code inside the page. Try to use the PageRequestManager .
Up vote 0 down vote favorite share g+ share fb share tw.
These changes CANT be reversed. The script for the Jquery is written as This script is written in BODY tag and the Yes button click calls the post back event of Edit button(btnEdit) In the code behind everything runs fine but after execution the modal box still shows up. I need to close this dialog box after code behind execution.. If I remove the update panel, everything works absolutely fine but there exists a HTML radio button column in grid view on the same page which looses its check if a full post back occurs.. Please help me out with possible solutions.. c# asp.net jquery-ui postback jquery-ui-dialog link|improve this question asked Oct 11 '11 at 5:38santosh s263 25% accept rate.
See, the update panel will wipe out all the jQuery code inside the page. Try to use the PageRequestManager.
The main problem you will face is that document. Ready is not fired on a partial postback. To work around this issue you can update your jquery object in a javascript function called PageLoad: I believe it is case sensitive.
Am not understanding how to format this comment to look proper :( Sorry if it seems bad.. I wrote the Javascript in the page load using a string builder, sb. Called it as follows in the button click event, now the pop up itself is not shown....... if (!ClientScript. IsStartupScriptRegistered("JSScript")) ScriptManager.
RegisterStartupScript(btnEdit, this.GetType(), "JSCR", sb.ToString(), false); – santosh s Oct 11 '11 at 6:39 im sorry if I wasnt clear. The pageLoad function is actually a javascript function that asp.net ajax fires on partial postback (this is wired up automatically so all you need to do if define the function and put code in it). The code you have in $().
Ready({...}); should be moved to function pageLoad(){...}. You should not need to load the javascript in the code-behind. – Gary.
S Oct 11 '11 at 15:43.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.