Well i found the problem, or at least a fix for it. Have got tons of other issues now of course! In the code behind I added protected System.Web.UI.WebControls.ListView categoryList; in the partial class and it fixed it.
Hellacious
Posts
-
MVC framework problem -
MVC framework problem:confused:Hello all! I've been folowing Scott Guthries MVC Blog[^] and I'm having some issues getting it to work. I've implemented it using a SQL Server database, which is an asp.net roles/membership implementation with some other tables added in for Products, Categories etc. My problem is on the View page and the Code behind. When I place a asp:ListView control (with ID="categoryList") on the page (by code not dragging and dropping in the Design pane) and then switch to the code behind page, I get no IntelliSense type ahead on the ListView control to do the databinding. If I type the control name and binding lines, ie public void Page_Load() { categoryList.DataSource= ViewData; categoryList.DataBind(); } and attempt to build the project it tells me the categoryList control doesn't exist in the context. I've tried removing the Page_Load() section, building the project and then re-entering but to no effect. I'm sure it's going to be a silly mistake I've made. Any suggestions? Brian
-
What’s wrong with “Race condition” in India?In a reverse example of this, I was interviewed in Australia by an Indian gentleman working for an IT company. I failed the interview because I could barely understand a word he said, and he took offense when I asked him politely to repeat several questions. Apparently I am responsible for understanding my workmates even if they have accents as thick as a persian rug. No racism intended, just an observation that accents can make communication very difficult from both sides of the equation. More on topic tho, I am only halfway through my degree and our very first programming subject included an explanation of 'race conditions' so I fail to see how a graduate could not know of them.