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

I'm working on a Web Forms application and using EXT.NET framework for the views, i have a panel on the side with buttons that when i click on them, a view opens in a tab on the same page, like an ...
BAlnimri's user avatar
1 vote
0 answers
94 views

layout file is not there how to add bootstrap template in MVC 2 project . And there is no template in add item to add a .cshtml file
Rishi Dutt Sharma's user avatar
0 votes
1 answer
47 views

I have an old legacy system (more than 10 years) made in MVC 2 with structuremap(2.6.1.0) as DI. We have begun migrating the back with nHibernate (also 10 years old) to entity framework core in a ...
Jerker Pihl's user avatar
0 votes
2 answers
561 views

Could someone please help me how I can upgrade and MVC2 application to MVC5? Please consider that I had never had any experience with upgrade before. I do not want to do rewrite only upgrade to MVC5. ...
user464291's user avatar
0 votes
0 answers
98 views

My client has legacy application based on ASP.NET MVC 2 Framework which runs well on WinSrv 2008 R2 VM. I've cloned this machine, changed IP, hostname etc. and this cloned machine was upgraded to ...
user avatar
0 votes
1 answer
58 views

i want to show model through which i want to update status of order. i already created post action method which require order_id and status to update order status.But i dont understand how to pass ...
Muhammad Sami's user avatar
3 votes
0 answers
203 views

I have tried zipping 70 pdf documents but ended up having a System.OutOfMemoryException. Please look into the following code and let me know whats wrong with it. Please note that I have posted issue ...
SurenSaluka's user avatar
  • 1,593
0 votes
2 answers
112 views

Looking to find a way with Object Browser (in Visual Studio, or another tool) to find all of the extension methods defined for HTMLHelper, URLHelper and AJAXHelper. Any ideas?
Ken Lang's user avatar
0 votes
1 answer
2k views

Customer is asking for LDAP / Active Directory authentication along with OTP (one time password) / multi-factor authentication for an old existing web application written in (asp.net MVC2). Is this ...
Novice Programmer's user avatar
0 votes
0 answers
149 views

