Search

You searched for the word(s): userid:777337

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 »