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:7
More Search Options
RSS Available
Matching Posts
Re: Invalid DataContextPartialClass file generated for SQL columns with special characters in name
Thanks for reporting this issue. We are aware of the problem and are planning to fix it in a future Code Gallery release. --Bradley
Posted to
ASP.NET Dynamic Data
(Forum)
by
BradMi
on 6/6/2008
Re: Adding a column/changing schema
In response to... >> What I am trying to get at is... what do I need to add to get the column to show up? Is there more than what I posted above that is necessary? Hi Craig -- What you've added to the partial classes file looks fine. To get the column to appear in a wizard-generated page, you'll need to open up the page itself and add a DynamicControl to the ListView's ItemTemplate, e.g. <asp:DynamicControl DataField="<your new field>" runat="server"
Posted to
ASP.NET Dynamic Data
(Forum)
by
BradMi
on 5/3/2008
Re: SQL Server Database Item
I believe that the auto-attach capability depends on user instances, which is a feature only present in SQL Server Express. For this reason, Visual Studio contains an explicit check for the presence of SQL Express when creating/attaching to a local MDF. http://msdn.microsoft.com/en-us/library/bb264564.aspx User Instance Limitations The unique User Instance architecture introduces some functional limitations as follows: · User instances only work in the Express Edition of SQL Server 2005. Note that
Posted to
Visual Studio 2008
(Forum)
by
BradMi
on 4/30/2008
Re: Dynamic Data Wizard and VS Templates
Hi Perry, I agree with you, and we've actually been designing the wizard with extensibility in mind. However, since the wizard is still in its relatively early stages of development, we are still working out the kinks in our codegen model. At this point, I think it would be premature to open up the wizard to extensibility (since we keep changing the interfaces to accomodate new requirements). We are also finding that the work required to plug into the wizard codegen is quite complicated and expensive
Posted to
ASP.NET Dynamic Data
(Forum)
by
BradMi
on 4/12/2008
Re: Wizard Issues
I am not sure what you expect to see for DateTime fields instead - can you please clarify? When I run scaffold pages (not generated by the wizard), my DateTime fields also show up as TextBoxes.
Posted to
ASP.NET Dynamic Data
(Forum)
by
BradMi
on 4/11/2008
Re: Wizard Issues
Thanks for pointing this issue out. Yes, it appear that we have a bug in the wizard, where it uses the foreign key field name instead of the association property name for DynamicControls in an EditItemTemplate and InsetrItemTemplate. For example, in the EditItemTemplate for an Order (Northwind database), we generate this: < asp : DynamicControl Mode ="Edit" runat ="server" ValidationGroup ="OrderListListView1_Edit" DataField ="CustomerID"> Instead of
Posted to
ASP.NET Dynamic Data
(Forum)
by
BradMi
on 4/11/2008
Re: Retrieving data from a SQLdatasource
Actually, you could handle the DataBound event on DetailsView instead. This will allow you to access the DetailsView's DataItem property to get the UserName value. Unfortunately the data source itself doesn't provide an event that allows you to get the data directly. Hope this helps, Bradley
Posted to
Getting Started
(Forum)
by
BradMi
on 4/11/2006
Re: Update in DetailsView Doesn't Update!
I see two potential problems: 1) In order to pass the original value for game_id to the data source, you want to set DataKeyNames="game_id" on your DetailsView control. 2) I think you want the editable BoundFields to match up with the sproc params, in this case the description BoundField should be editable (ReadOnly=false) and all others should be ReadOnly=true. I suspect right now the data source is being passed more params than your sproc accepts. Hope this helps, Bradley
Posted to
Data Presentation Controls
(Forum)
by
BradMi
on 3/27/2006
Re: Strongly typed DataSet connection string
When the DataSet is created as part of a Web project, the TableAdapter reads connection string values directly from Web.config using the config APIs. When the DataSet is created as a separate class libary project, the TableAdapter reads connection string values through an associated settings class (compiled from a .settings file at build time). The settings class will read the value from Web.config. As long as you have the correctly-named connection string name in Web.config it should work, for example
Posted to
Data Access and ObjectDataSource Control
(Forum)
by
BradMi
on 3/27/2006
Re: GridView Default Value Which Will Show All Records?
One way to handle this is to use NULL/empty string for the default value of each dropdown, and then configure your data source to omit the filter for that field when it receives a NULL/empty parameter value. This is more easily done with ObjectDataSource (where you can write some custom code in the SelectMethod to handle NULL params), but could probably be done using SqlDataSource if you wrote a sproc for the SelectCommand. There is a simple example using SqlDataSource and a single dropdown in the
Posted to
Data Presentation Controls
(Forum)
by
BradMi
on 3/1/2006
Page 1 of 7 (64 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