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:783027
More Search Options
RSS Available
Matching Posts
MVC & Paging
Just a quick question: Can we expect some sort of native support for paging in the next release? Thanks!
Posted to
ASP.NET MVC
(Forum)
by
AlexBecker
on 10/10/2008
Get rendered HTML before returning
Sorry for opening another thread of this kind but nobody answered to the others asking the same thing so I thought I'd try my luck. I need to get the rendered HTML of a view like it was once possible in preview2 using RenderView. I want to return the HTML through on a Json object along with other properties. Is there any non hack way of going about this? Thanks in advance.
Posted to
ASP.NET MVC
(Forum)
by
AlexBecker
on 7/27/2008
Re: Why routing {controller}.mvc isn't built into the framework?
[quote user="CW2"] Would not it be possible to declare routes just once without ".mvc" and then modify route table during application startup to include ".mvc" when running on IIS6? Or perhaps better the other way round, declare them with ".mvc" and remove the substring (simple Replace method call) on IIS7? [/quote] Yes, I suppose I'll have to do something like that..
Posted to
ASP.NET MVC
(Forum)
by
AlexBecker
on 7/25/2008
Re: Why routing {controller}.mvc isn't built into the framework?
[quote user="SteveSanderson"]It seems that most ASP.NET MVC users are quite enthusiastic about using "clean" extensionless URLs, so in most cases the ".mvc" is unwanted. There are lots of ways to achieve extensionless URLs in IIS6 (e.g. these and this ). [/quote] Well, of course I want my urls to be clean, I mean.. why would I want the .mvc thing or .whatever always stuck in the URL?. But as you know, to have extensionless URLs in IIS6 the routes must be set up with
Posted to
ASP.NET MVC
(Forum)
by
AlexBecker
on 7/25/2008
Why routing {controller}.mvc isn't built into the framework?
Hi. So, this whole routing thing is really driving me insane. For every route I declare I have to also declare a duplicate and set the controller part to {controller}.mvc . Not only that but I have to declare all of the .mvc routes before the non .mvc ones thus making mi Html.ActionLinks to be rendered as {controller}.mvc . So if I were to have a large group of routes I would have to constantly check if every route has it's corresponding .mvc copy. What I don't really understand is why this
Posted to
ASP.NET MVC
(Forum)
by
AlexBecker
on 7/24/2008
SelectLists and null values
Most times I don't want a preselected item. It's too bad that SelectList(System.Collections.IEnumerable items, string dataValueField, string dataTextField, object selectedValue) doesn't take a null for selectedValue and automatically appends a <option value="" /> to the <select>.
Posted to
ASP.NET MVC
(Forum)
by
AlexBecker
on 6/25/2008
Re: Drop Down List NOT from datasource
If you don't want to write the HTML you can do something like this Controller: Dictionary<string,string> states = new Dictionary<string,string>(); states.Add("NY", "New York"); states.Add("PA", "Pennsylvania"); .... ViewData["States"] = new SelectList(states, "Key", "Value", "NY"); return View("Index"); //// Page.aspx <%= Html.DropDownList("States") %>
Posted to
ASP.NET MVC
(Forum)
by
AlexBecker
on 6/23/2008
Re: DropDownList
I'll check that out, thank you!
Posted to
Web Forms
(Forum)
by
AlexBecker
on 6/20/2008
DropDownList
Most times I don't want a preselected item. it's too bad DropDownList(System.Collections.IEnumerable items, string dataValueField, string dataTextField, object selectedValue) doesn't take a null for selectedValue. Well, it takes it, it just doesn't do anything with it. Is there any other way than adding a new "blank" item in the IEnumerable? Thanks
Posted to
Web Forms
(Forum)
by
AlexBecker
on 6/19/2008
Re: Another MVC + AJAX
Awesome, I didn't even try View() for rendering user controls, I thought it only worked for pages. Thanks!
Posted to
ASP.NET MVC
(Forum)
by
AlexBecker
on 6/18/2008
Page 1 of 2 (19 items) 1
2
Next >
Channel 10:
Progression of the Iconic Background
WindowsClient:
ASP.NET AJAX 4.0 Data Binding on MSDN Magazine
WindowsClient:
Don’t miss out..
TechNet Edge:
Improving Collaboration with SharePoint - Tech Focus December 2009 Part 1
Channel 9:
Channel 9 Live at PDC09: Scott Guthrie
Channel 10:
Get Discounted Concert Tickets at the New Windows Section 7
Channel 10:
Get Bing Wallpapers on the iPhone
Channel 10:
Bing Gets a New Toolbar
ASP.NET:
More on medium trust: what permission are you missing?
Channel 9:
Channel 9 Live at PDC09: Bob Muglia
WindowsClient:
Adventures With Windows Azure Diagnostics
Mix Online:
Adventures With Windows Azure Diagnostics
Channel 9:
Channel 9 Live at PDC09: Ray Ozzie
Channel 9:
Coding4Fun: DrinkTendr
Channel 9:
TWC9: Scott Hanselman, John Galloway, Bing, parallel unit tests, more
TechNet Edge:
ISA to TMG Migration Guidance
Channel 9:
Life at Microsoft: Episode 3
TechNet Edge:
Microsoft Windows Server 2008 to AITP
ASP.NET:
How important is medium trust to you?
WindowsClient:
Microsoft Web Platform & You
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online