Lets say you have a controller method in mvc that looks something like this: <AcceptVerbs(HttpVerbs.P... _ Public Function Action(somedate As String, feature As String, Consultant As String) As ActionResult …Code Return View(RecapView) End Function And RecapView would be some view you have defined that gets shown by action when it finishes. But when you run the app, it says something like “Hey, we can’t find this page called RecapView.aspx “ and so forth. This error occurs because apparently ......
I love TSQL. Its really cool. I have switched gears and now am working an converting a large asp classic project to MVC / vb.net. Interesting. So, I am reworking the sql into a repository set of classes. As I do I need to 1) exec stored procedures to test them and 2) get a list of the parameters to setup sqlclient parameters. Item no 1 is easy. I can just use exec to fire the sproc: exec dbo.someSproc 1,20 And now to get the list of parameters: exec sp_helptext someSproc This give me the sprc in ......
Hot dog. IE 9 just hit the download sites this week. I have been running it for a few days and its really sweet. It seems much faster than IE 8 and many other browsers and its got lots of cool features. Some of the ones I really like are: New tab format with one click creation and putting them up top. Cleaner UI Ability to drag a tab off the tab bar and have a new window created Integrated address / search box Support for HTML 5 check out http://www.beautyoftheweb.com/ to see some of the cool features. ......
I was always told I was left brained and could not draw. And I bought into that view. Somewhere down the road years ago I did learn to play guitar and to play by ear at that. Now that’s not all left brained so my right brain must be working. About a year ago, my good friend Billy Hollis turned me own to a book by Betty Edwards (http://www.drawright.com/). I started reading this and soon I found my self drawing on napkins in restaurants while we were waiting on food and at many other times too. Dang’d ......
Theres not a ton of good samples out there on using MVC with VB, so I am going to post some things that I am doing on a project. Lets look at links. I am converting a asp classic app to mvc. One page has an anchor tag which I modified to look like so to point to a controller action: <A style=color:red; HREF='Detail/" & currentItem.IdNumber & "'>" & currentItem.IdNumber & "</A> This resolves out to what looks like the right URL and in fact the detail action is fired. The ......
Yippie: IE 9s coming out March 14!: http://windowsteamblog.com/... For you guys that love other browsers that’s ok. Personally I love IE for many reasons such as ease of use and stability. I am cranked up to see what IE 9 does as it was retooled from the start. So this one should be big. Also, its bringing HTML 5 support now so we can have much richer applications. Its about time that HTML was revved to move from the old text ......
I posted this yesterday but had the wrong link at the bottom. SP1 for VS 2010 just hit the web today. Check it out at http://support.microsoft.co... This should fix lots of big and little things such as startup time, bugs and more. Plus there are tons of features in there too for web, xaml, and other application types. I am really excited about the unit testing and load testing features that were added. Theres also an update for .Net 4 framework. And check out the new Silverlight ......
SP1 for VS 2010 just hit the web today. Check it out at http://support.microsoft.co... This should fix lots of big and little things such as startup time, bugs and more. Plus there are tons of features in there too for web, xaml, and other application types. I am really excited about the unit testing and load testing features that were added. Theres also an update for .Net 4 framework. And check out the new Silverlight performance wizard. Lots of really cool stuff. Get it today! ......
I ran into this little error with MVC where a bunch of errors showed up about __o not declared. This was driving me nuts. Then I ran across this link that solved it. http://stackoverflow.com/qu... So, the solution is to put this into the top of the page like VS does for your site.master. <%-- The following line works around an ASP.NET compiler warning --%> <%: ""%> But what about other pages? Lets say you have a view that’s using your site ......