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

Editor in partialView call throw Window

0 Answers 17 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
florim
Top achievements
Rank 1
florim asked on 12 Feb 2011, 03:12 PM
Hi i have a partialview with editor
<%= Html.Telerik().Editor().Name("test").Value("<ul><li>One Tree Hill</li><li>Two And a Half Men</li><li>Three Days Grace</li></ul>") %>
 
that i call from another view with jquery
function MakeWindowAppear() 
        {
            $.post("/Home/GrabUserData", { id: "Test User" }, function (data) 
            {
                $("#Window").data("tWindow")
                    .content(data)
                    .center()
                    .open();
            });
        }
<%= Html.Telerik().Window()
            .Name("Window")
            .Title("Edit User")
            .Visible(false)
            .Modal(true)
            .Width(500)
            .Height(400) 
    %>

but when i call it i get following exception in JQuery "Microsoft JScript runtime error: Object doesn't support this property or method".
I nead this can some help me please.
Tags
General Discussions
Asked by
florim
Top achievements
Rank 1
Share this question
or