Here’s the situation: You have an ASP:Button inside an ASP:UpdatePanel, but also want to go modal when the button is pressed. This means setting up a jQuery function to handle the click event. You can’t just switch the ASP:Button to…
Category: ASP.Net
Force or Remove www from your domain
If you want to manage the canonical domain of your website here’s a simple way to do it. 1. Install the URL Rewrite module The Url Rewrite module is from Microsoft and may, or may not, be pre-installed with IIS. …
Fill a List(of T) from a Reader
I’ve come to love List(of T). It makes it so much easier to work with data. Here’s a simple overview of working with data in a list. The following code is vb.Net, but can be easily converted to C# using…
Unable to Add Modules
A few months ago, we upgraded a client’s development and production sites from DNN 6 to DNN 7.3. Other than a few minor issues, the upgrades went well and the sites have been running very well. Recently, we started encountering…
The Mysterious Case of Visual Studio Corruption (or how I learned to recover a corrupt .ascx file)
CTRL+S to BSOD I had made a lot of progress on a new feature for one of our DNN modules. The majority of the implementation was in JavaScript with a few server side components. After adding in a bit more…
Sort by Multiple Fields in a Generic List
Custom sorting a data set has been a problem since the beginning of data sets. With the Generic List and Linq custom sorting is now easier than ever. Custom sorting by more than one field is easier than ever. This…
Hierarchical Data and DNNTreeView
Recently, after upgrading to DotNetNuke 6 I had to switch from the ASP TreeView control to the DNNTreeView control. The transition was not as smooth as I would have expected, mainly because of the lack of documentation. Hence, I’m documenting…
The SharePoint Copy Service, DotNetNuke, and VB Haters
It seems like everything I work on these days is new technology and I guess there’s not a lot of love out there for VB.Net programmers. I spend a lot of time looking for code and it’s always in C#…
DotNetNuke and the Tab Module Drop Down
Every build something you’re certain you need, finish it, and then realize there’s a better way, but you love the solution so much you can just trash it? That’s the origin of this post. I’m sure I’ll need this later…
RowDataBound and the Generic List! You know you’re curious.
The Generic list is becoming my best friend although I couldn’t conclusively tell you why I’m enjoying using it more than a standard dataset. At any rate, one of the issues I ran into with the Generic list was reference…