This is a migrated thread and some comments may be shown as answers.

asp.net hijax support?

0 Answers 32 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Xml
Top achievements
Rank 1
Xml asked on 23 May 2012, 05:44 PM
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>


No answers yet. Maybe you can help?

Tags
General Discussions
Asked by
Xml
Top achievements
Rank 1
Share this question
or