PDA

View Full Version : [FIXED] [V0.5] bugs with 0.5 beta



jlertle
May 23, 2008, 2:38 AM
Awesome project!

I believe I have found a few things in the build from Friday, May 16, 2008 11:58 PM EST:

1.) autoshow="false" does not work for window controls. No error is given. Works fine with 0.4.

2.) lauching windows from links while using viewport/borderlayout does not work. Works fine without Viewport/BorderLayout.

I'm getting:

'ext' is undefined


on this function:

ext.onReady( function() {
ext.get("lnkInd").on("click", function() { winInd.show(); });
ext.get("lnkOrg").on("click", function() { winOrg.hide(); });
});


Here is my code:


<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>


<%@ Register Assembly="Coolite.Ext.Web" Namespace="Coolite.Ext.Web" TagPrefix="ext" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<!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="Head1" runat="server">
<title>BICSI Vantage</title>
<ext:ScriptContainer ID="ScriptContainer1" runat="server" />
<link rel="stylesheet" href="css/style.css" type="text/css" />


<script type="text/javascript">
ext.onReady( function() {
ext.get("lnkInd").on("click", function() { winInd.show(); });
ext.get("lnkOrg").on("click", function() { winOrg.hide(); });
});
</script>


</head>
<body>
<form id="form2" runat="server">
<ext:ScriptManager ID="ScriptManager1" CleanResourceUrl="false" runat="server" Theme="Gray" />
<asp:ScriptManager ID="ScriptManager2" LoadScriptsBeforeUI="true" runat="server">
</asp:ScriptManager>
<ext:ViewPort ID="ViewPort1" runat="server">
<Content>
<ext:BorderLayout ID="BorderLayout1" runat="server">
<North Split="true" Collapsible="true">
<ext:Panel ID="Panel1" runat="server" Title="North" Height="150" BodyStyle="padding:6px;">
<Content>
North
</Content>
</ext:Panel>
</North>
<West MinWidth="225" MaxWidth="400" Split="true" Collapsible="true">
<ext:Panel ID="WestPanel" runat="server" Title="Menu" Width="225">
<Content>
<ext:Accordion ID="Accordion1" runat="server" Animate="true">
<ext:Panel ID="Favorites" runat="server" Title="Favorites" Border="false" BodyStyle="padding:6px;"
Icon="Star">
<Content>
<ul>
<li class="home"><a href="#" target="_blank">Home</a></li>
<li class="mylists"><a href="" target="_blank">My Lists</a></li>
<li class="addindividual"><a href="" target="_blank">Add Individual</a></li>
<li class="findindividual><a href="#" id="lnkInd">Find Individual</a></li>
<li class="queryindividual"><a href="" target="_blank">Query Individual</a></li>
<li class="addorganization"><a href="" target="_blank">Add Organziation</a></li>
<li class="findorganization"><a href="" target="_blank">Find Organization</a></li>
<li class="queryorganization"><a href="" target="_blank">Query Organizations</a></li>
</ul>
</Content>
</ext:Panel>
<ext:Panel ID="Membership" runat="server" Title="Membership" Border="false" BodyStyle="padding:6px;"
Icon="Group">
<Content>
<ul>
<li class="committee"><a href="" target="_blank">Committee</a></li>
<li class="chapter"><a href="" target="_blank">Chapter</a></li>
<li class="awards"><a href="" target="_blank">Awards</a></li>
<li class="surveys"><a href="" target="_blank">Surveys</a></li>
<li class="services"><a href="" target="_blank">Services</a></li>
<li class="marketing"><a href="" target="_blank">Marketing</a></li>
<li class="billing"><a href="" target="_blank">Billing</a></li>
<li class="membershipreports"><a href="" target="_blank">Membership Reports</a></li>
</ul>
</Content>
</ext:Panel>
<ext:Panel ID="Events" runat="server" Title="Events" Border="false" BodyStyle="padding:6px;"
Icon="Calendar">
<Content>
<ul>
<li class="eventnavigator"><a href="" target="_blank">Event Navigator</a></li>
<li class="searchevents"><a href="" target="_blank">Search Events</a></li>
<li class="viewprograms"><a href="" target="_blank">View Programs</a></li>
<li class="addevents"><a href="" target="_blank">Add Event</a></li>
<li class="findregistration"><a href="" target="_blank">Find Registration</a></li>
<li class="eventcalendar"><a href="" target="_blank">Event Calendar</a></li>
<li class="certifications"><a href="" target="_blank">Certifications</a></li>
<li class="locations"><a href="" target="_blank">Locations</a></li>
<li class="speakerstrainers"><a href="" target="_blank">Speakers/Trainers</a></li>
<li class="certificationmanage"><a href="" target="_blank">Certification Management</a></li>
<li class="eventreports"><a href="" target="_blank">Event Reports</a></li>
</ul>
</Content>
</ext:Panel>
<ext:Panel ID="Products" runat="server" Title="Products" Border="false" BodyStyle="padding:6px;"
Icon="Cart">
<Content>
<ul>
<li class="searchproducts"><a href="" target="_blank">Search Products</a></li>
<li class="shoppingcart"><a href="" target="_blank">Shopping Cart</a></li>
<li class="addproduct"><a href="" target="_blank">Add Product</a></li>
<li class="createorder"><a href="" target="_blank">Create Order</a></li>
<li class="searchorders"><a href="" target="_blank">Search Orders</a></li>
<li class="orderstoship"><a href="" target="_blank">Orders To Ship</a></li>
<li class="backorders"><a href="" target="_blank">Back Orders</a></li>
<li class="vendors"><a href="" target="_blank">Vendors</a></li>
<li class="createvendororder"><a href="" target="_blank">Create Vendor Order</a></li>
<li class="vendororders"><a href="" target="_blank">Vendor Orders</a></li>
<li class="autosupplement"><a href="" target="_blank">Auto Supplement</a></li>
<li class="batchorderproducts"><a href="" target="_blank">Batch Order Products</a></li>
<li class="productreports"><a href="" target="_blank">Product Reports</a></li>
</ul>
</Content>
</ext:Panel>
<ext:Panel ID="Subscriptions" runat="server" Title="Subscriptions" Border="false"
BodyStyle="padding:6px;" Icon="Calendar">
<Content>
<ul>
<li class="subscriptionoffer"><a href="" target="_blank">Subscription Offerings</a></li>
<li class="advertisingopp"><a href="" target="_blank">Advertising Opportunities</a></li>
<li class="entersubscript"><a href="" target="_blank">Enter Subscription</a></li>
<li class="enterdonation"><a href="" target="_blank">Enter Donation</a></li>
<li class="enterdues"><a href="" target="_blank">Enter Dues</a></li>
<li class="campaignandappeals"><a href="" target="_blank">Campaign and Appeals</a></li>
<li class="searchsubscript"><a href="" target="_blank">Search Subscriptions</a></li>
<li class="fulfillmentwiz"><a href="" target="_blank">Fulfillment Wizard</a></li>
<li class="batchrenewals"><a href="" target="_blank">Batch Renewals</a></li>
<li class="subscriptionreports"><a href="" target="_blank">Subscription Reports</a></li>
</ul>
</Content>
</ext:Panel>
<ext:Panel ID="Financials" runat="server" Title="Financials" Border="false" BodyStyle="padding:6px;"
Icon="coins">
<Content>
<ul>
<li class="invoice30"><a href="" target="_blank">Invoices < 30</a></li>
<li class="invoice3060"><a href="" target="_blank">Invoices 30-60</a></li>
<li class="invoice6090"><a href="" target="_blank">Invoices 60-90</a></li>
<li class="invoice90"><a href="" target="_blank">Invoices < 90</a></li>
<li class="searchforinvoices"><a href="" target="_blank">Search for Invoices</a></li>
<li class="searchforpay"><a href="" target="_blank">Search for Payments</a></li>
<li class="enterpayments"><a href="" target="_blank">Enter Payments</a></li>
<li class="paymentbatch"><a href="" target="_blank">Payment Batch</a></li>
<li class="dataentrybatch"><a href="" target="_blank">Data Entry Batch</a></li>
<li class="openpaymentbatch"><a href="" target="_blank">Open Payment Batch</a></li>
<li class="processforaccounting"><a href="" target="_blank">Process for Accounting</a></li>
<li class="exporttoaccounting"><a href="" target="_blank">Export to Accounting</a></li>
<li class="financialreports"><a href="" target="_blank">Financial Reports</a></li>
</ul>
</Content>
</ext:Panel>
<ext:Panel ID="Administration" runat="server" Title="Administration" Border="false"
BodyStyle="padding:6px;" Icon="ApplicationKey">
<Content>
<ul>
<li class="addeditemployees"><a href="" target="_blank">Add/Edit Employees</a></li>
<li class="addeditusers"><a href="" target="_blank">Add/Edit Users</a></li>
<li class="editreferencetab"><a href="" target="_blank">Edit Reference Tables</a></li>
<li class="informationcent"><a href="" target="_blank">Information Central</a></li>
<li class="actionlists"><a href="" target="_blank">Action Lists</a></li>
<li class="actionroutingplans"><a href="" target="_blank">Action Routing Plans</a></li>
<li class="sharedlists"><a href="" target="_blank">Shared Lists</a></li>
<li class="vieweditcompanyinfo"><a href="" target="_blank">View/Edit Company Information</a></li>
<li class="reportwriter"><a href="" target="_blank">Report Writer</a></li>
<li class="droptemporarytable"><a href="" target="_blank">Drop Temporary Tables</a></li>
<li class="deletediscardedemail"><a href="" target="_blank">Delete Discarded Email</a></li>
<li class="deleteduesbatch"><a href="" target="_blank">Delete DUes Batch</a></li>
<li class="import"><a href="" target="_blank">Import</a></li>
<li class="adminreports"><a href="" target="_blank">Admin Reports</a></li>
</ul>
</Content>
</ext:Panel>
</ext:Accordion>
</Content>
</ext:Panel>
</West>
<Center>
<ext:TabPanel ID="CenterPanel" runat="server" ActiveTab="0">
<Tabs>
<ext:Tab ID="CenterTab1" runat="server" Title="Center" Border="false" BodyStyle="padding:6px;">
<Content>
<h1>
ViewPort with BorderLayout</h1>
</Content>
</ext:Tab>
<ext:Tab ID="CenterTab2" runat="server" Title="Close Me" Closable="true" Border="false"
BodyStyle="padding:6px;">
<Content>
Closeable Tab
</Content>
</ext:Tab>
</Tabs>
</ext:TabPanel>
</Center>
<East Collapsible="true" Split="true" MinWidth="225">
<ext:Panel ID="EastPanel" runat="server" Width="225" Title="East">
<Content>
<ext:FitLayout ID="FitLayout1" runat="server">
<ext:TabPanel ID="TabPanel1" runat="server" ActiveTab="1" TabPosition="Bottom" Border="false">
<Tabs>
<ext:Tab ID="Tab1" runat="server" Title="Tab 1" Border="false" BodyStyle="padding:6px;">
<Content>
East Tab 1
</Content>
</ext:Tab>
<ext:Tab ID="Tab2" runat="server" Title="Tab 2" Closable="true" Border="false" BodyStyle="padding:6px;">
<Content>
East Tab 2
</Content>
</ext:Tab>
</Tabs>
</ext:TabPanel>
</ext:FitLayout>
</Content>
</ext:Panel>
</East>
<South Split="true" Collapsible="true">
<ext:Panel ID="SouthPanel" runat="server" Title="South" Height="150" BodyStyle="padding:6px;">
<Content>
</Content>
</ext:Panel>
</South>
</ext:BorderLayout>
</Content>
</ext:ViewPort>

