troubleshooting Question

Call Back Function

Avatar of vikasbapat
vikasbapat asked on
JavaScript.NET Programming
2 Comments1 Solution1785 ViewsLast Modified:

I have one default page (default.aspx) inside that i have one user control containing rad grid.
On click of the link button (which is one column in grid) i am opening the rad window.
On click of update button (which is inside rad window ) i want to close the rad window and refresh the calling page (default.aspx).

It closes the rad window but could not refresh the calling Page(Default.aspx).
Please assist.

Code in rad window.
<script type="text/javascript">
   function CloseAndbind(status)  
            var obj = GetRadWindow();
        function GetRadWindow()  
            var oWindow = null;  
            if (window.radWindow) oWindow = window.radWindow; //Will work in Moz in all cases, including clasic dialog  
              else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow;//IE (and Moz az well)  
            return oWindow;  

code in calling page (default.aspx)

<script type="text/javascript">

        function CallBackFunction(radWindow,returnValue1)
        function callButtonClick()
              var _btn = document.getElementById('<%= Button1.ClientID%>');                              

<telerik:RadWindowManager ID="RadWindowManager1" runat="server" Behaviors="Close,Move,Reload"
          Modal="true" Animation="None" ClientCallBackFunction="CallBackFunction" ShowContentDuringLoad="true" VisibleStatusbar="true"
                <telerik:RadWindow Width="910px" Height="640px" ClientCallBackFunction="CallBackFunction"
                 Runat="server" Id="Radwindow1"
                            VisibleStatusbar="false" >               
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 2 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros