Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsSurveySurveySurvey - Opttion to adjust the width of the survey results. Survey - Opttion to adjust the width of the survey results.
Previous
 
Next
New Post
6/23/2007 12:49 PM
 

When I submit my option and look at the survey results, the bar graph pushes my table to its max and squishes the other tables down. Is there a way to set a width of the survey's table so that it stays within a certain boundray?

I know I could probably adjust the size of my right pane table so that it is at a fixed width, but I prefer to do it through the survey's settings.

 
New Post
10/18/2007 8:34 PM
 

I found a solution but not without modifying the core.

navigate to: desktopmodules | survey | survey.ascx.vb (you may need source code for this, I'm not sure)

survey.ascx.vb line 379 "Dim intGraphWidth As Integer = 400", change the value "400" to what you would live the graph wdth to be such as"Dim intGraphWidth As Integer = 150"

 Private Sub lstResults_ItemDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.DataListItemEventArgs) Handles lstResults.ItemDataBound

            Dim objSurvey As SurveyInfo
            Dim objSurveyOption As SurveyOptionInfo
            Dim intSurveyOption As Integer
            Dim strHTML As String
            Dim intGraphWidth As Integer = 150

            If CType(Settings("surveygraphwidth"), String) <> "" Then
                intGraphWidth = Int32.Parse(CType(Settings("surveygraphwidth"), String))
            End If

      

 

 

 
New Post
10/19/2007 10:12 PM
 

There's a setting in the Survey module to set the max width of the bar graphs (in pixels).

 
New Post
11/1/2007 2:48 PM
 

Mike Riley wrote

There's a setting in the Survey module to set the max width of the bar graphs (in pixels).

I looked at the settings, created another instance of the module, and also reviewed setting when adding a new question. Wasn't able to find this setting anywhere.

I'm using latest 4.01.10

 
New Post
11/1/2007 2:59 PM
 

Found it under settings this time after moving the module to another pane. Either I overlooked it, or something happened during some editing. But the setting IS there..........

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsSurveySurveySurvey - Opttion to adjust the width of the survey results. Survey - Opttion to adjust the width of the survey results.


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out