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:671361
More Search Options
RSS Available
Matching Posts
Re: Failing to pass parameter value to Controller
The reason I said make a route with "socios/{action}/{numSocio}" was because if you use "{controller}/{action}/{numSocio}", then your next route "{controller}/{action}/{id}" won't be reached. You'd have to change your generic "id" to "numSocio" (if you've used that notation elsewhere of course).
Posted to
ASP.NET MVC
(Forum)
by
nanexcool
on 4/1/2008
Re: Failing to pass parameter value to Controller
From what I can see, that route is wrong... The reason you are getting "numSocio" null is because the route that's matching is not the one you want, but "{controller}/{action}/{id}", and that when you go to /socios/lista/10, that 10 is being passed to "id". Solution: Your route with "ListaSocios.aspx" is wrong. Change it to: routes.Add( new Route ( "socios/{action}/{numSocio}" , new MvcRouteHandler ()) { Defaults = new RouteValueDictionary ( new
Posted to
ASP.NET MVC
(Forum)
by
nanexcool
on 4/1/2008
Re: Lowercase URLs
[quote user="abombss"] You can create own extension method that delegates to one of the existing ones then calls .ToLower() on the return value. [/quote] Sounds good, I'll try that!
Posted to
ASP.NET MVC
(Forum)
by
nanexcool
on 1/14/2008
Lowercase URLs
Any chance there will be a way to standarize URLs so that they are always lowercase? If I use HtmlAction, since my controllers start with a capital letter (CategoryController for example) and my actions also begin with capital (Show(int id)), the URL rendered is /Category/Show. I don't want to use lowercase in my classes and methods as this is kinda against standards. I know this is a purely aesthetic thing and it doesn't change how IIS treats URLs since it's case-insensitive (as far
Posted to
ASP.NET MVC
(Forum)
by
nanexcool
on 1/14/2008
Re: Change Membership config programatically?
thanks, I'll check it out!! Looks like it's just what I was looking for!
Posted to
Security
(Forum)
by
nanexcool
on 12/2/2006
Change Membership config programatically?
I know I can read properties from my Membership Provider like Membership .MinRequiredPasswordLength Is there a way to write a new value to it? Through the web.config file? I want to allow the site admin to change some values from an admin page, like Password Length, or required alphanumerical characters in passwords. Thanks
Posted to
Security
(Forum)
by
nanexcool
on 12/2/2006
AJAX + IIS7?
Greetings. I'm using Windows Vista RC2 as my development machine. I'm programming a web app using AJAX Beta 2 + November CTP using Visual Web Developer Express. When I test the app using the local webserver of VWD, everything works fine. When I deploy to c:\inetpub\wwwroot\ AJAX stops working. I'm getting a js error that says 'Sys is undefined', which makes me think it's not loading Microsoft.Web.Extensions.dll. Anyone having this problem? BTW, I've deployed the app to another machine running Windows
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
nanexcool
on 11/29/2006
Re: Ajax support by Web Hosts?
As of Beta 1 and 2, the AJAX dll is part of the GAC, so a server admin needs to install it on the server, won't work like before where you had the dll in your bin dir. Basically, you'll have to wait till your host adds AJAX support, which probably won't be till the final version is released...
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
nanexcool
on 11/16/2006
Re: ajax noob question
Could you post some code from your page?
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
nanexcool
on 11/15/2006
Re: More than one async callback
This question is similar to an issue I had. The post and code sample is at http://forums.asp.net/thread/1435800.aspx Two update panels, two buttons. Delayed execution for testing purposes. Clicking one button then the other before the first callback completes cancels the callback and executes the other.
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
nanexcool
on 11/14/2006
Page 1 of 3 (21 items) 1
2
3
Next >
TechNet Edge:
FPE Customer Story
Silverlight:
Being a writer, and having an editor. A Short Rant.
Channel 9:
Channel 9 Live at PDC09: Dr Brian Brooks (3M)
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 13 of 13
Silverlight:
Information for Silverlight HVP Developers…
WindowsClient:
Custom Content Loaders in Silverlight 4.0
WindowsClient:
MVVM Links\Info
TechNet Edge:
Check out how Dolly Parton uses IE8 and Web slices!!!
Silverlight:
A Silverlight HVP Update
Channel 9:
Channel 9 Live at PDC09: This Week on Channel 9 - PDC09 Daily Show Edition Day 1
Channel 9:
Maria Klawe: Scholar, Scientist and Microsoft Board Member
Channel 10:
Play the Bing Sherlock Holmes Game
Channel 9:
Channel 9 Live at PDC09: Loic Le Meur
Channel 10:
How to Delete Jump List Items
Channel 10:
Roll Back to Classic Network Indicator in Win7
Channel 9:
Jafar Husain: Silverlight Toolkit and Rx, Part 2
Channel 9:
Ping 42: Is Microsoft cool? Photo DNA, Win7 tool, 10k MIX contest
Channel 9:
Jafar Husain: Silverlight Toolkit and Rx, Part 1
Channel 9:
Francesco Logozzo - Static Checking with Code Contracts for .NET
Channel 9:
Channel 9 Live at PDC09: Doug McCuistion, NASA
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online