<ext:Window ID="Window1" runat="server" AutoShow="false" Title="Window" />
<ext:Window ID="winInd" AutoShow="false" Minimizable="true" runat="server" Collapsible="true"
Title="Individual" AutoLoad="http://localhost:1320/BICSI-Vantage/FindMember.aspx"
Width="600" Height="800">
</ext:Window>
<ext:Window ID="winOrg" AutoShow="false" Minimizable="true" runat="server" Collapsible="true"
Title="Organization" AutoLoad="http://localhost:1320/BICSI-Vantage/FindMember.aspx"
Width="600" Height="800">
</ext:Window>

</form>
</body>
</html>



and here is a copy from viewsource:


<!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="Head1">
<title>BICSI Vantage </title>
<!-- Coolite ASP.NET Web Controls [Community Edition]. Version 0.5.0.40113. "Gray" Theme. -->
<link rel="stylesheet" type="text/css" href="/BICSI-Vantage/WebResource.axd?d=OXD87SXdyY2txTsF5RcZLMG7FRbOIcRa uyTn_RzDrBLGWpBSZc91blRAh6eE6YNqvoZvcb9MhpG3gJhzUc 9uEb2aZ8GNhp8I7eHd12eb80fwVTaxg5dpJFZ9c_3cxPEzG1Wn c1-KCcBbxbwfMidBTQ2&amp;amp;t=633464902540000000" />
<link rel="stylesheet" type="text/css" href="/BICSI-Vantage/WebResource.axd?d=OXD87SXdyY2txTsF5RcZLMG7FRbOIcRa uyTn_RzDrBLGWpBSZc91blRAh6eE6YNqvoZvcb9MhpG3gJhzUc 9uEaWrs9aYX7AUVziQQ7rufhcqsjWCrLrqn2D3Rj4edwK1XeIk FZJA_1c_wbfFv7fpww2&amp;amp;t=633464902540000000" />
<style type="text/css">
.icon-star
{
background-image: url(/BICSI-Vantage/WebResource.axd?d=OXD87SXdyY2txTsF5RcZLMG7FRbOIcRa uyTn_RzDrBLGWpBSZc91blRAh6eE6YNqPkNjZkwC1j0GhUtECP XrjGFyrDoakW0o_TVlVymq59o1&amp;amp;
t: ==633464902540000000)!important;}
.icon-group
{
background-image: url(/BICSI-Vantage/WebResource.axd?d=OXD87SXdyY2txTsF5RcZLMG7FRbOIcRa uyTn_RzDrBLGWpBSZc91blRAh6eE6YNqkYa7SWcrMXulwOd14K di6uk389p8pOwP0RLuXdgyFz81&amp;amp;
t: ==633464902540000000)!important;}
.icon-calendar
{
background-image: url(/BICSI-Vantage/WebResource.axd?d=OXD87SXdyY2txTsF5RcZLMG7FRbOIcRa uyTn_RzDrBLGWpBSZc91blRAh6eE6YNqLcPSHya7LNtAsw1gxt s6W2nKrLZMYskDNhxsUQPR5Wg1&amp;amp;
t: ==633464902540000000)!important;}
.icon-cart
{
background-image: url(/BICSI-Vantage/WebResource.axd?d=OXD87SXdyY2txTsF5RcZLMG7FRbOIcRa uyTn_RzDrBLGWpBSZc91blRAh6eE6YNqLcPSHya7LNtAsw1gxt s6W9_RKt1pUg5SODVT-Tm3tgc1&amp;amp;
t: ==633464902540000000)!important;}
.icon-coins
{
background-image: url(/BICSI-Vantage/WebResource.axd?d=OXD87SXdyY2txTsF5RcZLMG7FRbOIcRa uyTn_RzDrBLGWpBSZc91blRAh6eE6YNqLcPSHya7LNtAsw1gxt s6W1KWS1Q6PafYDvhALryOs2Q1&amp;amp;
t: ==633464902540000000)!important;}
.icon-applicationkey
{
background-image: url(/BICSI-Vantage/WebResource.axd?d=OXD87SXdyY2txTsF5RcZLMG7FRbOIcRa uyTn_RzDrBLGWpBSZc91blRAh6eE6YNqOT-0_HYPBufYbqLesIARe_7mumyd6mWEtf-qtX6o64PpbO4xjHoWDi1NpIv2dpUy0&amp;amp;
t: ==633464902540000000)!important;}</style>


