Scrollbar style


Author
Message
Mike O'Ceirin
Mike O'Ceirin
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
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
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K
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
Mike O'Ceirin
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
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
Mike O'Ceirin
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
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
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K
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
Mike O'Ceirin
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
Posts: 22, Visits: 184
Now working thank you

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic
3 active, 3 guests, 0 members, 0 anonymous
No members currently viewing this topic!

Login

Explore
Messages
Mentions
Search