Dave Burke Reviews Community Server 1.0

by Erik Lane 28. February 2005 03:13

Dave Burke reviews his efforts to convert his dotText 0.95 blog to Community Server 1.0.  From the sound of his comments, and his exact words, he's not too excited about it and will be staying with his current setup for now.  I wonder if it's because of all of the cool mods he's made to his current setup or just CS 1.0 in general?

Like most, I will probably give it a try at some time but I'm in no hurry.  I've got no problem with my 0.95 blog here and would only be moving for the sake of being on the new platform.  If we can't convert our blog history then what do you do?  I don't blog an awful lot but I would still like to keep my posting history.

------

"Fourteen hours of CS nerding under my belt and I have to say that I am quite happy with dotText 0.95 and nGallery, thank you very much. Surprisingly, I just don't know if Community Server is in my future." -Dave Burke

Tags:

Community Server 1.0 Source Release

by Erik Lane 25. February 2005 09:28
Click here.
Tags:

.NET Developer? Do you know this stuff?

by Erik Lane 22. February 2005 15:21

More .NET questions that make you go hmmm and make you want to learn more.  Sorry for the Arsenio take on that.

Yex pointed them out to me, Thanks!.

Tags:

Monitor Upgrade

by Erik Lane 22. February 2005 06:24

I'm looking at upgrading my monitor situation at home.  I was going to go with the Samsung 710N-2 but then I figured that it was worth the extra for the DVI since I want as clear a screen as I can get.  I'm not wanting this for gaming but for work so I want to see crisp clean text.  So now I've narrowed it down to two:

1.  Rosewill R910E 19" LCD
2.  Sony SDM-S74 17" LCD

I've read the reviews about the Rosewill on Newegg and it seems to be a good product (Jeff likes them too) but then they only have a 1 year warranty when Sony is known for quality and has a 3 year warranty.  The debate I'm having with myself is this - do I go with a name I trust/used before and will deliver quality or do I need the 19" screen with the outside chance that the quality will disappoint me.

If the 3 people that happen look at my blog have a suggestion and/or opinion let me hear from you.

Tags:

A Company of Soldiers

by Erik Lane 21. February 2005 06:49

The PBS show Frontline is doing a documentary titled "A Company of Soldiers" to be aired on Tuesday, February 22nd.  They followed the 8th Calvary's Dog Company around last November and December.  My cousin, Capt. Rex Blair, is in this unit and we couldn't be more proud of him and his men.  They've been doing a lot of reconstruction as well as police work in in one of the worst parts of Baghdad and can't wait for them to come home in the next month or so.

FRONTLINE reports from inside the U.S. Army's 8th Cavalry Regiment stationed in Baghdad for an up-close, intimate look at the dangers facing an American military unit in Iraq. Shot in the weeks following the U.S. presidential election, the film tracks the day-to-day challenges facing the 8th Cavalry's Dog Company as it suddenly has to cope with a dramatic increase in attacks by the insurgents.

Tags:
Categories: Faith and Family

MSN IM Virus

by Erik Lane 15. February 2005 14:40

I had heard of the new IM virus going around on MSN but Scooter give some good info on it.  Basically don't accept or click on a link that looks like: http://members.chello.nl/g.geurts1/handcuffs.XYZ. . . . 

 

Tags:

Use TiVo to buy on eBay?

by Erik Lane 15. February 2005 14:35

PVRblog has on his blog that a developer from eBay has put together a package for the TiVo HME that will allow you to surf eBay and even buy from eBay all through your TiVo...wow!

There are some screenshots too that very cool.

Tags:
Categories: TiVo

Tool - Depends.net

by Erik Lane 15. February 2005 04:51

In working with the Plumtree EDK we've ran into an issue of having assemblies linked to one assembly or application referencing different versions of the EDK.

In comes Depends.net.

"This is a utility that can hellp you in finisding out if the versions of assemblies you have in bin folder of your application are the same as the ones that the application or assembly was compiled with."

Tags:

Loading Dynamic User Controls - Resoluton

by Erik Lane 11. February 2005 07:25

The issue I posted last night was eating at me.  I knew I was missing something since it would work if I added the controls at design time, so I kept reading and searching and trying different things.  If I would've just been patient good guys like David would've led me in correct direction.  Thanks David!

Well, I found another of Scott Mitchell's articles - Dynamic Web Controls, PostBacks, and ViewState.  When I scan technical articles I usually read the title, read a few lines of the intro, and then start scrolling using handy-dandy wheel on my mouse.  Side note:  Jeff's post yesterday on keyboards specific to developers is pretty interesting and I plan to comment on it later.

As I was scrolling at a 100mph I saw this headline "Adding Controls at the Right Time".  I stopped and began to really read.  His first sentence was "We already know that when adding controls dynamically through the page's code portion the controls must be added on every postback." (and this is what David pointed out too).  I'm guessing he's not including me in his "we" so I continued reading so I could now include myself in this cool club.

So now I know that dynamic controls must be added prior to the LoadViewState stage of the ASP.NET Page Lifecycle.  To do this I took the advice and created a simple method in my code-behind and call it from the page's OnInit event handler.  A few tweaks and now it works like a champ.


override protected void OnInit(EventArgs e)
{
	InitializeComponent();
	base.OnInit(e);
	CustomOnInit();
}
private void CustomOnInit()
{
	string ID = string.Empty;
	PostDataControl pdc = new PostDataControl();
	try
	{
		ID = Request.QueryString["id"];
		if(ID == null || ID == string.Empty)
			ID = "01";
		string controlName = ID + ".ascx";
		pdc = (PostDataControl)LoadControl(controlName);
	}
	catch(System.IO.FileNotFoundException)
	{
		// Catch bogus querystings and load a default screen.
		ID = "01";
		string controlName = ID + ".ascx";
		pdc = (PostDataControl)LoadControl(controlName);
	}
	finally
	{
		pdc.ID = "pdc";
		pdc.Code = ID;
		FormPlaceHolder.Controls.Add(pdc);
	}
}
Tags:

Loading Dynamic User Controls - Issue

by Erik Lane 10. February 2005 10:40

I'm getting into dynamic user controls...nothing overly complicated but I'm stuck.

I've got 5-10 pages that have the exact same function but look different depending on a querystring value.  So my thought was to create one custom control that has all the functions and use it as my base class for the rest.

I've got one page with a Placeholder control and in that control I want to load these user controls based on said querystring value.  I'm getting the correct control to load and display like I want but when the form is submitted (using a Button WebControl) and posted back to itself it never reaches   the button's OnClick event within the user control code-behind.

I've read a few article like Scott's but I'm not sure how it apply's to my situation.  If I drop the user control on the form at design time and forgo the dynamic piece everything works as expected.

Someone learn me something.

private void Page_Load(object sender, System.EventArgs e)
{
	if(!Page.IsPostBack)
	{
		string ID = Request.QueryString["id"];
		string controlName = ID + ".ascx";
		UserControl PostDataControl = (UserControl)LoadControl(controlName);
		FormPlaceHolder.Controls.Add(PostDataControl);
	}
}

 

Tags: