Questions tagged [renderpartial]

The concept of rendering only a specific part of any UI. May also refer to the .NET `RenderPartialExtensions.RenderPartial` method or the Ruby on Rails `PartialRenderer`

The concept of rendering only a specific part of any UI. May also refer to the .NET RenderPartialExtensions.RenderPartial method or the Ruby on Rails PartialRenderer

391 questions
0
votes
1 answer

Hudson Jelly file is failing to render internal tag

This Code is from a Hudson plugin. The problem is that the line should render to a table inside the following script. does anyone know why it would be skipped over by the…
Keynan
  • 1,338
  • 1
  • 10
  • 18
0
votes
1 answer

Update Partial view MVC4

I have this controller: public ActionResult PopulateTreeViewModel() { MainModelPopulate mainModelPopulate = new MainModelPopulate(); // populate model return View(mainModelPopulate); } That has a view like…
Daniele
  • 668
  • 2
  • 10
  • 25
0
votes
1 answer

Using glScissor in android OpenGL

I want to render only a party of my screen according to my internal app logic. But i am facing issues giving parameters to glScissor. This is my onDrawFrame method: @Override public void onDrawFrame(GL10 gl) { …
kaushik reddy
  • 167
  • 3
  • 16
0
votes
2 answers

MVC - Adding Item to List in Model on form-submit

I'm trying to dynamically add items to a list and make these items show up in my controller after submitting, but right now I don't even get the existing list-items to show up. I'm not 100% what the issue is, but it seems to have something to do…
OhSnap
  • 376
  • 2
  • 10
  • 30
0
votes
1 answer

rails: remotely overwriting the value of an existing instance variable

Thanks for reading this. I have an index view in my rails app. it has an area where i display a list of records. i use an instance variable called @list to hold the array of records. i have a couple of buttons on the form that remotely renders…
paulozag
  • 1
  • 1
0
votes
2 answers

How to load a partial inside of a partial?

I'm trying to fire an AJAX request when my page loads. I'm guessing this would be best from my controller. First I open a new page.. def text_tabs_nav end This page has the ability to load by AJAX two different partials. I want to load one of them…
Trip
  • 26,756
  • 46
  • 158
  • 277
0
votes
2 answers

Trying to save output from RenderPartial to a Javascript variable and use it later

In my Create View: Unfortunately this seems to break. At least the quotes (") aren't escaped (\"). How could I…
randomguy
  • 12,042
  • 16
  • 71
  • 101
0
votes
1 answer

Maintain scroll position asp.net partial rendering with multiple Updatepanels

I cannot maintain the scroll position of my page having Asynchronous partial rendering. Here is a sample of my aspx page: <%@ Page Language="C#" MasterPageFile="~/Main.master" AutoEventWireup="true" CodeFile="Page.aspx.cs" Inherits="Page_Page"…
Helen
  • 33
  • 6
0
votes
2 answers

Reusable pageable list in ASP.NET MVC2

For example, this list contains an overview of documents and needs to allow paging. The list is used throughout the website. Depending on the context where it is used, it needs the data from a different source. For example, it can be used on a…
Bertvan
  • 4,943
  • 5
  • 40
  • 61
0
votes
1 answer

Is RenderPartial async or is somewhat similar to jquery ajax call?

I'm just curious and at the same time confused if RenderPartial in MVC(MVC5) is the same as an ajax call using jQuery, or to put simply is RenderPartial Async?
Reyn
  • 757
  • 1
  • 5
  • 16
0
votes
0 answers

MVC Partial View with List Model

I have a news item page and I would like to include a partial view presenting a list of the latest 5 news items. However, I get a this dictionary requires a model item of type 'System.Collections.Generic.List error message. I'm assuming the main…
ComfortablyNumb
  • 1,448
  • 10
  • 37
  • 64
0
votes
3 answers

how to use Html.RenderPartial with ViewModel

i am trying to create user reviews under each product, i used Html.RenderAction Html.RenderAction("ProductReviewTest", new { id = productids }); it works fine but it takes 9.4s to load the product page with the reviews, so tried Html.RenderPartial…
Shaiju T
  • 6,201
  • 20
  • 104
  • 196
0
votes
1 answer

Partial rendering (no header/footer) of a page in Zend Framework 2

I'm working in ZF2 and have worked in Yii. What I want to know is if there's any way for rendering a page partially, like in Yii. I mean rendering only the code on view page and not adding header & footer to the rendered view. I'm trying this to…
netmantle
  • 11
  • 2
0
votes
2 answers

Partial template submit_tag

I would like to create a login field everywhere on the top of my page, so I've add a : in application.html.erb : <%= render :partial => 'sessions/new' %> in .../views/sessions/_new.html.erb <%= form_tag do %>
akam
  • 311
  • 2
  • 10
0
votes
1 answer

Update a related list before posting parent model - MVC 5 EF 6

I'm certain this is a total noob issue. I am currently dealing with two main entities: Request - A request to be sent to the purchasing department detailing information relevant to a purchase request. namespace Purchasing.Models { public class…