Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
1k views

I have an ASP.NET MVC C# web application. In my layout file I have the following ajax call <li class="PriceModal"> @Ajax.ImageActionLink("/InternalDB/Content/...
UncleDaveIsWatching's user avatar
0 votes
0 answers
95 views

I am having one view with partial view containing set of dropdown list. On the click of save button on main view needs to check if atleast one dropdown value is selected or not. I am not able to get ...
prasadLad's user avatar
-1 votes
1 answer
2k views

I have a razor view a part of which populates the mobile number of the logged in user using partial view <div class="form-group"> <div class="col-md-10"> ...
Muhammad Yasir Bilal's user avatar
1 vote
1 answer
799 views

I'm still somewhat new to ASP.NET MVC so I hope my question is clear. In my project I have a parent view, that renders partial views inside the parent view by calling @Html.Action(controller action ...
andy_coder's user avatar
0 votes
1 answer
1k views

In my view i have two divs with controller and action method name in data-url attribute. When the page gets loaded, i am looping through these div classes and getting the name of the constructor and ...
sanjeev's user avatar
  • 867
0 votes
1 answer
1k views

I have this in my cshtml file <div class="login"> @await Html.PartialAsync("_Login") </div> <div class="register"> @await Html.PartialAsync("_Register") </div> And my ...
Jack Bauer's user avatar
-1 votes
1 answer
1k views

