Search for:
Sign in
Register
Menu
Articles
Questions & Answers
Download
Documentation
Support
Marketplace
Old Forums
Search:
Search text
Portal Engine
Questions on portal engine and web parts.
Version 4.x
>
Portal Engine
>
Display Total Votes for poll
View modes:
View mode
Threaded
Flat - newest to oldest
Flat - oldest to newest
Member
rdiepenbrock
-
8/21/2009 11:34:10 AM
Display Total Votes for poll
I want to display Total Votes in addition to the percentages for each poll I create. I've been trying to use the context macros, but with no luck. Is this possible?
Thanks,
Richard
Member
rdiepenbrock
-
8/24/2009 9:46:38 AM
RE:Display Total Votes for poll
If anyone has any ideas, it would be helpful.
Thanks.
Kentico Developer
kentico_helenag
-
8/25/2009 7:04:42 AM
RE:Display Total Votes for poll
Hello,
you would need to make uneasy custom changes to polls.
You could re-write the file:
<web site folder>\CMSModules\Polls\Controls\AnswerList.ascx.cs
add a
OnExternalDataBound
event to the grid and change the output of database result. You need to change the content of "AnswerCount" column.
The example of OnExternalDataBound event is in:
<web site folder>\CMSModules\EmailQueue\EmailQueue.aspx.cs
Best regards,
Helena Grulichova
Member
rdiepenbrock
-
9/1/2009 9:24:51 AM
RE:Display Total Votes for poll
Are there any other examples of this I can review? Internal or external?
Kentico Support
kentico_jurajo
-
9/2/2009 5:09:56 AM
RE:Display Total Votes for poll
Hi,
I am sorry but there is no example of this, only the mentioned in the Email sender, there you can see how to handle that event.
Best Regards,
Juraj Ondrus
Top