<script type="text/javascript" src="/BICSI-Vantage/WebResource.axd?d=OXD87SXdyY2txTsF5RcZLMG7FRbOIcRa uyTn_RzDrBLGWpBSZc91blRAh6eE6YNqGUWw7TSmsGzDGttQRa gOe7fVjfY2NP_1sRtbqFSucKSBB8niayj7gD5-xBclYdn50&amp;amp;t=633464902540000000"></script>


<script type="text/javascript" src="/BICSI-Vantage/WebResource.axd?d=OXD87SXdyY2txTsF5RcZLMG7FRbOIcRa uyTn_RzDrBLGWpBSZc91blRAh6eE6YNqh3wDbpQekweklaPwrn 5VdcKRTtSHxcImo4yFERm6HfQ1&amp;amp;t=63346490254000000 0"></script>


<script type="text/javascript" src="/BICSI-Vantage/WebResource.axd?d=OXD87SXdyY2txTsF5RcZLMG7FRbOIcRa uyTn_RzDrBLGWpBSZc91blRAh6eE6YNqh3wDbpQekweklaPwrn 5VdYuWn-K4IcLeIYW-01n42iw1&amp;amp;t=633464902540000000"></script>


<script type="text/javascript">
//<![CDATA[
Ext.onReady(function(){Ext.QuickTips.init();winOrg =new Ext.Window({renderTo:"form2",listeners:{show:function(){this.alignTo(Ext.getBo dy(), "c-c");}},height:800,width:600,minimizable:true,collaps ible:true,html:"<iframe width=\"100%\" height=\"100%\" src=\"http://localhost:1320/BICSI-Vantage/FindMember.aspx\ (http://localhost:1320/BICSI-Vantage/FindMember.aspx/)" frameborder=\"0\"></iframe>",title:"Organization"});winOrg.show();winInd=new Ext.Window({renderTo:"form2",listeners:{show:function(){this.alignTo(Ext.getBo dy(), "c-c");}},height:800,width:600,minimizable:true,collaps ible:true,html:"<iframe width=\"100%\" height=\"100%\" src=\"http://localhost:1320/BICSI-Vantage/FindMember.aspx\ (http://localhost:1320/BICSI-Vantage/FindMember.aspx/)" frameborder=\"0\"></iframe>",title:"Individual"});winInd.show();Window1=new Ext.Window({renderTo:"form2",listeners:{show:function(){this.alignTo(Ext.getBo dy(), "c-c");}},height:100,width:200,contentEl:"Window1_Content",title:"Window"});Window1.show();CenterTab2=new Ext.Panel({closable:true,contentEl:"CenterTab2_Content",bodyStyle:"padding:6px;",border:false,title:"Close Me"});CenterTab1=new Ext.Panel({contentEl:"CenterTab1_Content",bodyStyle:"padding:6px;",border:false,title:"Center"});CenterPanel=new Ext.TabPanel({listeners:{tabchange:function(tp,t){ var i=tp.items.indexOf(tp.activeTab);if(i==0){return;} Ext.get("CenterPanel_ActiveTab").dom.value=i;}},activeTab:"0",items:[CenterTab1,CenterTab2],region:"center"});Tab2=new Ext.Panel({closable:true,contentEl:"Tab2_Content",bodyStyle:"padding:6px;",border:false,title:"Tab 2"});Tab1=new Ext.Panel({contentEl:"Tab1_Content",bodyStyle:"padding:6px;",border:false,title:"Tab 1"});TabPanel1=new Ext.TabPanel({listeners:{tabchange:function(tp,t){ var i=tp.items.indexOf(tp.activeTab);if(i==1){return;} Ext.get("TabPanel1_ActiveTab").dom.value=i;}},activeTab:"1",items:[Tab1,Tab2],tabPosition:"bottom",border:false});EastPanel=new Ext.Panel({items:TabPanel1,layout:"fit",title:"East",width:225,split:true,region:"east",collapsible:true,minWidth:225});Administration=ne w Ext.Panel({contentEl:"Administration_Content",bodyStyle:"padding:6px;",border:false,collapsed:true,iconCls:"icon-applicationkey",title:"Administration"});Financials=new Ext.Panel({contentEl:"Financials_Content",bodyStyle:"padding:6px;",border:false,collapsed:true,iconCls:"icon-coins",title:"Financials"});Subscriptions=new Ext.Panel({contentEl:"Subscriptions_Content",bodyStyle:"padding:6px;",border:false,collapsed:true,iconCls:"icon-calendar",title:"Subscriptions"});Products=new Ext.Panel({contentEl:"Products_Content",bodyStyle:"padding:6px;",border:false,collapsed:true,iconCls:"icon-cart",title:"Products"});Events=new Ext.Panel({contentEl:"Events_Content",bodyStyle:"padding:6px;",border:false,collapsed:true,iconCls:"icon-calendar",title:"Events"});Membership=new Ext.Panel({contentEl:"Membership_Content",bodyStyle:"padding:6px;",border:false,collapsed:true,iconCls:"icon-group",title:"Membership"});Favorites=new Ext.Panel({contentEl:"Favorites_Content",bodyStyle:"padding:6px;",border:false,iconCls:"icon-star",title:"Favorites"});WestPanel=new Ext.Panel({items:[Favorites,Membership,Events,Products,Subscriptions ,Financials,Administration],layout:"accordion",layoutConfig:{animate:true},title:"Menu",width:225,split:true,region:"west",collapsible:true,maxWidth:400,minWidth:225});Sout hPanel=new Ext.Panel({contentEl:"SouthPanel_Content",bodyStyle:"padding:6px;",title:"South",height:150,split:true,region:"south",collapsible:true});Panel1=new Ext.Panel({contentEl:"Panel1_Content",bodyStyle:"padding:6px;",title:"North",height:150,split:true,region:"north",collapsible:true});ViewPort1=new Ext.FormViewport({contentEl:"ViewPort1Content",layout:"border",items:[Panel1,SouthPanel,WestPanel,EastPanel,CenterPanel]});TabPanel1.doLayout();CenterPanel.doLayout();}); Ext.BLANK_IMAGE_URL="/BICSI-Vantage/WebResource.axd?d=OXD87SXdyY2txTsF5RcZLMG7FRbOIcRa uyTn_RzDrBLGWpBSZc91blRAh6eE6YNqvoZvcb9MhpG3gJhzUc 9uEeQKg1XT3ZFz2N6oiL7d5feS7hkuoveG4epMDuGoc_0O0&amp;am p;t=633464902540000000";
//]]>
</script>


