asp.net hijax support?

1 posts, 0 answers
  1. Xml
    Xml avatar
    1 posts
    Member since:
    May 2012

    Posted 23 May 2012 Link to this post

    Does rad controls support hijax solution? rad_test.aspx calls an ajax request to rad_control.aspx and renders the content in panel div. When I run it, the RadDatePicker control loads but the calendar does not popup?

    Example:
    rad_control.aspx:
    <%@ Page Language="C#"  %>
       <%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
        <form runat="server">
        <telerik:RadScriptManager  runat="server" ScriptMode="Release" />
        <telerik:RadDatePicker ID="RadDatePicker1" runat="server" ClientIDMode="Static">
                <Calendar ID="Calendar1" runat="server" EnableKeyboardNavigation="true" ClientIDMode="Static">
                </Calendar>
            </telerik:RadDatePicker>
            </form>

    rad_test.aspx:
    <%@ Page Language="C#" %>

        <script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.7.2.min.js"></script>
        <script>
            jQuery(document).ready(function () {
                jQuery.ajax({
                    type: 'GET',
                    url: 'rad_control.aspx',
                    cache: true,
                    success: function (response) {
                        $('.panel').append($(response));
                    }
                });
            });
        </script>

        <form id="form1" runat="server">
        <div class="panel">
            
        </div>
        </form>


Back to Top