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:722895
More Search Options
RSS Available
Matching Posts
authentication problems or bugs?
There are 3 web apps. Site A and B are both ASP.NET Web Application with FormsAuthentications configurations, and there is a protected folder in site B which also configured correctly in the web.config. Site C is a classic ASP web which keep authentication status with Session. Now please consider the following steps: 1, There is a link with target="_blank" property on a page of site A and link to the protected folder of site B; 2, Click this link you should open the site B in a new browser
Posted to
Security
(Forum)
by
shinyzhu
on 11/6/2008
Re: How should I use my code?
Actually you can build a separated assembly contains the utilities. Then you can add a reference to this assembly to your current project. Hope to help
Posted to
ASP.NET MVC
(Forum)
by
shinyzhu
on 9/12/2008
Re: A note about MvcFutures and ASP.NET MVC Beta
Oh, I really want to know when the beta release.
Posted to
ASP.NET MVC
(Forum)
by
shinyzhu
on 9/7/2008
Re: One Controller for many Views
I think you can return different views in one action. Please use the overloaded method Controller.View(string viewName) . For example, you may use the following code in an action named SomeAction: public ActionResult SomeAction(){ if (wantToRenderAnotherView){ return View( "AlternateView" ); // this will return the "AlternateView.aspx" under folder /Views/{controllerName}/ } return View(); // this statement will return the "SomeAction.aspx" under folder /Views/{controllerName
Posted to
ASP.NET MVC
(Forum)
by
shinyzhu
on 8/29/2008
Re: How could we use fckeditor under MVC mode?
Hey, I think you can try using clear javascript code. I've embedded fckeditor in my MVC project successfully. I use the FCKeditor.ReplaceTextarea method. and then I get the value of the textarea that formatted by fckeditor correctly. I hope this would help you.
Posted to
ASP.NET MVC
(Forum)
by
shinyzhu
on 8/29/2008
Re: Html.ActionLink produces ?key=value&key1=value1 instead of route URL
In order to route the url, you should add a controller named TimsController and an action named ShowDate. The prototype of the method ShowDate would like: public ActionResult ShowDate(string year,string month,string day); Then you can get it right. Hope it works.
Posted to
ASP.NET MVC
(Forum)
by
shinyzhu
on 7/11/2008
Re: Would you like a Calendar in your View?
Thanks. I'll update the calendar as I can. And comments or suggestions are great welcome.
Posted to
ASP.NET MVC
(Forum)
by
shinyzhu
on 7/11/2008
Re: Html.ActionLink produces ?key=value&key1=value1 instead of route URL
Yes, exactly. The RouteValueDictionary is performed as the query string key/value pairs. That's what the Routing was doing. You just need customize your routes in Global.asax.cs file like: routes.MapRoute("ShowMyDate","Times/ShowDate/{year}/{month}/{day}",new{ controller="Times", action="ShowDate"}); Then you'll get the url you want to.
Posted to
ASP.NET MVC
(Forum)
by
shinyzhu
on 7/11/2008
Would you like a Calendar in your View?
Hey, guys. I've just extended the HtmlHelper to generate a well-formed XHTML Calendar. And I know many persons need it to make archive or other systems. It looks like: And the code you could use in your view is: <%= Html.Calendar() %> And I've create a project on codeplext to host these utilties: http://www.codeplex.com/mvcapps It's also have a brief intro on my own blog: http://shinyzhu.com/blog/entry/aspnet-mvc-calendar Great great great thanks for your comments.
Posted to
ASP.NET MVC
(Forum)
by
shinyzhu
on 7/11/2008
Filed under: calendar
Re: how to make route for this URL
It's not so difficult to do. One of my route is looks like: /sichuan/aba/jiuzhaigou/routes/browse/jiuzhai-heaven-double-flights-four-days.aspx In your case, you can map the route like: routes.MapRoute("CustomRoute","admin/{controller}/{action}/{id}",new{controller="YourDefault",action="Index",id=""}); maybe you should add the YourDefaultController to route the "/admin" request. Now you can add the CategoryController or ManufecturerController
Posted to
ASP.NET MVC
(Forum)
by
shinyzhu
on 7/3/2008
Page 1 of 3 (23 items) 1
2
3
Next >
ASP.NET:
ASP.NET MVC 2 RC Released
WindowsClient:
Very exciting Microsoft Pivot from Live Labs
WindowsClient:
XAML for UI & .rc files
TechNet Edge:
DNS Security (DNSSec) Overview
Silverlight:
Silverlight 4 demos from my PDC Keynote now available
Channel 9:
Channel 9 Live at PDC09: Dave Campbell
Channel 9:
Channel 9 Live at PDC09: Yousef Khalidi
Channel 9:
Twitter App for Zune Launches
WindowsClient:
Incarnate
WindowsClient:
Track Fedex packages with Bing
Channel 9:
Marty O'Donnell - The man behind the Halo Music
Channel 10:
Twitter App for Zune Launches
WindowsClient:
Rotate your text in the WPF DataGrid Column Headers
WindowsClient:
New gameplay video with D&D on Surface
WindowsClient:
ViewModel Pattern and Speech as UI. Help me Obi Wan, where’s the View?
Channel 9:
Karsten Januszewski and Tim Aidlin: Introducing Incarnate
Channel 9:
Reactive Extensions API in depth: Retry
Channel 10:
iBing uBing: Bing iPhone App Arrives
WindowsClient:
Migrating an Outlook Client to .NET Framework 4 in Visual Studio 2010
Channel 10:
A Look Behind Mouse 2.0
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online