If your getting below error, LINQ to Entities does not recognize the method ‘System.Object get_Item(System.String)’ method, and this method cannot be translated into a store expression. then below is solutions, Actually this happen when we try to use collection object or viewdata, viewbag, tempdata object in linq query. Take those value in variable first and […]


Alert Dialog From Controller Without Javascript In ViewAlert dialog popup can be done from controller and even its server side but very useful when you want to display alert in less code. Define and declare TempData variable before return statement, as show in below code. Its easy to create alery dialog from controller and not […]

Uncategorized Leave a comment