<link rel="stylesheet" href="css/style.css" type="text/css" />


<script type="text/javascript">
ext.onReady( function() {
ext.get("lnkInd").on("click", function() { winInd.show(); });
ext.get("lnkOrg").on("click", function() { winOrg.hide(); });
});
</script>


</head>
<body>
<form name="form2" method="post" action="Default.aspx" id="form2">

<input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" />
<input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" />
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUKMTkxOTQxMDQzMQ9kFgICAw9kFggCBQ9kFgJmD2QWAgI BDxQrAAYWBB4FU3BsaXRnHgtDb2xsYXBzaWJsZWcWBB8AZx8BZ xYIHghNaW5XaWR0aBsAAAAAACBsQAEAAAAeCE1heFdpZHRoGwA AAAAAAHlAAQAAAB8AZx8BZxYGHwFnHwBnHwIbAAAAAAAgbEABA AAAZGQWBgICD2QWAmYPZBYCAgEPZBYMAgEPDxYCHglDb2xsYXB zZWRnZGQCAg8PFgIfBGdkZAIDDw8WAh8EZ2RkAgQPDxYCHwRnZ GQCBQ8PFgIfBGdkZAIGDw8WAh8EZ2RkAgMPZBYCZg9kFgICAQ9 kFgJmDw8WAh4JVGFiQ2hhbmdlBXFmdW5jdGlvbih0cCx0KXt2Y XIgaT10cC5pdGVtcy5pbmRleE9mKHRwLmFjdGl2ZVRhYik7aWY oaT09MSl7cmV0dXJuO31FeHQuZ2V0KCJUYWJQYW5lbDFfQWN0a XZlVGFiIikuZG9tLnZhbHVlPWk7fWQWBGYPZBYCZg8WAh4FY2x hc3MFDngtaGlkZS1kaXNwbGF5ZAIBD2QWAmYPFgIfBgUOeC1oa WRlLWRpc3BsYXlkAgQPDxYCHwUFc2Z1bmN0aW9uKHRwLHQpe3Z hciBpPXRwLml0ZW1zLmluZGV4T2YodHAuYWN0aXZlVGFiKTtpZ ihpPT0wKXtyZXR1cm47fUV4dC5nZXQoIkNlbnRlclBhbmVsX0F jdGl2ZVRhYiIpLmRvbS52YWx1ZT1pO31kFgRmD2QWAmYPFgIfB gUOeC1oaWRlLWRpc3BsYXlkAgEPZBYCZg8WAh8GBQ54LWhpZGU tZGlzcGxheWQCBw8PFgIeBFNob3cFL2Z1bmN0aW9uKCl7dGhpc y5hbGlnblRvKEV4dC5nZXRCb2R5KCksICJjLWMiKTt9ZGQCCQ8 PFgIfBwUvZnVuY3Rpb24oKXt0aGlzLmFsaWduVG8oRXh0Lmdld EJvZHkoKSwgImMtYyIpO31kZAILDw8WAh8HBS9mdW5jdGlvbig pe3RoaXMuYWxpZ25UbyhFeHQuZ2V0Qm9keSgpLCAiYy1jIik7f WRkGAEFHl9fQ29udHJvbHNSZXF1aXJlUG9zdEJhY2tLZXlfXxY NBQZQYW5lbDEFClNvdXRoUGFuZWwFCVdlc3RQYW5lbAUJRmF2b 3JpdGVzBQpNZW1iZXJzaGlwBQZFdmVudHMFCFByb2R1Y3RzBQ1 TdWJzY3JpcHRpb25zBQpGaW5hbmNpYWxzBQ5BZG1pbmlzdHJhd GlvbgUJRWFzdFBhbmVsBQlUYWJQYW5lbDEFC0NlbnRlclBhbmV sW1w59XNRisJ98V+HWe83uTBUxWg=" />




