http://derans.myopenid.com/
Name: http://derans.myopenid.com/
Score: 679.25
Last Seen: 243 days, 11 hours, 10 minutes ago
Member Since: 8 January, 2010
DotNetShoutout
atom rss
4
Shouts

Export to Excel with MVC

published 234 days, 10 hours, 15 minutes ago posted by http://derans.myopenid.com/http://derans.myopenid.com/ 243 days, 11 hours, 10 minutes ago
Wednesday, October 03, 2012 11:40:34 AM GMT Monday, September 24, 2012 10:44:48 AM GMT
I’m sure you’ve all had to export to Excel at one point or another. I created a small wrapper around the EPPlus library for MVC. (more)
category: How To | clicked: 38 | comment | | source: derans.blogspot.com
tags:
2
Shouts

A Method for Populating a Dropdown List in ASP.NET MVC

published 268 days, 10 hours, 39 minutes ago posted by http://derans.myopenid.com/http://derans.myopenid.com/ 273 days, 2 hours, 8 minutes ago
Thursday, August 30, 2012 11:15:56 AM GMT Saturday, August 25, 2012 7:47:12 PM GMT
I’m asked quite a bit how to bind a dropdown list in ASP.NET MVC. So there are about 10,000 ways to do it, but here’s one. First, we’ll create a simple interface to return a list of SelectListItem so we can use the built-in DropDownListFor() later on. (more)
category: How To | clicked: 25 | comment | | source: derans.blogspot.com
tags:
2
Shouts

Dynamically Generate Form with jQuery and ASP.NET MVC

published 289 days, 11 hours, 51 minutes ago posted by http://derans.myopenid.com/http://derans.myopenid.com/ 298 days, 4 hours, 12 minutes ago
Thursday, August 09, 2012 10:04:20 AM GMT Tuesday, July 31, 2012 5:43:16 PM GMT
Hopefully it’s obvious that you probably won’t need to do this very often, but when it’s needed, it’s nice to have available. I thought I’d share this little helper to dynamically create a form, append it to body, and submit it. (more)
category: How To | clicked: 32 | comment | | source: derans.blogspot.com
tags:
5
Shouts

Making Prettier Forms: Converting Checkboxes into Images

published 340 days, 12 hours, 21 minutes ago posted by http://derans.myopenid.com/http://derans.myopenid.com/ 346 days, 16 hours, 4 minutes ago
Tuesday, June 19, 2012 9:33:42 AM GMT Wednesday, June 13, 2012 5:51:03 AM GMT
Basically, you don’t have to make the end-user feel like they’re filling out a form. There are ways to make it seem less intimidating. One way is to swap out the typically hard-to-click checkbox or radio button with an image. It gives the user a larger click area and it looks nice…at least in my opinion. (more)
category: UX | clicked: 45 | comment | | source: derans.blogspot.com
tags:
2
Shouts

Deran Schilling, Learner: How to easily turn your L2S objects into interfaces

posted by http://derans.myopenid.com/http://derans.myopenid.com/ 587 days, 13 hours, 50 minutes ago
Sunday, October 16, 2011 8:05:15 AM GMT
In one of our recent code reviews, we found several methods that looked almost identical. All of these methods were just for lookup tables that populated a dropdown. So…this is what we did: We had a repository with something like GetDepartmentList and GetStatusList that looked something like this: (more)
category: Web Dev | clicked: 2 | comment | | source: derans.blogspot.com
tags: Linq To SQL, ASP.NET
3
Shouts

New jQuery Plugin: FunkyFocus

published 728 days, 12 hours, 38 minutes ago posted by http://derans.myopenid.com/http://derans.myopenid.com/ 729 days, 17 hours, 15 minutes ago
Saturday, May 28, 2011 9:16:40 AM GMT Friday, May 27, 2011 4:40:15 AM GMT
So this jQuery plugin was built to help my end-users know immediately what section of a form they’re working on. Also, don’t blame me for the name. It was given to my new plugin by my wife because I couldn’t think of anything “catchy”. Basically what this thing does is changes the background of sections of forms or individual inputs. It’ll be better to post screenshots to get the idea…so…here you go… (more)
category: Web Dev | clicked: 39 | comment | | source: derans.blogspot.com
tags: jQuery
9
Shouts

Contact Form Revisited with ASP.NET MVC 3, jQuery Validator, & the jQuery Form Plugin

published 730 days, 1 hour, 38 minutes ago posted by http://derans.myopenid.com/http://derans.myopenid.com/ 733 days, 18 hours, 2 minutes ago
Thursday, May 26, 2011 8:16:49 PM GMT Monday, May 23, 2011 3:53:24 AM GMT
I recently added a partial contact view to my MVC3 project and thought I’d share since I did basically this same post over a year ago with the original MVC. I stopped using the Castle Validation because I’ve found that the MVC3 stuff is working for me now. I also am not using fluentHtml anymore because MVC3 uses that style now. (more)
category: Web Dev | clicked: 70 | 1 comment | | source: derans.blogspot.com
tags: ASP.NET MVC 3, jQuery
6
Shouts

