dfe6f9a2964df1d537e4c3a8326ae6302686681d
Guides/MVC-Integration.md
| ... | ... | @@ -403,8 +403,38 @@ public class MvcApplication : System.Web.HttpApplication |
| 403 | 403 | } |
| 404 | 404 | |
| 405 | 405 | ``` |
| 406 | +###Step 11. Change the Logo |
|
| 406 | 407 | |
| 407 | -###Step 11. Change the LicenseKey and ConnnectionString in Global.asax of project |
|
| 408 | +**a.** Open _SiteLayout.cshtml in Views\Shared\ in Solution Explorer |
|
| 409 | + |
|
| 410 | +**b.** Find the below two lines in the body of html |
|
| 411 | + |
|
| 412 | +<div class="left-logo"> |
|
| 413 | + <img src="~/Resources/FromDLL/Resources/ModernImages/bi-logo.png" alt="Business intelligence" /> //top-left logo |
|
| 414 | + </div> |
|
| 415 | + <div class="right-logo"> |
|
| 416 | + @if (!String.IsNullOrEmpty(Izenda.AdHoc.AdHocSettings.ApplicationHeaderImageUrl)) { |
|
| 417 | + <text> |
|
| 418 | + <a href="http://izenda.com" style="position: relative; top: 4px;"><img class="right-logo" src="@Html.Raw(Izenda.AdHoc.AdHocSettings.ApplicationHeaderImageUrl)" alt="Izenda Reports" /></a> |
|
| 419 | + ></text> |
|
| 420 | + } |
|
| 421 | + else { |
|
| 422 | + <text> |
|
| 423 | + <a href="http://izenda.com" style="position: relative; top: 4px;"><img class="right-logo" src="~/Resources/FromDLL/Resources/ModernImages/IzendaNewLogoBlue.png" alt="Izenda Reports" /></a> |
|
| 424 | + </text> |
|
| 425 | + }```html |
|
| 426 | + |
|
| 427 | + |
|
| 428 | + |
|
| 429 | + |
|
| 430 | + |
|
| 431 | +``` |
|
| 432 | + |
|
| 433 | +**c .** Each line corresponds to top-left and top-right logos respectively. |
|
| 434 | + |
|
| 435 | + |
|
| 436 | + |
|
| 437 | +###Step 12. Change the LicenseKey and ConnnectionString in Global.asax of project |
|
| 408 | 438 | |
| 409 | 439 | To get a new trial key, you may contact [sales@izenda.com](mailto:sales@izenda.com). |
| 410 | 440 | |
| ... | ... | @@ -414,7 +444,7 @@ AdHocSettings.LicenseKey = "INSERT_LICENSE_KEY_HERE"; |
| 414 | 444 | AdHocSettings.SqlServerConnectionString = @"INSERT_CONNECTION_STRING_HERE"; |
| 415 | 445 | |
| 416 | 446 | ``` |
| 417 | -###Step 12. Run it! |
|
| 447 | +###Step 13. Run it! |
|
| 418 | 448 | |
| 419 | 449 | After Step 11, the Sample_MVCApp should build and work without a problem. To see if Izenda is integrated with this web application, |
| 420 | 450 |