2

I'm developing some application using Telerik MVC.I wanted to pass Argument from client side.Is there any way to do it?

Here is my code for rad window

@{ Html.Telerik().Window()
    .Name("NewsWindow")
    .Title("Edit Here")
    .Draggable(true)
    .Scrollable(true)
    .Resizable(resizing => resizing
    .Enabled(true))
    .LoadContentFrom("News/NewsEditor")
    .Modal(true)
    .Buttons(b => b.Refresh().Close())
    .Width(600)
    .Height(650)
    .Visible(false)
    .Render();

}

1
  • u can use ajax request Commented Feb 23, 2015 at 10:55

1 Answer 1

2

Remove

.LoadContentFrom("News/NewsEditor")

Add a function containing below codes and bind it to your desired event.

$("#NewsWindow")
    .data("kendoWindow")
    .refresh({
        url: baseURL + "News/NewsEditor",
        data: { argumentName: argumentValue }
    })
    .open();
Sign up to request clarification or add additional context in comments.

1 Comment

If it helps, mark as an answer. @jehan-perera

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.