Skip to main content

ReportViewer Toolbar with Style Sheet

Microsoft Reporting Services for web provides default cascading style sheets (.css) files that is embedded and defines styles for the report toolbar in HTML Viewer and Report Manage. If you want to customize the report toolbar as your own styled control like your own color, font and layout of items, you must be struggling to adjust style sheet for reportviewer. In the meantime a web developer are working on css file, sometimes faces with weird situation seeming never revealing why stupid error happens after it perfectly worked. After publishing an web application to an IIS 7.0 server, The Toolbar which worked nicely is completely broken and showed up something like this,

Comments

Popular posts from this blog

ASP.NET Core & Angular 2 - Chapter 2 Routing

Route to a component The Angular 2 router is a powerful tool which enables you to do just that. Specifically you can configure it to route to a component when the user enters a specific url for your site. So in this case, we could configure it so that navigating to http://domain/hello routes directly to the hello world component. Open up your app.module.ts file and make the following simple change in routing section. 1 2 3 4 5 6 7 8 9 10 11 imports: [      DefaultModules, //This automatically imports BrowserModule, HttpModule, and JsonpModule too.      RouterModule.forRoot([          { path: '' , redirectTo: 'home' , pathMatch: 'full' },          { path: 'home' , component: HomeComponent },          { path: 'counter' , component: CounterComponent },       ...

ASP.NET Core & Angular 2 - Chapter 3 Display the weather

Display the weather We’ll take a look at how to create a .NET Core Web API controller, retrieve data from it and pass that up to the Angular front end (where it will be rendered as a page on your site). Add Controller Method We’ll initially just add a simple method to the WeatherController to make use of the OpenWeather API to get forecast by City. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 26 27 28 29 30 31 32 [HttpGet("[action]/{city}")] public async Task WeatherForecast(string city) { using (var client = new HttpClient()) { try { client.BaseAddress = new Uri("http://api.openweathermap.org"); var response = await client.GetAsync($"/data/2.5/weather?q={city}&appid=[Insert API Key Here ]&units=metric"); response.EnsureSuccessStatusCode(); var result = await response.Content.ReadAsStringAsync(); ...