asp.net 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. A

    checkbox not send correct value true or false when click approve button it only working for first time?

    I work on asp.net MVC application I face issue check box yes or no send false value yes or no when click approve button I have two check box one represent true and second false as user requested and i don't it to be radio button because bossiness user request it . Yes represent true No...
  3. ahmedaziz

    Question why property Speak Stuff give me error when not detected by session on

    I work on asp.net mvc 5 I face issue when property SpeakStuff null it display error on console of browser tell me property SpeakStuff null so How to prevent error on console when property SpeakStuff is null how to handle it . How to avoid error null when submit . what i try as below <a...
  4. A

    Improve MVC code that updates user role

    Hi, Any suggestions on how to improve this code which updates user role (MVC). Thanks [Authorize(Roles = "Administrator")] [HttpPost] public ActionResult EditUser(UserAdminViewModel model) { var result = m_AccountModel.UpdateUser(model); if (result) return...
  5. ahmedaziz

    Question validation message sweet alert display more than once when record exist before and click on submit button multi time ?

    I work on asp.net mvc Application Ajax Request Calling I face Issue message sweet alert display more than once if i click button submit more than once if i press same button submit again for same request it will display (message Employee Exist Before) two time if i press same button submit...
  6. ahmedaziz

    Question issue approval index action not redirect to pending action view although no error on debug code?

    I work on asp.net mvc Project .I face issue action ApprovalIndex Not redirect to action PendingManagersRequests although no error happen . I debug and trace breakpoint until reach action PendingManagersRequests and trace until I reach to view return View(vmr); without any issues . so why it...
  7. ahmedaziz

    Question when print page it not show as I designed on asp.net mvc

    I work on asp.net mvc i design report and it show every controls alignment success amd good but when print it show on print preview not aligned and more controls interact with each other so How to solve this issue please what i try <head> <style> body {...
  8. ahmedaziz

    Question issue when check Resignation requester model properties values it display as null

    0 I work on asp.net MVC application . I face issue I can't pass model ResignationRequester properties values to Approve Index action when click approve button . all properties as Request no and employee no load when details page load then I write comment SpeakStuffComment then click approve...
  9. ahmedaziz

    Question after click on submit button URL change How to keep it as it is without changes?

    I work on an ASP.NET MVC razor page. I face issue Url change from Resignation/RequesterIndex?filenumber=103085 to Resignation/Create after click submit button. I need URL as it was before, without change after click submit button. How to do that please? What is issue on my code that make...
  10. Janhvi

    Is there any issue learning C# and ASP.NET MVC with .NET framework 3.5 and 4.0 if there are jobs on .NET?

    I am a beginner and want to learn C#.NET and ASP.NET MVC but I am learning C#.NET and ASP.NET MVC with .NET Framework 3.5 and 4.0. I just wanted to make sure That I have seen so many jobs on .NET and they want skills like C# and ASP.NET MVC so If I learn C#.NET and ASP.NET MVC with .NET...
  11. Renu

    Question Is there any issue learning C#.NET, ASP.NET and ASP.NET-MVC with .NET framework 3.5 and 4.0?

    Just I want to make sure that I`m learning c#.net ,asp.net, and asp. net-MVC with .NET framework 3.5 and 4.0 So fundamentally any issue? and after learning these with .NET Framework 3.5 and 4.0, Can I work with the organization? So just I want to make sure fundamentally any Issue learning...
  12. ahmedaziz

    Question How to get response details after success login razor page ?

    I work on asp.net razor page Login user name and password . I call Web API validate user name and password . my issue I face it I can't receive data returned after login success JSON data returned from web API after success login username and password { "message": "success"...
  13. ahmedaziz

    Question How to get list of checkboxes not checked on page model razor page?

    I working on razor page with .NET core 7 . my mainly issue How to pass unchecked checkboxes from html page to page model on post method ? so If I have group of checkboxes not checked so I need to pass it to page model as List on post method when submit form so user click submit button then on...
  14. ahmedaziz

    Question error object reference null after click submit button ?

    I working on MVC razor pages asp.net core 7 . I can't display success message after submit and insert data on same page . I get error System.NullReferenceException: 'Object reference not set to an instance of an object.' error happen on Model.userModel.Branches Expected Result is display...
  15. P

    Question How to write C# method for getting data in JavaScript without returning Status200Ok or so.

    Hello! I'm a desktop app and videogame developer and I'm learning web development. I followed a tutorial about CRUD in ASP.NET Core MVC, which lists, adds, edits, and removes employees' data. My app starts with an html table with the employees' list, each field in a <td> (a row cell); all fields...
  16. A

    when make login using simple membership it not logged in success although I use same user name and password?

    I work on Web API c# web app . I face issue I can't login success although I have same username and password . when make break point on websecurity.login then trace it jump to ModelState.AddModelError so are there are any settings remaining or some configuration not done . public JsonResult...
  17. 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...
  18. Phani_2204

    Question Push notification using firebase?

    We have created an app which captures error logs. API's help us do that but when the error is created user must be notified. Can you help us? Source code:- GitHub - ranadeepmedagone/LogApp
  19. S

    JSON Error when attempting to consume data from an external API.

    System.AggregateException HResult=0x80131500 Message=One or more errors occurred. (Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'System.Collections.Generic.List`1[OpenAQAirQuality.Models.City]' because the type requires a JSON array (e.g. [1,2,3]) to...
  20. SaeedP

    Resolved code section in blazor

    Hello, Can the code that is written in Blazor in the code section be written in the controller? Are the codes exactly the same? thanks,
Back
Top Bottom