The tecnologies are: ASP .NET MVC2 JQuery v3 My code is as follows: Controller: public ActionResult Create() { ViewData["department"] = new SelectList(_db.department.ToList(), "...
Diego Hernández's user avatar
0 votes
2 answers
688 views

I need to create an empty form for database update. In the controller this is called: public ViewResult Create() => View("Edit", new List()); <TargetFramework>netcoreapp2.2</...
WCS's user avatar
  • 99
4 votes
1 answer
436 views

I need to handle a List<List<T>> in a form and couldn't find how to proceed with old version of MVC and .NET. I did try the following: Model: public class MyModel { public List<...
Rafalon's user avatar
  • 4,570
4 votes
0 answers
57 views

We have a legacy application which is written in .Net MVC 2 and required to use Google Calendar API. I have found this link which is mentioned prerequisites VS 2013 and above. Is there any way to use ...
Chamara Nillushan's user avatar
6 votes
2 answers
7k views

I have an old C# MVC 2.0 web application. Whenever I use a [Required] attribute, the default validation error message goes: The [whatever] field is required. My problem is that the application isn'...
Rafalon's user avatar
  • 4,570
0 votes
1 answer
168 views

I'm working on a table that shows data per week. How can I automatically add a column after a week has passed by and show its data from the database? Thank you in advance. MVC2 Jquery
Mr_Chrs_12's user avatar
0 votes
0 answers
443 views

I need to send the following text to a web application (MVC2) Hello <>~!@#$%^&*()_+|}{":?>< Hello <>?:"P{{}|+)_)_&*()&^*^%&#%^@#$~!@#~!@#~Q I'm sending ...
SurenSaluka's user avatar
  • 1,593
1 vote
0 answers
172 views

I have an issue with one of my .ascx files, when I hover over a red <%=Html.BeginForm it says: The type RouteValueDictionary is defined in an assembly that is not referanced. You must add a ...
quicklaunch2009's user avatar
0 votes
1 answer
157 views

I have a "Gallery" folder with one pdf file I view the pdf file using an object, then I need to download that pdf by clicking a "Click here to download the pdf file" link please help me, I view ...
Vinayagajothi's user avatar
-1 votes
2 answers
289 views

Here is my below code string CampusId = "1"; string ClassId = "1"; var Class = GetClassesselect(); var model = (from sr in db.StudentRequests join c in db.Classes on sr.ClassId equals c.ClassId where ...
Xtremcool's user avatar
  • 185
0 votes
1 answer
77 views

On an ASP.net project, I have to pass a message list, which I would like to display in an HTML list. So I have my Message class in my model folder, and in my controller, I get my list. public ...
Y.op's user avatar
  • 89
1 vote
2 answers
2k views

I need to run some c# code each time any page based on _layout.cshtml is viewed. I don't want to put something in every controller.cs file, just something central like you used to have in ASP.NET's ...
user avatar
0 votes
1 answer
481 views

I am a novice in ASP.NET MVC. Recently, I try to import a javascript file in a asp file. But I get this Error: Not allowed to load local resource no matter using IE, Chrome or Firefox. My code: */...
wind910037's user avatar
1 vote
1 answer
569 views

I have MVC 2 application which has used in Windows authentication mode. The requirement has changed to that application needed to be on single sign one(SSO) in multiple active directories.The client ...
Chamara Senevirathna's user avatar
0 votes
0 answers
30 views

I'm extremely new to .NET and was given the task of upgrading an old application that we have so that it can run on a Windows 2012 server. Right now, it is running on a 2003 server, but that will be ...
Susan 's user avatar
-4 votes
3 answers
3k views

Hi i am newbie to Mvc i have a json service which returns a list of walletstatementlogs based on fromdate and todate. I have a controller TopUpReqLogController every time when i hit the action index ...
Muhammed's user avatar
-1 votes
2 answers
2k views

How to reset the value after deleting particular record in sql using mvc2 ex records are: 1,2,3 deleted record:3 now i am adding new record .it should have the id 3 not 4. what can i do for that??
user7415073's user avatar
-1 votes
1 answer
399 views

I have a dropdownlist and it contains a list of names and a 'more' option.When the user click on the more option,it will load more names from database and display those names in the dropdownlist.But ...
Kesiya Abraham's user avatar
0 votes
0 answers
49 views

Is it possible to convert ViewData["MenuItem.StoreMenuId"] to ViewBag? I use ViewBags to store IEnumerable<SelectListItem> so I can bind to @Html.DropdownListFor in my views. This works fine if ...
kimbaudi's user avatar
  • 15.9k
0 votes
1 answer
766 views

I'm developing MVC 2 web application. I'm using FormsAuthentication for sign in users to my application. I want to generate an authentication token after users are successfully login to the ...
bhathiya.m's user avatar
0 votes
1 answer
482 views

I am new to ASP.NET and MVC 2. I'm trying to iterate over a list of lists of strings within my view page. However I cannot get any data to be displayed. Controller Code. public class ...
Nick's user avatar
  • 150
-1 votes
1 answer
71 views

I'm trying to post back the model to the controller, but the members within the ViewModel are null (rather than the entire model just being null). This is the View Model: public List<...
The Vanilla Thrilla's user avatar
7 votes
3 answers
2k views

As stated in the title, i would like to know what happens when an AJAX request is sent to a controller action and, during this time, a network timeout happens for a few ms before the request is ...
Sang Suantak's user avatar
  • 5,265
0 votes
1 answer
123 views

I am working in MVC2 and .net framework 3.5 While trying to pass a single object to mvc controller it is working fine. But when I try to pass the value as an array, I'm getting property values as ...
Aneesh Sivaraman's user avatar
0 votes
1 answer
538 views

In my database i have Books and RentBooks. I created a View for Books where the Index return a list of all books that have been created. What i would like to do now is following: I have a ActionLink ...
bfmv991's user avatar
  • 109
1 vote
2 answers
43 views

I have an exam on monday and i wanted to ask you if someone knows what would be the best way to handle edits in a ProductView for example. More or less it's about the code within the ProductController....
bfmv991's user avatar
  • 109
0 votes
1 answer
51 views

To start with I'm really new into developing with C#, ASPNET, and MS SQL so perhaps I'm just missing a simple point here or missunterstood a basic concept so please have patience with me :) I'm Using ...
hypnomaki's user avatar
  • 662
0 votes
0 answers
644 views

I have created model in asp.net mvc with constructor to create new guid id for ID field which inherits from base class. Now i pass values for two parameters of the model other than ID from html page ...
Priyanka Desai's user avatar
1 vote
2 answers
3k views

Here I used the below code for converting a wav formatted audio file for removing unwanted noise and better quality. This code works great in local host.. but while code run in IIS server, I got an ...
user4340020's user avatar
1 vote
0 answers
77 views

I am migrating an old 3rd party project from MVC1 to MVC2, which I am not very familiar with. One of the documented breaking change in MVC2 is "Changes to the DefaultControllerFactory class break ...
tkalay's user avatar
  • 193
2 votes
1 answer
3k views

I am using this code to return the file to the client return new FileContentResult(Encoding.UTF8.GetBytes(sb.ToString()), MimeType) { FileDownloadName = String.Format("{0}....
Reza's user avatar
  • 20.1k
0 votes
1 answer
890 views

I am submiiting a form from view which contains input field with specific data attribute <form> <input type="text" data-user="001" name="mytext" /> </form> this from is submitted to ...
AddyProg's user avatar
  • 3,070
4 votes
0 answers
1k views

I have an ASP.NET MVC2 Web application, working with SQL Server 2008 R2, managed by IIS 6.2. I have a functionality where one particular admin needs to upload about 5000 documents, which then get to ...
SantLev's user avatar
  • 160
0 votes
1 answer
875 views

I am new to MVC. The project that I am working on is on MVC2. The current requirement is to open a modal popup after login. Basically after successful login, the user will be redirected to a landing ...
MaxPayne999's user avatar
1 vote
2 answers
6k views

So I am getting this error on ASP.NET mvc2 solutions that used to work fine. I had to install Visual Studio 2012 and was running low on disk space, so had to manually uninstall some Visual Studio 2010 ...
SantLev's user avatar
  • 160
-1 votes
1 answer
1k views

I know this question has been asked many times here but seems to be very old. Can you please help me to understand what are best approach ASP.NET MVC have to integrate video chat/conference in my ...
Verma's user avatar
  • 39
3 votes
0 answers
865 views

I have a MVC Action Method which is being hit twice if the request takes time to complete. On checking chrome console network log and fiddler, the request is being sent only once from the JS. In the ...
Sang Suantak's user avatar
  • 5,265
0 votes
1 answer
289 views

I have an old MVC2 project, which I am trying to move from an old cruise control CI server to our current TeamCity CI Server. I'm getting screeds of build errors of the form: Models\State\...
Myster's user avatar
  • 18.2k
1 vote
0 answers
149 views

I want to convert video file using FFMPEG at server side which is long running process. I decided to send AJAX request to server so conversion process should run parallel. But my controller is serving ...
Dipak Telangre's user avatar
1 vote
0 answers
395 views

I am reading a file in bytes using ReadAllBytes() method. Then convert these bytes to base64. Then send this base64 string as a part of JSON. On server side (which is MVC action) I receive the JSON ...
Wajahat Qureshi's user avatar
0 votes
1 answer
35 views

I am trying to create a url with query string in MCV application Here is the code <%= Html.ActionLink(Resources.Strings.SignIn_lbl, "SignIn", "Account", new { lang = ViewData["user-language"] })%...
AddyProg's user avatar
  • 3,070

1
2 3 4 5
169