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:101024
More Search Options
RSS Available
Matching Posts
Re: Change Column Header for Foreign Key Field
The adding of the Foreign Key column with the DisplayName fixed the problem. I didn't see that in your first response. I had not tried doing this since "Order_Details" is not a column in the schema. It was only a column in the gridview. I also noticed in your code that you put your metadata as a child class of the table class instead of as its own class. It appears to work as a normal class or child class. Is putting it as a child class considered the "best practice" or does
Posted to
ASP.NET Dynamic Data
(Forum)
by
joswalt
on 10/17/2008
Re: Change Column Header for Foreign Key Field
This is not a custom page. I have just started with the template. This is only a small example using the Northwind database to show the problem. Here are the steps that I did if you want to reproduce. In VS2008, I chose to create a New Dynamic Data Web Application named NorthwindDynamicData Added a LINQ2SQL dbml to my project called Northwind.dbml From my Server Explorer, I dragged the Orders and the Order_Details table from the Northwind database in SQL 2005. Changed Global.asax.cs to use my NorthwindDataContext
Posted to
ASP.NET Dynamic Data
(Forum)
by
joswalt
on 10/17/2008
Filed under: ASP.NET Dynamic Data, DisplayName, Dynamic Data, ForeignKey
Re: Change Column Header for Foreign Key Field
This might be the correct syntax and I have changed my source as well, but I still have the same issue with the Header Text in my gridview that my picture shows displaying "Order_Details". Notice that the underscore is still there as well as the "s" on the end. The Order Details table gets renamed correctly in the gridview item rows but not in the Header.
Posted to
ASP.NET Dynamic Data
(Forum)
by
joswalt
on 10/17/2008
Re: Change Column Header for Foreign Key Field
I am not needing to change the column that is displayed in the rows of my gridview by using the DisplayColumn attribute for a Foreign Key field. I am referring to the text in the Column Header. This text is not changing for Foreign Keys. As I mentioned in my first, here is an example of my issue: I have used the MetaDataClass to change the DisplayName on the classes but the the Column Header does not change. I am wanting the Order_Detail class to show up on my Orders page without the underscore in
Posted to
ASP.NET Dynamic Data
(Forum)
by
joswalt
on 10/17/2008
Filed under: ASP.NET Dynamic Data, ForeignKey
Change Column Header for Foreign Key Field
How do you get the Column Heading to change for a Foreign Key Column? My example would be if you had Customer and Order table. When viewing the customer table, you see a column for View Orders. The column heading says "Order" which is the name of the table instead of the DisplayName attribute that I have given the Order table of "My Orders". How do I get my Display Name to show up on the Customer page?
Posted to
ASP.NET Dynamic Data
(Forum)
by
joswalt
on 10/16/2008
Re: MaskedEditExtender with CalendarExtender bug when textbox pre-filled on server
I can also get it to happen if I don't prefill the textboxes on page load. I then choose dates and hit the submit button. After postback, the 2nd date textbox gets focus on the page with the calendar displaying.
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
joswalt
on 1/28/2008
MaskedEditExtender with CalendarExtender bug when textbox pre-filled on server
I have a problem with MaskedEditExtender when the date in the textbox is pre-filled in the Page Load event. If prefilled, the last textbox that is filled has focus when the page is loaded and the calendar extender is displayed. The textbox has a valid date, and I have not set focus anywhere. I don't want the textbox to have focus. Here is generic example that will show the problem (I am using VS2008 and the toolkit for the 3.5 framework): 11 < ajaxToolkit : ToolkitScriptManager ID ="ToolkitScriptManager1"
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
joswalt
on 1/28/2008
Filed under: MaskedEditExtender, AJAX Control Toolkit
When will ASP.NET AJAX videos get updated?
Does anyone know when the AJAX videos will get updated? The current videos are still for the Beta and not even the RC.
Posted to
Feedback on this website
(Forum)
by
joswalt
on 1/23/2007
Re: AJAX Videos are not updated for RC Release
bump
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
joswalt
on 12/26/2006
AJAX Videos are not updated for RC Release
The AJAX videos section state that the videos have been updated to RC. I just watched a few of the initial videos and it has the version at Beta and some at Beta 2. There were quite a few changes between the Beta and RC such as namespaces and other things. Does anyone know when the videos will be truly updated for the RC? Thanks,
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
joswalt
on 12/22/2006
Page 1 of 10 (94 items) 1
2
3
4
5
Next >
...
Last ยป
Mix Online:
Using the HTML5 Video and Audio Tag with Gestalt
WindowsClient:
Subclassing Shape (or more accurately, Path)
WindowsClient:
Having trouble deleting files? Try this
Channel 9:
Nick Baker: Xbox Architecture
TechNet Edge:
Thrive Live! Behavioral Interviewing: A behavioral answer is always the correct answer
ASP.NET:
PDC and Tech-Ed Europe Slides and Code
WindowsClient:
JScript location bar silliness
WindowsClient:
Anybody build a XAML parser in C or C++ yet?
WindowsClient:
Silverlight use, power and deployment keeps growing; so does WPF
ASP.NET:
T4CSS: A T4 Template for .Less CSS With Compression
WindowsClient:
JSON-P: An Elegant Hack
Channel 9:
Photosynth Update and New UI
Channel 9:
First Look: Streetside in Bing Maps
Channel 9:
Coding4Fun at PDC 2009
WindowsClient:
10 Must-See PDC 09 Sessions
Channel 10:
Photosynth Updated with New Release and New UI
Channel 10:
WindowsBlinds 7 Now Works with Windows 7
Channel 10:
Zune HD Launches New Colors
ASP.NET:
PDC09: ASP.NET MVC 2: Ninjas Still on Fire Black Belt Tips
ASP.NET:
Hanselminutes Podcast 188: ASP.NET MVC 2 Beta with Phil Haack
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online