Full CRUD operation using datatables in ASP.NET MVC

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ก.ย. 2024

ความคิดเห็น • 315

  • @kishan2307
    @kishan2307 4 ปีที่แล้ว +3

    Finally someone made it from scratch instead of using scaffolding. Thanks.

  • @hrvojeivankovic1891
    @hrvojeivankovic1891 5 ปีที่แล้ว +1

    Great job sourav......Simple and easy, with lot of coding which I find the best way to learn, no shortcuts....

  • @manjeetsinghutube
    @manjeetsinghutube 7 ปีที่แล้ว +2

    Finished First half and i am able to display the records. Awesome Video Sir Ji

  • @omidrezasaadat4384
    @omidrezasaadat4384 5 ปีที่แล้ว +1

    Thanks a lot for your comprehensive learning. you are the best learner.

  • @SecondSchool
    @SecondSchool 2 ปีที่แล้ว

    Nice tutorial. I have been having content issues with my hmdi connected speaker and subwoofer. No soft is coming through, still coming out of

  • @EriAirlangga
    @EriAirlangga 7 ปีที่แล้ว +6

    Your tutorial is awesome and you sir are an excellent lecturer! Thanks!

    • @jerrykayson9198
      @jerrykayson9198 3 ปีที่แล้ว

      i know Im randomly asking but does someone know a trick to get back into an Instagram account?
      I stupidly lost my password. I appreciate any tricks you can give me.

    • @kaisonzeke6757
      @kaisonzeke6757 3 ปีที่แล้ว

      @Jerry Kayson Instablaster ;)

    • @jerrykayson9198
      @jerrykayson9198 3 ปีที่แล้ว

      @Kaison Zeke i really appreciate your reply. I got to the site on google and Im in the hacking process now.
      I see it takes quite some time so I will get back to you later when my account password hopefully is recovered.

    • @jerrykayson9198
      @jerrykayson9198 3 ปีที่แล้ว

      @Kaison Zeke it worked and I finally got access to my account again. Im so happy:D
      Thank you so much, you saved my ass!

    • @kaisonzeke6757
      @kaisonzeke6757 3 ปีที่แล้ว

      @Jerry Kayson you are welcome xD

  • @lBrayanD
    @lBrayanD 7 ปีที่แล้ว

    I from Perú and thanks very much. I love developing in Microsoft technologies

  • @anu9304
    @anu9304 2 ปีที่แล้ว +1

    Can you please do a online shopping project with asp mvc without using entity framework?

  • @FabricioEGiovanni
    @FabricioEGiovanni 7 ปีที่แล้ว

    Hello Sourav, I would like to say thanks for your great tutorial / class. It worked perfectly fine for me.
    Really really nice!!
    Congratulations!
    Visual Basic 2017
    Rod Gaiotto from Brazil

    • @mudabbirabbasi9162
      @mudabbirabbasi9162 6 ปีที่แล้ว

      helo bro can you help me i have a problem in showing data on datatable from sql database...?
      DataTables warning: table id=myDatatable - Requested unknown parameter '1' for row 0, column 1. For more information about this error,

  • @kite2139
    @kite2139 7 ปีที่แล้ว +2

    You are brilliant Sourav! Thank you so much!

  • @alejandropalaciosfernandez1272
    @alejandropalaciosfernandez1272 ปีที่แล้ว

    Hi, I made a page with this style of CRUD, with models and everything. What happens is that when I want to upload it to the server to be online, it tells me that the server user does not have access to the database...could you help me?

  • @weeditagency8782
    @weeditagency8782 2 ปีที่แล้ว

    I bought the Fruity Edition and tNice tutorials tutorial helped out a lot!

  • @HKProjectOfficial
    @HKProjectOfficial 4 ปีที่แล้ว

    I'm studying C #. Thank you very much for the video

  • @naveedkhanhome
    @naveedkhanhome 5 ปีที่แล้ว

    I have followed out the whole steps as per video but i have problem that JQuery modal windows opens with partial view first time properly but not for second time without the page refresh, can you help me or suggest something...

  • @unknown-ri5hz
    @unknown-ri5hz 4 ปีที่แล้ว

    Best tutorial ever , thanks alot .good job , excellent .....♡♡♡

  • @reefal-zamil2865
    @reefal-zamil2865 7 ปีที่แล้ว

    Thank you so much sir ,
    i have a question i am using visual studio 2012 and there is no MVC checkbox to the project is there a way to add it or can i chose from the choices i have besides the empty project choice is MVC 3 Web Application or MVC 4 Web Application ??

  • @hohoaiphuong2314
    @hohoaiphuong2314 4 ปีที่แล้ว

    Hi sourav mondal, I can not Pass value with datat-type = datetime from controller to view, pls advise me for this one, thank so much!

  • @diegoolayo6080
    @diegoolayo6080 7 ปีที่แล้ว

    Error CS0246 The type or namespace name 'Employee' could not be found (are you missing a using directive or an assembly reference?) DatatableCRUD C:\CSharp\DatatableCRUD\DatatableCRUD\Models\MyModel.Context.cs

  • @jose_aranda
    @jose_aranda 2 ปีที่แล้ว

    Great work Sourav! thanks for shared.

  • @gowthams8340
    @gowthams8340 6 ปีที่แล้ว +1

    After add details i want to select that last added record row as well as if i delete one record i want to select next record default??

  • @ekopuji3443
    @ekopuji3443 4 ปีที่แล้ว

    Extended is mean a View Model ? im newbie

  • @khandokarmahmud6248
    @khandokarmahmud6248 7 ปีที่แล้ว

    Great video. But one question is there any particular reason you aren't making use of razor view engines ?

  • @BenchmarkingTom
    @BenchmarkingTom ปีที่แล้ว

    Hi, when creating the application as shown in the video, how can I limit the amount of data displayed from a table with more than 200,000 records? Where can I use e.g. TOP (1000)?

  • @sergiocordova3154
    @sergiocordova3154 7 ปีที่แล้ว

    Hi, have a question about the best practice of copy or duplicate projects, the thing is that I have a project and I wanna duplicate with difrent name and different css styles sheet, what I do at the time is to create a different project and copy the files that I need but I know it's a bad practice

  • @johnpaulprodigalidad1279
    @johnpaulprodigalidad1279 4 ปีที่แล้ว

    Hi sourav, my pop up is not showing instead it is display as showing the data in page.

  • @harishankarmaurya9617
    @harishankarmaurya9617 6 ปีที่แล้ว

    very very thanks to you sir for making such important tutorial

  • @weinchester
    @weinchester 6 ปีที่แล้ว

    Hi! I tried to follow this tutorial on my own case study but my jquery dialogs can only be opened once. the buttons dont do anything after the popup dialogs are closed . Any advice? Help Please!

  • @DheerajKumarWebDetails
    @DheerajKumarWebDetails 7 ปีที่แล้ว

    Good Example and in flow, Thanks Buddy, It is helpful for sure!!

  • @lalitkumar-ep3uv
    @lalitkumar-ep3uv 6 ปีที่แล้ว

    hey sourav you are amazing i really like your video it help me to lean new thing great work friend

  • @viralshorts4194
    @viralshorts4194 6 ปีที่แล้ว

    I don't want to show this search bar at the top. How can I remove it.

  • @JM-sj4lf
    @JM-sj4lf 6 ปีที่แล้ว

    great tutorial. I hope next time max your volume so that it will hear clearly :). but thanks i learned a lot

  • @chrisleung1151
    @chrisleung1151 6 ปีที่แล้ว

    Hi Sourav mondal,
    I can only see "FirstName LastName Email ID City Country" showing on the web page and the table content cannot be displayed. I don't know what's wrong. Hope you can advice.

    • @merthucu8076
      @merthucu8076 5 ปีที่แล้ว

      I am also having the same problem..how to resolve this?

  • @msssouza2
    @msssouza2 7 ปีที่แล้ว +1

    Great tutorial. Please keep doing it. Thanks.

  • @uccuong5665
    @uccuong5665 6 ปีที่แล้ว

    The ObjectContext instance has been disposed and can no longer be used for operations that require a connection
    Please help me !

  • @harshadewani2049
    @harshadewani2049 7 ปีที่แล้ว

    Thanks alot Sourav appreciate your efforts.

  • @tonychimzere2345
    @tonychimzere2345 6 ปีที่แล้ว

    Thank you very much..this video just saved me...

  • @HabiburRahman-zl3mk
    @HabiburRahman-zl3mk 4 ปีที่แล้ว

    Thank you so much bro for upload this video ......please upload a new project a to z

  • @LongHoang-ks8df
    @LongHoang-ks8df 4 ปีที่แล้ว

    There is Problem with this code when the records number of data is big, how to fix it?

  • @shurale85
    @shurale85 7 ปีที่แล้ว

    Hi! Can i ask is there any profit linqing as dc.Employees.Where(condition).FirstOrDefault instead of dc.Employees.FirstOrDefault(condition) ?

  • @vinish488
    @vinish488 7 ปีที่แล้ว

    Am keep watching your Blog please upload more things in MVC and Angular js

  • @jimmydavila7196
    @jimmydavila7196 7 ปีที่แล้ว

    Great tutorial Mr. Sourav.

  • @meghamisra5622
    @meghamisra5622 7 ปีที่แล้ว

    If I don't have int column then how can I use a string in HttpPost to get and save data?
    and if condition can not be use for string right??

  • @varshashukla2334
    @varshashukla2334 7 ปีที่แล้ว

    If I don't have int column then how can I use string in HttpPost to get and save data?

  • @saikamaldidigam8311
    @saikamaldidigam8311 6 ปีที่แล้ว

    Sooper helpful.
    Very nice video. Thanks a lot

  • @thevanama
    @thevanama 7 ปีที่แล้ว

    Is there anyway to create popup using AngularJS instead of jQuery UI dialog?

  • @adilkevin6220
    @adilkevin6220 5 ปีที่แล้ว

    Can you do this with using session we keep on adding rows once user clicks on final submit button all the rows from grid should be saved to the database

  • @frame2grindchannel
    @frame2grindchannel 7 ปีที่แล้ว

    Hello Sourav!
    Thanks for sharing this example.
    I have a question, can you help me?
    In the save post, when we are editing a record to be more specific, do we really need to assign all columns of the posted object to the columns of the created object from the table entity? I'm trying to directly assign the object posted to the table object, it is not giving any bad error but the table also does not update the record with the posted data.

  • @inhle9479
    @inhle9479 2 ปีที่แล้ว

    Thank you very much ! .It's useful

  • @replyisrar
    @replyisrar 2 ปีที่แล้ว

    Thank you. I really appreciate your work.

  • @RicardoSilva-we5wi
    @RicardoSilva-we5wi 7 ปีที่แล้ว +2

    Hi! Can you do a video that has a full CRUD operation using datatables in asp.net MVC and using checkboxes, comboxes, radiobuttons not only textboxes? I really need that!
    Thanks

    • @rubeushagrid4131
      @rubeushagrid4131 4 ปีที่แล้ว

      If you can extract data from textbox then what difficulty do you have in repeating the same from other types of input? You just have to use dot value to fetch the values of those inputs.

  • @meryemnamiq5128
    @meryemnamiq5128 5 ปีที่แล้ว +1

    HELLO can u help me please ,
    i went after using login the programme display all information about the user from two table or more
    can u help me please !!

    • @safwenronaldo
      @safwenronaldo 5 ปีที่แล้ว

      u mean u want crud operations in a database with 2 tables or more ?

  • @kevingeorgex
    @kevingeorgex 7 ปีที่แล้ว

    What is the shortcut that you are using for brace completion and bracket completion ? Looks convenient

  • @eduardohdbarros
    @eduardohdbarros 4 ปีที่แล้ว

    Parabéns pelo vídeo!
    Muito Obrigado!
    Brazil.

  • @earthkom2694
    @earthkom2694 7 ปีที่แล้ว +1

    Please sir after copiying letter by letter what u wrote for homeController.cs
    , when i execute the code i only see a blank page with only the name of the column i write in my index view! can you help me solving it

    • @souravmondal45
      @souravmondal45  7 ปีที่แล้ว

      +aidara mohamed homecontroller is only for server side, have you configured properly client side code in the view page? Ex. JavaScript and HTML code.

    • @earthkom2694
      @earthkom2694 7 ปีที่แล้ว

      I think, i did as you did in your presentation

    • @thevanama
      @thevanama 7 ปีที่แล้ว

      I too had the same issue
      make sure you don't change the name "Id" in home controller.
      public ActionResult Save(int id)

    • @morningstarhumanresources6894
      @morningstarhumanresources6894 6 ปีที่แล้ว

      I am having the same problem, After execute, only the titles appears without format and the rest in blank page. I have reviewed the code and did not find something different. :(

    • @morningstarhumanresources6894
      @morningstarhumanresources6894 6 ปีที่แล้ว

      I found the error, There were missing the "," after each line :
      { "data": "FirstName", "autoWidth": true },
      { "data": "LastName", "autoWidth": true },
      { "data": "EmailID", "autoWidth": true },
      { "data": "City", "autoWidth": true },
      on Index.cshtml code

  • @lesyakracvenko5142
    @lesyakracvenko5142 6 ปีที่แล้ว

    Help me, I have an arror
    Severity Code Description Project File Line Suppression State
    Error CS1061 'MyDatabaseEntities' does not contain a definition for 'Employees' and no extension method 'Employees' accepting a first argument of type 'MyDatabaseEntities' could be found (are you missing a using directive or an assembly reference?)
    error here var employees = dc.Employees.OrderBy(a => a.FirstName).ToList();

  • @KJ4000
    @KJ4000 6 ปีที่แล้ว +1

    I've fixed an earlier error I had by disabled lazy loading from the GetEmploees Action.
    Just add dc.Configuration.LazyLoadingEnabled = false;
    This will take care of ajax errors, DataObjectContext error and something else I don't remember.

    • @undocumentox
      @undocumentox 6 ปีที่แล้ว

      where did you put it?

    • @utkucansaygili5307
      @utkucansaygili5307 4 ปีที่แล้ว

      Kenneth, thank you so much!

    • @utkucansaygili5307
      @utkucansaygili5307 4 ปีที่แล้ว

      @@undocumentox you can write it into GetEmployees(), in your controller. Just before "return Json()".

  • @ripanpaul1
    @ripanpaul1 6 ปีที่แล้ว

    Awesome sample, thanks Sourav

  • @noualit
    @noualit ปีที่แล้ว

    what happened to the popupForm dratsab

  • @DevBishwasBh
    @DevBishwasBh 2 ปีที่แล้ว

    Is it still worth learning

  • @methounahmed3266
    @methounahmed3266 6 ปีที่แล้ว

    I getting a error which is ' Cannot implicity convert type'System.web.Mvc.JsonResult 'to 'System.Action'

  • @gulkhairo8337
    @gulkhairo8337 4 ปีที่แล้ว

    i have a field in db with name StartTime and datatype Time. but when i show it in jquery datatable it show me [object object] can someone help me??

  • @bharatm719
    @bharatm719 6 ปีที่แล้ว

    Please help me out while dealing with large data. It is getting error.

  • @kanagasabapathy.pkanagasan5203
    @kanagasabapathy.pkanagasan5203 6 ปีที่แล้ว

    it is very useful tip for development thanks

  • @PragatiPrakash93
    @PragatiPrakash93 5 ปีที่แล้ว +3

    my data is not showing. Ive completed the tutorial till 23.51 min. Please help

    • @akramtester5249
      @akramtester5249 5 ปีที่แล้ว

      same problem Pragati, am trying to solve this problem, but the the tutor should help us...

    • @caneryasav9770
      @caneryasav9770 5 ปีที่แล้ว

      @Hristijan Nolevski I faced with the same problem first then please check your jquery script versions you wrote. For example Mondal use 3.1.1 version but downloaded version was 3.4.1 for me. You can follow your issues with adding debugger code into sample.
      $(document).ready(function () {
      debugger;
      console.log('xxxx');

    • @ThePakViral
      @ThePakViral 5 ปีที่แล้ว

      @@caneryasav9770 Same Problem! Thanks for the solution! I downgrade jquery from 3.4.1 to 3.1.1

  • @azharmushtaq2367
    @azharmushtaq2367 6 ปีที่แล้ว +1

    I have run the code but show the parser error on Google remove plz tell me a solution

  • @marfinfadilah1591
    @marfinfadilah1591 5 ปีที่แล้ว

    Can someone please help me? I am getting error $.validator is undefined. Any libraries is updated as version as the video have. When I click edit and delete it just pop up a blank white dialog without showing anything. Anyone has the same issue?

  • @alisher.sabirov
    @alisher.sabirov 7 ปีที่แล้ว +1

    Thanks BRO! You are the best!

  • @MuhammadBilal-ly1ct
    @MuhammadBilal-ly1ct 6 ปีที่แล้ว

    Sir, This Video is osm but I m facing an error in it can b able to resolve plzzz guide me...
    Error CS0246 The type or namespace name 'Employee' could not be found (are you missing a using directive or an assembly reference?)

  • @زكرياالراوي-ل3س
    @زكرياالراوي-ل3س 4 ปีที่แล้ว

    I have this problem say in message Exception User Unhandled

  • @raulhenriqueporfiriodasilv4775
    @raulhenriqueporfiriodasilv4775 ปีที่แล้ว

    ITS REALLY WORKED LOL THANK YOU DUDE

  • @fethisimohammed3026
    @fethisimohammed3026 7 ปีที่แล้ว

    good tutorial ; i want a précision about server side pagination , because in your example if we have 10000 records , we are going to have somes problems in page loading.

    • @awan_tech
      @awan_tech 7 ปีที่แล้ว

      i know i'm too late but its pretty simple
      have a look at this example
      www.c-sharpcorner.com/article/Asp-Net-mvc5-datatables-plugin-server-side-integration/

  • @miloradsavkovic7319
    @miloradsavkovic7319 6 ปีที่แล้ว

    does not work for me pop up window,
    works when it opens on the next page, everything else works, please help

  • @dndnegy73
    @dndnegy73 5 ปีที่แล้ว

    return new JsonResult { Data = new { status = status } };
    this line return a page contain { status=true} but what if i want to reload the page without goin to another page

  • @osmanylmaz137
    @osmanylmaz137 7 ปีที่แล้ว

    Do you have the code of this application made only with ASP.Net?

  • @eppakayalanaresh818
    @eppakayalanaresh818 7 ปีที่แล้ว

    HI Sourav mandal
    when i try to add new table it gives me an error "value does not fall within the expected range" could you help me out.
    Thanks :-)

  • @undocumentox
    @undocumentox 6 ปีที่แล้ว

    Hi. I wold like to do this with multiple table. for example the master detail entry that you did!!

  • @sam0070070071981
    @sam0070070071981 7 ปีที่แล้ว

    sourav, i am getting following errors..can u plz rectify it..
    using latest mvc 5.2.3 and all the stuff u have mentioned here..plz help
    Uncaught TypeError: Cannot read property 'unobtrusive' of undefined
    at HTMLDivElement. (Index:76)
    at HTMLDivElement. (jquery-3.1.1.min.js:4)
    at Function.each (jquery-3.1.1.min.js:2)
    at r.fn.init.each (jquery-3.1.1.min.js:2)
    at Object. (jquery-3.1.1.min.js:4)
    at i (jquery-3.1.1.min.js:2)
    at Object.fireWith [as resolveWith] (jquery-3.1.1.min.js:2)
    at A (jquery-3.1.1.min.js:4)
    at XMLHttpRequest. (jquery-3.1.1.min.js:4)

  • @anbuanbu6591
    @anbuanbu6591 3 ปีที่แล้ว

    Hi,
    Kindly create one video for real time professional project structure like design pattern.

  • @sachingreat222
    @sachingreat222 7 ปีที่แล้ว

    dear sourabh we all are facing problems in popup and class file plz share some easy steps . In my project popup are coming but unable to save or edit Operations giving class file error

    • @salimakdum5492
      @salimakdum5492 7 ปีที่แล้ว

      Same Problem.... Can you help us

  • @akashdubey2849
    @akashdubey2849 5 ปีที่แล้ว

    can we validate it using javascript?

  • @joseg6324
    @joseg6324 7 ปีที่แล้ว

    Excelente me ha servido, muchas gracias

  • @MuhammadBilal-oc2dv
    @MuhammadBilal-oc2dv 6 ปีที่แล้ว

    Hello Sir! This video is really helpful but am facing an error in it. Sir 23:45 time the step u did mean MyDatabaseEntities reference not making link with using datatableCRUD.Models.. sir,will b grateful if tell.y???

  • @rachidmaarous1305
    @rachidmaarous1305 7 ปีที่แล้ว

    how can i display image from database in this datatable? thanks

  • @jimmaleendesilva6391
    @jimmaleendesilva6391 7 ปีที่แล้ว

    Hi sourav. this one's a great tutorial! however, I keep on getting an error when saving the changes in edit. After debugging,i found out that the error is in dc.SaveChanges();
    I badly need your help on this. TIA!

  • @adilkevin6220
    @adilkevin6220 5 ปีที่แล้ว

    Sir can you prepare a video in a web application I want visual studio code editor where in user can write code and test it. Just like online coding exams

  • @juvnle69
    @juvnle69 6 ปีที่แล้ว

    Hi Sourav, I am having problems. It does not let me add OrderBy, it says object does not contain a defnition for OrderBy even though I followed everything you did. Would you know why and how I can fix this?

    • @souravmondal45
      @souravmondal45  6 ปีที่แล้ว

      Can you please show me where you are adding the order by?

    • @juvnle69
      @juvnle69 6 ปีที่แล้ว

      @22:44 in the video, when you type OrderBy. When I type it nothing comes up from the options and when I do type it in myself it is underlined in red.

  • @Arudian
    @Arudian 7 ปีที่แล้ว

    Thank you, it helped me a lot.

  • @jaylovett2237
    @jaylovett2237 7 ปีที่แล้ว

    @sourav mondal - Great Tutorial. Do you have an example of how to bind a drop down list to the selected item. In my save action the DDL is not binding.

    • @souravmondal45
      @souravmondal45  7 ปีที่แล้ว

      Sorry but I don't have this example with drop down, but can you show me your code so I can help you.

    • @manikandan-dw5gh
      @manikandan-dw5gh 3 ปีที่แล้ว

      The @sourav Monal DataTable is not showing in browser and I am having a huge problem, the following error is coming up: DataTables warning: table id = myDatatable - Invalid JSON response please reply me ASAP.

  • @pardhasaradhi0076
    @pardhasaradhi0076 7 ปีที่แล้ว

    good video sourav, But i had a question.I had huge dataset(more than 2 lakhs records of a table) , need pagination, sorting, filtering without performance issues and without using stored procedure. How can i achieve this?

    • @souravmondal45
      @souravmondal45  7 ปีที่แล้ว

      you can see this video th-cam.com/users/edit?o=U&video_id=oCouA3tuA3o, where I have shown Part 2 - jQuery Datatable server side pagination and sorting in ASP.NET MVC application

    • @pardhasaradhi0076
      @pardhasaradhi0076 7 ปีที่แล้ว

      This video doesn't have any video and i will tell you one requirement then you suggest me.i.e., suppose iam developing an web application here i had users table having 2 lakh records, i want to show them in a grid tha might be webgrid or datagrid or jqgrid or anything with pagination, sorting, search technique. With good performance . How did i achieved this one?

    • @souravmondal45
      @souravmondal45  7 ปีที่แล้ว

      See this video th-cam.com/video/oCouA3tuA3o/w-d-xo.html

  • @yasooosuniy8303
    @yasooosuniy8303 4 ปีที่แล้ว

    how can Display image in This Table from Database???????

  • @amitkumawat24
    @amitkumawat24 7 ปีที่แล้ว

    Awesome one Sourav, Keep it up (y)

  • @SAIRICHITHAY_GACS
    @SAIRICHITHAY_GACS 2 ปีที่แล้ว

    Can u post validations for delete pls

  • @rashedmamun3759
    @rashedmamun3759 7 ปีที่แล้ว

    It's a very nice video for beginner. I am facing few problem, when I click the button it shows the popup without any design and I can't find the reason. May I expect any help please?

    • @souravmondal45
      @souravmondal45  7 ปีที่แล้ว

      have you added all the required css? I have used jquery-ui.min.css CSS from modal popup design

    • @rashedmamun3759
      @rashedmamun3759 7 ปีที่แล้ว

      Thanks for your response. Yes, I have added all references, please have a look -

    • @souravmondal45
      @souravmondal45  7 ปีที่แล้ว

      can you show me how it looks like now?

    • @rashedmamun3759
      @rashedmamun3759 7 ปีที่แล้ว

      Sure, please see in the link -
      postimg.org/image/k2slwpxpf/
      OR
      s21.postimg.org/av0dg0qnb/CRUD.jpg

  • @zuelahmmed2565
    @zuelahmmed2565 5 ปีที่แล้ว

    hi Mr. sourav mondal jquery is not working in popup page

  • @rizwanmumtaz9677
    @rizwanmumtaz9677 4 ปีที่แล้ว

    please make same output video without mvc in asp.net webform.

  • @kanikak5533
    @kanikak5533 4 ปีที่แล้ว

    please help me out to detect text from image using google vision API in MVC asp.net web framework

  • @robertthebruce786
    @robertthebruce786 6 ปีที่แล้ว

    Hi,
    I have a problem with this program.
    The dialog box is popped up with details from the controller which is called by Ajax call when the hyperlink is clicked.
    But the problem is the controller is not called again when the hyperlink is clicked again. Thus the data loaded into the dialog box is old data and not th recent data.
    I tried putting cache : false . But it still doesn't work. Please help out someone.
    The crux of my question is :
    The call to the controller is happening only once when the hyperlink for edit/delete is clicked.
    Thus the dialog box is loaded with old data. Setting cache:false doesn't seem to work

    • @robertthebruce786
      @robertthebruce786 6 ปีที่แล้ว

      Update : This issue only seems to be in ie11 .....the call to the controller is made when running the application from Google chrome or Firefox....does anyone know how to solve this issue??? Putting cache:false in the Ajax call doesn't seem to help....thanks in advance

  • @nadirhussain1115
    @nadirhussain1115 7 ปีที่แล้ว

    Dear Sourav ,
    i am facing problem when i press edit or delete.i get the fallowing error.
    the URL like this
    localhost:62642/DataBase/Save
    and the error is given below
    Server Error in '/' Application.
    The parameters dictionary contains a null entry for parameter 'ID' of non-nullable type 'System.Int32' for method 'System.Web.Mvc.ActionResult Save(Int32)' in 'loginTemplate.Controllers.DataBaseController'. An optional parameter must be a reference type, a nullable type, or be declared as an optional parameter.
    Parameter name: parameters
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.ArgumentException: The parameters dictionary contains a null entry for parameter 'ID' of non-nullable type 'System.Int32' for method 'System.Web.Mvc.ActionResult Save(Int32)' in 'loginTemplate.Controllers.DataBaseController'. An optional parameter must be a reference type, a nullable type, or be declared as an optional parameter.
    Parameter name: parameters.
    i think on click edit or delete the hidden ID is not working.the value is going null.so how should i get the value from server to java script code
    Please help.

  • @samuelboanergeescobarbarah6196
    @samuelboanergeescobarbarah6196 6 ปีที่แล้ว

    I need your help, in the home controller shows me a message that says "The name MyDatabaseEntities does not exist in the current context", what am I doing wrong?

    • @wajahatali1248
      @wajahatali1248 5 ปีที่แล้ว

      it is because of your database name is not MyDatabase, MyDatabaseEntities is inherit from DbContext, check your the name inherit from Dbcontext

  • @tvuong2003
    @tvuong2003 7 ปีที่แล้ว +4

    sourav mondal,
    Awesome sample, thanks
    THe only issue i have is I am using a form with Layout and it does not work for me.
    Any advice?
    Thanks,
    Ty

    • @souravmondal45
      @souravmondal45  7 ปีที่แล้ว

      +Thai Vuong you should check once that all the required JavaScript file is added those are required and in proper order...

    • @tvuong2003
      @tvuong2003 7 ปีที่แล้ว

      sourav mondal,
      I will give that a try. do the order of the js files are critical? they need to be in sequence?
      my project, I'm using a shared layout.

    • @tvuong2003
      @tvuong2003 7 ปีที่แล้ว

      Again, I am using MVC form wuth ommon layout.
      What would be the issue when the pop only shows once. If I close it, I can't get it to popup again, unless I refresh the page.

    • @bigyandevkota5637
      @bigyandevkota5637 6 ปีที่แล้ว

      @MALIK ASAD -- awesome thanks it works

    • @amittiwari-vc6wv
      @amittiwari-vc6wv 5 ปีที่แล้ว

      can anybody tell how to correct this, Thai Vuong