35760fe7e92dc11d19c4958921f8008fceacf76d
Guides/Webform-Integration-Sub-Folder.md
| ... | ... | @@ -174,7 +174,7 @@ protected override void OnInit(EventArgs e) { |
| 174 | 174 | |
| 175 | 175 | |
| 176 | 176 | |
| 177 | -###Step 5. Copy the below code from <Head> section from Default.master from webform kit to the <Head> section of website masterpage |
|
| 177 | +###Step 6. Copy the below code from <Head> section from Default.master from webform kit to the <Head> section of website masterpage |
|
| 178 | 178 | |
| 179 | 179 | **a.** Copy the below code from <Head> section from Default.master of webform kit to the <Head> section of Site.master |
| 180 | 180 | |
| ... | ... | @@ -214,8 +214,22 @@ protected override void OnInit(EventArgs e) { |
| 214 | 214 | |
| 215 | 215 | ``` |
| 216 | 216 | |
| 217 | -**b.** Copy the below code from <Head> section from Default.master of webform kit to the <Head> section of Site.master |
|
| 217 | +**b.** In contents copied at previous step, locate five <link> tags which have following href attribute |
|
| 218 | 218 | |
| 219 | +href="Resources/...." and change them to href="RRR/Resources/...." |
|
| 220 | + |
|
| 221 | + |
|
| 222 | +**c.** At the end <Head> section, insert the below code snippet. If sub folder has different name, replace the index of 'Izenda' below with that name. |
|
| 223 | +```html |
|
| 224 | + <script type="text/javascript"> |
|
| 225 | + $(document).ready(function HideHeader() { |
|
| 226 | + if (window.location.href.indexOf('Izenda') === -1) { |
|
| 227 | + document.getElementById('blueHeader').style.display = 'none'; |
|
| 228 | + } |
|
| 229 | + }); |
|
| 230 | + </script> |
|
| 231 | + |
|
| 232 | +``` |
|
| 219 | 233 | |
| 220 | 234 | **a.** Add 'Reporting'and 'Resources'from \mvc5r3 to project by dragging and dropping them in Solution Explorer as below |
| 221 | 235 |