Tagged Questions
2
votes
0answers
97 views
How to Re-Write SEO friendly URLs in MVC 2 between main site and it's sub domain site
I had two web sites build on MVC
Site1:
mydemosite.co.uk
Site2:
subdomain.mydemosite.co.uk
There is a "channel area" link on site 1 but when user click on it I take him to the site2 like this and ...
2
votes
0answers
859 views
TypeConverter prevents ApplyPropertyChanges in EntityFramework
I ran into an interesting problem (hopefully, interesting not just for me :)
I am running Entity Framework 1 (.NET 3.5) and ASP.NET MVC 2. I have a Customer class that has many-to-one relationship ...
1
vote
0answers
177 views
JqGrid with ASP.NET MVC 2
I've successfully bind data to JqGrid using ASP.NET MVC 2. I followed an example code to achieve it. Below is my code and i've got some questions regarding the code.
I can not see the parameter ...
1
vote
0answers
28 views
MVC 2 application failing because of System.Web.Mobile assembly
I'm working on a legacy web application which currently utilizes MVC 2, it fails to load at run time due to it trying to load System.Web.Mobile 4.0.0.0 and failing. I can't find any projects our ...
1
vote
0answers
63 views
Omu.AwesomeMvc.dll with a version 3.0.1.0 issue
I have MVC 2.0 already availabe with VS 2010. I downloaded a sample MVC-JQuery project. It contains a DLL Omu.AwesomeMvc.dll with a version 3.0.1.0.
Initially I was facing an issue while loading the ...
1
vote
0answers
119 views
Html.textboxfor showing email address in chrome where as model has empty string
I have an asp.net mvc which gets model data from control action. I see that model.genericpassword field is empty string but in view it shows an email address ( in chrome only). This email address ...
1
vote
0answers
159 views
ASP.NET MVC 2 + Common.Logging + NLog = Session_Start called for each request
After switching the logging library behind Common.Logging 2.1.1 from log4net to NLog 2.0 my ASP.NET MVC 2 application kept logging correctly, but it started calling the HttpApplication.Session_Start ...
1
vote
0answers
70 views
How to return authorization error to jqgrid if Authorize and HandleJsonexception are used in DynamicGridData
[HandleJsonException] and code from Oleg answer in
ASP.NET MVC 2.0 Implementation of searching in jqgrid
are used to show error to users in ASP.NET MVC2 applicaton.
DynamicGridData method is also ...
1
vote
0answers
47 views
Can i use aspx view engine in xslt file that is included in my MVC 2 Project?
I need to use translate function like this:
<%:Utility.Translate("Print:")%>
So is it possible or i should look for alternative?
1
vote
0answers
80 views
Prevent binary data in text area?
in admin panel user post new news and in content of news user can copy image from word and this image will be store directly into database as binary data. so database size will increase too much.
I ...
1
vote
0answers
370 views
IIS Reverse Proxy Introduces a “Cannot use a leading .. to exit above the top directory” in specific instances
So, like a few million other folks, we've got an ASP.NET MVC web app featuring a custom 404 page -- in our case /Errors/NotFound . Recently we moved the site behind an IIS 7.5 reverse proxy for a few ...
1
vote
0answers
761 views
An item with the same key has already been added. error
this is my controller class.
namespace MvcApplication7.Controllers
{
public class HomeController : Controller
{
private rikuEntities db = new rikuEntities();
public ...
1
vote
0answers
441 views
Injecting a repository in a custom role provider gives me DataContext accessed after Dispose error
I am currently building an ASP.NET MVC application and I want to take advantage of the authorize attribute with roles without having to use the default provider and all its tables that are ...
1
vote
0answers
81 views
Creating a hierarchy in my ViewModels corresponding to the hierarchy of my Views
I am creating a page in ASP.NET. On this page there are a few parts which I generalize using partial views. For example, I have a pair page with information about two persons on the page and I ...
1
vote
0answers
1k views
NewLine in Constant in Aspx Page
<table cellpadding="0" cellspacing="0" width="100%">
<% if(ViewData["CustomerInfoList"] !=null && ...