Change Title in popup window

3 posts, 0 answers
  1. Tri Nguyen
    Tri Nguyen avatar
    40 posts
    Member since:
    Feb 2004

    Posted 11 Jul 2013 Link to this post

    Hello,

    After upgrade my code to use with the latest version, 2013.2.611.40, the server-side code that updates the page's title in the pop-up window doesn't work any more. Could you take a look and let me know what I can do to make it happen. Thanks.

    Tri

     

    Partial Class PopWin
        Inherits System.Web.UI.Page
     
        Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
            Me.Title = Now.ToString
     
        End Sub
    End Class
     
    <%@ Page Language="VB" AutoEventWireup="false" CodeFile="PopWin.aspx.vb" Inherits="PopWin" %>
     
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
     
    <head runat="server">
        <title></title>
    </head>
    <body>
        <form id="form1" runat="server">
        <div>
         
        </div>
        </form>
    </body>
    </html>
    <%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>
     
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <head runat="server">
        <title></title>
        <telerik:RadStyleSheetManager ID="RadStyleSheetManager1" runat="server" />
    </head>
    <body>
        <form id="form1" runat="server">
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
            <Scripts>
                <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
                <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
                <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
            </Scripts>
        </telerik:RadScriptManager>
            <script type="text/javascript">
                //Put your JavaScript code here.
                function ShowEditForm(pageUrl, id, iWidth, iHeight) {
                    var nWindow = window.radopen(pageUrl + ".aspx?id=" + id, "UserListDialog");
                    nWindow.setSize(iWidth, iHeight);
                    nWindow.center();
                    nWindow.modal = true;
                    nWindow.set_behaviors(Telerik.Web.UI.WindowBehaviors.Resize + Telerik.Web.UI.WindowBehaviors.Move + Telerik.Web.UI.WindowBehaviors.Close);
                    nWindow.show();
                    return false;
                }
            </script>
        <telerik:RadScriptBlock runat="server" >
        </telerik:RadScriptBlock>
        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        </telerik:RadAjaxManager>
        <div>
            <asp:Button ID="btn" runat="server" Text="Pop Window" OnClientClick="return ShowEditForm('PopWin', 0, 400, 300);" />
        </div>
        <telerik:RadWindowManager ID="WinMgr" runat="server" KeepInScreenBounds="true" Style="z-index: 7100;">
            <Windows>
                <telerik:RadWindow ID="UserListDialog" runat="server" Behaviors="Close, Move" Height="300px"
                    Left="10px" Modal="true" ReloadOnShow="true" Opacity="100" Title="User List Dialog"
                    Top="10px" Width="500px" KeepInScreenBounds="true">
                </telerik:RadWindow>
            </Windows>
        </telerik:RadWindowManager>
        </form>
    </body>
    </html>

     

     

     

  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3602 posts

    Posted 11 Jul 2013 Link to this post

    Hello,

    This is a known regression bug that is fixed in the latset internal builds and the fix will also be avaialble in the service pack that is planned for next week.


    Regards,
    Marin Bratanov
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Dan
    Dan avatar
    70 posts
    Member since:
    Mar 2007

    Posted 12 Jul 2013 Link to this post

    Thank God! i have the same problem...

    Looking forward that SP!!!

    Thanks!
Back to Top