mvc

  1. A

    How to select user from kendo dropdown then click kendo button do add row to Database table and displayed with kendo grid passing JSON to ajax functio

    /Controller [AcceptVerbs(HttpVerbs.Post)] public ActionResult Create([DataSourceRequest] DataSourceRequest request, Model x) { if (x!= null && ModelState.IsValid) { DataLayer.Create(); } return Json(new[] { x }.ToDataSourceResult(request, ModelState)); }...
  2. ahmedaziz

    Question selected value option All Request clear after display value How to prevent this behavior from happen ?

    I work on asp.net mvc I face issue selected value All requests cleared after display result data and back to Pending Request so my issue on selected value option if i select option All requests it display all requests success but drop down selected option display as Pending Request so How to...
  3. ahmedaziz

    Question How to allow cell on data table for edit and close after edit ?

    I work on asp.net razor page model . i face issue i can't edit datatable on same page by edit cell without redirect to another page I need to edit cell on same page my code details as below : public class UserModel { public string Id { get; set; } public string Name { get; set; }...
  4. ahmedaziz

    Question How to make user data details after login success with form below?

    I work on razor page on asp.net core 7 I need to make form or box with details of users success as below but I don't know what is name of box have user details I pass data after login success by following @TempData["UserId"] @TempData["UserName"] @TempData["Company"]...
  5. ns1777771

    Question Posting base64 from Url.Action to Controller

    Hello I am trying to pass a base64 string or byte array from a URL action to a controller. Im unsure if I'm going about this the right way so ill explain what I am trying to achieve. The application will have an option to allow users to preview a file in the file system. I am using a plug in...
  6. MonsterMMORPG

    My C# and ASP.NET Core MVC Lecture Videos

    Hello everyone. My name is Furkan Gözükara. I am a Ph.D. computer engineer from Turkey. I have a software engineering dedicated Youtube channel named: SECourses : https://www.youtube.com/SECourses I want to share a few of my lecture playlists. The playlists contain the full course for free...
  7. B

    Question IIS Error HTTP Error 502.5 - ANCM Out-Of-Process Startup Failure

    Hello, everyone, I've been trying to get my project running on an IIS server under Windows Server 2019 for days now. I set .net Core 3.1 as the target framework in Visual Studio Since I'm using a 32-bit DLL, I set 32-bit to true in the IIS Application Pool It runs under Visual Studio with...
  8. A

    Resolved Can we use ADO.NET with ASP.Net Core Web App(MVC) ?

    I am learning MVC. I had previously worked on ASP.Net Web Applications(.NET Framework) in which we used webforms, edmx, and ado.net to connect to the database for CRUD operations. But I don't see any edmx option in ASP.Net Core Web App(MVC) . I want to create a login page . I have the following...
  9. Miles

    A question on architecture

    Hello good people. New here. First post. First up, I am by no means a "professional" developer. I have written quite a few desktop applications in Python Qt, VB.NET and C# WinForms, Java Swing (many years ago), and a whole bunch of code to automate host applications with VBA (Excel, Access...
  10. selimsoydann

    Question browser closed time session clear

    hello I have a code like the one below. Here I want the session cleared as soon as the browser is closed. But when I close the browser, the script works, it goes to function, it runs my code. I am still logged in when I open the browser again. Can you help me. <script type="text/javascript">...
  11. M

    Question Proper Folder Structure

    This might be too broad of a topic, but how are you supposed to set up a file structure when using .NET Core MVC. When creating a new project, you are given the following: >>Dependencies >>Properties >>wwwroot >>Areas >>Controllers >>Data >>Models >>Services >>Views >>appsettings.json...
  12. Khaled K

    best design for an responsibility system

    I am trying to build a main system ( web application ) that contain different systems that provide service for sales , packing and HR dept etc , so i have many users (about one thousand users ) with different page access permissions ( dynamic responsibility that may change at any time ) what...
  13. V

    Question Not reload the page in Ng-Click

    <a class="button" ng-click="L(Post)" ng-if="Post.uid =='true'" href="/About/Aboutpage" style="text-decoration:none;" ng-init="LDetails(Post)"> <input type="image" alt="" src="~/Images/like.png" style="max-height:20px; max-width:20px;" />&nbsp;Like<span class="badge">{{Post.L}}</span> </a> <a...
  14. I

    Regular Expressions

    Hi, I wrote a regex to check a phone number format in my view-model but it always raises an error no matter how the number looks like. I want it to be in either of these 2 formats 05XXXXXXXXX 02XXXXXXXXX [DataType(DataType.PhoneNumber)]...
  15. V

    Drop Down List Giving Incorrect Values

    Hi everyone, I have followed the following tutorial for my project: https://www.youtube.com/watch?v=h_ViuyVs4AE The issue that I have is that when I click an item in the first drop down box, it does not give the correct values in the second box, it only gives one value and it is incorrect. It...
  16. J

    Question Wpf, mvvm, & asp.net?

    Okay, I am a beginner so I am going to apologize ahead of time if I don't use the correct terms. I've been looking around for answers on google and seeking help for a while now, but I am having a hard time comprehending this considering I am more of a visual learner. Alright, well here is my...
  17. S

    cshtml vs aspx

    I'm not sure if this is the complete problem but I've created an MVC application in C#. I'm following a tutorial step-by-step but when they create a View in the tutorial it creates and .aspx file with reference to a master file. When I try to do it, by default I get a CSHTML file. When I try...
  18. S

    Question Is the MVC redundant?

    I've been trying to decipher how the MVC design pattern works. I have found tutorials that state all of the business logic goes into the Model and others that state all of the business logic goes into the Controller and the data access goes into the Model. I have also come across tutorials...
  19. G

    Deciding Which Is Which Should I Choose? (MVVM or MVC C#?)

    I can't decide which job should I choose? C# MVVM Developer or C# MVC Developer? There are two companies that I should go and work for. The one like Navitaire Accenture Company which uses C# WPF MVVM and the one like many others (e.g Avanade) which uses C# MVC ASP.NET... I mean, I want to...
  20. ScottLoudon-VerelogicIT

    Software Developer - C#, ASP.Net, MVC, T-SQL - Basingstoke - 45,000 P.A!

    Hello All, My client are urgently seeking a number of Software Developers to join their team in Basingstoke!:):) My client are a leading Risk Intelligent Data Solutions company and require 2 experienced Software Developers to Join their team! Key Skills: - At least 3 years commercial...
Back
Top Bottom