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


Reply
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


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search