1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296
|
<asp:ScriptManager ID="sm" runat="server" EnableHistory="true" OnNavigate="sm_Navigate" EnableSecureHistoryState="false" />
<asp:UpdatePanel ID="upMainContent" runat="server">
<ContentTemplate>
<asp:Panel runat="server" ID="maincontent">
<div id="container-in">
<div id="content">
<asp:Label runat="server" ID="lblNoProducts" Visible="false" Text="No technical sheets found"></asp:Label>
<asp:Label runat="server" ID="lblMessage" Visible="false" ForeColor="Red"></asp:Label>
<asp:Panel runat="server" ID="ListProduct">
<asp:Repeater ID="rptTechnicalSheets" runat="server">
<HeaderTemplate>
<ul id="productsList" class="active">
</HeaderTemplate>
<ItemTemplate>
<li>
<div class="thumb">
<span></span>
<img alt="" src='<%# DataBinder.Eval(Container.DataItem, "Thumbnail") %>' />
<%--<a href='<%= baseurl + "?id=" %><%# DataBinder.Eval(Container.DataItem, "Id")%>' title='<%# DataBinder.Eval(Container.DataItem, "Title") %>'><%# DataBinder.Eval(Container.DataItem, "Title") %></a>--%>
<asp:LinkButton runat="server" ID="lnkDetailTS" OnClick="lnkDetailTS_Click" OnClientClick="$('#maincontent').removeClass('container1');" ToolTip='<%# DataBinder.Eval(Container.DataItem, "Title") %>' Text='<%# DataBinder.Eval(Container.DataItem, "Title") %>' CommandArgument='<%# DataBinder.Eval(Container.DataItem, "Id")%>'></asp:LinkButton>
<%--<a href='<%= baseurl + "?id=" %><%# DataBinder.Eval(Container.DataItem, "Id")%>' title='<%# DataBinder.Eval(Container.DataItem, "Title") %>'><%# DataBinder.Eval(Container.DataItem, "Title") %></a>--%>
</div>
</li>
</ItemTemplate>
<FooterTemplate>
</ul>
</FooterTemplate>
</asp:Repeater>
<%--<asp:Literal runat="server" ID="litPager"></asp:Literal>--%>
<asp:Panel ID="pagination" runat="server">
<p class="nav2">
<asp:LinkButton ID="btnPrevious" CausesValidation="false" Visible="false" CssClass="prev" OnClick="btnPagination_Click" runat="server">
</asp:LinkButton>
<asp:LinkButton ID="btnNext" CausesValidation="false" Visible="false" CssClass="next" OnClick="btnPagination_Click" runat="server">
</asp:LinkButton>
</p>
</asp:Panel>
</asp:Panel>
</div>
<asp:Panel Id="side2" runat="server" Visible="false" ClientIDMode="Static" >
<div id="productPhoto">
<div class="thumb">
<span></span>
<img alt="" src="<%=ProductImage %>" /></div>
<asp:Panel runat="server" ID="pnlActions">
<ul class="actions">
<asp:Repeater runat="server" ID="rptActions">
<ItemTemplate>
<li class="<%# DataBinder.Eval(Container.DataItem, "CssClass") %>">
<a target="<%# DataBinder.Eval(Container.DataItem, "Target") %>" href="<%# DataBinder.Eval(Container.DataItem, "Url") %>" title="<%# DataBinder.Eval(Container.DataItem, "Title") %>"><%# DataBinder.Eval(Container.DataItem, "Title") %></a>
</li>
</ItemTemplate>
</asp:Repeater>
<li class="order" runat="server" id="liOrder" visible="false">
<asp:LinkButton runat="server" ID="lnkOrderSample" OnClick="lnkOrderSample_Click"></asp:LinkButton>
<asp:Panel runat="server" ID="pnlContactUs" Visible="false">
<p>
For more information, please <a href="<%= contacturl %>" title="<%= Telerik.Sitefinity.Localization.Res.Get<SitefinityWebApp.Resources.AptarLabels>().ContactUs.ToLower() %>"><%= Telerik.Sitefinity.Localization.Res.Get<SitefinityWebApp.Resources.AptarLabels>().ContactUs.ToLower() %></a>
</p>
</asp:Panel>
</li>
</ul>
</asp:Panel>
</div>
</asp:Panel>
</div>
<div id="side1">
<div id="finder">
<p class="head">
Product Finder</p>
<p>
Please select one to many criteria</p>
<%--<asp:UpdatePanel runat="server" UpdateMode="Conditional">
<ContentTemplate>--%>
<!-- Beauty -->
<asp:Panel runat="server" ID="PanelBeauty" Visible="false">
<%--<telerik:RadComboBox runat="server" ID="ddlRegions" Width="210px" EnableEmbeddedBaseStylesheet="false" EnableEmbeddedSkins="false"
MarkFirstMatch="true" EnableLoadOnDemand="true" CssClass="custom-select select1"
HighlightTemplatedItems="true" AppendDataBoundItems="true" OnSelectedIndexChanged="ddlRegions_SelectedIndexChanged"
AutoPostBack="true" CausesValidation="false" DataTextField="Title" DataValueField="Id">
</telerik:RadComboBox>
<telerik:RadComboBox runat="server" ID="ddlCategories" Width="210px" EnableEmbeddedBaseStylesheet="false" EnableEmbeddedSkins="false"
MarkFirstMatch="true" EnableLoadOnDemand="true" CssClass="custom-select select1"
HighlightTemplatedItems="true" AppendDataBoundItems="true" OnSelectedIndexChanged="ddlCategories_SelectedIndexChanged"
AutoPostBack="true" CausesValidation="false" DataTextField="Title" DataValueField="Id">
</telerik:RadComboBox>
<telerik:RadComboBox runat="server" ID="ddlMarketingSheets" Width="210px" EnableEmbeddedBaseStylesheet="false" EnableEmbeddedSkins="false" OnSelectedIndexChanged="ddlMarketingSheets_SelectedIndexChanged"
MarkFirstMatch="true" EnableLoadOnDemand="true" CssClass="custom-select select1"
HighlightTemplatedItems="true" AppendDataBoundItems="true"
AutoPostBack="true" CausesValidation="false" DataTextField="Title" DataValueField="Id">
</telerik:RadComboBox>
<telerik:RadComboBox runat="server" ID="ddlPackageCapacity" Width="210px" EnableEmbeddedBaseStylesheet="false" EnableEmbeddedSkins="false" OnSelectedIndexChanged="ddlPackageCapacity_SelectedIndexChanged"
MarkFirstMatch="true" EnableLoadOnDemand="true" CssClass="custom-select select1"
HighlightTemplatedItems="true" AppendDataBoundItems="true"
AutoPostBack="true" CausesValidation="false" DataTextField="Title" DataValueField="Id">
</telerik:RadComboBox>
<telerik:RadComboBox runat="server" ID="ddlNeckFinishBeauty" Width="210px" EnableEmbeddedBaseStylesheet="false" EnableEmbeddedSkins="false" OnSelectedIndexChanged="ddlNeckFinishBeauty_SelectedIndexChanged"
MarkFirstMatch="true" EnableLoadOnDemand="true" CssClass="custom-select select1"
HighlightTemplatedItems="true" AppendDataBoundItems="true"
AutoPostBack="true" CausesValidation="false" DataTextField="Title" DataValueField="Id">
</telerik:RadComboBox>
<telerik:RadComboBox runat="server" ID="ddlDosagesMinBeauty" Width="210px" EnableEmbeddedBaseStylesheet="false" EnableEmbeddedSkins="false" OnSelectedIndexChanged="ddlDosagesMinBeauty_SelectedIndexChanged"
MarkFirstMatch="true" EnableLoadOnDemand="true" CssClass="custom-select select1"
HighlightTemplatedItems="true" AppendDataBoundItems="true"
AutoPostBack="true" CausesValidation="false" DataTextField="Title" DataValueField="Id">
</telerik:RadComboBox>
<telerik:RadComboBox runat="server" ID="ddlDosagesMaxBeauty" Width="210px" EnableEmbeddedBaseStylesheet="false" EnableEmbeddedSkins="false" OnSelectedIndexChanged="ddlDosagesMaxBeauty_SelectedIndexChanged"
MarkFirstMatch="true" EnableLoadOnDemand="true" CssClass="custom-select select1"
HighlightTemplatedItems="true" AppendDataBoundItems="true"
AutoPostBack="true" CausesValidation="false" DataTextField="Title" DataValueField="Id">
</telerik:RadComboBox>--%>
<asp:DropDownList runat="server" ID="ddlRegions" Width="210px" DataTextField="Title" DataValueField="Id" TabIndex="1"
CssClass="select1" OnSelectedIndexChanged="ddlRegions_SelectedIndexChanged"
AutoPostBack="True" AppendDataBoundItems="true" CausesValidation="false">
</asp:DropDownList>
<asp:DropDownList runat="server" ID="ddlCategories" Width="210px" DataTextField="Title"
DataValueField="Id" CssClass="custom-select select1" OnSelectedIndexChanged="ddlCategories_SelectedIndexChanged" TabIndex="2"
AutoPostBack="True" AppendDataBoundItems="true" CausesValidation="false">
</asp:DropDownList>
<asp:DropDownList runat="server" ID="ddlMarketingSheets" Width="210px" DataTextField="Title"
DataValueField="Id" CssClass="custom-select select1" OnSelectedIndexChanged="ddlMarketingSheets_SelectedIndexChanged" TabIndex="3"
AutoPostBack="True" AppendDataBoundItems="true" CausesValidation="false">
</asp:DropDownList>
<asp:DropDownList runat="server" ID="ddlPackageCapacity" Width="210px" DataTextField="Title"
DataValueField="Id" CssClass="custom-select select1" OnSelectedIndexChanged="ddlPackageCapacity_SelectedIndexChanged" TabIndex="4"
AutoPostBack="True" AppendDataBoundItems="true" CausesValidation="false">
</asp:DropDownList>
<asp:DropDownList runat="server" ID="ddlNeckFinishBeauty" Width="210px" DataTextField="Title"
DataValueField="Id" CssClass="custom-select select1" OnSelectedIndexChanged="ddlNeckFinishBeauty_SelectedIndexChanged" TabIndex="5"
AutoPostBack="True" AppendDataBoundItems="true" CausesValidation="false">
</asp:DropDownList>
<asp:DropDownList runat="server" ID="ddlDosagesMinBeauty" Width="210px" DataTextField="Title"
DataValueField="Id" CssClass="custom-select select1" OnSelectedIndexChanged="ddlDosagesMinBeauty_SelectedIndexChanged" TabIndex="6"
AutoPostBack="True" AppendDataBoundItems="true" CausesValidation="false">
</asp:DropDownList>
<asp:DropDownList runat="server" ID="ddlDosagesMaxBeauty" Width="210px" DataTextField="Title"
DataValueField="Id" CssClass="custom-select select1" OnSelectedIndexChanged="ddlDosagesMaxBeauty_SelectedIndexChanged" TabIndex="7"
AutoPostBack="True" AppendDataBoundItems="true" CausesValidation="false">
</asp:DropDownList>
</asp:Panel>
<!-- Personal Care -->
<asp:Panel runat="server" ID="PanelPersonalCare" Visible="false">
<asp:DropDownList runat="server" ID="ddlListRegionPersonalCare" Width="210px" DataTextField="Title" DataValueField="Id" TabIndex="1"
CssClass="custom-select select1" OnSelectedIndexChanged="ddlListRegionPersonalCare_SelectedIndexChanged"
AutoPostBack="True" AppendDataBoundItems="true" CausesValidation="false">
</asp:DropDownList>
<asp:DropDownList runat="server" ID="ddlcategoryPersonalCare" Width="210px" DataTextField="Title"
DataValueField="Id" CssClass="custom-select select1" TabIndex="2" OnSelectedIndexChanged="ddlcategoryPersonalCare_SelectedIndexChanged"
AutoPostBack="True" AppendDataBoundItems="true" CausesValidation="false">
</asp:DropDownList>
<asp:DropDownList runat="server" ID="ddlSubCategoryPersonalCare" Width="210px" DataTextField="Title"
DataValueField="Id" CssClass="custom-select select1" OnSelectedIndexChanged="ddlSubCategoryPersonalCare_SelectedIndexChanged" TabIndex="3"
AutoPostBack="True" AppendDataBoundItems="true" CausesValidation="false">
</asp:DropDownList>
<asp:DropDownList runat="server" ID="ddlApplicationFieldsPersonalCare" Width="210px" DataTextField="Title" TabIndex="4"
DataValueField="Id" CssClass="custom-select select1" OnSelectedIndexChanged="ddlApplicationFieldsPersonalCare_SelectedIndexChanged"
AutoPostBack="True" AppendDataBoundItems="true" CausesValidation="false">
</asp:DropDownList>
<asp:DropDownList runat="server" ID="ddlNeckPersonalCare" Width="210px" DataTextField="Title"
DataValueField="Id" CssClass="custom-select select1" OnSelectedIndexChanged="ddlNeckPersonalCare_SelectedIndexChanged" TabIndex="5"
AutoPostBack="True" AppendDataBoundItems="true" CausesValidation="false">
</asp:DropDownList>
<asp:DropDownList runat="server" ID="ddlDosageMinPersonalCare" Width="210px" DataTextField="Title"
DataValueField="Id" CssClass="custom-select select1" OnSelectedIndexChanged="ddlDosageMinPersonalCare_SelectedIndexChanged" TabIndex="6"
AutoPostBack="True" AppendDataBoundItems="true" CausesValidation="false">
</asp:DropDownList>
<asp:DropDownList runat="server" ID="ddlDosageMaxPersonalCare" Width="210px" DataTextField="Title" TabIndex="7"
DataValueField="Id" CssClass="custom-select select1" OnSelectedIndexChanged="ddlDosageMaxPersonalCare_SelectedIndexChanged"
AutoPostBack="True" AppendDataBoundItems="true" CausesValidation="false">
</asp:DropDownList>
</asp:Panel>
<!-- Home care -->
<asp:Panel runat="server" ID="PanelHomeCare" Visible="false">
<asp:DropDownList runat="server" ID="ddlRegionHomeCare" Width="210px" DataTextField="Title" TabIndex="1"
DataValueField="Id" CssClass="custom-select select1" OnSelectedIndexChanged="ddlRegionHomeCare_SelectedIndexChanged"
AutoPostBack="True" AppendDataBoundItems="true" CausesValidation="false">
</asp:DropDownList>
<asp:DropDownList runat="server" ID="ddlCategoryHomeCare" Width="210px" DataTextField="Title" TabIndex="2"
DataValueField="Id" CssClass="custom-select select1" OnSelectedIndexChanged="ddlCategoryHomeCare_SelectedIndexChanged"
AutoPostBack="True" AppendDataBoundItems="true" CausesValidation="false">
</asp:DropDownList>
<asp:DropDownList runat="server" ID="ddlSubCategoryHomeCare" Width="210px" DataTextField="Title" TabIndex="3"
DataValueField="Id" CssClass="custom-select select1" OnSelectedIndexChanged="ddlSubCategoryHomeCare_SelectedIndexChanged"
AutoPostBack="True" AppendDataBoundItems="true" CausesValidation="false">
</asp:DropDownList>
<asp:DropDownList runat="server" ID="ddlApplicationFieldsHomeCare" Width="210px" DataTextField="Title" TabIndex="4"
DataValueField="Id" CssClass="custom-select select1" OnSelectedIndexChanged="ddlApplicationFieldsHomeCare_SelectedIndexChanged"
AutoPostBack="True" AppendDataBoundItems="true" CausesValidation="false">
</asp:DropDownList>
<asp:DropDownList runat="server" ID="ddlNeckHomeCare" Width="210px" DataTextField="Title" TabIndex="5"
DataValueField="Id" CssClass="custom-select select1" OnSelectedIndexChanged="ddlNeckHomeCare_SelectedIndexChanged"
AutoPostBack="True" AppendDataBoundItems="true" CausesValidation="false">
</asp:DropDownList>
<asp:DropDownList runat="server" ID="ddlDosageMinHomeCare" Width="210px" DataTextField="Title" TabIndex="6"
DataValueField="Id" CssClass="custom-select select1" OnSelectedIndexChanged="ddlDosageMinHomeCare_SelectedIndexChanged"
AutoPostBack="True" AppendDataBoundItems="true" CausesValidation="false">
</asp:DropDownList>
<asp:DropDownList runat="server" ID="ddlDosageMaxHomeCare" Width="210px" DataTextField="Title" TabIndex="7"
DataValueField="Id" CssClass="custom-select select1" OnSelectedIndexChanged="ddlDosageMaxHomeCare_SelectedIndexChanged"
AutoPostBack="True" AppendDataBoundItems="true" CausesValidation="false">
</asp:DropDownList>
</asp:Panel>
<!-- Food -->
<asp:Panel runat="server" ID="PanelFood" Visible="false">
<asp:DropDownList runat="server" ID="ddlRegionF" Width="210px" DataTextField="Title" TabIndex="1"
DataValueField="Id" CssClass="custom-select select1" OnSelectedIndexChanged="ddlRegionF_SelectedIndexChanged"
AutoPostBack="True" AppendDataBoundItems="true" CausesValidation="false">
</asp:DropDownList>
<asp:DropDownList runat="server" ID="ddlCategoryF" Width="210px" DataTextField="Title" TabIndex="2"
DataValueField="Id" CssClass="custom-select select1" OnSelectedIndexChanged="ddlCategoryF_SelectedIndexChanged"
AutoPostBack="True" AppendDataBoundItems="true" CausesValidation="false">
</asp:DropDownList>
<asp:DropDownList runat="server" ID="ddlSubCategoryF" Width="210px" DataTextField="Title" TabIndex="3"
DataValueField="Id" CssClass="custom-select select1" OnSelectedIndexChanged="ddlSubCategoryF_SelectedIndexChanged"
AutoPostBack="True" AppendDataBoundItems="true" CausesValidation="false">
</asp:DropDownList>
<asp:DropDownList runat="server" ID="ddlApplicationFieldsFood" Width="210px" DataTextField="Title" TabIndex="4"
DataValueField="Id" CssClass="custom-select select1" OnSelectedIndexChanged="ddlApplicationFieldsFood_SelectedIndexChanged"
AutoPostBack="True" AppendDataBoundItems="true" CausesValidation="false">
</asp:DropDownList>
<asp:DropDownList runat="server" ID="ddlNeckF" Width="210px" DataTextField="Title" TabIndex="4"
DataValueField="Id" CssClass="custom-select select1" OnSelectedIndexChanged="ddlNeckF_SelectedIndexChanged"
AutoPostBack="True" AppendDataBoundItems="true" CausesValidation="false">
</asp:DropDownList>
<asp:DropDownList runat="server" ID="ddlSimpliSqueezeF" Width="210px" DataTextField="Title" TabIndex="5"
DataValueField="Id" CssClass="custom-select select1" OnSelectedIndexChanged="ddlSimpliSqueezeF_SelectedIndexChanged"
AutoPostBack="True" AppendDataBoundItems="true" CausesValidation="false">
</asp:DropDownList>
<asp:DropDownList runat="server" ID="ddlLinerCapableF" Width="210px" DataTextField="Title" TabIndex="5"
DataValueField="Id" CssClass="custom-select select1" OnSelectedIndexChanged="ddlLinerCapableF_SelectedIndexChanged"
AutoPostBack="True" AppendDataBoundItems="true" CausesValidation="false">
</asp:DropDownList>
<asp:DropDownList runat="server" ID="ddlDosageF" Width="210px" DataTextField="Title" TabIndex="5"
DataValueField="Id" CssClass="custom-select select1" OnSelectedIndexChanged="ddlDosageF_SelectedIndexChanged"
AutoPostBack="True" AppendDataBoundItems="true" CausesValidation="false">
</asp:DropDownList>
</asp:Panel>
<!-- Food -->
<asp:Panel runat="server" ID="PanelBeverage" Visible="false">
<asp:DropDownList runat="server" ID="ddlRegionsBV" Width="210px" DataTextField="Title" TabIndex="1"
DataValueField="Id" CssClass="custom-select select1" OnSelectedIndexChanged="ddlRegionsBV_SelectedIndexChanged"
AutoPostBack="True" AppendDataBoundItems="true" CausesValidation="false">
</asp:DropDownList>
<asp:DropDownList runat="server" ID="ddlCategoryBV" Width="210px" DataTextField="Title" TabIndex="2"
DataValueField="Id" CssClass="custom-select select1" OnSelectedIndexChanged="ddlCategoryBV_SelectedIndexChanged"
AutoPostBack="True" AppendDataBoundItems="true" CausesValidation="false">
</asp:DropDownList>
<asp:DropDownList runat="server" ID="ddlSubCategoriesBV" Width="210px" DataTextField="Title" TabIndex="3"
DataValueField="Id" CssClass="custom-select select1" OnSelectedIndexChanged="ddlSubCategoriesBV_SelectedIndexChanged"
AutoPostBack="True" AppendDataBoundItems="true" CausesValidation="false">
</asp:DropDownList>
<asp:DropDownList runat="server" ID="ddlApplicationFieldsBV" Width="210px" DataTextField="Title" TabIndex="4"
DataValueField="Id" CssClass="custom-select select1" OnSelectedIndexChanged="ddlApplicationFieldsBV_SelectedIndexChanged"
AutoPostBack="True" AppendDataBoundItems="true" CausesValidation="false">
</asp:DropDownList>
<asp:DropDownList runat="server" ID="ddlNeckFinishBV" Width="210px" DataTextField="Title" TabIndex="4"
DataValueField="Id" CssClass="custom-select select1" OnSelectedIndexChanged="ddlNeckFinishBV_SelectedIndexChanged"
AutoPostBack="True" AppendDataBoundItems="true" CausesValidation="false">
</asp:DropDownList>
<asp:DropDownList runat="server" ID="ddlSimpliSqueezeBV" Width="210px" DataTextField="Title" TabIndex="5"
DataValueField="Id" CssClass="custom-select select1" OnSelectedIndexChanged="ddlSimpliSqueezeBV_SelectedIndexChanged"
AutoPostBack="True" AppendDataBoundItems="true" CausesValidation="false">
</asp:DropDownList>
<asp:DropDownList runat="server" ID="ddlLinerCapableBV" Width="210px" DataTextField="Title" TabIndex="5"
DataValueField="Id" CssClass="custom-select select1" OnSelectedIndexChanged="ddlLinerCapableBV_SelectedIndexChanged"
AutoPostBack="True" AppendDataBoundItems="true" CausesValidation="false">
</asp:DropDownList>
</asp:Panel>
<p class="button">
<asp:Button runat ="server" ID="btnReset" Text="Reset search" OnClick="btnReset_Click" />
<asp:Button runat ="server" ID="btnSearch" Text="Start search" OnClick="btnSearch_Click" />
</p>
</div>
</div>
</asp:Panel>
<asp:UpdateProgress ID="upgr" runat="server">
<ProgressTemplate>
<div>
<img src="/Medias/Images/loading.gif" alt="" />
</div>
</ProgressTemplate>
</asp:UpdateProgress>
<FC:UpdateProgressOverlayExtender ID="upoe" runat="server" ControlToOverlayID="upMainContent" CssClass="updateProgress" TargetControlID="upgr" />
</contenttemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="btnReset" />
<asp:AsyncPostBackTrigger ControlID="btnSearch" />
</Triggers>
</asp:UpdatePanel> |
Partager