viewusercontrol Questions

10

Solved

I have developed a simple mechanism for my mvc website to pull in html via jquery which then populates a specified div. All is well and it looks cool. My problem is that i'm now creating html marku...
Heartsease asked 13/11, 2008 at 2:53

3

Solved

I am using Microsoft MVC and C#. I have a usercontrol (example.ascx) created and at the top I'm inheriting System.Web.MVC.ViewUserControl<PostTransferViewModel> Now, while my model name is a...
Aerify asked 24/2, 2010 at 13:32

1

Solved

The problem is: when I put 2 controls of the same type on a page I need to specify different prefixes for binding. In this case the validation rules generated right after the form are incorrect. So...
Predictor asked 3/5, 2010 at 15:31

1

Solved

I want to be able to create ViewUserControls with their own controllers so all the logic is contained completely. Right now, I have to wire up the ViewUserControls with the main controller and if I...
Downgrade asked 7/8, 2009 at 14:8

2

Solved

When a controller renders a view based on a model you can get the properties from the ViewData collection using the indexer (ie. ViewData["Property"]). However, I have a shared user control that I ...
Decile asked 20/8, 2008 at 20:46
1

© 2022 - 2024 — McMap. All rights reserved.