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:777337
More Search Options
RSS Available
Matching Posts
Re: Nested DataList Problem
There should be, at least I think so. If I add a label inside the nested DataList and set its text to: <%# DataBinder.Eval(Container.DataItem,"[\"ForumID\"]") %> It works fine and will display the forums ID. It just dosn't work when I put it in the DataKeyNames..
Posted to
Data Presentation Controls
(Forum)
by
bohunt
on 12/24/2009
Re: Nested DataList Problem
When I use just ForumID, I get the following error: DataBinding: 'System.Data.DataRow' does not contain a property with the name 'ForumID'.
Posted to
Data Presentation Controls
(Forum)
by
bohunt
on 12/24/2009
Re: Nested DataList Problem
ForumID is within table Forum_Forums. The column name is definitely spelled right... This is how I would like it to work: The parent DataList is displaying a list of Categories from Forum_Categories. It's DataKey is CategoryID so that i can add select and delete functions to the items. It also contains the child DataList which displays a list of Forums within that Category from Forum_Forums. I need the child DataList to have a DataKey so I can add select and delete functions to these too.
Posted to
Data Presentation Controls
(Forum)
by
bohunt
on 12/24/2009
Re: Nested DataList Problem
Hi, thanks for that code. When I use this code, I have one forum to one category. How can I change this and also, I'm stuck on how to show the title's of the Forum and Category instead of ForumName(int) and Category(int)...
Posted to
Data Presentation Controls
(Forum)
by
bohunt
on 12/24/2009
Nested DataList Problem
Hi, I have a page with two DataLists, one inside the other. I'm trying to add select buttons to both DataList. I've successfuly added the select buttons on the parent DataList, but I am having trouble with the second. This is the error I get when trying to view the page: ForumID is neither a DataColumn nor a DataRelation for table Forum_Categories. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information
Posted to
Data Presentation Controls
(Forum)
by
bohunt
on 12/23/2009
Re: ListView_DataBound Error
It's okay. I swithed the code to a Visual Basic version and that code seems to work fine. Thanks for you help!
Posted to
Data Presentation Controls
(Forum)
by
bohunt
on 12/21/2009
Re: IE8 compatibility
Take a look at this post: http://forums.asp.net/p/1436517/3576076.aspx
Posted to
Web Forms
(Forum)
by
bohunt
on 12/21/2009
Re: ListView_DataBound Error
Thanks, that got rid of the error. But now I have one more problem... When I view the page, the EdiReplyHyperLink should only show if I wrote the post. But it shows in all of them, why is this not working?
Posted to
Data Presentation Controls
(Forum)
by
bohunt
on 12/20/2009
ListView_DataBound Error
Hi, I need some help with this code: protected void ListView1_ItemDataBound(object sender, System.Web.UI.WebControls.ListViewItemEventArgs e) { ListViewDataItem item = e.Item; if (e.Item.ItemType == ListViewItemType.DataItem) { HyperLink AddedByHyperLink2 = (HyperLink)e.Item.FindControl("AddedByHyperLink2"); HyperLink EditReplyHyperLink = (HyperLink)e.Item.FindControl("EditReplyHyperLink"); if (AddedByHyperLink2.Text == Profile.UserName) { EditReplyHyperLink.Visible = true; }
Posted to
Data Presentation Controls
(Forum)
by
bohunt
on 12/19/2009
FormView - Insert Problem
I have a page where I'm trying to insert a topic into a forum. Sometimes it works, but sometimes it does not work. Sometimes when you click the 'Insert' button, it does nothing and says in the bottom left of the web browser 'Error On Page'. If I do it through debugging, I get this error: Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server
Posted to
Data Presentation Controls
(Forum)
by
bohunt
on 12/18/2009
Page 1 of 23 (229 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