This project is read-only.

BlogEngine.NET Poll Widget!!!

Oct 23, 2008 at 3:39 AM
Edited Oct 23, 2008 at 3:40 AM
Dear BE partners:

Have a look at this fantastic widget!!!

Greetings from Spain.


p.d.: could it be included in next BE release?

Oct 23, 2008 at 9:17 AM
That looks amazing!  Great job.  Any chance this works outside of a Widget?  Also, does it work when using XML instead of a database?

Oct 23, 2008 at 11:56 PM
That's a great job there!  I'm with Chris, outside the widget architechture?

I like the idea of the widget architecture, but I don't always want everything in a single column....

Excellent work anyway!
Nov 16, 2008 at 8:41 PM
Edited Nov 16, 2008 at 8:58 PM

I have translated it into Spanish (if Fatih doesn't mind!!!).

You can donwnload it from:

Greetings from Spain, Gentlemen.


Dec 2, 2008 at 3:34 AM
it doesnt work for me with the XML provider

erver Error in '/JITC' Application.

Object reference not set to an instance of an object.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:

Line 247:		{
Line 248:			WidgetEditBase edit = (WidgetEditBase)LoadControl(fileName);
Line 249:			edit.WidgetID = new Guid(node.Attributes["id"].InnerText);
Line 250:			edit.Title = node.Attributes["title"].InnerText;
Line 251:			edit.ID = "widget";

Source File: d:\WebSites\JITC\admin\WidgetEditor.aspx.cs    Line: 249

Stack Trace:

Dec 3, 2008 at 7:57 PM
it was my mistake. the theme i was using was not showing the widget chooser, so i was adding it manually (which was a mistake).

i tried it in another theme and it works great!

i am also updating it to work with my theme.

Aug 8, 2010 at 5:40 PM

I've fought and tried, but I was never able to get this Widget to work. It told me it was having database problems even though I wanted it to use XML. I've looked through the code and I don't see where the problem would arise. Might it be that this was developed for 1.4 and I'm at 1.6?

Aug 9, 2010 at 2:44 PM
Edited Aug 9, 2010 at 2:45 PM

I think you're right that the Poll widget needs updating to conform with the recent version of BE.  See this message.

Aug 23, 2010 at 7:12 AM

when i try to access this above link i got error like this see below link

could anybody plz help me actually i want new updated poll widgets folder

For everybody

I have added three new features to poll widget.

1.) Expiration Date for polls
2.) Show Results button visibility setting
3.) Polls Archive button visibility setting

Update Instructions:

1.) Download new above, extract it and replace these files:

- Poll.cs
- widget.ascx and widget.ascx.cs
- edit.ascx and edit.ascx.cs
- archivepoll.aspx

2.) If you use database, download these update scripts and execute appropriate script in your database manager. This script addes a new column into Poll table in BlogEngine's database.

3.) If you use xml, download this updated Poll.cs file and replace it.

4.) There is some new styles in poll.css, you may want to add new styles in your existing css. New styles names: .pollResult-PollClosed, .pollArchive-ArchiveButton, .pollArchive-PollClosed

Oct 20, 2010 at 1:09 AM

Anyone knows where I can find the updated version? The link is broken in the original post.