This is a migrated thread and some comments may be shown as answers.

Page_Load event is not fired after the window open in IE8

1 Answer 16 Views
Window
This is a migrated thread and some comments may be shown as answers.
Jan Mucha
Top achievements
Rank 1
Jan Mucha asked on 18 Jan 2010, 02:58 PM

Hi

I have a windowManager with 3 windows. Each window is opened using Javascript. My problem is that the Page_Load event is not fired after the window open in IE8. In Firefox and in Google Chorme is it working properly. Thank you for any advice.



<telerik:RadWindowManager ID="RadWindowManager1" runat="server" ReloadOnShow="true" 
        ShowContentDuringLoad="false"
        <Windows> 
            <telerik:RadWindow Behaviors="Close, Move, Minimize" VisibleStatusbar="false" ID="HodnoceniDetail" 
                OnClientClose="HodnoceniDetalil_Close" runat="server" Height="500px" Width="720px" 
                Left="150px" ReloadOnShow="false" ShowContentDuringLoad="false" Modal="true" /> 
            <telerik:RadWindow Behaviors="Close, Move, Minimize, Maximize" VisibleStatusbar="false" ID="IdentifikaceDetail" 
                runat="server" Height="500px" Width="1000px" OnClientClose="IdentifikaceDetalil_Close" 
                Left="150px" ReloadOnShow="false" ShowContentDuringLoad="false" Modal="false" /> 
            <telerik:RadWindow Behaviors="Close, Move, Minimize, Maximize" VisibleStatusbar="false" ID="NovyKontaktDetail" 
                runat="server" Height="700px" Width="870px" OnClientClose="NovyKontaktDetail_Close" 
                Left="150px" ReloadOnShow="False" ShowContentDuringLoad="false" Modal="true" /> 
        </Windows> 
    </telerik:RadWindowManager> 

function openNewKontakt(sender, args) { 
                var jmeno = document.getElementById("<%= hdJmeno.ClientID %>").value; 
                var prijmeni = document.getElementById("<%= hdPrijemi.ClientID %>").value; 
                var spolecnost = document.getElementById("<%= hdSpolecnost.ClientID %>").value; 
 
                var urlparameter = ''
                if (sender) { 
                    jmeno = args.getDataKeyValue('FirstName'); 
                    prijmeni = args.getDataKeyValue('Surname'); 
                    spolecnost = args.getDataKeyValue('Spolecnost'); 
 
                    var idSpolecnsot = args.getDataKeyValue('idSpolecnsot'); 
                    var PersonID = args.getDataKeyValue('id'); 
                    var ContactID = args.getDataKeyValue('idContact'); 
 
                    urlparameter += 'RowID=' + ContactID + '' + '&IdSpolecnost=' + idSpolecnsot + '' + '&IdPerson=' + PersonID + ''
                } 
                urlparameter += '&jmeno=' + jmeno + '' + '&prijmeni=' + prijmeni + '' + '&spolecnost=' + spolecnost + ''
                if (!sender || (sender && args.get_tableView().get_name() != 'DetailTable')) { 
                    OpenWindows(GetRadWindow().get_windowManager(), 'NovyKontaktDetail''NovyKontaktDetail.aspx', urlparameter); 
                } 
            } 

function OpenWindows(radWidnowManager, windowName, windowUrl, urlParameter) { 
                /// alert('OpenWindows'); 
                var userWindow1 = radWidnowManager.getWindowByName(windowName); 
                ///alert(userWindow1); 
                userWindow1.setUrl(windowUrl+'?'+ encodeURI(urlParameter)); 
                 
                var isClosed = userWindow1.isClosed(); 
                userWindow1.show(); 
                if (isClosed) userWindow1.center(); 
                return false
            } 

1 Answer, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 19 Jan 2010, 12:41 PM
Hi Jan,

I tried your code but everything is working as expected. At this point I cannot say where the problem is, but if you open a support ticket and send me a small sample project where this issue could be reproduced, I will do my best to help.


All the best,
Georgi Tunev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Window
Asked by
Jan Mucha
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Share this question
or