Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:452413
More Search Options
RSS Available
Matching Posts
Re: I forgot how to use ASP.NET Forms! Thanks alot MVC. How will I find work!?
i am willing to forget web forms for MVC. :D Though I will say I was in the same group for a while. I actually did some php mvc work for a couple months then jumped to asp.net mvc and did a few things. Then I needed to give a presentation that couldn't use MVC so I went back to webforms and was going wtf???? for a bit until i rememberd about IsPostback.
Posted to
ASP.NET MVC
(Forum)
by
percent20
on 10/23/2008
Re: How do I pass multiple lists to a view from a controller.
This should help I had the same question a while back. http://forums.asp.net/t/1314847.aspx
Posted to
ASP.NET MVC
(Forum)
by
percent20
on 10/10/2008
Re: Different Methods of Getting Data to the View
That kind of make sense. I'll work more with MVC and i'm sure i'll get it. Thanks for all the help it was really made things a lot easier to understand.
Posted to
ASP.NET MVC
(Forum)
by
percent20
on 9/3/2008
Re: Different Methods of Getting Data to the View
That is pretty easy, but what about one of your other statements? [quote user="tgmdbm"] (there is another stage to talk about but we'll get to that once you're comfortable with this) [/quote] Can you expand off on that?
Posted to
ASP.NET MVC
(Forum)
by
percent20
on 9/3/2008
Re: Different Methods of Getting Data to the View
Ok, so I want to kind of repeat to you how I understand things. Basically create a ViewData Class that is "preset" as to what is going to be shown on a specific view. The view inherits that class to make it easier for the View and the Coder to understand what is going on. And you know what data is going to be available to you similar to, go with me here, an interface is a contract type thing. Is that kind of right?
Posted to
ASP.NET MVC
(Forum)
by
percent20
on 9/3/2008
Re: Different Methods of Getting Data to the View
Ok, so the next question is doing the strongly typed views. What is the purpose and can you do the casted type data transfer with it (seems so just want to be sure). I think the strongly typed views is what confuses me sooo much.
Posted to
ASP.NET MVC
(Forum)
by
percent20
on 9/3/2008
Re: Different Methods of Getting Data to the View
So just to be sure I am good so far I have some more C# and ASP.NET and what I think the output should roughly be. 1 List< string > list1 = new List< string >(); 2 list1.Add( "Hello" ); 3 list1.Add( "World" ); 4 5 List< string > list2 = new List< string >(); 6 list1.Add( "This is" ); 7 list1.Add( "ASP.NET MVC" ); 8 9 List blobs = new List(); 10 blobs.Add( new Blob( "prop1" , "prop2" )); 11 blobs.Add( new Blob( "I
Posted to
ASP.NET MVC
(Forum)
by
percent20
on 9/3/2008
Re: Different Methods of Getting Data to the View
[quote user="tgmdbm"] It's very simple really. As a concept there is only 1 way to get data to the view and that is the ViewData. ViewData has two ways of adding data. And that is 1) the dictionary, and 2) the Model. In the simplest form you would use the dictionary part of the ViewData as follows Controller: ViewData["MyList"] = list; return View(); View: <% var list = (List<string>) ViewData["MyList"] %> you need the cast because the dictionary isn't
Posted to
ASP.NET MVC
(Forum)
by
percent20
on 9/3/2008
Different Methods of Getting Data to the View
So this is kind of a broad thing to ask, but I want to lay out a bit of my problem and how I am wanting to figure this out. First, when I look at tutorials on getting data from the controller to the view it seems like I see all sorts of different ways to do it and can't keep track of them. Second, because of the first thing i am utterly confused so I am comeing here to hopefully have it explained to me. Third, What I would like to do is treat this thread as a conversation in that i'd like
Posted to
ASP.NET MVC
(Forum)
by
percent20
on 9/3/2008
Re: MVC with ADO.NET
I figured it out. I was just making it to complicated. I created a new class in the models folder did the regular ado.net stuffs. Created and instance of it in a controller and calld the method and it worked like a charm. Thanks. Maybe one day i'll figure out things aren't usually as complicated as I make them.
Posted to
ASP.NET MVC
(Forum)
by
percent20
on 8/24/2008
Filed under: model, ADO.NET, ASP.NET MVC
Page 1 of 20 (200 items) 1
2
3
4
5
Next >
...
Last »
Channel 9:
E2E: Brian Beckman and Erik Meijer - Co/Contravariance in Physics and Programming, 1 of 2
TechNet Edge:
Windows Server 2008 R2 Quick Look #3 - PowerShell V2
ASP.NET:
2009 Blogged - Greatest Hits
WindowsClient:
2009 Blogged - Greatest Hits
Channel 9:
Nikolaj Bjørner and Leonardo de Moura: The Z3 Constraint Solver
Channel 9:
MEF & Silverlight 4 Beta - Part 2, Imports & Exports
Channel 9:
MEF & Silverlight 4 Beta - Part 1, Introduction
WindowsClient:
The (Near) Final Word on Multi-Monitor Taskbars for Windows 7 - Ultramon vs. DisplayFusion
WindowsClient:
Looking back at 2009, and forward to 2010
Silverlight:
Polling Video – A Viable sub-second alternative?
TechNet Edge:
Windows Server 2008 R2 Quick Look #2 - Active Directory Recycle Bin
Channel 10:
I'm a Windows 7 PC Themes
Channel 10:
24 Years of Windows Box Art
WindowsClient:
Silverlight tutorial: HOW TO build CommandLink Control in Silverlight with Expression Blend 3 and Behaviors
ASP.NET:
Converting an RGB Color To Hex With JavaScript
Silverlight:
Silverlight HVP Design – Configuration & Scenarios
Channel 9:
Channel 9 Live at PDC09: Day 3 Welcome
Channel 9:
Channel 9 Live at PDC09: TWoC9 Day 3
Channel 10:
Microsoft's Mobicast: Stiched Cell Streams
Channel 10:
Festive Bing
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online