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:142177
More Search Options
RSS Available
Matching Posts
Re: How to Nunit test OnActionExecuted in Preview 5
You'll find that you can't simply call OnActionExecuted() on the controller because it's a protected member. But the controller also explicitly implements the IActionFilter interface, so you can call it if you cast it to IActionFilter first: (( IActionFilter )controller).OnActionExecuted(filterContext); And as mentioned above you pass that exception in the ActionExecutedContext: Exception ex = new Exception (); ActionExecutedContext filterContext = new ActionExecutedContext (controller
Posted to
ASP.NET MVC
(Forum)
by
Leonid Tsybert
on 10/9/2008
Re: Post SP1 Beta + DD 5/12 Update Error: Cannot Create an Abstract Class
This kind of a guess, but try the following: iisreset /stop Delete all items from windows\Microsoft.Net\Frameworks\v2.0.50727\Temporary ASP.Net Files\YOUR_APP_NAME iisreset /start And request again. The reason I think this might work is because you say it works for the ASP.Net Dev Server, but not IIS. So maybe the IIS version wasn't dynamically compiled right. It's something to try.
Posted to
ASP.NET Dynamic Data
(Forum)
by
Leonid Tsybert
on 5/16/2008
Re: no Dynamic Data Website Wizard (Preview) template when create new web site
This is very much a shot in the dark, but could it be because you're running Chinese version of VS? The install script we have is pretty simple and doesn't handle all the languages that VS supports. 1033 is a code for English, maybe it will work if you move it to the directory for Chinese. Try this: in the directory C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\ProjectTemplates\Web\CSharp\ is there another number, like maybe 2052? Try putting the zip file in that directory if you
Posted to
ASP.NET Dynamic Data
(Forum)
by
Leonid Tsybert
on 5/9/2008
Re: What's the best way to get this running on a live server?
Probably not. In a hosting environment, you are limited to using the framework that the hoster sets up on the shared machine. Our preview requires you to update the System.Web that is in the GAC with our "preview" version that enables DynamicData functionality in existing controls like GridView, etc. Since this is a machine-wide change, most hosters will probably not let you overwrite framework dlls with a "preview" version just for one app.
Posted to
ASP.NET Dynamic Data
(Forum)
by
Leonid Tsybert
on 4/28/2008
Re: Using FilterUserControl
Can you please provide an example page that you are trying to work? To use the FilterUserControl a custom page that you create, you do something like this: First, register the control: <% @ Register src ="~/DynamicData/Content/FilterUserControl.ascx" tagname ="DynamicFilter" tagprefix ="asp" %> Then, place the control (its tag name will now be DynamicFilter) on the page: < span > Author: </ span >< asp : DynamicFilter runat ="server" ID
Posted to
ASP.NET Dynamic Data
(Forum)
by
Leonid Tsybert
on 4/25/2008
Re: Dropdown not consistently being displayed
It could be something specific to those tables. Can you please paste in a sample schema for your "user" and "user type" tables? What type are the PKs in the both tables?
Posted to
ASP.NET Dynamic Data
(Forum)
by
Leonid Tsybert
on 4/22/2008
Re: Beginer Question
Can you make sure you are not missing the "System.Linq" namespace import statement?
Posted to
ASP.NET Dynamic Data
(Forum)
by
Leonid Tsybert
on 4/21/2008
Re: Dynamic Data March Update findings (used the wizard)
Can you please explain what you mean by "anonymous code items"? Also, to repro this, you just use the wizard to create the custom pages for the Customers table? Are there any other steps/customization that you are doing that we should be aware of to reproduce this problem?
Posted to
ASP.NET Dynamic Data
(Forum)
by
Leonid Tsybert
on 4/15/2008
Re: Update a row in a gridview [Re: DateTime field format]
Is it possible that your Linq model is out of sync with your database, or that the bound fields on your page our out of sync with your linq model? When that error happens for me that is usually what causes it.
Posted to
ASP.NET Dynamic Data
(Forum)
by
Leonid Tsybert
on 4/15/2008
Re: What is the criteria for the foreign key display string?
The default criteria is the first column of type String that's not a PK. This is just our best guess so that most scaffolded databases look reasonable out of the box. If you'd like to show a specific string, you should add [DisplayColumn] attribute to the metadata class. For the second question, in the December CTP build, the only way to customize the page for the table and add a <DynamicControl> for the specific column you want to display. In the latest bits, you can use the [Scaffold
Posted to
ASP.NET Dynamic Data
(Forum)
by
Leonid Tsybert
on 4/1/2008
Page 1 of 23 (226 items) 1
2
3
4
5
Next >
...
Last »
WindowsClient:
XslCompiledTransform and large template elements
WindowsClient:
The Future of Client App Dev : WPF and Silverlight Convergence
Channel 9:
PDC09 GeekFest Party
Channel 10:
How to Use "Play to" and "Remote Media Streaming" in Windows 7
Channel 9:
The Visual Studio Documentary: Jeff Hadfield Full Length Interview
TechNet Edge:
Managing Your Entire World - Tech Focus November 2009 Part 3
Channel 9:
The Access Show: Managing Access Databases with SharePoint
Channel 10:
Show Us Your Tech - Mark Pendergrast Edition
TechNet Edge:
Mark Russinovich interview at TechEd EMEA 09
TechNet Edge:
IT Manager Podcast #31: Talking About Virtualization
TechNet Edge:
System Center Operations Manager 2007 R2 – Service Level Dashboard part 1: Introduction
WindowsClient:
MSXML XHTML DTDs - making the web better
TechNet Edge:
How it works: Active Directory Rights Management Services
Channel 9:
Inside Windows 7: Recovering Windows from System Degradation and Boot Failures
Channel 10:
Ebay Launches IE8 Webslice for Holiday Shopping
Channel 10:
New Windows Smartphone Includes Built-in PowerPoint Projector
Channel 10:
Bing's Top Searches Reveal Our Celeb Obsessions
Channel 9:
Ping 39: Chrome is here, Dancing in MS Stores, Iphone & Bing
ASP.NET:
Building Twitter Search using the ASP.NET Ajax Library Beta – Part 1
Silverlight:
Using Azure as a Silverlight Streaming replacement
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online