No announcements
Found 2425085 threads
-
0 Votes
this ViewDataDictionary instance requires a model item of type 'System.Collections.Generic.IEnumerable Error
Here, the item you pass to the partial view is type of Approval , while the partial view accpet a type of IEnumerableAnswered | 1 Replies | 6473 Views | Created by Anonymous - Friday, July 17, 2020 1:54 PM | Last reply by Anonymous - Monday, July 20, 2020 9:02 AM -
0 Votes
Model Item is of type System.Int32, reqyures System.Collections.Generic.IEnumerable
The model item passed into the dictionary is of type 'System.Int32', but this dictionary requires a model ...Answered | 2 Replies | 233 Views | Created by Anonymous - Saturday, March 17, 2012 7:44 PM | Last reply by Anonymous - Saturday, March 17, 2012 7:56 PM -
0 Votes
Problem with ViewDataDictionary retaining model type causing error
User-1072848465 posted I am marking this closed as it was an error on my part that I accidentally declared a model type on my shared view page that was ...Answered | 2 Replies | 703 Views | Created by Anonymous - Friday, December 8, 2017 8:02 PM | Last reply by Anonymous - Monday, December 11, 2017 12:33 PM -
0 Votes
Cannot implicitly convert type 'tblTranstoCon' to 'System.Collections.Generic.IEnumerable<tblTranstoCon>'
Please pay attention to this line of code: from transtocon in _Transmittaltocons Here is where defined type for transtocon object and it has the same ...Answered | 1 Replies | 2271 Views | Created by masoud sedighy - Friday, October 5, 2012 7:46 AM | Last reply by Michael Samteladze - Monday, October 8, 2012 10:10 AM -
0 Votes
The model item passed into the ViewDataDictionary is of type 'NozCoreWebApp3.Models.NzeelAll', but this ViewDataDictionary instance requires a model item of type 'NozCoreWebApp3.Models.ViewModel+NzAll'.
The type passed to the View must match the View's type declaration.Answered | 9 Replies | 5095 Views | Created by Anonymous - Tuesday, January 15, 2019 10:42 AM | Last reply by Anonymous - Thursday, January 17, 2019 8:23 AM -
0 Votes
The model item passed into the dictionary is of type 'System.Linq.OrderedEnumerable`2[TESTInternetMVC.Product,System.String]', but this dictionary requires a model item of type 'System.Collections.Generic.IEnumerable`1[TESTInternetMVC.Models.Product]'
My ASP.NET MVC app getting errored as below when trying to access data using Entity framework DATABASE FIRST..Answered | 1 Replies | 5637 Views | Created by Siraj-at-MSTechnologies - Saturday, May 9, 2015 6:46 AM | Last reply by Fouad Roumieh - Saturday, May 9, 2015 11:40 AM -
0 Votes
The model item passed into the dictionary is of type , but this dictionary requires a model item of type 'System.Collections.Generic.IEnumerable`1' in umbraco
User-369506445 posted hi it 's about your model you use a IEnumerable<abo.model.phone> in ...Unanswered | 3 Replies | 123 Views | Created by Anonymous - Saturday, March 28, 2015 2:46 AM | Last reply by Anonymous - Saturday, March 28, 2015 4:39 AM -
0 Votes
The model item passed into the dictionary is of type 'xxx.ViewModels.DashboardData', but this dictionary requires a model item of type 'System.Collections.Generic.IEnumerable`1[xxx.ViewModels.DashboardData]'.
Model.Answered | 7 Replies | 424 Views | Created by Anonymous - Sunday, June 25, 2017 8:11 AM | Last reply by Anonymous - Sunday, June 25, 2017 1:13 PM -
0 Votes
Adding new item types to modeling projects in VS2010
I want to add a new item type (so that it's shown in the dropdown when I select Add..New Item in a modeling project).Answered | 1 Replies | 4502 Views | Created by Paul_Toland - Tuesday, May 31, 2011 1:52 PM | Last reply by Jean-Marc Prieur - Wednesday, June 1, 2011 9:35 AM -
0 Votes
"IEnumerable<T>'requires '1' type arguments" error
Try this, determine the type of things you want to return in your list...Answered | 4 Replies | 1840 Views | Created by Gowthammanju - Tuesday, June 5, 2012 12:32 PM | Last reply by Viral Jain - Wednesday, June 6, 2012 6:50 AM -
0 Votes
External Content Type in Visual Studio with Item Picker for Identifier field
I can generate an ECT where the Create form shows the Item Pickers for the Identifier fields, but the View Item form and Update item forms fail with ...Answered | 5 Replies | 6536 Views | Created by PickleMe - Wednesday, March 7, 2012 8:55 AM | Last reply by iboga - Thursday, November 8, 2012 9:49 PM -
1 Votes
Stuck with instance based Model
Hi Vivek.Vishal, My guess is that maybe everything is ok, except that your model is infinite.Answered | 1 Replies | 4551 Views | Created by Vivek.Vishal - Tuesday, February 28, 2012 3:41 PM | Last reply by bububa - Wednesday, February 29, 2012 9:24 AM -
0 Votes
Error:- The model item passed into the dictionary is of type 'System.Collections.Generic.List`1[Elearning.Models.User]', but this dictionary requires a model item of type 'System.Collections.Generic.IEnumerable`1[Elearning.Models.Users_Classes]'.
User-540818677 posted i have the following Action method <p>@Html.ActionLink("Manage Students ", "Index", "User", new { ...Answered | 2 Replies | 68 Views | Created by Anonymous - Wednesday, July 20, 2011 3:13 PM | Last reply by Anonymous - Wednesday, July 20, 2011 3:52 PM -
0 Votes
Requirement for using SharePoint Object Modell
To add/edit/delete list items, you will need a handle on the Site Collection, Site and List that you want to update.Answered | 7 Replies | 21513 Views | Created by LPRE - Saturday, November 21, 2009 2:12 PM | Last reply by Nitin Nagar - Monday, November 23, 2009 7:49 PM -
0 Votes
The Instance ID is required but it is missing.
I got this error when I tried to add features to a SQL 2008 R2 instance from a SQL 2008 installation media.Answered | 3 Replies | 40125 Views | Created by rainbowII - Tuesday, January 10, 2012 8:05 PM | Last reply by Lex Dreamer - Tuesday, May 14, 2013 9:44 AM -
0 Votes
The model item passed into the dictionary is of type, but this dictionary requires a model item of type 'System.Collections.Generic.IEnumerable`.
*/ Or if you want a List<GroundStates>, then change your model code to do so, like this: public ViewResult ...Answered | 5 Replies | 173 Views | Created by Anonymous - Friday, January 18, 2013 6:09 AM | Last reply by Anonymous - Friday, January 18, 2013 1:04 PM -
0 Votes
TFS 2015: witadmin error "Object reference not set to an instance of an object" importing work item type
I logged this issue and Microsoft have come back saying it has been fixed in TFS 2015 Update ...Answered | 14 Replies | 3057 Views | Created by Kieran McNamara - Thursday, September 3, 2015 6:20 AM | Last reply by Kieran McNamara - Sunday, September 27, 2015 10:05 PM -
1 Votes
Requirement Work Item Customization
You must to create external job: Get set of requirements for iteration:Answered | 2 Replies | 481 Views | Created by Chirag Dhoopad - Tuesday, December 1, 2015 4:56 AM | Last reply by Chirag Dhoopad - Wednesday, December 2, 2015 4:58 AM -
0 Votes
Advantage of having value type and refrence type model
The advantage is performance: value type instances (except of boxed instances) do not make any pressure on Garbage Collector.Answered | 3 Replies | 3719 Views | Created by MohamedSaher - Tuesday, January 12, 2010 10:49 AM | Last reply by Vitaliy Liptchinsky - Tuesday, January 12, 2010 11:01 AM -
0 Votes
error: this dictionary requires a model item of type
model.FirstName) %> <%= Html.ValidationMessageFor(model => model.FirstName) %> </p> <p> ...Answered | 9 Replies | 69 Views | Created by Anonymous - Saturday, February 6, 2010 1:06 PM | Last reply by Anonymous - Tuesday, February 9, 2010 3:23 PM - Items 1 to 20 of 2425085 Next ›
No announcements