<script type="text/javascript">
//<![CDATA[
var theForm = &#100;ocument.forms['form2'];
if (!theForm) {
theForm = &#100;ocument.form2;
}
function __doPostBack(eventTarget, eventArgument) {
if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
theForm.__EVENTTARGET.value = eventTarget;
theForm.__EVENTARGUMENT.value = eventArgument;
theForm.submit();
}
}
//]]>
</script>


<script src="/BICSI-Vantage/WebResource.axd?d=0DZiiDf75hG1ACZz71SdTg2&amp;amp;t=63 3366727502187500"
type="text/javascript"></script>


<script src="/BICSI-Vantage/ScriptResource.axd?d=21fyVURJ6IFX97PUP3-tEgUvu1Oo2XufltnxDKLH0EDbxp0jOUZnjMKH8Oshj7VBH936F XyD-NR1H8NyHvRtfDqsL1CjWlXzVRzh_OoQeZM1&amp;amp;t=63346567 9977187500"
type="text/javascript"></script>


<script type="text/javascript">
//<![CDATA[
if (typeof(Sys) === 'undefined') throw new Error('ASP.NET Ajax client-side framework failed to load.');
//]]>
</script>


<script src="/BICSI-Vantage/ScriptResource.axd?d=21fyVURJ6IFX97PUP3-tEgUvu1Oo2XufltnxDKLH0EDbxp0jOUZnjMKH8Oshj7VBpFbKD h6n8X6CWvPlwzHwW2ZAGSpZUGeOA8tqkNB1r26SrZBscfQE-c0hLqUxW65q0&amp;amp;t=633465679977187500"
type="text/javascript"></script>


