PDA

View Full Version : [CLOSED] Not Showing Contents in Popup Page



speedstepmem4
Sep 27, 2013, 5:40 AM
Hi All,

We are used Ext.net v1.0. Now we are converting our application to Ext.net v2.2 based on your changes log. We are trying to show the content in popup page when click on link "Communication" (Page1.aspx). The page is showing without content. Also we are getting script errors at this time click on link.

Page1.aspx (Portal page)



<%@ Page Language="C#" AutoEventWireup="true" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> </head> <body> <form id="form1" runat="server"> <ext:ResourceManager runat="server" ID="resourceMgr" Namespace=""> </ext:ResourceManager> <div> <ext:Viewport ID="ViewPort1" runat="server" StyleSpec="background-color: transparent;" Layout="FitLayout"> <Content> <ext:Container ID="Container1" runat="server" Layout="BorderLayout"> <Items> <ext:Panel ID="pnlNorth" runat="server" Height="75" Border="false" Header="false" BodyStyle="background-color: transparent;" Region="North"> <Content> <div id="settingsWrapper"> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td> <div id="settings"> <div id="itemmyprofile" runat="server"> </div> <div id="itemreport" runat="server"> </div> <div id="itemcommunication" runat="server"> <ext:LinkButton runat="server" ID="lblCom" Text="Communication"> <Listeners> <Click Handler="openWin();"> </Click> </Listeners> </ext:LinkButton> </div> <div id="itemintlcomment" runat="server"> </div> <div id="itemCalendar" runat="server"> </div> <div id="itemTasks" runat="server"> </div> <div id="itemHistory" runat="server"> </div> </div> </td> <td align="right"> <div> <div id="help" runat="server" style="display: none"> </div> <div id="information" runat="server" style="display: none"> </div> <ext:Button ID="btnMySetting" runat="server" Hidden="false" MenuArrow="false" Cls="x-menu-horizontal" MenuAlign="tr-br"> </ext:Button> </div> </td> </tr> </table> </div> <div style="vertical-align: top"> <table cellpadding="0" cellspacing="0" width="100%" border="0"> <tr> <td width="20%" align="left" style="padding-left: 15px;"> <img src="" runat="server" id="imgSpeedStepDimLogo" /> </td> <td width="60%" align="center" style="color: #c0c0c0;"> <ext:Label ID="lbl_head" StyleSpec="font-weight:bold;" runat="server"> </ext:Label> </td> <td width="20%" align="right" style="padding-right: 15px; padding-top: 5px;"> <img id="logo" runat="server" /> </td> </tr> </table> </div> </Content> </ext:Panel> <ext:Panel runat="server" Width="165" ID="pnlSettings" BodyStyle="background-color: #284051;" Region="West"> <Content> <ext:Container ID="Container2" runat="server" Layout="AccordionLayout"> <Items> <ext:Panel ID="Panel1" runat="server" Border="false" Collapsed="True" AutoScroll="true" BodyStyle="padding:6px;"> <Content> <div class="link_west"> <ul> <li id="menu_dash" runat="server"><a href="#" id="href_one" runat="server" onclick="CallPage('1',this);"> <asp:Literal ID="lbl_dash" runat="server"></asp:Literal></a></li> </ul> </div> </Content> </ext:Panel> <ext:Panel ID="Panel4" runat="server" Border="false" Collapsed="True" AutoScroll="true" BodyStyle="padding:6px;"> <Content> <div class="link_west"> <ul> <li id="menu_business_terms" runat="server"><a href="#" id="href_lbl_business_terms" onclick="CallPage('6',this);"> <asp:Literal ID="lbl_business_terms" runat="server"></asp:Literal></a></li> </ul> </div> </Content> </ext:Panel> <ext:Panel ID="Panel8" runat="server" Border="false" Collapsed="True" AutoScroll="true" BodyStyle="padding:6px;"> <Content> <div class="link_west"> <ul> <li id="Li1" runat="server"><a href="#" id="href_lbl_user_settings" onclick="CallPage('7',this);"> <asp:Literal ID="lbl_user_settings" runat="server"></asp:Literal></a></li> <li id="Li2" runat="server"><a href="#" id="href_lbl_user_group" onclick="CallPage('7.1',this);"> <asp:Literal ID="lbl_user_group" runat="server"></asp:Literal></a></li> <li id="Li3" runat="server"><a href="#" id="href_lbl_absence" onclick="OpenAbsence();"> <asp:Literal ID="lbl_absence" runat="server"></asp:Literal></a></li> </ul> </div> </Content> </ext:Panel> <ext:Panel ID="Panel2" runat="server" Border="false" Collapsed="true" AutoScroll="true" BodyStyle="padding:6px;"> <Content> <div class="link_west"> <ul> <li id="menu_article" runat="server"><a href="#" id="href_lbl_article" onclick="CallPage('2',this);"> <asp:Literal ID="lbl_article" runat="server"></asp:Literal></a></li> </ul> </div> </Content> </ext:Panel> <ext:Panel ID="Panel3" runat="server" Border="false" Collapsed="true" AutoScroll="true" BodyStyle="padding:6px;"> <Content> <div class="link_west"> <ul> <li id="menu_workcenterorder" runat="server"><a href="#" id="href_lbl_workcenterorder" onclick="CallPage('3',this);"> <asp:Literal ID="lbl_workcenterorder" runat="server"></asp:Literal></a></li> <li id="menu_multi_order" runat="server"><a href="#" id="href_lbl_multi_order" onclick="CallPage('28',this);"> <asp:Literal ID="lbl_multi_order" runat="server"></asp:Literal></a></li> <li id="menu_delivery_date" runat="server"><a href="#" id="href_lbl_delivery_date_confirm" onclick="CallPage('29',this);"> <asp:Literal ID="lbl_delivery_date_confirm" runat="server"></asp:Literal></a></li> <li id="menu_order_status" runat="server"><a href="#" id="href_lbl_order_control" onclick="CallPage('4',this);"> <asp:Literal ID="lbl_order_control" runat="server"></asp:Literal></a></li> <li id="menu_price" runat="server"><a href="#" id="href_lbl_price" onclick="CallPage('5',this);"> <asp:Literal ID="lbl_price" runat="server"></asp:Literal></a></li> <li id="menu_pricehistory" runat="server"><a href="#" id="href_lbl_pricehistory" onclick="CallPage('34',this);"> <asp:Literal ID="lbl_pricehistory" runat="server"></asp:Literal></a></li> <li id="menu_order_report" runat="server"><a href="#" id="href_lbl_order_report" onclick="CallPage('21',this);"> <asp:Literal ID="lbl_order_report" runat="server"></asp:Literal></a></li> <li id="menu_lc_status" runat="server"><a href="#" id="href_lbl_lc_status" onclick="CallPage('27',this);"> <asp:Literal ID="lbl_lc_status" runat="server"></asp:Literal></a></li> <li id="menu_order" runat="server"><a href="#" id="href_lbl_order" onclick="CallPage('30',this);"> <asp:Literal ID="lbl_order" runat="server"></asp:Literal> </a></li> </ul> </div> </Content> </ext:Panel> <ext:Panel ID="Panel5" runat="server" Border="false" Collapsed="True" AutoScroll="true" BodyStyle="padding:6px;"> <Content> <div class="link_west"> <ul> <li id="menu_quality_terms" runat="server"><a href="#" id="href_lbl_quality_terms" onclick="CallPage('15',this);"> <asp:Literal ID="lbl_quality_terms" runat="server"></asp:Literal></a></li> <li id="menu_quality_control" runat="server"><a href="#" id="href_lbl_quality_control" onclick="CallPage('10',this);"> <asp:Literal ID="lbl_quality_control" runat="server"></asp:Literal></a></li> </ul> </div> </Content> </ext:Panel> <ext:Panel ID="Panel6" runat="server" Border="false" Collapsed="True" AutoScroll="true" BodyStyle="padding:6px;"> <Content> <div class="link_west"> <ul> <li id="menu_workfolow_status" runat="server"><a href="#" id="href_lbl_wrk_status" onclick="CallPage('12',this);"> <asp:Literal ID="lbl_wrk_status" runat="server"></asp:Literal></a></li> <li id="menu_workflow_comm" runat="server"><a href="#" id="href_lbl_wrk_comm" onclick="CallPage('24',this);"> <asp:Literal ID="lbl_wrk_comm" runat="server"></asp:Literal></a></li> <li id="menu_sample_delivery" runat="server"><a href="#" id="href_lbl_sample_delivery" onclick="CallPage('32',this);"> <asp:Literal ID="lbl_sample_delivery" runat="server"></asp:Literal></a></li> </ul> </div> </Content> </ext:Panel> <ext:Panel ID="Panel7" runat="server" Border="false" Collapsed="True" AutoScroll="true" BodyStyle="padding:6px;"> <Content> <div class="link_west"> <ul> <li id="menu_shipment_status" runat="server"><a href="#" id="href_lbl_shipment_status" onclick="CallPage('25',this);"> <asp:Literal ID="lbl_shipment_status" runat="server"></asp:Literal></a></li> <li id="menu_packing_list" runat="server"><a href="#" id="href_lbl_Packing_list" onclick="CallPage('26',this);"> <asp:Literal ID="lbl_Packing_list" runat="server"></asp:Literal></a></li> <li id="menu_container_list" runat="server"><a href="#" id="href_lbl_container_loading" onclick="CallPage('31',this);"> <asp:Literal ID="lbl_container_loading" runat="server"></asp:Literal></a></li> <li id="menu_shipment_list" runat="server"><a href="#" id="href_lbl_shipment_list" onclick="CallPage('23',this);"> <asp:Literal ID="lbl_shipment_list" runat="server"></asp:Literal></a></li> <li id="menu_vessel_book" runat="server"><a href="#" id="href_lbl_vessel_book" onclick="CallPage('36',this);"> <asp:Literal ID="lbl_vessel_book" runat="server"></asp:Literal></a></li> </ul> </div> </Content> </ext:Panel> <ext:Panel ID="pnl_business_partner" runat="server" Border="false" Collapsed="True" AutoScroll="true" BodyStyle="padding:6px;"> <Content> <div class="link_west"> <ul> <li id="menu_business_partner" runat="server"><a href="#" id="href_lbl_business_partner" onclick="CallPage('33',this);"> <asp:Literal ID="lbl_business_partner" runat="server"></asp:Literal></a></li> <li id="menu_partner_contacts" runat="server"><a href="#" id="href_lbl_partner_contacts" onclick="CallPage('35',this);"> <asp:Literal ID="lbl_partner_contacts" runat="server"></asp:Literal></a></li> </ul> </div> </Content> </ext:Panel> <ext:Panel ID="pnl_live_users" runat="server" Border="false" Collapsed="True" AutoScroll="true" BodyStyle="padding:6px;" ContextMenuID="chatContext"> <Content> <div class="user-list" id="divChatUsers" runat="server"> </div> </Content> </ext:Panel> </Items> </ext:Container> </Content> </ext:Panel> <ext:TabPanel ID="tpPortal" runat="server" Title="TabPanel" Border="false" EnableTabScroll="true" BodyStyle="background-color: transparent;" Region="Center"> <Items> <ext:Panel ID="Tab1" Title="Tab1" runat="server"> <DirectEvents> </DirectEvents> <Listeners> </Listeners> </ext:Panel> <ext:Panel ID="Tab5" Title="Tab5" runat="server" BodyStyle="background:white"> <DirectEvents> </DirectEvents> <Listeners> </Listeners> </ext:Panel> <ext:Panel ID="Tab2" Title="Tab2" runat="server" BodyStyle="background:white"> <DirectEvents> </DirectEvents> <Listeners> </Listeners> </ext:Panel> <ext:Panel ID="Tab3" Title="Tab3" runat="server" BodyStyle="background:white"> <DirectEvents> </DirectEvents> <Listeners> </Listeners> </ext:Panel> <ext:Panel ID="Tab4" Title="Tab4" runat="server" BodyStyle="background:white"> <DirectEvents> </DirectEvents> <Listeners> </Listeners> </ext:Panel> </Items> </ext:TabPanel> </Items> </ext:Container> </Content> </ext:Viewport> </div> <script> function CallPage(val1, val2) { } function GetPopupDimension() { var size = Ext.getBody().getSize(); var popupres = new Object(); popupres.height = size.height * 0.9; //h var maxscrper = 0.70; var minscrper = 0.98; var scrbyte = (screen.width - 1024) / 16; var scrper = (scrbyte * 0.0115); var scrpercons = minscrper - scrper; if (parseFloat(scrpercons).toFixed(2) <= maxscrper) scrpercons = maxscrper; popupres.width = (screen.width + 10) * scrpercons; //w return popupres; } function IsDynamicSizePopupPage(pageName) { var lowerPageName = pageName.toLowerCase(); if (fixedWidthPageUrls.indexOf(lowerPageName.split("?")[0]) == -1) { return true; } else { return false; } } var fixedWidthPageUrls = new Array(); fixedWidthPageUrls.push('frm_br_print.aspx'); function openWin() { OpenCommentPage('12121', 'Page2.aspx', 500, 400, 'Communication'); } var load = "Loading"; function OpenCommentPage(windowId, page, w, h, t) { var isExist = Ext.isEmpty(Ext.getCmp(windowId)); if (isExist == true) { var size = GetPopupDimension(); if (page.indexOf("?") >= 0) page = page + "&ht="; else page = page + "?ht="; page = page + size.height.toString() + "&wt=" + size.width.toString(); if (IsDynamicSizePopupPage(page)) { w = size.width; h = size.height; } win1 = new Ext.Window({ modal: false, layout: 'absolute', width: w, height: h, title: t, closeAction: 'destroy', resizable: false, loader: { loadMask: { showMask: true, msg: load }, autoLoad: false, renderer: "Frame", url: page }, autoScroll: false, id: windowId }); win1.width = w; win1.height = h; win1.show(); } else { var isshown = Ext.getCmp(windowId).isVisible(); if (isshown == false) { win1.show(); } } } </script> </form> </body> </html>



Page2.aspx (Popup page)



<%@ Page Language="C#" AutoEventWireup="true" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head id="htmlHead" runat="server"> <title></title> </head> <body id="body" runat="server"> <form id="form1" runat="server"> <div> <ext:ResourceManager ID="ScriptManager1" runat="server" Namespace=""> </ext:ResourceManager> <ext:Viewport ID="ViewPort1" runat="server" Layout="FitLayout" StyleSpec="background-color: red;"> <Content> <ext:Container Layout="BorderLayout" ID="BorderLayout1" runat="server" Width="500" Height="500"> <Items> <ext:Panel ID="Panel1" runat="server" Border="false" Width="500" Height="295" Region="North" StyleSpec="bgcolor:red;"> <Content> <div class="Popup_ContentPane_CircleLogo"> <div class="Popup_WindowLogo"> <div style="padding: 3px 0px 0px 1px"> <img class="Popup_WindowLogo Popup_WindowLogo_Icon_Communication" src="" border="0" /> </div> </div> </div> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td id="img_td" runat="server" align="left" class="toolpopup"> <img src="" runat="server" id="DIMENSION" height="20" /> </td> </tr> </table> <table cellpadding="0" cellspacing="0" class="toolbar"> <tr> <td> <div id="midle" runat="server"> <ul> <li id="LiSave" runat="server"> <ext:ImageButton AutoPostBack="false" runat="server" SkinID="tbarSaveItem" ID="Img_Edit"> <Listeners> <Click Delay="1" Handler="Save();" /> </Listeners> </ext:ImageButton> </li> <li> <img alt="" id="Img1" src="" runat='server' class="line" /> </li> <li id="LiSend" runat="server"> <ext:ImageButton AutoPostBack="false" runat="server" SkinID="tbarCommentSend" ID="Img_Send"> <Listeners> <Click Delay="1" Handler="confirmSend();" /> </Listeners> </ext:ImageButton> </li> <li> <img alt="" id="Img2" src="" runat='server' class="line" /> </li> <li id="LiAttach" runat="server"> <ext:ImageButton AutoPostBack="false" runat="server" SkinID="tbarAttachItem" ID="Img_doc"> <Listeners> <Click Delay="1" Handler="OpenAttachmentWindow();" /> </Listeners> </ext:ImageButton> </li> <li id="LiSignature" runat="server"> <ext:ImageButton ID="btnSignature" runat="server" Flat="true" ImageUrl="images/toolbar/signature.png" StyleSpec="background:url('images/toolbar/signature.png') no-repeat center 0px;" MenuArrow="true"> <Menu> <ext:Menu ID="mnuSignature" runat="server"> </ext:Menu> </Menu> </ext:ImageButton> </li> <li> <img alt="" id="Img3" src="" runat='server' class="line" /> </li> <li> <ext:ImageButton AutoPostBack="false" runat="server" SkinID="tbarExit" ID="Img_close"> <Listeners> <Click Delay="1" Handler="CloseWindow();" /> </Listeners> </ext:ImageButton> </li> </ul> </div> </td> </tr> </table> <div class="tablepadleft"> <table width="970" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="610" valign="top"> <table width="610" border="0" cellspacing="2" cellpadding="2"> <tr> <td style="width: 95px;"> <ext:Label ID="lbl_infotype" runat="server"> </ext:Label> </td> <td style="width: 125px;"> <ext:ComboBox ID="cmb_infotype" runat="server" Cls="edit-form-manitatory" StoreID="StInformationType" ValueField="INFORMATION_TYPE_NO" DisplayField="INFORMATION_DESC" Editable="false" TypeAhead="true" Mode="Local" ForceSelection="true" Width="190" TriggerAction="All"> </ext:ComboBox> </td> <td style="width: 340px;"> <ext:Label ID="Lblamendment" Hidden="true" runat="server"> </ext:Label> <ext:ComboBox ID="CmbAmendment" Hidden="true" StoreID="StAmendment" runat="server" ValueField="AMENDMENT_NO" TriggerAction="All" DisplayField="AMENDMENT_DESC" Editable="false" TypeAhead="true" Mode="Local" ForceSelection="true" Width="245" Cls="edit-form"> </ext:ComboBox> </td> </tr> <tr> <td> <ext:Label runat="server" ID="lbl_ProcessStep"> </ext:Label> </td> <td colspan="2"> <ext:ComboBox ID="CmbProcessStep" StoreID="StProcessStep" runat="server" ValueField="PROCESS_STEP_NO" DisplayField="PROCESS_STEP_DESC" TriggerAction="All" Editable="false" TypeAhead="true" Mode="Local" ForceSelection="true" Width="190" Cls="edit-form"> </ext:ComboBox> </td> </tr> <tr> <td> <ext:Label ID="lbl_user" runat="server" StyleSpec="text-wrap:pre;"> </ext:Label> </td> <td colspan="2"> <div style="width: 190px;"> </div> </td> </tr> <tr> <td colspan="3" align="left"> <table runat="server" id="trCustomer" align="left" cellpadding="0" cellspacing="0"> <tr> <td height="25" class="communication-lable"> <ext:Label ID="lbl_customer" runat="server" StyleSpec="text-wrap:pre;"> </ext:Label> </td> <td colspan="3"> <ext:ComboBox ID="cmb_customer" StoreID="StCustomer" runat="server" ValueField="CUSTOMER_NO" DisplayField="CUSTOMER_NAME" TriggerAction="All" Editable="false" TypeAhead="true" Mode="Local" ForceSelection="true" Width="190" Cls="edit-form"> </ext:ComboBox> </td> </tr> </table> </td> </tr> <tr> <td> <ext:Label runat="server" ID="lbl_subject"> </ext:Label> </td> <td colspan="2"> <ext:TextField ID="txt_subject" runat="server" Cls="edit-form-manitatory" StyleSpec="width:520px"> </ext:TextField> </td> </tr> <tr> <td valign="top"> <div style="padding-top: 4px"> <ext:Label runat="server" ID="lbl_actionkind"> </ext:Label> </div> </td> <td valign="top"> <ext:ComboBox ID="cmb_kind" runat="server" StoreID="StActionKind" Cls="edit-form-manitatory" ValueField="ActionNo" DisplayField="ActionDescription" Editable="false" TypeAhead="true" Width="190" Mode="Local" ForceSelection="true" TriggerAction="All"> </ext:ComboBox> </td> <td width="340" valign="top"> <table border="0" cellpadding="2" cellspacing="2"> <tr id="tr_delivery_date" runat="server"> <td> <table border="0" cellpadding="0" cellspacing="0"> <tr> <td class="communication-lable"> <ext:Label ID="lbl_etd" runat="server"> </ext:Label> </td> <td> </td> <td width="10"> </td> <td width="80"> <ext:Label ID="lbl_eta" runat="server"> </ext:Label> </td> <td> </td> </tr> </table> </td> </tr> <tr id="tr_deli_terms" runat="server"> <td> <table border="0" cellpadding="0" cellspacing="0"> <tr> <td class="communication-lable"> <ext:Label ID="lbl_delivery_terms" runat="server"> </ext:Label> </td> <td> <ext:ComboBox ID="cmb_Delivery_Terms" runat="server" StoreID="StDeliveryTerm" ValueField="DELIVERY_TERM_CODE" DisplayField="DELIVERY_TERM_DESC" Editable="false" Cls="edit-form-manitatory" Width="258" TypeAhead="true" Mode="Local" ForceSelection="true" TriggerAction="All"> </ext:ComboBox> </td> </tr> </table> </td> </tr> <tr id="tr_deli_from" runat="server"> <td> <table border="0" cellpadding="0" cellspacing="0"> <tr> <td class="communication-lable"> <ext:Label ID="lbl_delivery_from" runat="server"> </ext:Label> </td> <td> <ext:ComboBox ID="cmb_from" runat="server" StoreID="StDeliveryFrom" Editable="false" DisplayField="PosDesc" ValueField="PosDesc" TypeAhead="true" Mode="Local" ForceSelection="true" TriggerAction="All" Width="258" Cls="edit-form"> </ext:ComboBox> </td> </tr> </table> </td> </tr> <tr id="tr_deli_to" runat="server"> <td> <table border="0" cellpadding="0" cellspacing="0"> <tr> <td class="communication-lable"> <ext:Label ID="lbl_delivery_to" runat="server"> </ext:Label> </td> <td> <ext:ComboBox ID="cmb_to" runat="server" StoreID="StDeliveryTo" Editable="false" DisplayField="PosDesc" ValueField="PosDesc" TypeAhead="true" Mode="Local" ForceSelection="true" TriggerAction="All" Width="258" Cls="edit-form"> </ext:ComboBox> </td> </tr> </table> </td> </tr> <tr id="tr_inspection" runat="server"> <td> <table border="0" cellpadding="0" cellspacing="0"> <tr> <td class="communication-lable"> <ext:Label ID="lbl_inspection" runat="server"> </ext:Label> </td> <td> </td> </tr> </table> </td> </tr> <tr id="tr_supplier" runat="server"> <td> <table border="0" cellpadding="1" cellspacing="1"> <tr> <td class="communication-lable"> <ext:Label ID="lbl_supplier" runat="server"> </ext:Label> </td> <td> <div style="width: 85px;"> </div> </td> <td> <ext:TextField ID="txt_supplier_name" runat="server" Width="175"> </ext:TextField> </td> </tr> </table> </td> </tr> <tr id="tr_number" runat="server"> <td> <table border="0" cellpadding="0" cellspacing="0"> <tr> <td class="communication-lable"> <ext:Label ID="lbl_number" runat="server"> </ext:Label> </td> <td> <ext:TextField ID="txt_number" runat="server" Width="155" Cls="edit-form-manitatory" MaxLength="35"> </ext:TextField> </td> </tr> </table> </td> </tr> <tr id="tr_date" runat="server"> <td> <table border="0" cellpadding="0" cellspacing="0"> <tr> <td class="communication-lable"> <ext:Label ID="lbl_date" runat="server"> </ext:Label> </td> <td> </td> </tr> </table> </td> </tr> <tr id="tr_factory" runat="server"> <td> <table border="0" cellpadding="1" cellspacing="1"> <tr> <td class="communication-lable"> <ext:Label ID="lbl_factory" runat="server"> </ext:Label> </td> <td> <div style="width: 85px;"> </div> </td> <td> <ext:TextField ID="txt_supplier_name1" runat="server" Width="175"> </ext:TextField> </td> </tr> </table> </td> </tr> <tr id="trLcOpen" runat="server"> <td> <table border="0" cellpadding="1" cellspacing="1"> <tr> <td class="communication-lable"> <ext:Label ID="lblLcNo" runat="server"> </ext:Label> </td> <td> <ext:TextField ID="txtLCNo" runat="server" ReadOnly="true" Width="160" Cls="edit-form" MaxLength="35"> </ext:TextField> </td> </tr> <tr> <td class="communication-lable"> <ext:Label ID="lblLcDate" runat="server"> </ext:Label> </td> <td> </td> </tr> </table> </td> </tr> </table> </td> </tr> </table> </td> <td width="340" valign="top"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td style="width: 255px"> <table border="0" cellspacing="0" cellpadding="0" class="FieldGroup"> <tr> <td class="FieldGroupTitle_Left"> <img src="" class="FieldGroupTitle_Left_bg" border="0" /> </td> <td class="FieldGroupTitle" id="remarks" runat="server"> <ext:Label ID="lbl_OrdAssign" runat="server"> </ext:Label> </td> <td class="FieldGroupTitle_Right"> <img src="" class="FieldGroupTitle_Right_bg" border="0" /> </td> <td class="FieldGroupContent"> </td> </tr> </table> </td> </tr> <tr> <td> <ext:GridPanel ID="gdOrders" runat="server" StoreID="StOrderAssignment" Border="true" AutoScroll="true" SelectionMemory="true" Height="192" Frame="false" Width="330" EnableColumnMove="false"> <ColumnModel ID="ColumnModel3" runat="server"> <Columns> <ext:Column ID="Column1" Sortable="false" MenuDisabled="true" Resizable="true" DataIndex="PositionNo" Align="Left" Width="150" Text="Order" runat="server"> <Editor> <ext:TextField ID="txt_order_no" runat="server"> <Listeners> <Show Handler="this.focus.defer(50, this);" /> </Listeners> </ext:TextField> </Editor> </ext:Column> <ext:Column ID="Column2" Sortable="false" MenuDisabled="true" Resizable="true" DataIndex="SubOrderNo" Align="Left" Width="80" Text="Sub" runat="server"> <Editor> <ext:TriggerField ID="txt_sub_order_no" runat="server" Width="75px" MaxLength="2"> <Triggers> <ext:FieldTrigger Icon="Search" /> </Triggers> <Listeners> <TriggerClick Handler="top.window_popup_open(10,'PopUpOrder.aspx?OrderFla g=1',900,470,OrderTitle);" /> </Listeners> </ext:TriggerField> </Editor> </ext:Column> <ext:Column ID="Column3" Sortable="false" MenuDisabled="true" Hidden="true" Resizable="true" DataIndex="CollTypeNo" Align="Right" Width="0" Text="Order Type" runat="server"> </ext:Column> <ext:Column ID="Column4" Sortable="false" MenuDisabled="true" Hidden="true" Resizable="true" DataIndex="ContractNo" Align="Right" Width="0" Text="" runat="server"> </ext:Column> </Columns> </ColumnModel> <Listeners> <%--<afteredit fn="ValidateAfterEdit" />--%> <%--<BeforeEdit Fn="ValidateBeforeEdit" />--%> </Listeners> <SelectionModel> <ext:RowSelectionModel ID="RowSelectionModel1" runat="server" Mode="Single"> </ext:RowSelectionModel> </SelectionModel> <Loader ID="Loader1" runat="server"> <LoadMask ShowMask="true" /> </Loader> <Buttons> <ext:Button ID="btnAddNewOrder" runat="server" AutoPostBack="false" IconCls="add"> <Listeners> <Click Delay="1" Handler="NewEnableOrder();"> </Click> </Listeners> </ext:Button> <ext:Button ID="btnSaveOrder" runat="server" AutoPostBack="false" IconCls="saveicon" Disabled="true"> <Listeners> <Click Delay="1" Handler="SaveCancelClick();"> </Click> </Listeners> </ext:Button> <ext:Button ID="btnCancel" runat="server" AutoPostBack="false" IconCls="cancel" Disabled="true"> <Listeners> <Click Delay="1" Handler="SaveCancelClick();"> </Click> </Listeners> </ext:Button> <ext:Button ID="btnDeleteOrder" runat="server" IconCls="deleteicon" AutoPostBack="false" Disabled="true"> <Listeners> </Listeners> </ext:Button> </Buttons> <Plugins> <ext:CellEditing ID="CellEditing1" runat="server" /> </Plugins> </ext:GridPanel> </td> </tr> </table> </td> </tr> </table> </div> </Content> </ext:Panel> <ext:TabPanel ID="TabPanel1" runat="server" Region="South" Width="500"> <Items> <ext:Panel ID="Tab1" runat="server"> <Content> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td> <ext:HtmlEditor ID="HtmlEdr1" EnableColors="false" runat="server" Height="150" FieldClass="edit-form"> <Listeners> <Initialize Handler="Ext.DomHelper.applyStyles(this.getEditorBody(), {'background-position' : 'top right','margin':'0px', padding:'0px'});" /> </Listeners> </ext:HtmlEditor> </td> </tr> <tr> <td> <ext:Panel ID="pnlAttachment" runat="server" AutoScroll="false" AutoHeight="false"> <Content> Attachment Controls here </Content> </ext:Panel> </td> </tr> </table> </Content> </ext:Panel> </Items> </ext:TabPanel> </Items> </ext:Container> </Content> </ext:Viewport> </div> </form> </body> </html>

Zdenek
Sep 27, 2013, 6:40 AM
I hope I decrypted sources correctly,
seems that the problem is here


loader: { loadMask: { showMask: true, msg: load },
autoLoad: false,
renderer: "frame",
url: page
}


should be with
autoLoad:true

speedstepmem4
Sep 27, 2013, 6:55 AM
I hope I decrypted sources correctly,
seems that the problem is here


loader: { loadMask: { showMask: true, msg: load },
autoLoad: false,
renderer: "frame",
url: page
}


should be with
autoLoad:true

Hi Zenek,

I tried to change autoLoad=true, the same issue. The page content is not showing.

Zdenek
Sep 27, 2013, 7:03 AM
can you ensure that "frame" is lowercased


renderer: "frame",


I think you have it uppercased on your original sources

speedstepmem4
Sep 27, 2013, 7:13 AM
can you ensure that "frame" is lowercased


renderer: "frame",


I think you have it uppercased on your original sources

Hi Zdenek,

Yes i changed frame as lowercase. Now Page2.aspx is opened with some script exceptions.

Like this,

"SCRIPT5007: Unable to get property 'on' of undefined or null reference ext.axd, line 18 character 426322"

speedstepmem4
Sep 30, 2013, 6:41 AM
Hi All,

How to fix this issue?


Hi Zdenek,

Yes i changed frame as lowercase. Now Page2.aspx is opened with some script exceptions.

Like this,

"SCRIPT5007: Unable to get property 'on' of undefined or null reference ext.axd, line 18 character 426322"

Daniil
Sep 30, 2013, 7:47 AM
Hi,

Please remove TypeAhead="true" or Editable="false" setting of all the ComboBoxes. It cannot be used together.

Also I cannot see any Store defined, but I see a lot of StoreIDs.