Profile Picture

Scrollbar style

Posted By Mike O'Ceirin 3 Years Ago
Author
Message
Mike O'Ceirin
Problem Posted 3 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)

Group: Forum Members
Last Active: 3 Years Ago
Posts: 22, Visits: 184
The default look off the scroll bar is fairly poor

The default look of the scroll bar is fairly poor. I have searched for a way to style it but I must admit as yet I have not looked at the CSS. Is that the way to go or is there properties that I am missing. Such as colour, raised et cetera? If so is there an example of their use



Nevron Support
Posted 3 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,000
Hi Mike,

Yes, you need to modify the CSS for the different scrollbar elements if you want to modify the looks of the toolbar. The following topic outlines this:
http://helpdotnetvision.nevron.com/#ThinWeb_CSS_Customization.html
We hope this helps - let us know if you meet any problems.

Best Regards,
Nevron Support Team



Mike O'Ceirin
Posted 3 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)

Group: Forum Members
Last Active: 3 Years Ago
Posts: 22, Visits: 184
I have tried that it does not appear to do anything! I tried by radically changing the colour. I change the one that was white to blue that is 0,0,255 instead of 255,255,255 which had no observable change!


Mike O'Ceirin
Posted 3 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)

Group: Forum Members
Last Active: 3 Years Ago
Posts: 22, Visits: 184
The CSS does work after a complete reinstall of visual studio. That is in a web form it will work but it will not work in a MVC controller so far everything else does! Any suggestions?

Nevron Support
Posted 3 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,000
Hi Mike,

Please make sure to apply the css changes before the control serves the initial content as the CSS is embedded there. We tested with the following modification to the MVC chart controller example:

  /// <summary>
   /// Renders the initial content of the chart on the page
   /// </summary>
   /// <returns></returns>
   public ActionResult Content()
   {
    NThinChartControl control = this.Control;
    control.ConfigureInitialResponse();

    control.ServerSettings.Css.StateHover = "border: 1px solid rgb(38, 148, 232);background: rgb(255, 0, 0);";

    Initialize(control);
    
    return new NThinControlResult(control.ProcessResponses());
   }

and the change was applied properly. 

We hope this helps - let us know if you meet any problems.


Best Regards,
Nevron Support Team



Mike O'Ceirin
Posted 3 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)Forum Newbie (3 reputation)

Group: Forum Members
Last Active: 3 Years Ago
Posts: 22, Visits: 184
Now working thank you




Similar Topics


Reading This Topic