Seriously WebForms like ASP.NET MVC

published 745 days, 20 hours, 48 minutes ago posted by http://derans.myopenid.com/http://derans.myopenid.com/ 746 days, 17 hours ago
Wednesday, May 11, 2011 1:07:09 AM GMT Tuesday, May 10, 2011 4:55:07 AM GMT
I used my little WebFormContrib library again today. Some days I love revisiting old code because you realize how ignorant of some practices you were in the past. Hopefully none of you download it and say…geez this guy is Mr. Ignoramus. If you do, keep it to yourself. Kidding, please comment and inform the ignorant (me). Anyhow, it’s been about 6 months since I’ve had to use WebForms, but today I had to and it wasn’t bad. I was able to tie my view into my pages and controls and used AutoMapper to map ba... (more)
category: Web Dev | clicked: 7 | comment | | source: derans.blogspot.com
tags: WebForms, webformcontrib, ASP.NET
5
Shouts

ASP.NET MVC 3 Sample Project Launched

published 770 days, 7 hours, 31 minutes ago posted by http://derans.myopenid.com/http://derans.myopenid.com/ 771 days, 15 hours, 24 minutes ago
Saturday, April 16, 2011 2:24:19 PM GMT Friday, April 15, 2011 6:31:07 AM GMT
Okay, after popular demand of I think 0 people, I’ve published my old demo MVC 1 project as an MVC 3 project. If you haven’t read any of the posts on the last demo project, check out this post. This project completely separates UI & C# code, so you only have 2 projects (Core & UI…not counting the Unit Tests project). Basically, all I did was create a new MVC 3 project using Razor with Microsoft’s default template and deleted everything except the following: (more)
category: Web Dev | clicked: 17 | 2 comments | | source: derans.blogspot.com
tags: MVC 3
5
Shouts

Simplify Authorization with an Attribute

published 796 days, 48 minutes ago posted by http://derans.myopenid.com/http://derans.myopenid.com/ 797 days, 11 hours, 34 minutes ago
Monday, March 21, 2011 9:07:32 PM GMT Sunday, March 20, 2011 10:21:19 AM GMT
There are about 10 bajillion ways to figure out if a user is authorized to call a method or see a page or whatever else. This particular post is about how to create an attribute to see if a user is authorized to do a particular action. I’ll give an example using MVC and WebForms. (more)
category: Web Dev | clicked: 0 | comment | | source: derans.blogspot.com
tags: ASP.NET MVC, ASP.NET
2
Shouts

Allowing HTML with iFrames and jQuery

posted by http://derans.myopenid.com/http://derans.myopenid.com/ 874 days, 11 hours, 19 minutes ago
Sunday, January 02, 2011 10:36:10 AM GMT
So I’ve had a problem of displaying other people’s HTML on my page and their invalid HTML messing up my page’s formatting. So, I found a solution after digging through the Outlook Web Application (OWA) HTML to see how they handle the issue. I do it a little differently, but the idea is the same. (more)
category: Web Dev | clicked: 1 | comment | | source: derans.blogspot.com
tags: jQuery, HTML
4
Shouts

WebFormContrib – Sample Part 3

published 900 days, 4 hours, 50 minutes ago posted by http://derans.myopenid.com/http://derans.myopenid.com/ 900 days, 15 hours, 11 minutes ago
Tuesday, December 07, 2010 5:04:41 PM GMT Tuesday, December 07, 2010 6:43:40 AM GMT
This sample on the WebFormContrib mini-framework is on how to do a form post. If you’d like a particular sample on how to do something or if I’m missing something, please leave a comment. (more)
category: Web Dev | clicked: 3 | comment | | source: derans.blogspot.com
tags: WebForms, webformcontrib, ASP.NET
3
Shouts

WebFormContrib – Sample Part 2

published 902 days, 13 hours, 15 minutes ago posted by http://derans.myopenid.com/http://derans.myopenid.com/ 903 days, 15 hours, 27 minutes ago
Sunday, December 05, 2010 8:40:15 AM GMT Saturday, December 04, 2010 6:27:53 AM GMT
This sample on the WebFormContrib mini-framework is a mixture of a form post and viewing an item. If you’d like a particular sample on how to do something or if I’m missing something, please leave a comment. (more)
category: Web Dev | clicked: 0 | comment | | source: derans.blogspot.com
tags: webformcontrib, ASP.NET
4
Shouts

WebFormContrib – Sample Part 1

