Grant Barrington
Random findings about ASP.NET, c#, Microsoft Dynamics NAV and jQuery
-
Getting NLog Running in Partial Trust
To get things working you will need to:
-
Changing the Module title in DotNetNuke on the Fly
This is an extremely short post, buy hopefully it will help others in the situation. (Also if I need to find it again I know where to look)
-
Sending the output from Linq to SQL to a Log file
I've recently started using LinqToSql for some of newer projects. The reason its been such a long time before I've started using LinqToSql is because all our websites get hosted on WebCentral. WebCentral has only offered .NET 3.5 in the last couple of months. We have a policy on not using new technologies until they are offered as an option on our hosting partner.
-
Adding, Changing & Finding buttons in the ASP.NET Wizard Control
A comment was recently left on a previous post of mine asking how to go about adding a button to a wizard and handling the click. I thought I'd answer the question with another post as there is usually more you'd like to do than just adding a button (we certainly do!!!!)
-
Screen Scraping in C#
Recently I was asked by a friend of mine to screen scrape a website. What he wanted was the results of a form submission. There were a number of fields on the form (mostly dropdowns), and he wanted me to run every possible permutation of these dropdown lists. All up, this resulted in just over 8,000 pieces of data.
-
Styling the ASP.NET Wizard Control to have the Steps Across the top
The default style of the ASP.NET Wizard control is not the best. For the sidebar to work, and display all the wizard steps in a wizard requires quite a bit of space. And in all the wizards we end up creating, we don't want the user to jump from one step to the next using the sidebar. We make the user click from step to step linearly.
-
Table-less layouts with DotNetNuke
We use DotNetNuke as a base for most of our applications. We are primarily in the space of content management, mixed with custom code. DNN handles content management pretty well for all our situations. The ability for us to create modules in DNN to do whatever we want is pretty awesome.. And after you get used to some quirks (and jumping through some pretty funky hoops, its actually pretty easy to use).
-
Detecting and Preventing a User From Submitting a Form Twice
Users get impatient when something is taking a long time to run server-side. This usually results in having a form submitted more than once. Ok, maybe its not impatience, maybe its that they didn't think they clicked the button.... I don't know why.... I just have to fix the problem of duplicate records in the database.
-
Using Reflection to Determine whether an Type is Nullable And Get the underlying Type
I've mentioned in a previous post that we use Aspose.Words combined with Aspose.Pdf to create PDF documents/reports in all our applications.
-
Reflection Speed Test - How slow is it really?
Whenever anyone anywhere mentions Reflection on a blog post, straight away there is a reply saying "you shouldn't use Reflection as its slow". I thought I'd take a look at how "slow" reflection really is in the real world.