I have the following view model code: public class TestCheckboxlistParentModel { public TestCheckboxlistParentModel() { CBL = new TestCheckboxlistModel(); } public ...
Oleg Sh's user avatar
  • 9,089
0 votes
1 answer
2k views

I have an MVC application. I have a View A that renders partial View _B. View A has a logic that defines when to show partial View _B and when not: @if (!(bool)ViewData["PasswordChanged"]) { <...
Yev's user avatar
  • 53
1 vote
1 answer
795 views

I have a View A, View B, and a View _C. View _C is a partial view that is rendered inside of View A and B: View A: <div style="margin-top:20px;"> <div> @Html.Partial("~/...
Yev's user avatar
  • 53
0 votes
0 answers
41 views

I have an order page and the order form is divided into 3 separate forms, like tabs, and for each separate form I've created a partial view, loaded using ajax on a button click. Here is the Order ...
Gleb's user avatar
  • 1,432
0 votes
1 answer
669 views

A bit new to .Net + MVC dev. background... in my lil app i have 3 tables ... applications, databases, and app_db_support table. The 3rd table has fks to the first 2 and stores associations. Want to....
MAR's user avatar
  • 95
0 votes
0 answers
681 views

I'm trying to add/delete EnquiryLineItems into Quotation View. Tried to follow MVC 5 Dynamic Rows with BeginCollectionItem BeginCollectionItem partial within partial not behaving correctly MVC 5 ...
user2695433's user avatar
  • 2,153
1 vote
1 answer
179 views

I intend to display a list of employees with about five columns on the left side of my razor view, and on selecting any employee (row), display details of the employee as a readonly partial view on ...
user938455's user avatar
1 vote
0 answers
16 views

I'm new of asp.net mvc. I'm making a small application of shopping car. I use a shoppingCar view and use partialview to show products in shoppingcar view. And I want to check the BuyerName and Deliver ...
moussesj94's user avatar
0 votes
0 answers
105 views

Hi what I want is to call a partial view from 'index.cshtml' passing it the model and some string input and when we get to the function 'ContactsTable' in the controller i want to get the model which ...
Ortal Levi's user avatar
0 votes
1 answer
2k views

In above image when double click on div(First Image) then View dialog box(second Image) both case content printed same data but structure is different. controller [HttpPost] public ...
User's user avatar
  • 1,373
1 vote
2 answers
2k views

The issue I am facing is similar to this old post cascading dropdown for dynamically added row. I am using the "BeginCollectionItemCore" NuGet package to setup a set of partial views, so I have ...
jforward5's user avatar
1 vote
1 answer
490 views

I am trying to create an SPA application using Sammy. When I call #/entitycreate link, I return a partial view from Home controller which contains an html form to submit. Partial view comes as I ...
mnyarar's user avatar
  • 535
0 votes
1 answer
5k views

I have datatable in _layout that works fine all other tables except this particular one I have in a partial view perhaps because of the way the data is loaded. _layout.cshtml $('.dataTableList')....
cbzx's user avatar
  • 1
0 votes
1 answer
739 views

I have the following ViewModel public class ReservationDetails { public ReservationDetails() { } public Reservation Reservation { get; set; } public List&...
user avatar
2 votes
2 answers
1k views

So I was trying to follow this guide and the followup article. But Before I started with the searching, sorting and filtering, I wanted to see if even the pages were working as intended. ...
Developer343's user avatar
2 votes
2 answers
3k views

I have a form with some input fields. When a user clicks on the submit I want to post the fields back, use them to query a service and load some results into a view on the same page while preserving ...
user48408's user avatar
  • 3,392
2 votes
1 answer
567 views

Below is the html for a View I am working on. It contains a table that is able to add additional rows as needed. The table is initially filled with a SalesOrder object upon returning this particular ...
terbubbs's user avatar
  • 1,512
0 votes
0 answers
457 views

I am making a site for entering metadata. On the first tab (CSS tabs) I have few dropdowns and after you make the choices, the second tab is unlocked. Right now the second tab is empty, and the ...
Pero93's user avatar
  • 160
1 vote
1 answer
433 views

The Issue is I can't pass data from model to PartialView. Here is how I've done it. My PartialsController.cs public PartialViewResult _GridView() { var currentUser = UserManager....
Jan Paweł Niepsuj's user avatar
0 votes
1 answer
1k views

I am trying to create one partial view to create drop down on every view. Have created one view model and partial view for the same. Its creating drop down properly but not showing selected value. ...
Daxesh Vora's user avatar
0 votes
0 answers
206 views

I have a MVC partial view called BasicUserDetailsDisplay public PartialViewResult BasicUserDetailsDisplay(string id) { var user = userService.GetUserInfo(id); return ...
Anushka Madushan's user avatar
1 vote
1 answer
2k views

I have a MVC application where I implemented an advance search dialog popup. If the user do not type anything in any of the textbox and they click the search button, I want to keep the popup open and ...
OiC's user avatar
  • 47
1 vote
1 answer
243 views

I have a question for Highchart using in ASP MVC5. I have 6 charts and I am showing just the one for the first page load. All my tags for chart creation and data in partialview. my javascript is also ...
M. Emre Yazgan's user avatar
1 vote
2 answers
1k views

When i click Submit button on index page, see following image: My question: I'm just custom required attribute, why error message for ProductDescription don't show ? All my file, see the below ...
Elliwood's user avatar
0 votes
1 answer
1k views

I submit a form post in Asp.Net MVC Partial View with JQuery Ajax. The Partial View is inside one of the tabs in bootstrap tabs (there is 4 tabs and each tab has its Partial View). And there is a ...
Zeynep's user avatar
  • 159
1 vote
1 answer
93 views

I'm trying to load a partialview from a JQuery load function The above basically calls a Load Action from Codes Controller This works when accessing the Web Application on an internal Network but not ...
Reydan Gatchalian's user avatar
0 votes
0 answers
851 views

there.. I'am really confused about Layout and PartialLayout. I don't know what wrong I'am doing. When I login as Admin I can se all links even this Admin links ("Register", "Role", "Department" and "...
Jonas Willander's user avatar
0 votes
0 answers
69 views

I have a single page application that loads a string from a database into a partialview when a button is clicked, which is below and this works fine. View <div class="text-center"> <...
boomcubist's user avatar
1 vote
2 answers
4k views

I have a main view which has two tabs. The first tab is the default tab and should display the first partial view and the second tab should display the second partial view. While I am getting that to ...
The_Outsider's user avatar
  • 1,933
0 votes
0 answers
138 views

There is a view like: <a href="#">Render PartialView-1</a> <a href="#">Render PartialView-2</a> @foreach(var item in Model.List) { <!-- Some HTML Codes --> <...
Elif Ak's user avatar
  • 59
0 votes
2 answers
3k views

I have code in my Site.Master file that looks like this: <% var menuName = StaticHelper.GetSiteMenuName(); %> <%Html.RenderPartial("Menu" + menuName .ToUpper()); %> So if your menu name ...
leora's user avatar
  • 198k
0 votes
1 answer
1k views

In my View I'm displaying a dropdown for selecting a list of years. But the data corresponding to selected year comes from more than one tables. And hence a Partial View's data corresponding to ...
nam's user avatar
  • 24.3k
2 votes
1 answer
7k views

can i create a webpage with a partial view which has another partial view inside? I already tried but it ends all the time in an endless loop. So just the question is this possible? I add a image to ...
TheRealLife's user avatar
0 votes
1 answer
3k views

I have two partial views which need to be loaded when their respective tab is selected. I am unable to get the tabs to change and it always shows the same partial view. I tried to base my code on this ...
The_Outsider's user avatar
  • 1,933
0 votes
1 answer
380 views

In my view I am rendering partial view for registration form: <div class="col-md-8 regform"> @Html.Partial("_RegistrationForm",Model) </div> Now when user submit the ...
Fahad's user avatar
  • 173
0 votes
1 answer
540 views

I have a controller that returns one of two partial view depending on condition. Controller public ActionResult ReviewCart(DepartmentProductViewModel model) { if(somecondition) ...
Fahad's user avatar
  • 173
0 votes
1 answer
6k views

I'm attempting to load a partial view inside a bootstrap model. Since I have an existing form in the parent page and another in the partial view. I cannot decide to put the forms on one pages, because ...
Nurul's user avatar
  • 147
3 votes
2 answers
2k views

I am trying to run this example Rendering Partial Views using ajax, but i got the following compilation error: 'HttpRequest' does not contain a definition for 'IsAjaxRequest' and no extension method '...
Mariyan Marinov's user avatar
1 vote
0 answers
796 views

It's a little hard to explain in the tittle. Basically I have a MVC app that has a shared View. The shared view is the header, then I have views that load in it depending on which tab the user picks. ...
JEuvin's user avatar
  • 1,036
1 vote
1 answer
5k views

i have two class as below Model:- public class RegisterViewModel { public string Email { get; set; } public AddressPropertyVM AddressProperty { get; set;...
ishan joshi's user avatar
1 vote
0 answers
906 views

I am rendering Partial view inside a parent view @Html.Partial("_OrderDetails.Info", Model) But is it possible to override _OrderDetails.Info partial view with another partial view before it is ...
Shaiju T's user avatar
  • 6,653
0 votes
1 answer
71 views

I inherited an MVC site and was asked to combine two pages into one. Since both Views have their own View Model, I thought instead of pushing the two VMs together that I could use a Partial View to ...
Caverman's user avatar
  • 3,859
1 vote
1 answer
1k views

It's at bit difficult to explain the issue in the Title but did my best.. This is about Partial Views that uses Javascript from the main view. So I'm building a website that uses a wizard driven ...
Christian's user avatar
  • 1,100
0 votes
1 answer
2k views

This is a sanity check on my approach to passing a partial view to the layout header. In my layout, I have a location for the navigation buttons I want to display for each page. Using a view model ...
earlxtr's user avatar
  • 370

1
3 4
5
6 7
19