As many of you know I attended and presented at the Day of DotNetNuke event this past weekend in Tampa Florida. First and foremost I want to take a moment and thank Will Strohl and all others that put the effort forward to organize this great event. I was very impressed with how well organized everything was, and overall the sheer size of the event. With what I believe was close to 150 people there was a variety of interests and viewpoints expressed. The sessions were great and the conversations before, during, and after the event were even better.
Read more...
Posted by Mitchel on Monday, June 15, 2009
When working with DotNetNuke I often find it necessary to do a redirection back to the current page, with additional querystring parameters. Not actually switching views, but just back to the same page so that some other action could be taken for a specific module. In the past most of the examples I found used this process.
DotNetNuke.Common.Globals.NavigateUrl(this.TabId) + "?mykey=myvalue"
Which would create a url such as
http://www.mysite.com/MyFolder/Default.aspx?mykey=myvalue
Although a fully functional URL that works 100%, it is not something that can be easily copied, and overall doesn't look all that fancy. Looking through the functionality of the various NavigateUrl overloads, it didn't seem apparent that there was something that could be used to re-write that type of URL. Well I missed something using the following code.
DotNetNuke.Common.Globals.NavigateUrl(this.TabId, "", "mykey=myvalue")
From this example we provide the tabId, a blank ControlKey, and then our added parameter value. We could add additional parameters as well.
This results in a URL similar to the following.
http://www.mysite.com/MyFolder/mykey/myvalue/Default.aspx
Now, this is a fully re-written URL, and something much easier for a person to remember. I hope this has been helpful!
Read more...
Posted by Mitchel on Monday, June 08, 2009
Although a recent post provided most of my upcoming speaking engagements, there was one big one left off the list. I will be presenting a total of 3 sessions at the SDN Event on June 26th. This event in in Houten, The Netherlands. I will be presenting on Advanced DotNetNuke Module Development, Creating Authentication Providers, and Creating Membership Providers.
I'm looking forward to this event as it will be a great opportunity to get to meet some of the European DNN'ers out there. I'll be coming in a few days early and staying a day later, so if anyone wants to meet to say hello just let me know. For most of the time I will be in Amsterdam, with a short trip to Pairs.
Those looking to register for the event can do so here, or if you are non-dutch speaking you can email info@sdn.nl.
Posted by Mitchel on Wednesday, June 03, 2009