<script type="text/javascript">
//<![CDATA[
Sys.WebForms.PageRequestManager._initialize('Scrip tManager2', &#100;ocument.getElementById('form2'));
Sys.WebForms.PageRequestManager.getInstance()._upd ateControls([], [], [], 90);
//]]>
</script>


<div id="ViewPort1_Container" style="display: inline;">
<div id="ViewPort1Content">
<div id="BorderLayout1_Container" style="display: inline;">
<div id="Panel1_Container" style="display: inline;">
<div id="Panel1_Content">
North


<input name="Panel1_Collapsed" type="hidden" id="Panel1_Collapsed" />

<div id="SouthPanel_Container" style="display: inline;">
<div id="SouthPanel_Content">


<input name="SouthPanel_Collapsed" type="hidden" id="SouthPanel_Collapsed" />

<div id="WestPanel_Container" style="display: inline;">
<div id="WestPanel_Content" style="display: none;">
<div id="Accordion1_Container" style="display: inline;">
<div id="Favorites_Container" style="display: inline;">
<div id="Favorites_Content">
<ul>
<li class="home"><a href="#" target="_blank">Home</a></li>
<li class="mylists"><a href="" target="_blank">My Lists</a></li>
<li class="addindividual"><a href="" target="_blank">Add Individual</a></li>
<li class="findindividual"><a href="#" id="lnkInd">Find Individual</a></li>
<li class="queryindividual"><a href="" target="_blank">Query Individual</a></li>
<li class="addorganization"><a href="" target="_blank">Add Organziation</a></li>
<li class="findorganization"><a href="" target="_blank">Find Organization</a></li>
<li class="queryorganization"><a href="" target="_blank">Query Organizations</a></li>
</ul>


<input name="Favorites_Collapsed" type="hidden" id="Favorites_Collapsed" />

<div id="Membership_Container" style="display: inline;">
<div id="Membership_Content">
<ul>
<li class="committee"><a href="" target="_blank">Committee</a></li>
<li class="chapter"><a href="" target="_blank">Chapter</a></li>
<li class="awards"><a href="" target="_blank">Awards</a></li>
<li class="surveys"><a href="" target="_blank">Surveys</a></li>
<li class="services"><a href="" target="_blank">Services</a></li>
<li class="marketing"><a href="" target="_blank">Marketing</a></li>
<li class="billing"><a href="" target="_blank">Billing</a></li>
<li class="membershipreports"><a href="" target="_blank">Membership Reports</a></li>
</ul>


<input name="Membership_Collapsed" type="hidden" id="Membership_Collapsed" />

<div id="Events_Container" style="display: inline;">
<div id="Events_Content">
<ul>
<li class="eventnavigator"><a href="" target="_blank">Event Navigator</a></li>
<li class="searchevents"><a href="" target="_blank">Search Events</a></li>
<li class="viewprograms"><a href="" target="_blank">View Programs</a></li>
<li class="addevents"><a href="" target="_blank">Add Event</a></li>
<li class="findregistration"><a href="" target="_blank">Find Registration</a></li>
<li class="eventcalendar"><a href="" target="_blank">Event Calendar</a></li>
<li class="certifications"><a href="" target="_blank">Certifications</a></li>
<li class="locations"><a href="" target="_blank">Locations</a></li>
<li class="speakerstrainers"><a href="" target="_blank">Speakers/Trainers</a></li>
<li class="certificationmanage"><a href="" target="_blank">Certification Management</a></li>
<li class="eventreports"><a href="" target="_blank">Event Reports</a></li>
</ul>


<input name="Events_Collapsed" type="hidden" id="Events_Collapsed" />

<div id="Products_Container" style="display: inline;">
<div id="Products_Content">
<ul>
<li class="searchproducts"><a href="" target="_blank">Search Products</a></li>
<li class="shoppingcart"><a href="" target="_blank">Shopping Cart</a></li>
<li class="addproduct"><a href="" target="_blank">Add Product</a></li>
<li class="createorder"><a href="" target="_blank">Create Order</a></li>
<li class="searchorders"><a href="" target="_blank">Search Orders</a></li>
<li class="orderstoship"><a href="" target="_blank">Orders To Ship</a></li>
<li class="backorders"><a href="" target="_blank">Back Orders</a></li>
<li class="vendors"><a href="" target="_blank">Vendors</a></li>
<li class="createvendororder"><a href="" target="_blank">Create Vendor Order</a></li>
<li class="vendororders"><a href="" target="_blank">Vendor Orders</a></li>
<li class="autosupplement"><a href="" target="_blank">Auto Supplement</a></li>
<li class="batchorderproducts"><a href="" target="_blank">Batch Order Products</a></li>
<li class="productreports"><a href="" target="_blank">Product Reports</a></li>
</ul>


<input name="Products_Collapsed" type="hidden" id="Products_Collapsed" />

<div id="Subscriptions_Container" style="display: inline;">
<div id="Subscriptions_Content">
<ul>
<li class="subscriptionoffer"><a href="" target="_blank">Subscription Offerings</a></li>
<li class="advertisingopp"><a href="" target="_blank">Advertising Opportunities</a></li>
<li class="entersubscript"><a href="" target="_blank">Enter Subscription</a></li>
<li class="enterdonation"><a href="" target="_blank">Enter Donation</a></li>
<li class="enterdues"><a href="" target="_blank">Enter Dues</a></li>
<li class="campaignandappeals"><a href="" target="_blank">Campaign and Appeals</a></li>
<li class="searchsubscript"><a href="" target="_blank">Search Subscriptions</a></li>
<li class="fulfillmentwiz"><a href="" target="_blank">Fulfillment Wizard</a></li>
<li class="batchrenewals"><a href="" target="_blank">Batch Renewals</a></li>
<li class="subscriptionreports"><a href="" target="_blank">Subscription Reports</a></li>
</ul>


<input name="Subscriptions_Collapsed" type="hidden" id="Subscriptions_Collapsed" />

<div id="Financials_Container" style="display: inline;">
<div id="Financials_Content">
<ul>
<li class="invoice30"><a href="" target="_blank">Invoices < 30</a></li>
<li class="invoice3060"><a href="" target="_blank">Invoices 30-60</a></li>
<li class="invoice6090"><a href="" target="_blank">Invoices 60-90</a></li>
<li class="invoice90"><a href="" target="_blank">Invoices < 90</a></li>
<li class="searchforinvoices"><a href="" target="_blank">Search for Invoices</a></li>
<li class="searchforpay"><a href="" target="_blank">Search for Payments</a></li>
<li class="enterpayments"><a href="" target="_blank">Enter Payments</a></li>
<li class="paymentbatch"><a href="" target="_blank">Payment Batch</a></li>
<li class="dataentrybatch"><a href="" target="_blank">Data Entry Batch</a></li>
<li class="openpaymentbatch"><a href="" target="_blank">Open Payment Batch</a></li>
<li class="processforaccounting"><a href="" target="_blank">Process for Accounting</a></li>
<li class="exporttoaccounting"><a href="" target="_blank">Export to Accounting</a></li>
<li class="financialreports"><a href="" target="_blank">Financial Reports</a></li>
</ul>


<input name="Financials_Collapsed" type="hidden" id="Financials_Collapsed" />

<div id="Administration_Container" style="display: inline;">
<div id="Administration_Content">
<ul>
<li class="addeditemployees"><a href="" target="_blank">Add/Edit Employees</a></li>
<li class="addeditusers"><a href="" target="_blank">Add/Edit Users</a></li>
<li class="editreferencetab"><a href="" target="_blank">Edit Reference Tables</a></li>
<li class="informationcent"><a href="" target="_blank">Information Central</a></li>
<li class="actionlists"><a href="" target="_blank">Action Lists</a></li>
<li class="actionroutingplans"><a href="" target="_blank">Action Routing Plans</a></li>
<li class="sharedlists"><a href="" target="_blank">Shared Lists</a></li>
<li class="vieweditcompanyinfo"><a href="" target="_blank">View/Edit Company Information</a></li>
<li class="reportwriter"><a href="" target="_blank">Report Writer</a></li>
<li class="droptemporarytable"><a href="" target="_blank">Drop Temporary Tables</a></li>
<li class="deletediscardedemail"><a href="" target="_blank">Delete Discarded Email</a></li>
<li class="deleteduesbatch"><a href="" target="_blank">Delete DUes Batch</a></li>
<li class="import"><a href="" target="_blank">Import</a></li>
<li class="adminreports"><a href="" target="_blank">Admin Reports</a></li>
</ul>


<input name="Administration_Collapsed" type="hidden" id="Administration_Collapsed" />





<input name="WestPanel_Collapsed" type="hidden" id="WestPanel_Collapsed" />

<div id="EastPanel_Container" style="display: inline;">
<div id="EastPanel_Content" style="display: none;">
<div id="FitLayout1_Container" style="display: inline;">
<div id="TabPanel1_Container" style="display: inline;">
<div id="Tab1_Container" class="x-hidden" style="display: inline;">
<div id="Tab1_Content" class="x-hide-display">
East Tab 1




<div id="Tab2_Container" class="x-hidden" style="display: inline;">
<div id="Tab2_Content" class="x-hide-display">
East Tab 2




<input name="TabPanel1_ActiveTab" type="hidden" id="TabPanel1_ActiveTab" />





<input name="EastPanel_Collapsed" type="hidden" id="EastPanel_Collapsed" />

<div id="CenterPanel_Container" style="display: inline;">
<div id="CenterTab1_Container" class="x-hidden" style="display: inline;">
<div id="CenterTab1_Content" class="x-hide-display">
<h1>
ViewPort with BorderLayout</h1>




<div id="CenterTab2_Container" class="x-hidden" style="display: inline;">
<div id="CenterTab2_Content" class="x-hide-display">
Closeable Tab




<input name="CenterPanel_ActiveTab" type="hidden" id="CenterPanel_ActiveTab" />







<div id="Window1_Container" style="display: inline;">
<div id="Window1_Content" style="display: none;">




<div id="winInd_Container" style="display: inline;">
<div id="winInd_Content" style="display: none;">




<div id="winOrg_Container" style="display: inline;">
<div id="winOrg_Content" style="display: none;">





<input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="/wEWDgKduKnlAgK6u+wDApKanMQGAry/hdMNAob43rwNAtejoIEMAv2U1YYKApmRkckKAuCWiKYFAqvWm5 0MAvSj3p4MAv+c5NMPAoqs2g0CnaO/pwsByvPr/LB/FazVY0xly/nNnoSwOw==" />




<script type="text/javascript">
//<![CDATA[
Sys.Application.initialize();
//]]>
</script>


</form>
</body>
</html>


Let me know if you want additional info.

p.s. is there anyway to turn off the "auto-emoticon" feature on the forums? it wrecks code....

jlertle
May 23, 2008, 2:54 AM
found the new "Showonload"

geoffrey.mcgill
May 23, 2008, 2:59 AM
Hi jlertle,

Thanks for the feedback.

1. The "AutoShow" property has been renamed to "ShowOnLoad". See Item #4 in Breaking Changes (http://forums.ext.net/showthread.php?threadid=405-12-1.aspx)
2. There may have been a variable scoping issue with the build you are using. I'm going to test your link samples with the latest build and see if I can reproduce the problem.

I'm with ya re: the imoticons. It's been on my list for a while. I should be able to get rid of them very shortly.

P.s. Out of interest, did you have the CleanResourceUrl property set to "false"? I'm just wondering because all the urls in your source sample are the WebResource.axd file types.

jlertle
May 23, 2008, 3:03 AM
I do run with CleanResourceUrl="false"

I read some posts with issues that sounded similar where this was suggested.

jlertle
May 23, 2008, 3:45 AM
I've gotta crash but will check-in tomorrow.

The other question I had was on the correct URL format for linking to local files used in autoload windows.

Thanks again for the tools!

geoffrey.mcgill
May 23, 2008, 3:59 AM
Ok, I confirmed that everything is working fine with the latest build. I think the errors you are getting are caused by the following problems:

1. Your "ext.onReady" block should be "Ext.onReady". <-- notice UpperCase "E"
2. Your "ext.get" should be "Ext.get"
3. Best I can tell, Ext.get("lnkOrg") does not exist on this page.
4. By default the CloseAction property of ext:Window is "Close", which will destroy the window, and re-showing is impossible unless the page is refreshed. I think you might want to use CloseAction="Hide", which will just hide the window and allow for re-showing with Window1.show(). I think I might change the default value to "Hide" since I think the majority of time developers will just want to "Hide" the Window instead of destroy it.

We fixed a few bugs with CleanResourceUrl, so things should be working better now. The page will load much faster with CleanResourceUrl because the resource files (JavaScript, StyleSheet) are automatically gzip'd which reduces their size by about 70%.

With version 0.5, there's a couple new ways to register onReady scripts programatically from code-behind.

The following demonstrates how to register an onReady script by using the RegisterOnReadyScript() method.

Example


protected void Page_Load(object sender, EventArgs e)
{
this.ScriptManager1.RegisterOnReadyScript("Ext.get(\"lnkInd\").on(\"click\", function() { winInd.show(); });");
}

The following demonstrates how to register an onReady script by setting the "DocumentReady" Listener within the ScriptManager.

Example


<ext:ScriptManager ID="ScriptManager1" runat="server">
<Listeners>
<DocumentReady Handler="Ext.get('lnkInd').on('click', function() { winInd.show(); });" />
</Listeners>
</ext:ScriptManager>

Hope this helps.

jlertle
May 23, 2008, 8:08 AM
UpperCase "E" fixed it.

Thanx