4e7d2a8882f414305dd1062a75f4d5a4d1a4c571
Guides/Webform-Integration-Sub-Folder.md
| ... | ... | @@ -76,7 +76,7 @@ Copy the below code from Global.asax of webform kit to Global.asax of website |
| 76 | 76 | |
| 77 | 77 | ``` |
| 78 | 78 | |
| 79 | -Also, add Izenda.Adhoc namespace. now global.asax of website should look like as below |
|
| 79 | +And add Izenda.Adhoc namespace. now global.asax of website should look like as below |
|
| 80 | 80 | |
| 81 | 81 | ```csharp |
| 82 | 82 | <%@ Application Language="C#" %> |
| ... | ... | @@ -147,7 +147,7 @@ Also, add Izenda.Adhoc namespace. now global.asax of website should look like as |
| 147 | 147 | |
| 148 | 148 | ###Step 4. Copy OnInit method from Default.master.cs from webform kit to corresponding file/method of website master page |
| 149 | 149 | |
| 150 | -Copy the below method from Default.master.cs of webform kit to Site.master.cs of the website |
|
| 150 | +Copy the below method from Default.master.cs of webform kit to Site.master.cs of the website. And add Izenda.AdHoc namespace to Site.master.cs |
|
| 151 | 151 | |
| 152 | 152 | ```csharp |
| 153 | 153 | |
| ... | ... | @@ -170,7 +170,44 @@ protected override void OnInit(EventArgs e) { |
| 170 | 170 | |
| 171 | 171 | |
| 172 | 172 | |
| 173 | -###Step 5. Add Reporting and Resources folders to the project |
|
| 173 | +###Step 5. Copy the below code from <Head> section from Default.master from webform kit to the <Head> section of website master page |
|
| 174 | + |
|
| 175 | +```html |
|
| 176 | + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
|
| 177 | + <meta http-equiv="X-UA-Compatible" content="IE=edge" /> |
|
| 178 | + <meta http-equiv="Expires" content="0" /> |
|
| 179 | + <meta http-equiv="Pragma" content="no-cache" /> |
|
| 180 | + <meta name="robots" content="noindex, follow" /> |
|
| 181 | + <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
|
| 182 | + <link rel="alternate" href="" title="Team Blog - RSS" type="application/rss+xml" /> |
|
| 183 | + <link rel="shortcut icon" href="Resources/FromDLL/Resources/ModernImages/report-icon.png" type='image/png' /> |
|
| 184 | + <link rel="stylesheet" href="Resources/css/reset2.css" type="text/css" /> |
|
| 185 | + <link rel="stylesheet" href="Resources/css/print.css" type="text/css" media="print" /> |
|
| 186 | + <link rel="stylesheet" href="Resources/css/fun.css" type="text/css" /> |
|
| 187 | + |
|
| 188 | + <asp:ContentPlaceHolder ID="ChangeableHeader" runat="server"> |
|
| 189 | + <link href="./rs.aspx?css=ModernStyles.bootstrap-responsive" rel="stylesheet" /> |
|
| 190 | + <link href="./rs.aspx?css=ModernStyles.bootstrap" rel="stylesheet" /> |
|
| 191 | + <link href="./rs.aspx?css=ModernStyles.bootstrap-modals" rel="stylesheet" /> |
|
| 192 | + <link href="./rs.aspx?css=ModernStyles.bootstrap-override" rel="stylesheet" /> |
|
| 193 | + <script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> |
|
| 194 | + <script type="text/javascript" src="./rs.aspx?js=ModernScripts.jquery-1.7.2.min"></script> |
|
| 195 | + </asp:ContentPlaceHolder> |
|
| 196 | + |
|
| 197 | + <link rel="stylesheet" href="Resources/css/main.css" type="text/css" /> |
|
| 198 | + <script type="text/javascript" src="./rs.aspx?js=ModernScripts.bootstrap-dropdown"></script> |
|
| 199 | + <script type="text/javascript" src="./rs.aspx?js=ModernScripts.bootstrap-tab"></script> |
|
| 200 | + <script type="text/javascript" src="./rs.aspx?js=ModernScripts.bootstrap-transition"></script> |
|
| 201 | + <script type="text/javascript" src="./rs.aspx?js=ModernScripts.bootstrap-modal"></script> |
|
| 202 | + <script type="text/javascript" src="Resources/js/main.js"></script> |
|
| 203 | + <script type="text/javascript"> |
|
| 204 | + //htmlChartColors = ['#ff0000', '#00ff00', '#0000ff', '#910000', '#1aadce', '#492970', '#f28f43', '#77a1e5', '#c42525', '#a6c96a']; |
|
| 205 | + </script> |
|
| 206 | + <!-- Page header injection --> |
|
| 207 | + <asp:ContentPlaceHolder ID="HeadPlaceHolder" runat="server"></asp:ContentPlaceHolder> |
|
| 208 | + |
|
| 209 | +``` |
|
| 210 | + |
|
| 174 | 211 | |
| 175 | 212 | **a.** Add 'Reporting'and 'Resources'from \mvc5r3 to project by dragging and dropping them in Solution Explorer as below |
| 176 | 213 |