w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Popup containt become blank at the time of moving the popup positions by selecting popup header

Here devexress team six year ago gave an explanation that it is impossible when you use ContentUrl property because the control render it in the iframe.

You can write view content in the ViewContext but your controller should return PartialView.

public class HomeController : Controller
{
    public ActionResult SendProduct(string rowId)
    {
        Product objProduct = new Product();
        return PartialView(objProduct);
    }

    [HttpPost]
    public ActionResult SendProduct(Product objProduct)
    {
        return PartialView(objProduct);
    }
 }

Popup settings

    settings.SetContent(() =>
    {
        ViewContext.Writer.Write((Html.Action("SendProduct",
"Home").ToHtmlString()));
    });
    //settings.ContentUrl = Url.Action("SendProduct", "Home");




© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.