Hey all, I am just asking here in the event that anyone else has encountered this issue.
I have a MaterPage that contains a user menu. Most of the links load another .aspx page, but a few of them open RadWindows. I have had this configuration for a while, and it has been working fine during my development.
Suddenly, a day or so ago, the radopen method does not appear to find the window desired. It loads the correct page, but all of the window settings (Skin, Height, Width, etc) are set to a default view (100 x 100?). It is completely baffling me.
To make it MORE confusing, on this master page I have a user control that loads a list of logged-in users. Clicking the username opens the user profile in a RadWindow... THIS one works just fine. The only difference is that the UserControl holds everything to call the profile window and the Master page has the other ones. Below is the master page and javascript calls.
I would note that I have the 2008 Q2 release of the ASP.NET Ajax control suite.
Thanks!
I have a MaterPage that contains a user menu. Most of the links load another .aspx page, but a few of them open RadWindows. I have had this configuration for a while, and it has been working fine during my development.
Suddenly, a day or so ago, the radopen method does not appear to find the window desired. It loads the correct page, but all of the window settings (Skin, Height, Width, etc) are set to a default view (100 x 100?). It is completely baffling me.
To make it MORE confusing, on this master page I have a user control that loads a list of logged-in users. Clicking the username opens the user profile in a RadWindow... THIS one works just fine. The only difference is that the UserControl holds everything to call the profile window and the Master page has the other ones. Below is the master page and javascript calls.
I would note that I have the 2008 Q2 release of the ASP.NET Ajax control suite.
Thanks!
...TRUNCATED... |
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> |
<%@ Register Src="~/Members/Modules/OnlineList.ascx" TagName="OnlineList" TagPrefix="ol" %> |
...TRUNCATED - I have given the particular Content Placeholder in question.... |
<asp:ContentPlaceHolder ID="contentSidebarLeft" runat="server"> |
<div class="sidebarLeft"> |
<div id="myStyffWrap" class="myStuffWrap"> |
<telerik:RadPanelBar runat="server" OnClientItemCollapse="SetCookie" OnClientItemExpand="SetCookie" |
ID="RadPanelBar1" Skin="Black" ExpandMode="MultipleExpandedItems"> |
<CollapseAnimation Type="Linear" Duration="150"></CollapseAnimation> |
<Items> |
<telerik:RadPanelItem Text=" Member Functions" ImageUrl="../Images/panelbars/folderList.gif" |
Expanded="true"> |
<Items> |
<telerik:RadPanelItem Text="AQ Mail" NavigateUrl="AQMail.aspx"> |
</telerik:RadPanelItem> |
<telerik:RadPanelItem Visible="false" Text="Admin" NavigateUrl="../Administration/SiteAdmin.aspx"> |
</telerik:RadPanelItem> |
<telerik:RadPanelItem Visible="false" Text="Magistrate" NavigateUrl="Magistrate.aspx"> |
</telerik:RadPanelItem> |
<telerik:RadPanelItem Text="Dice Roller" onclick='ShowDiceRoller()'> |
<ItemTemplate> |
</ItemTemplate> |
</telerik:RadPanelItem> |
<telerik:RadPanelItem Text="Game Submisstion" onclick='ShowGameSubmission()'> |
</telerik:RadPanelItem> |
<telerik:RadPanelItem Text="Member Directory"> |
</telerik:RadPanelItem> |
<telerik:RadPanelItem Text="Pager"> |
</telerik:RadPanelItem> |
</Items> |
</telerik:RadPanelItem> |
<telerik:RadPanelItem Text=" Members Online" ImageUrl="../Images/panelbars/users.png"> |
<Items> |
<telerik:RadPanelItem> |
<ItemTemplate> |
<ol:OnlineList ID="onlineUsers" runat="server" /> |
</ItemTemplate> |
</telerik:RadPanelItem> |
</Items> |
</telerik:RadPanelItem> |
</Items> |
<ExpandAnimation Type="Linear" Duration="150"></ExpandAnimation> |
</telerik:RadPanelBar> |
</div> |
</div> |
<telerik:RadWindowManager ID="RadWindowManager1" runat="server"> |
<Windows> |
<telerik:RadWindow runat="server" ID="radDice" Width="450" Height="520px" ReloadOnShow="true" |
Left="200px" Title="Dice Roller" Skin="Telerik" Modal="false" VisibleStatusbar="false"> |
</telerik:RadWindow> |
<telerik:RadWindow runat="server" ID="radGame" Width="600" Height="700px" Skin="Telerik" |
ReloadOnShow="true" Left="200px" Top="10px" Title="NewGame Submission"> |
</telerik:RadWindow> |
</Windows> |
</telerik:RadWindowManager> |
<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server"> |
<script type="text/javascript"> |
function ShowDiceRoller() |
{ |
var wnd = window.radopen("DieRoller.aspx", "radDice"); |
return false; |
} |
function ShowGameSubmission() |
{ |
var wnd = window.radopen("NewGame.aspx", "radGame"); |
return false; |
} |
function SetCookie(sender, e) |
{ |
//alert(e.get_item().get_text()); |
//alert(e); |
} |
</script> |
</telerik:RadCodeBlock> |
</asp:ContentPlaceHolder> |