published 905 days, 8 hours, 12 minutes ago posted by http://derans.myopenid.com/http://derans.myopenid.com/ 905 days, 15 hours, 21 minutes ago
Thursday, December 02, 2010 1:42:44 PM GMT Thursday, December 02, 2010 6:34:02 AM GMT
After using the WebFormContrib mini-framework the past couple weeks, I’ve grown to really like it. I thought I’d share some of the ways I’m using it in hopes that you might benefit from it too. This first sample is on how to show data on a page and not have to worry about any of the form elements. We will also not use any asp.net controls like gridviews, literals, or labels. So, here we go using Visual Studio 2008 (more)
category: Web Dev | clicked: 0 | comment | | source: derans.blogspot.com
tags: webformcontrib, ASP.NET
2
Shouts

WebFormContrib – Web Forms more like ASP.NET MVC

published 911 days, 19 hours, 26 minutes ago posted by http://derans.myopenid.com/http://derans.myopenid.com/ 912 days, 14 hours, 25 minutes ago
Friday, November 26, 2010 2:29:08 AM GMT Thursday, November 25, 2010 7:29:40 AM GMT
Lately I’ve been stuck working on projects using Web Forms and after reading one of Jimmy Bogard’s recent blog posts, I was inspired to create a small library similar to MVC Contrib, but for Web Forms. (more)
category: Web Dev | clicked: 0 | comment | | source: derans.blogspot.com
tags: asp.net webforms fluenthtml
3
Shouts

Fluent Search Interface with some Func

posted by http://derans.myopenid.com/http://derans.myopenid.com/ 956 days, 16 hours, 40 minutes ago
Tuesday, October 12, 2010 5:15:08 AM GMT
So…how do you start a fluent interface? By typing how you’d want your code to read, at least that’s how I do it. So I created a unit test project and started typing how I’d like my interface to work. This is what I came up with: (more)
category: Web Dev | clicked: 3 | comment | | source: derans.blogspot.com
tags: .NET, Fluent
4
Shouts

Authenticating Against Multiple Domains with C# & StructureMap

published 1044 days, 9 hours, 20 minutes ago posted by http://derans.myopenid.com/http://derans.myopenid.com/ 1044 days, 16 hours, 18 minutes ago
Friday, July 16, 2010 12:35:23 PM GMT Friday, July 16, 2010 5:36:50 AM GMT
In my place of work, we had a vendor come in and try to sell us a product that couldn’t authenticate to multiple domains. Well, we have multiple domains. Their suggestion was to consolidate into one…obviously we’re not using their product. So, in an effort to help out, I thought I’d share a method of authenticating to multiple domains. (more)
category: Web Dev | clicked: 2 | comment | | source: derans.blogspot.com
tags: .NET, StructureMap
8
Shouts

Slow Down Filter for Throttling Requests with ASP.NET MVC

published 1045 days, 8 hours, 32 minutes ago posted by http://derans.myopenid.com/http://derans.myopenid.com/ 1046 days, 16 hours, 1 minute ago
Thursday, July 15, 2010 1:22:57 PM GMT Wednesday, July 14, 2010 5:54:00 AM GMT
I’ve been looking for a good filter to play with and finally found one today. Basically, I want to slow down requests to prevent people and/or other mechanisms from submitting a form. (more)
category: Web Dev | clicked: 0 | comment | | source: derans.blogspot.com
tags: ASP.NET MVC
5
Shouts

jQuery AJAX with ASP.NET Web Forms & Sitefinity

published 1075 days, 8 hours, 5 minutes ago posted by http://derans.myopenid.com/http://derans.myopenid.com/ 1076 days, 14 hours, 43 minutes ago
Tuesday, June 15, 2010 1:49:55 PM GMT Monday, June 14, 2010 7:12:11 AM GMT
My team and I are working with Sitefinity to create our new portal. Well, since Sitefinity doesn’t currently support MVC, we’re having to use the “good” ole web forms. Sitefinity is a really nice CMS and allows for full customization and we’re still learning how to handle the custom user controls. So…this is how we’re doing it right now. (more)
category: Web Dev | clicked: 2 | comment | | source: derans.blogspot.com
4
Shouts

Creating a Fluent Interface with C#

published 1096 days, 9 hours, 12 minutes ago posted by http://derans.myopenid.com/http://derans.myopenid.com/ 1096 days, 16 hours, 31 minutes ago
Tuesday, May 25, 2010 12:43:13 PM GMT Tuesday, May 25, 2010 5:24:22 AM GMT
So I’ve been using fluent interfaces for a while now and I’ve really grown to like them. It made me want to write one, so I did. I made a simple interface for creating an LDAP URL. It’s really basic, but I thought it was cool nonetheless. Here’s what I ended up doing… (more)
category: Web Dev | clicked: 7 | comment | | source: derans.blogspot.com
tags: Fluent, Fluent Interface
Previous 1 2 3 Next