kala-tamin How can I use partial views in ASP.NET?
صفحه اصلي

How can I use partial views in ASP.NET?



I have done partial views in ASP.NET MVC but now I want to convert it to ASP.NET. I have used AJAX and JavaScript. How can I convert the following:

<a href="#" onclick="LoadPartialView('#MainContentDiv', '<%=Url.Action("AdminHome", "Admin")%>')">Home</a>            , <input type="button" value="Submit" onclick="LoadPartialViewPost('#MainContentDiv', '<%=Url.Action("ViewPage", "Controller")%>', $('form').serialize())" /> 

to ASP.NET, or in other words, how can I load a partial view in ASP.NET?


When to use Singleton vs Transient vs Request using Ninject and MongoDB

1:

ASP.NET MVC Registration With CaptchaValidating that a form input is not empty

77 out of 100 based on 42 user ratings 437 reviews