amar devkate
Top achievements
Rank 1
amar devkate
asked on 24 Jul 2009, 07:50 AM
hi..............
i have face some problem when use the rad ajax manager in my application.
probem is that when some control get trigger upadate control take much more time . in application
suppose on changeindexing of drop down some other drop down is changeing take more time , but same process or code write separately in application then code execute speedly ?
can any body tell me what problem in my logic
i have face some problem when use the rad ajax manager in my application.
probem is that when some control get trigger upadate control take much more time . in application
suppose on changeindexing of drop down some other drop down is changeing take more time , but same process or code write separately in application then code execute speedly ?
can any body tell me what problem in my logic
3 Answers, 1 is accepted
0
SamJ
Top achievements
Rank 1
answered on 25 Jul 2009, 04:09 PM
Hi amar,
Can you share a bit more information on your case?
Pasting here the problematic page code and the ajax manager settings would help in finding what is wrong there.
Regards,
SamJ
Can you share a bit more information on your case?
Pasting here the problematic page code and the ajax manager settings would help in finding what is wrong there.
Regards,
SamJ
0
amar devkate
Top achievements
Rank 1
answered on 27 Jul 2009, 07:41 AM
hi sam this is code of my application
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="manageproduct.aspx.cs" Inherits="Administrator_Modules_manageproduct_manageproduct" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<radscriptblock id="RadScriptBlock1" runat="server">
<script type="text/javascript">
//////////////////////////////////////////////
function startrequest(target, arguments)
{
createlodingpanel();
}
function endrequest(target, arguments)
{
removeloadingpanel();
}
function removeloadingpanel()
{
var div=document.getElementById("maindiv");
var olddiv=document.getElementById("divImage");
div.removeChild(olddiv);
}
function createlodingpanel()
{
var div=document.getElementById("maindiv");
var newdiv = document.createElement('div');
var divIdName = 'divImage';
newdiv.setAttribute('id',divIdName);
newdiv.style.width =div.offsetWidth+"px";//div.offsetWidth;// "100px";
newdiv.style.height =GetbrowserHeight()-183+"px";
newdiv.style.left =getAbsX(div)+"px";// "100px";
newdiv.style.top = getAbsY(div)+"px";//div.offsetTop-div.offsetHeight;//"100px";
newdiv.style.position = "absolute";
newdiv.style.background = "#FFFFFF";
//newdiv.style.zIndex="999";
newdiv.style.filter="alpha(opacity=80)";
newdiv.style.mozOpacity="0.80";
newdiv.style.khtmlOpacity="0.80";
newdiv.style.opacity="0.80";
div.appendChild(newdiv);
var childdiv=document.createElement('div');
childdiv.setAttribute('id',"childdiv");
childdiv.style.width =((newdiv.offsetWidth)/2)+"px";
childdiv.style.height =(newdiv.offsetHeight/2)+"px";
childdiv.style.left =(getAbsX(newdiv)+(newdiv.offsetWidth)/2)-115+"px";
childdiv.style.top = ((newdiv.offsetHeight/2))-80+"px";
childdiv.style.position = "absolute";
newdiv.style.zIndex="999";
childdiv.innerHTML = "<div style='width:160px; padding:15px 0 0 50px; height:55px; border:4px solid #009cce;'><img src='../../Images/loading7.gif' alt='loading' /></div>";
newdiv.appendChild(childdiv);
}
function getAbsX(elt) { return (elt.x) ? elt.x : getAbsPos(elt,"Left"); }
function getAbsY(elt) { return (elt.y) ? elt.y : getAbsPos(elt,"Top"); }
function getAbsPos(elt,which) {
iPos = 0;
while (elt != null) {
iPos += elt["offset" + which];
elt = elt.offsetParent;
}
return iPos;
}
////////////////////////////////////////////////////
//RAD_SPLITTER_radslitter_Category
function GetbrowserWidth()
{
var x = 0;
if (self.innerHeight)
{
x = self.innerWidth;
}
else if (document.documentElement && document.documentElement.clientHeight)
{
x = document.documentElement.clientWidth;
}
else if (document.body)
{
x = document.body.clientWidth;
}
return x;
}
function GetbrowserHeight()
{
var y = 0;
if (self.innerHeight)
{
y = self.innerHeight;
}
else if (document.documentElement && document.documentElement.clientHeight)
{
y = document.documentElement.clientHeight;
}
else if (document.body)
{
y = document.body.clientHeight;
}
return y;
}
function setsplitterheight(sender)
{
var height=GetbrowserHeight()-183;
sender.set_height(height);
var panes = sender.getPanes();
for (i=0; i<panes.length; i++)
{
panes[i].set_height(height);
}
}
</script>
</radscriptblock>
<script language="javascript" type="text/javascript">
Telerik.Web.UI.Editor.ConvertToXhtmlFilter.prototype._convertRgbToHex = function(text)
{
return text;
}
function checkcustomer()
{
var i=0;
var bresult=false;
for(i=0;i<document.forms[0].elements.length;i++)
{
if(document.forms[0].elements[i].type=="checkbox")
{
if(document.forms[0].elements[i].checked==true)
{
bresult=true;
break;
}
}
}
if(!bresult)
{
alert("please first select checkbox");
return false;
}
return confirm("do you want to delete");
}
function checkproduct()
{
if(document.getElementById("hidbool").value=="true")
{
alert("product contains sub items so please first delete sub items ");
return false;
}
return confirm("do you want to delete");
}
function openupimage()
{
var name="";
var namebytextbox=document.getElementById("txtProductNameP").value;
var namebyhidden=document.getElementById("hiddenproduct_name").value;
var namebybanner=document.getElementById("hiddenbanner").value;
if(namebyhidden!="")
{
name=namebyhidden;
}
else{
name=namebytextbox;
}
if(name=="")
{
alert("Please Insert Product Name First !");
}
else{
var arr=new Array();
arr=name.split(' ');
var productname="";
for(var i=0;i<arr.length;i++)
{
if(productname!="")
{
if(arr[i]!="")
{
productname+="_"+arr[i];
}
}
else
{
if(arr[i]!="")
{
productname=arr[i];
}
}
}
window.open("product_imageupload.aspx?bannername="+namebybanner+"&name="+productname,'Product','status=1,scrollbars=1,width=900,height=650,left=200 ');
}
document.getElementById("hiddenproduct_name").value=namebytextbox;
return false;
}
////////////////////////////////
function openupvariantimage()
{
var name="";
var namebytextbox=document.getElementById("txtVariantNameV").value;
var namebyhidden=document.getElementById("hiddenvariantname").value;
var nameofparent_byhidden=document.getElementById("hiddenvariantparentname").value;
if(namebyhidden!="")
{
name=namebyhidden;
}
else{
name=namebytextbox;
}
if(name=="")
{
alert("Please Insert Product Name First !");
}
else{
var arr=new Array();
arr=name.split(' ');
var productname="";
for(var i=0;i<arr.length;i++)
{
if(productname!="")
{
if(arr[i]!="")
{
productname+="_"+arr[i];
}
}
else
{
if(arr[i]!="")
{
productname=arr[i];
}
}
}
if(nameofparent_byhidden!="")
{
productname=nameofparent_byhidden+"_"+productname;
}
window.open("product_imageupload.aspx?bool=0&name="+productname,'Product','status=1,scrollbars=1,width=900,height=650,left=200');
}
document.getElementById("hiddenvariantname").value=namebytextbox;
return false;
}
/////////////////////////////////////////
function openupsalepopup()
{
var dropdown=document.getElementById("drselectcategory").selectedIndex;
var dropdownvalue=document.getElementById("drselectcategory").options[dropdown].value;
dropdownvalue="&dropdownvalue="+dropdownvalue;
var str=document.getElementById("txtUpsaleProductIDsP").value;
///////////////////////////////////
var productid_var=document.getElementById("product_upsaleid").value;
var product_upsaleid1="";
product_upsaleid1="&product_id="+productid_var;
// alert("product_upsaleid1= "+product_upsaleid1);
///////////////////////////////////
var arr=new Array();
var url="";
var i=0;
//////////// add by amar on 26nov 2008
///////////////////////////////
if(str!="")
{
//////////////////////////////
var arr1=new Array();
var percentage="";
arr1=str.split('#');
var arr2=new Array();
// for(i=0;i<arr1.length;i++)
// {
//arr2=arr1[0].split(',');
// }
var arr3=new Array();
arr3=arr1[0].split(',');
var arr4=new Array();
arr4=arr1[1].split(',');
for(i=0;i<arr3.length;i++)
{
if(url!="")
{
url+="&pid"+(i+1)+"="+arr3[i];
}
else
{
url="pid"+(i+1)+"="+arr3[i];
}
percentage+="&per"+(i+1)+"="+arr4[i];
}
window.open("../../Modules/CatalogManagement/upsaleproduct.aspx?"+url+percentage+product_upsaleid1+dropdownvalue,'Product','status=1,scrollbars=1,width=600,height=550,left=200');
///////////////
}
else{
url="../../Modules/CatalogManagement/upsaleproduct.aspx?";
window.open(url+product_upsaleid1+dropdownvalue,'Product','status=1,scrollbars=1,width=700,height=600,left=200');
}
return false;
//////////// this is original code of the saket
}
function openpopup()
{
var dropdown=document.getElementById("drselectcategory").selectedIndex;
var dropdownvalue=document.getElementById("drselectcategory").options[dropdown].value;
dropdownvalue="&dropdownvalue="+dropdownvalue;
var str=document.getElementById("txtRelatedProductIDsP").value;
//////////////////////
var productid_var=document.getElementById("product_upsaleid").value;
var product_upsaleid1="";
product_upsaleid1="&product_id="+productid_var;
var arr=new Array();
var url="";
var i=0;
if(str!="")
{
arr=str.split(',');
for(i=0;i<arr.length;i++)
{
if(url!="")
{
url+="&pid"+(i+1)+"="+arr[i];
}
else
{
url="pid"+(i+1)+"="+arr[i];
}
}
window.open("../../Modules/CatalogManagement/newRelatedProductPopup.aspx?"+url+product_upsaleid1+dropdownvalue,'Product','status=1,scrollbars=1,width=600,height=550,left=200');
}
else
{
url="../../Modules/CatalogManagement/newRelatedProductPopup.aspx?";
window.open(url+product_upsaleid1+dropdownvalue,'Product','status=1,scrollbars=1,width=600,height=550,left=200');
}
return false;
}
function attribute()
{
var textbobx=document.getElementById("txtattribute").value;
if(textbobx=="")
{
alert("Please Enter Attribute First");
return false;
}
else{
return true;
}
}
</script>
<script runat="server">
protected void radtabstripdetail_TabClick(object sender, RadTabStripEventArgs e)
{
}
</script>
<div id="maindiv">
<%-- <asp:scriptmanager runat="server" id="ajaxmanager" ></asp:scriptmanager> --%>
<telerik:RadScriptManager ID="scriptManager_catlogmanagement" runat="server" />
<%--<telerik:RadStyleSheetManager ID="styleManager" runat="server" />--%>
<asp:hiddenfield runat="server" id="producttext" value=""></asp:hiddenfield>
<input type="hidden" runat="server" id="hidbool" value="false" />
<telerik:RadSplitter ID="RadSplitterCategory" runat="server" Width="100%"
Skin="Telerik" VisibleDuringInit="false" OnClientLoaded="setsplitterheight" EnableAjaxSkinRendering="true" >
<telerik:RadPane ID="radpantreeview" runat="server" Width="25%" BackColor="White">
<div style="padding:10px;">
<div>
<asp:dropdownlist runat="server" id="drselectcategory" autopostback="true"
onselectedindexchanged="drselectcategory_SelectedIndexChanged" >
<asp:ListItem Value="1">Category</asp:ListItem>
<asp:ListItem Value="2">Department</asp:ListItem>
<asp:ListItem Value="4">Brands</asp:ListItem>
<asp:ListItem Value="5">Manufacturer</asp:ListItem>
</asp:dropdownlist>
</div>
<div>
<h3>
Add or Edit Element below:</h3>
</div>
<telerik:RadTreeView ID="radtreeviewcategory" runat="server" AutoPostBack="true"
DragAndDrop="True" OnNodeClick="radtreeviewcategory_NodeClick" OnNodeExpand="radtreeviewcategory_NodeExpand"
CausesValidation="False" LoadingMessage=" (Loading ...)" LoadingStatusPosition="AfterNodeText"
Skin="Default" CheckBoxes="True" CheckChildNodes="True"
EnableDragAndDrop="True" EnableDragAndDropBetweenNodes="True"
onnodedrop="radtreeviewcategory_NodeDrop" OnNodeCollapse="treeview_nodecollapse">
<CollapseAnimation Duration="100" Type="InOutElastic" />
<ExpandAnimation Duration="100" Type="InOutElastic" />
</telerik:RadTreeView>
<br />
<div>
<asp:LinkButton id="btndelete" runat="server" text="Delete" onclick="btndelete_Click"
CausesValidation="False" onclientclick="javascript:return checkcustomer();"
ToolTip="Please Check all sub category of Selected Category." />
</div>
</div>
</telerik:RadPane>
<telerik:RadSplitBar ID="rsplitbardetail" runat="server" CollapseMode="forward" />
<telerik:RadPane ID="RadPaneProduct" runat="server" Width="75%" Height="100%" BackColor="White">
<div>
<input type="hidden" runat="server" id="product_upsaleid" value="" />
</div>
<div style="padding: 10px;">
<div style=" background:url(../../images/tab-tab-bg.gif) repeat-x top; padding:0 10px;">
<telerik:RadTabStrip ID="RadTabStripProduct" runat="server" CausesValidation="False"
ReorderTabRows="True" MultiPageID="MultiProduct" SelectedIndex="0" Skin="Vista">
<Tabs>
<telerik:RadTab ID="Tab6" runat="server" Text="Configuration"> </telerik:RadTab>
<telerik:RadTab ID="Tab7" runat="server" Text="Descriptions"> </telerik:RadTab>
<telerik:RadTab ID="Tab8" runat="server" Text="General Tags"> </telerik:RadTab>
<telerik:RadTab ID="Tab9" runat="server" Text="SEO " Selected="True"> </telerik:RadTab>
<telerik:RadTab ID="tab11" runat="server" Text="Image"> </telerik:RadTab>
<telerik:RadTab ID="tab12" runat="server" Text="Association"></telerik:RadTab>
<telerik:RadTab id="tabattribute" runat="server" Text="Attribute"></telerik:RadTab>
<telerik:RadTab ID="tab10" runat="server" Text="Default Variant"> </telerik:RadTab>
</Tabs>
</telerik:RadTabStrip>
</div>
<telerik:RadMultiPage ID="MultiProduct" runat="server" Width="100%" SelectedIndex="0">
<telerik:RadPageView ID="PageView6" runat="server" Width="100%" >
<table border="0" cellpadding="5" cellspacing="1" width="100%" >
<tr>
<td style="width: 100px; vertical-align: top"> *Product Name </td>
<td><asp:textbox id="txtProductNameP" runat="server" maxlength="50"> </asp:textbox>
<asp:requiredfieldvalidator id="valProductName1" runat="server" controltovalidate="txtProductNameP"
errormessage="Required Product Name"> </asp:requiredfieldvalidator>
</td>
</tr>
<tr>
<td> *Product Title </td>
<td><asp:textbox id="txtProductTitleP" runat="server" maxlength="50"> </asp:textbox>
</td>
</tr>
<tr>
<td> *Theme </td>
<td>
<asp:dropdownlist runat="server" id="drThemeP" maxlength="50"
onselectedindexchanged="drThemeP_SelectedIndexChanged" AutoPostBack="True" AppendDataBoundItems="True" >
<asp:ListItem Selected="True" Value="0">Please select the Theme</asp:ListItem>
</asp:dropdownlist>
</td>
</tr>
<tr>
<td> *Template </td>
<td>
<asp:dropdownlist runat="server" id="drTemplateP" AppendDataBoundItems="True"
onselectedindexchanged="drTemplateP_SelectedIndexChanged">
<asp:ListItem Selected="True" Value="0">Please Select Template</asp:ListItem>
</asp:dropdownlist>
</td>
</tr>
<tr>
<td> * TemplateXSLT </td>
<td>
<%-- <asp:dropdownlist runat="server" id="drTemplateXSLTP" AppendDataBoundItems="True" >
<asp:ListItem Value="0">Please Select Display Style</asp:ListItem>
</asp:dropdownlist>--%>
<telerik:RadComboBox ID="drTemplateXSLTP" AppendDataBoundItems="true"
runat="server" Skin="Default2006" >
<Items>
<telerik:RadComboBoxItem Value="0" Text="Please Select Display Style" />
</Items>
<CollapseAnimation Duration="200" Type="OutQuint" />
</telerik:RadComboBox>
</td>
</tr>
<tr>
<td> *Order By </td>
<td><asp:dropdownlist cssclass="combo" ID="cmbOrderBy" runat="server" AppendDataBoundItems="True">
<asp:ListItem Selected="True" Value="0">Please Select Order By</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td> * Items Per Page </td>
<td><asp:textbox id="txtItemsPerPageP" runat="server" maxlength="50"> </asp:textbox>
<asp:requiredfieldvalidator id="valItemsPerPage" runat="server" controltovalidate="txtItemsPerPageP"
errormessage="Required Items Per Page"> </asp:requiredfieldvalidator>
<asp:regularexpressionvalidator runat="server" errormessage="Enter only number" id="reitemperpage"
controltovalidate="txtItemsPerPageP" validationexpression='(^[-]?[1-9]\d+$)|(^[-]?[1-9]$)|(^0$)|(^[-]?[1-9]\d+\"+@"\d$)|(^[-]?[0-9]\.\d$)'> </asp:regularexpressionvalidator>
</td>
</tr>
<tr>
<td> *Vendor </td>
<td><asp:dropdownlist runat="server" id="drVendorP" AppendDataBoundItems="True">
<asp:ListItem Selected="True" Value="0">Please Select Vendor</asp:ListItem>
</asp:dropdownlist>
</td>
</tr>
<tr>
<td>
*Applicable Profile
</td>
<td><asp:dropdownlist runat="server" id="drapplicableprofile" AppendDataBoundItems="True">
<asp:ListItem Selected="True" Value="0">Please Select Profile</asp:ListItem>
</asp:dropdownlist>
</td>
</tr>
<tr>
<td> *Items Per Rows </td>
<td><asp:textbox id="txtItemsPerRowP" runat="server" maxlength="50"> </asp:textbox>
<asp:requiredfieldvalidator id="valItemsPerRow" runat="server" controltovalidate="txtItemsPerRowP"
errormessage="Required Items Per Row"> </asp:requiredfieldvalidator>
<asp:regularexpressionvalidator runat="server" errormessage="Enter only number" id="Reitemperrow"
controltovalidate="txtItemsPerRowP" validationexpression='(^[-]?[1-9]\d+$)|(^[-]?[1-9]$)|(^0$)|(^[-]?[1-9]\d+\"+@"\d$)|(^[-]?[0-9]\.\d$)'> </asp:regularexpressionvalidator>
</td>
</tr>
<tr>
<td> Brand ID </td>
<td><asp:textbox id="txtBrandIDP" runat="server" maxlength="50"> </asp:textbox>
</td>
</tr>
<tr>
<td> SKU </td>
<td><asp:textbox id="txtSKUP" runat="server" maxlength="50"> </asp:textbox>
</td>
</tr>
</table>
</telerik:RadPageView>
<telerik:RadPageView ID="pageview7" runat="server" >
<table border="0" cellpadding="5" cellspacing="1" width="100%" >
<tr>
<td style="height: 50px"> *Product Description </td>
<td style="height: 50px">
<telerik:RadEditor ID="txtProductDescriptionP" runat="server" Height="200px" Skin="Telerik"
Width="450px" ToolsFile="../../../RadControls/Editor/Examples/Default/BasicTools.xml"
EnableResize="False" AllowScripts="True">
<Content>
</Content>
</telerik:RadEditor>
</td>
</tr>
<tr>
<td valign="top"> *Product Short Description </td>
<td>
<telerik:RadEditor ID="txtProductShortDescriptionP" runat="server" Height="200px"
Skin="Telerik" Width="450px" ToolsFile="../../../RadControls/Editor/Examples/Default/BasicTools.xml"
EnableResize="False" AllowScripts="True">
<Content>
</Content>
</telerik:RadEditor>
</td>
</tr>
<tr>
<td> *MiscDescription </td>
<td>
<telerik:RadEditor ID="txtMiscDescriptionP" runat="server" Height="180px" Skin="Telerik"
Width="450px" ToolsFile="../../../RadControls/Editor/Examples/Default/BasicTools.xml"
EnableResize="False" AllowScripts="True">
<Content>
</Content>
</telerik:RadEditor>
</td>
</tr>
<tr>
<td> *Product DescriptionWithoutHTML </td>
<td>
<telerik:RadEditor ID="txtProductDescriptionWithoutHTMLP" runat="server" Height="180px"
Skin="Telerik" Width="450px" ToolsFile="../../../RadControls/Editor/Examples/Default/BasicTools.xml"
EnableResize="False" EditModes="Design, Preview"
AllowScripts="True">
<Content>
</Content>
</telerik:RadEditor>
</td>
</tr>
</table>
</telerik:RadPageView>
<telerik:RadPageView ID="page3" runat="server" Width="100%">
<table border="0" cellpadding="5" cellspacing="1" width="100%" >
<tr>
<td> * Active </td>
<td><asp:radiobutton runat="server" id="rbActivePyes" text="yes" groupname="rbActiveP"
oncheckedchanged="rbActivePyes_CheckedChanged"></asp:radiobutton>
<asp:radiobutton runat="server" id="rbActivePno" text="no" groupname="rbActiveP"></asp:radiobutton>
</td>
</tr>
<tr>
<td> * Is showcased </td>
<td><asp:radiobutton runat="server" id="rbshowcasedPyes" text="yes" groupname="rbshowcasedP"
oncheckedchanged="rbshowcasedPyes_CheckedChanged"></asp:radiobutton>
<asp:radiobutton runat="server" id="rbshowcasedPno" text="no" groupname="rbshowcasedP"></asp:radiobutton>
</td>
</tr>
<tr>
<td> Shipping Days ID </td>
<td><asp:textbox id="txtShippingDaysIDP" runat="server" maxlength="50"> </asp:textbox>
</td>
</tr>
<tr>
<td> Product ID Type </td>
<td><asp:textbox id="txtProductTypeIDP" runat="server" maxlength="50"> </asp:textbox>
</td>
</tr>
<tr>
<td style="height: 30px"> IS Buy Button Shown </td>
<td style="height: 30px"><asp:radiobutton runat="server" id="buyyes" text="yes" groupname="IsBuyButtonShown"
oncheckedchanged="buyyes_CheckedChanged"></asp:radiobutton>
<asp:radiobutton runat="server" id="buyno" text="no" groupname="IsBuyButtonShown"></asp:radiobutton>
</td>
</tr>
<tr>
<td> Is Price Visible </td>
<td><asp:radiobutton runat="server" id="priceyes" text="yes" groupname="IsPriceVisible"
oncheckedchanged="priceyes_CheckedChanged"></asp:radiobutton>
<asp:radiobutton runat="server" id="priceno" text="No" groupname="IsPriceVisible"></asp:radiobutton>
</td>
</tr>
<tr>
<td> IsRegistration Required To View </td>
<td><asp:radiobutton runat="server" id="IsRegistrationRequiredTOView_yes" text="yes"
groupname="Isregistrations" oncheckedchanged="IsRegistrationRequiredTOView_yes_CheckedChanged"></asp:radiobutton>
<asp:radiobutton runat="server" id="IsRegistrationRequiredTOView_no" text="No" groupname="Isregistrations"></asp:radiobutton>
</td>
</tr>
<tr>
<td> Related Product IDs </td>
<td><asp:textbox id="txtRelatedProductIDsP" runat="server" maxlength="50"
></asp:textbox>
<asp:button id="btnRelatedProdPopup" runat="server" text="Related Products!!"
onclientclick="javascript:return openpopup();" CssClass="input-btn" />
</td>
</tr>
<tr>
<td> Up Sale Product IDs </td>
<td><asp:textbox id="txtUpsaleProductIDsP" runat="server" maxlength="50"
></asp:textbox>
<asp:button id="btnupsaleProdPopup" runat="server" text="Related upsaleproduct!!"
onclientclick="javascript:return openupsalepopup();"
CssClass="input-btn" />
</td>
</tr>
<tr>
<td> IsTaxExempt </td>
<td><asp:radiobutton runat="server" id="IsTaxExempt_yes" text="yes" groupname="istaxexmpt"
oncheckedchanged="IsTaxExempt_yes_CheckedChanged"></asp:radiobutton>
<asp:radiobutton runat="server" id="IsTaxExempt_no" text="No" groupname="istaxexmpt"></asp:radiobutton>
</td>
</tr>
<tr>
<td> TaxableGroupID </td>
<td><asp:textbox id="txtTaxableGroupIDP" runat="server" maxlength="50"> </asp:textbox>
</td>
</tr>
<tr>
<td> IsShoppingExempt </td>
<td><asp:radiobutton runat="server" id="IsShoppingExempt_yes" text="yes" groupname="isshopping"
oncheckedchanged="IsShoppingExempt_yes_CheckedChanged"></asp:radiobutton>
<asp:radiobutton runat="server" id="IsShoppingExempt_no" text="No" groupname="isshopping"></asp:radiobutton>
</td>
</tr>
<tr>
<td>
<asp:Label id="litproductskus" runat="server"
text="Selected Primary ProductSKUS" Visible="False" ></asp:Label>
</td>
<td>
<asp:dropdownlist ID="drproductskus" runat="server" Visible="False">
</asp:DropDownList>
</td>
</tr>
</table>
</telerik:RadPageView>
<telerik:RadPageView ID="page4" runat="server" Width="100%">
<table border="0" cellpadding="5" cellspacing="1" width="100%" >
<tr>
<td> *Tags </td>
<td><asp:textbox id="txtTagsP" runat="server" maxlength="50" rows="2" textmode="MultiLine"></asp:textbox>
</td>
</tr>
<tr>
<td> *Search Engine Title </td>
<td><asp:textbox id="txtSearchEngineTitleP" runat="server" maxlength="50"></asp:textbox>
</td>
</tr>
<tr>
<td> *Search Engine Footer </td>
<td><asp:textbox id="txtSearchEngineFooterP" runat="server" maxlength="50"></asp:textbox>
</td>
</tr>
<tr>
<td> *Search Engine Keyword </td>
<td><asp:textbox id="txtSearchEngineKeywordP" runat="server" maxlength="50"></asp:textbox>
</td>
</tr>
<tr>
<td> *Search Engine Description </td>
<td><asp:textbox id="txtSearchEngineDescriptionP" runat="server" maxlength="100" textmode="MultiLine"></asp:textbox>
</td>
</tr>
</table>
</telerik:RadPageView>
<telerik:RadPageView ID="Radfg1" runat="server" Width="100%">
<table border="0" cellpadding="5" cellspacing="1" width="100%" >
<tr>
<td>
Image File Name </td>
<td>
<asp:button runat="server" text="view image" id="btnimageview"
onclientclick="javascript:return openupimage();" CssClass="input-btn" />
<input type="hidden" runat="server" id="hiddenimage" />
<input type="hidden" runat="server" id="hiddenproduct_name" />
</td>
</tr>
<tr>
<td> * Image File Name </td>
<td><asp:textbox id="txtImageFileNameP" runat="server" maxlength="50"> </asp:textbox>
</td>
</tr>
<tr>
<td> * Image Alt Text </td>
<td><asp:textbox id="txtSmallImageAltTextP" runat="server" maxlength="50"> </asp:textbox>
</td>
</tr>
<tr>
<td> Banner </td>
<td>
<%-- <asp:fileupload runat="server" id="txtBannerP"></asp:fileupload>--%>
<asp:hiddenfield runat="server" id="hiddenbanner"></asp:hiddenfield>
</td>
<td style="width: 15%"><asp:image id="imagebanner" runat="server" generateemptyalternatetext="True" height="50px"
imagealign="Left" width="50px" />
</td>
<%-- <td>
<asp:Button runat="server" id="btndeletebanner" oncommand="btndeletebanner_Command" text="Delete Banner" causesvalidation="false"/>
</td>--%>
</tr>
</table>
</telerik:RadPageView>
<telerik:RadPageView ID="radpageviewassociation" runat="server" Width="100%">
<div style="padding: 10px;">
<div style=" background:url(../../images/tab-tab-bg.gif) repeat-x top; padding:0 10px;">
<telerik:RadTabStrip ID="RadTabStripassociation" runat="server" CausesValidation="False"
ReorderTabRows="True" MultiPageID="radassociation" SelectedIndex="0" Width="100%"
Skin="Vista">
<Tabs>
<telerik:RadTab ID="Tabassociation1" runat="server" Text="Category"> </telerik:RadTab>
<telerik:RadTab ID="Tabassocition2" runat="server" Text="Department"> </telerik:RadTab>
<telerik:RadTab ID="Tabassocition3" runat="server" Text="Brands"> </telerik:RadTab>
<telerik:RadTab runat="server" Text="Manufacturer"></telerik:RadTab>
</Tabs>
</telerik:RadTabStrip>
</div>
<telerik:RadMultiPage ID="radassociation" runat="server" Width="100%"
SelectedIndex="0">
<telerik:RadPageView ID="RadPageViewassociate21" runat="server">
<telerik:RadTreeView ID="RadTreeViewcategoryAssociation" runat="server"
AutoPostBack="true" DragAndDrop="False"
CausesValidation="False" LoadingMessage=" (Loading ...)"
LoadingStatusPosition="AfterNodeText" Skin="Gray"
AfterClientCheck="AfterCheck" AutoPostBackOnCheck="False" CheckBoxes="true"
CheckChildNodes="true"
onnodeexpand="RadTreeViewcategoryAssociation_NodeExpand" >
<CollapseAnimation Duration="100" Type="InOutElastic" />
<ExpandAnimation Duration="100" Type="InOutElastic" />
</telerik:RadTreeView>
</telerik:RadPageView>
<telerik:RadPageView ID="RadPageViewassociat" runat="server" Width="100%">
<telerik:RadTreeView ID="RadTreeViewdepartmentAssociation" runat="server"
AutoPostBack="true" DragAndDrop="False"
CausesValidation="False" LoadingMessage=" (Loading ...)"
LoadingStatusPosition="AfterNodeText" Skin="Gray"
AfterClientCheck="AfterCheck" AutoPostBackOnCheck="False" CheckBoxes="true"
CheckChildNodes="true"
onnodeexpand="RadTreeViewdepartmentAssociation_NodeExpand" >
<CollapseAnimation Duration="100" Type="InOutElastic" />
<ExpandAnimation Duration="100" Type="InOutElastic" />
</telerik:RadTreeView>
</telerik:RadPageView>
<telerik:RadPageView ID="RadPagebrand" runat="server" Width="100%">
<telerik:RadTreeView ID="RadTreeViewbrand" runat="server"
AutoPostBack="true" DragAndDrop="False"
CausesValidation="False" LoadingMessage=" (Loading ...)"
LoadingStatusPosition="AfterNodeText" Skin="Gray"
AfterClientCheck="AfterCheck" AutoPostBackOnCheck="False" CheckBoxes="true"
CheckChildNodes="true"
onnodeexpand="RadTreeViewbrand_NodeExpand" >
<CollapseAnimation Duration="100" Type="InOutElastic" />
<ExpandAnimation Duration="100" Type="InOutElastic" />
</telerik:RadTreeView>
</telerik:RadPageView>
<telerik:RadPageView ID="RadPageViewmanufacturer" runat="server" Width="100%">
<telerik:RadTreeView ID="RadTreeViewmanufacturer" runat="server"
AutoPostBack="true" DragAndDrop="False"
CausesValidation="False" LoadingMessage=" (Loading ...)"
LoadingStatusPosition="AfterNodeText" Skin="Gray"
AfterClientCheck="AfterCheck" AutoPostBackOnCheck="False" CheckBoxes="true"
CheckChildNodes="true"
onnodeexpand="RadTreeViewmanufacturer_NodeExpand" >
<CollapseAnimation Duration="100" Type="InOutElastic" />
<ExpandAnimation Duration="100" Type="InOutElastic" />
</telerik:RadTreeView>
</telerik:RadPageView>
</telerik:RadMultiPage>
</div>
</telerik:RadPageView>
<telerik:RadPageView ID="pageattribute" runat="server" Width="100%">
<table border="0" cellpadding="5" cellspacing="1" width="100%" >
<tr>
<td>
<asp:dropdownlist runat="server" id="drattribute"></asp:dropdownlist>
</td>
<td>
<asp:TextBox runat="server" id="txtattribute" ></asp:TextBox>
</td>
<td>
<asp:LinkButton runat="server" id="btnattribute" text="Add Attribute"
oncommand="btnattribute_Command"
onclientclick="javascript:return attribute();" CausesValidation="False"
CssClass="input-btn" />
</td>
<td>
<asp:label runat="server" id="lblattribute"></asp:label>
</td>
</tr>
<tr>
<td>
<div>
<telerik:RadGrid ID="radgridattribute" Skin="Default2006" GridLines="None" runat="server"
AllowAutomaticDeletes="False" Width="95%"
AllowAutomaticUpdates="False" AllowPaging="True"
AutoGenerateColumns="False" ondeletecommand="radgridattribute_DeleteCommand"
onitemcommand="radgridattribute_ItemCommand"
onupdatecommand="radgridattribute_UpdateCommand" >
<MasterTableView Width="100%" CommandItemDisplay="None"
HorizontalAlign="NotSet" AutoGenerateColumns="False" DataKeyNames="ID" EditMode="InPlace">
<RowIndicatorColumn>
<HeaderStyle Width="20px"></HeaderStyle>
</RowIndicatorColumn>
<ExpandCollapseColumn>
<HeaderStyle Width="20px"></HeaderStyle>
</ExpandCollapseColumn>
<Columns>
<telerik:GridNumericColumn DataField="id" HeaderText="ID" ReadOnly="True" SortExpression="id"
UniqueName="id" Visible="false" >
<HeaderStyle Width="20px" ForeColor="Silver" />
<ItemStyle ForeColor="Silver" />
</telerik:GridNumericColumn>
<telerik:GridBoundColumn DataField="ElementName" HeaderText="Element Name" SortExpression="ElementName"
UniqueName="ElementName" ReadOnly="true" >
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="value" HeaderText="value" SortExpression="value"
UniqueName="value" >
</telerik:GridBoundColumn>
<telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditCommandColumn">
</telerik:GridEditCommandColumn>
<telerik:GridButtonColumn ConfirmText="Delete this product?" ConfirmDialogType="RadWindow" ConfirmTitle="Delete" ButtonType="ImageButton"
CommandName="Delete" Text="Delete" UniqueName="DeleteColumn">
<ItemStyle HorizontalAlign="Center" />
</telerik:GridButtonColumn>
</Columns>
<NoRecordsTemplate>
*Record Not Found
</NoRecordsTemplate>
<EditFormSettings>
<EditColumn UniqueName="EditCommandColumn1"></EditColumn>
</EditFormSettings>
</MasterTableView>
</telerik:RadGrid>
</div>
</td>
</tr>
</table>
</telerik:RadPageView>
<telerik:RadPageView ID="page5" runat="server" Width="100%">
<table border="0" cellpadding="5" cellspacing="1" width="100%" >
<tr>
<td> *SKU Name : </td>
<td><asp:textbox id="txtVariantNameP" runat="server" maxlength="50"></asp:textbox>
<asp:requiredfieldvalidator id="valVariantName1" runat="server" controltovalidate="txtVariantNameP"
errormessage="Required Variant Name"> </asp:requiredfieldvalidator>
</td>
</tr>
<tr>
<td> *prices </td>
<td><asp:textbox id="txtPricesP" runat="server" maxlength="50"></asp:textbox>
<asp:requiredfieldvalidator id="valPrices" runat="server" controltovalidate="txtPricesP"
errormessage="Required Prices"></asp:requiredfieldvalidator>
</td>
</tr>
<tr>
<td> *Sales Prices </td>
<td><asp:textbox id="txtSalesPricesP" runat="server" maxlength="50"></asp:textbox>
<asp:requiredfieldvalidator id="valSalesPrices1" runat="server" controltovalidate="txtSalesPricesP"
errormessage="Required Sales Prices"></asp:requiredfieldvalidator>
</td>
</tr>
<tr>
<td> *Inventory </td>
<td><asp:textbox id="txtInventoryP" runat="server" maxlength="50"></asp:textbox>
<asp:requiredfieldvalidator id="valInventory1" runat="server" controltovalidate="txtInventoryP"
errormessage="Required Inventory"></asp:requiredfieldvalidator>
</td>
</tr>
<tr>
<td> *Active </td>
<td><asp:radiobutton runat="server" id="rbActiveVPyes" text="yes" groupname="rbActiveVP"
oncheckedchanged="rbActiveVPyes_CheckedChanged" checked="True"></asp:radiobutton>
<asp:radiobutton runat="server" id="rbActiveVPno" text="no" groupname="rbActiveVP"></asp:radiobutton>
</td>
</tr>
</table>
</telerik:RadPageView>
</telerik:RadMultiPage>
<div style="margin-top: 5px">
<table width="100%">
<tr>
<td><asp:button runat="server" text="Update" id="btnEditP" width="75px" causesvalidation="False"
oncommand="btnEditP_Command" commandname="Edit"
CssClass="input-btn" />
</td>
</tr>
</table>
</div>
</div>
</telerik:RadPane>
<telerik:RadPane ID="RadPaneVariant" Width="75%" runat="server" Height="100%" BackColor="White" EnableAjaxSkinRendering="false" >
<div style="padding: 10px;">
<div style=" background:url(../../images/tab-tab-bg.gif) repeat-x top; padding:0 10px;">
<telerik:RadTabStrip ID="RadTabStripVariant" runat="server" CausesValidation="False"
ReorderTabRows="True" MultiPageID="RadMultiVariant" Skin="Vista" SelectedIndex="0">
<Tabs>
<telerik:RadTab ID="tab1" runat="server" Text="General Configuration" Selected="True"> </telerik:RadTab>
<telerik:RadTab ID="Tab3" runat="server" Text="Descriptions"> </telerik:RadTab>
<telerik:RadTab ID="Tab4" runat="server" Text="SEO Tags"> </telerik:RadTab>
<telerik:RadTab ID="Tab5" runat="server" Text="General tabs"> </telerik:RadTab>
<telerik:RadTab ID="Tabv6" runat="server" Text="Image tabs"> </telerik:RadTab>
</Tabs>
</telerik:RadTabStrip>
</div>
<telerik:RadMultiPage ID="RadMultiVariant" runat="server" Width="100%" SelectedIndex="0">
<telerik:RadPageView ID="pagevariant1" runat="server" Width="100%">
<table border="0" cellpadding="5" cellspacing="1" width="100%" >
<tr>
<td> *SKU Name : </td>
<td><asp:textbox id="txtVariantNameV" runat="server" maxlength="50"> </asp:textbox>
<asp:requiredfieldvalidator id="valVariantNameV" runat="server" controltovalidate="txtVariantNameV"
errormessage="Required Variant Name"> </asp:requiredfieldvalidator>
</td>
</tr>
<tr>
<td> *price </td>
<td><asp:textbox id="txtPricesV" runat="server" maxlength="50"></asp:textbox>
<asp:requiredfieldvalidator id="valPricesV" runat="server" controltovalidate="txtPricesV"
errormessage="Required Prices"></asp:requiredfieldvalidator>
<%-- <asp:regularexpressionvalidator runat="server" errormessage="Enter only number" ID="Reprices" ControlToValidate="txtPrices" ValidationExpression='(^[-]?[1-9]\d+$)|(^[-]?[1-9]$)|(^0$)|(^[-]?[1-9]\d+\"+@"\d$)|(^[-]?[0-9]\.\d$)'></asp:regularexpressionvalidator>
--%>
</td>
</tr>
<tr>
<td> *Sales Price </td>
<td><asp:textbox id="txtSalesPricesV" runat="server" maxlength="50"></asp:textbox>
<asp:requiredfieldvalidator id="valSalesPricesV" runat="server" controltovalidate="txtSalesPricesV"
errormessage="Required Sales Prices"></asp:requiredfieldvalidator>
<%-- <asp:regularexpressionvalidator runat="server" errormessage="Enter only number" ID="ReSalePrices" ControlToValidate="txtSalesPrices" ValidationExpression='(^[-]?[1-9]\d+$)|(^[-]?[1-9]$)|(^0$)|(^[-]?[1-9]\d+\"+@"\d$)|(^[-]?[0-9]\.\d$)'></asp:regularexpressionvalidator>
--%>
</td>
</tr>
<tr>
<td> *Purchase Price </td>
<td><asp:textbox id="txtpurchasepriceV" runat="server" maxlength="50"></asp:textbox>
<asp:requiredfieldvalidator id="valpurchasepriceV" runat="server" controltovalidate="txtpurchasepriceV"
errormessage="Required purchase Prices"></asp:requiredfieldvalidator>
</td>
</tr>
<tr>
<td> *Other Cost </td>
<td><asp:textbox id="txtothercostV" runat="server" maxlength="50"></asp:textbox>
<asp:requiredfieldvalidator id="valothercostV" runat="server" controltovalidate="txtothercostV"
errormessage="Required othercost"></asp:requiredfieldvalidator>
</td>
</tr>
<tr>
<td> *Inventory </td>
<td><asp:textbox id="txtInventoryV" runat="server" maxlength="50"></asp:textbox>
<asp:requiredfieldvalidator id="valInventoryV" runat="server" controltovalidate="txtInventoryV"
errormessage="Required Inventory"></asp:requiredfieldvalidator>
<asp:regularexpressionvalidator runat="server" errormessage="Enter only number" id="ReInventoryV"
controltovalidate="txtInventoryV" validationexpression='(^[-]?[1-9]\d+$)|(^[-]?[1-9]$)|(^0$)|(^[-]?[1-9]\d+\"+@"\d$)|(^[-]?[0-9]\.\d$)'></asp:regularexpressionvalidator>
</td>
</tr>
<tr>
<td> *SKU Code </td>
<td><asp:textbox id="txtManufacturerCodeV" runat="server" maxlength="50"> </asp:textbox>
</td>
</tr>
<tr>
<td> *Weight </td>
<td><asp:textbox id="txtWeightV" runat="server" maxlength="50"> </asp:textbox>
<asp:requiredfieldvalidator id="valWeightV" runat="server" controltovalidate="txtWeightV" errormessage="Required Weight" ></asp:requiredfieldvalidator>
</td>
</tr>
<tr>
<td> *MRP </td>
<td><asp:textbox id="txtMRPV" runat="server" maxlength="50"> </asp:textbox>
<asp:requiredfieldvalidator id="valMRPV" runat="server" controltovalidate="txtMRPV"
errormessage="Required MRP"> </asp:requiredfieldvalidator>
</td>
</tr>
<tr>
<td> *Dimensions </td>
<td><asp:textbox id="txtDimensionsV" runat="server" maxlength="50"> </asp:textbox>
</td>
</tr>
<tr>
<td> *Theme </td>
<td><asp:dropdownlist runat="server" id="drThemeV" onselectedindexchanged="drThemeV_SelectedIndexChanged" AppendDataBoundItems="True">
<asp:ListItem Selected="True" Value="0">Please Select Theme</asp:ListItem>
</asp:dropdownlist>
</td>
</tr>
<tr>
<td> *TemplateXSLT </td>
<td><asp:dropdownlist runat="server" id="drTemplateXSLTV" AppendDataBoundItems="True">
<asp:ListItem Selected="True" Value="0">Please Select TemplateXSLT</asp:ListItem>
</asp:dropdownlist>
</td>
</tr>
<tr>
<td> *Items Per Page </td>
<td><asp:textbox id="txtItemsPerPageV" runat="server" maxlength="50"></asp:textbox>
<asp:requiredfieldvalidator id="valItemsPerPageV" runat="server" controltovalidate="txtItemsPerPageV"
errormessage="Required Items Per Page"></asp:requiredfieldvalidator>
<asp:regularexpressionvalidator runat="server" errormessage="Enter only number" id="ReItemperpageV"
controltovalidate="txtItemsPerPageV" validationexpression='(^[-]?[1-9]\d+$)|(^[-]?[1-9]$)|(^0$)|(^[-]?[1-9]\d+\"+@"\d$)|(^[-]?[0-9]\.\d$)'> </asp:regularexpressionvalidator>
</td>
</tr>
<tr>
<td> *Items Per Row </td>
<td><asp:textbox id="txtItemsPerRowV" runat="server" maxlength="50"> </asp:textbox>
<asp:requiredfieldvalidator id="valItemsPerRowV" runat="server" controltovalidate="txtItemsPerRowV"
errormessage="Required Items Per Row"></asp:requiredfieldvalidator>
<asp:regularexpressionvalidator runat="server" errormessage="Enter only number" id="ReitemsperrowV"
controltovalidate="txtItemsPerRowV" validationexpression='(^[-]?[1-9]\d+$)|(^[-]?[1-9]$)|(^0$)|(^[-]?[1-9]\d+\"+@"\d$)|(^[-]?[0-9]\.\d$)'> </asp:regularexpressionvalidator>
</td>
</tr>
</table>
</telerik:RadPageView>
<telerik:RadPageView ID="pageViewVariant" runat="server" Width="100%">
<table border="0" cellpadding="5" cellspacing="1" width="100%" >
<tr>
<td> *Description </td>
<td><%-- <asp:textbox id="txtDescriptionV" runat="server" maxlength="100" textmode="MultiLine">
</asp:textbox>--%>
<telerik:RadEditor ID="txtDescriptionV" runat="server" Height="200px" Skin="Telerik"
Width="450px" ToolsFile="../../../RadControls/Editor/Examples/Default/BasicTools.xml"
EnableResize="False" AllowScripts="True">
<Content>
</Content>
</telerik:RadEditor>
<%--<asp:requiredfieldvalidator id="valDescriptionV" runat="server" controltovalidate="txtDescriptionV"
errormessage="Required Description"> </asp:requiredfieldvalidator>--%>
</td>
</tr>
</table>
</telerik:RadPageView>
<telerik:RadPageView ID="pageView8V" runat="server">
<table border="0" cellpadding="5" cellspacing="1" width="100%" >
<tr>
<td> *Tags </td>
<td><asp:textbox id="txtTagsV" runat="server" maxlength="50" rows="2" textmode="MultiLine"></asp:textbox>
<%--<asp:requiredfieldvalidator id="valTagsV" runat="server" controltovalidate="txtTagsV"
errormessage="Required Tags"> </asp:requiredfieldvalidator>--%>
</td>
</tr>
<tr>
<td> *Search Engine Title </td>
<td><asp:textbox id="txtSearchEngineTitleV" runat="server" maxlength="50"> </asp:textbox>
</td>
</tr>
<tr>
<td> *Search Engine Keywords </td>
<td><asp:textbox id="txtSearchEngineKeywordsV" runat="server" maxlength="50"> </asp:textbox>
</td>
</tr>
<tr>
<td> *Search Engine Description </td>
<td><asp:textbox id="txtSearchEngineDescriptionV" runat="server" maxlength="50"> </asp:textbox>
<%--<asp:requiredfieldvalidator id="valSearchEngineDescriptionV" runat="server" controltovalidate="txtSearchEngineDescriptionV"
errormessage="Required Search Engine Description"> </asp:requiredfieldvalidator>--%>
</td>
</tr>
<tr>
<td> *Search Engine Footer </td>
<td><asp:textbox id="txtSearchEngineFooterV" runat="server" maxlength="50"> </asp:textbox>
<%--<asp:requiredfieldvalidator id="valSearchEngineFooterV" runat="server" controltovalidate="txtSearchEngineFooterV"
errormessage="Required Search Engine Footer"> </asp:requiredfieldvalidator>--%>
</td>
</tr>
</table>
</telerik:RadPageView>
<telerik:RadPageView ID="pageView81V" runat="server" Width="100%">
<table border="0" cellpadding="5" cellspacing="1" width="100%" >
<tr>
<td> * Active </td>
<td><asp:radiobutton runat="server" id="rbActiveVyes" text="yes" groupname="rbActiveV"
oncheckedchanged="rbActiveVyes_CheckedChanged"></asp:radiobutton>
<asp:radiobutton runat="server" id="rbActiveVno" text="no" groupname="rbActiveV"></asp:radiobutton>
</td>
</tr>
<tr>
<td> * Is showcased </td>
<td><asp:radiobutton runat="server" id="rbshowcasedVyes" text="yes" groupname="rbshowcasedV"
oncheckedchanged="rbshowcasedVyes_CheckedChanged"></asp:radiobutton>
<asp:radiobutton runat="server" id="rbshowcasedVno" text="no" groupname="rbshowcasedV"></asp:radiobutton>
</td>
</tr>
<tr>
<td> *Image File Name </td>
<td><%--<input id="txtfilename" type="file" runat="server" />--%>
<%--<asp:fileupload runat="server" id="txtfilename"></asp:fileupload>--%>
<asp:textbox runat="server" id="txtfilename"></asp:textbox>
</td>
</tr>
<tr>
<td> *Image Alternate Text </td>
<td><asp:textbox id="txtImageAltTextV" runat="server" maxlength="50"> </asp:textbox>
<%--<asp:requiredfieldvalidator id="valImageAltTextV" runat="server" controltovalidate="txtImageAltTextV"
errormessage="Required Image Alternate Text"> </asp:requiredfieldvalidator>--%>
</td>
</tr>
<tr>
<td> *SortByID </td>
<td><asp:dropdownlist cssclass="combo" ID="cmdsortbyid" runat="server" AppendDataBoundItems="True" >
<asp:ListItem Value="0">Please Select </asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td> *VendorID </td>
<td><asp:textbox id="txtVendorIDV" runat="server" maxlength="50"> </asp:textbox>
</td>
</tr>
<tr>
<td> *DistributorID </td>
<td><asp:textbox id="txtDistributorIDV" runat="server" maxlength="50"> </asp:textbox>
</td>
</tr>
<tr>
<td> *Color Code </td>
<td><asp:textbox id="txtColorCodeV" runat="server" maxlength="50"> </asp:textbox>
</td>
</tr>
<tr>
<td> *Size Code </td>
<td><asp:textbox id="txtSizeCodeV" runat="server" maxlength="50"> </asp:textbox>
</td>
</tr>
</table>
</telerik:RadPageView>
<telerik:RadPageView ID="RadPagevariantimage" runat="server" Width="100%">
<table border="0" cellpadding="5" cellspacing="1" width="100%" >
<tr>
<td> Image Override Alt Text </td>
<td><asp:textbox id="txtSmallImageAltTextV" runat="server" maxlength="50"> </asp:textbox>
<asp:label runat="server" id="lblSmallImageAltTextV"> </asp:label>
</td>
</tr>
<tr>
<td>
<asp:button runat="server" text="view image" id="btnvariantimage"
onclientclick="javascript:return openupvariantimage();" CssClass="input-btn" />
<input type="hidden" runat="server" id="hiddenvariantparentname" />
<input type="hidden" runat="server" id="hiddenvariantname" />
<input type="hidden" runat="server" id="hidden_variantimagename" />
</td>
</tr>
</table>
</telerik:RadPageView>
</telerik:RadMultiPage>
<div style="margin-top: 5px">
<table width="100%">
<tr>
<td><asp:button runat="server" text="Update" id="btnEditV" causesvalidation="False" width="75px"
oncommand="btnEditV_Command" CssClass="input-btn" />
</td>
</tr>
</table>
</div>
</div>
</telerik:RadPane>
</telerik:RadSplitter>
</div>
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" ClientEvents-OnRequestStart="startrequest" ClientEvents-OnResponseEnd="endrequest" >
<ClientEvents OnRequestStart="startrequest" OnResponseEnd="endrequest"></ClientEvents>
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="radtreeviewcategory">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="RadSplitterCategory" />
<telerik:AjaxUpdatedControl ControlID="hidbool" />
</UpdatedControls>
</telerik:AjaxSetting>
<telerik:AjaxSetting AjaxControlID="btndelete">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="radtreeviewcategory"
/>
</UpdatedControls>
</telerik:AjaxSetting>
<telerik:AjaxSetting AjaxControlID="drThemeP">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="drTemplateP"
/>
</UpdatedControls>
</telerik:AjaxSetting>
<telerik:AjaxSetting AjaxControlID="btnRelatedProdPopup">
</telerik:AjaxSetting>
<telerik:AjaxSetting AjaxControlID="btnEditP">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="RadSplitterCategory" />
</UpdatedControls>
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="divMessage" />
</UpdatedControls>
</telerik:AjaxSetting>
<telerik:AjaxSetting AjaxControlID="btnEditV">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="RadSplitterCategory" />
</UpdatedControls>
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="divMessage" />
</UpdatedControls>
</telerik:AjaxSetting>
<telerik:AjaxSetting AjaxControlID="btnimageview"> </telerik:AjaxSetting>
<telerik:AjaxSetting AjaxControlID="btnattribute">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="drattribute" />
</UpdatedControls>
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="txtattribute" />
</UpdatedControls>
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="radgridattribute" />
</UpdatedControls>
</telerik:AjaxSetting>
<telerik:AjaxSetting AjaxControlID="radgridattribute">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="radgridattribute" />
</UpdatedControls>
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="drattribute" />
</UpdatedControls>
</telerik:AjaxSetting>
<telerik:AjaxSetting AjaxControlID="drselectcategory">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="radtreeviewcategory" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="manageproduct.aspx.cs" Inherits="Administrator_Modules_manageproduct_manageproduct" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<radscriptblock id="RadScriptBlock1" runat="server">
<script type="text/javascript">
//////////////////////////////////////////////
function startrequest(target, arguments)
{
createlodingpanel();
}
function endrequest(target, arguments)
{
removeloadingpanel();
}
function removeloadingpanel()
{
var div=document.getElementById("maindiv");
var olddiv=document.getElementById("divImage");
div.removeChild(olddiv);
}
function createlodingpanel()
{
var div=document.getElementById("maindiv");
var newdiv = document.createElement('div');
var divIdName = 'divImage';
newdiv.setAttribute('id',divIdName);
newdiv.style.width =div.offsetWidth+"px";//div.offsetWidth;// "100px";
newdiv.style.height =GetbrowserHeight()-183+"px";
newdiv.style.left =getAbsX(div)+"px";// "100px";
newdiv.style.top = getAbsY(div)+"px";//div.offsetTop-div.offsetHeight;//"100px";
newdiv.style.position = "absolute";
newdiv.style.background = "#FFFFFF";
//newdiv.style.zIndex="999";
newdiv.style.filter="alpha(opacity=80)";
newdiv.style.mozOpacity="0.80";
newdiv.style.khtmlOpacity="0.80";
newdiv.style.opacity="0.80";
div.appendChild(newdiv);
var childdiv=document.createElement('div');
childdiv.setAttribute('id',"childdiv");
childdiv.style.width =((newdiv.offsetWidth)/2)+"px";
childdiv.style.height =(newdiv.offsetHeight/2)+"px";
childdiv.style.left =(getAbsX(newdiv)+(newdiv.offsetWidth)/2)-115+"px";
childdiv.style.top = ((newdiv.offsetHeight/2))-80+"px";
childdiv.style.position = "absolute";
newdiv.style.zIndex="999";
childdiv.innerHTML = "<div style='width:160px; padding:15px 0 0 50px; height:55px; border:4px solid #009cce;'><img src='../../Images/loading7.gif' alt='loading' /></div>";
newdiv.appendChild(childdiv);
}
function getAbsX(elt) { return (elt.x) ? elt.x : getAbsPos(elt,"Left"); }
function getAbsY(elt) { return (elt.y) ? elt.y : getAbsPos(elt,"Top"); }
function getAbsPos(elt,which) {
iPos = 0;
while (elt != null) {
iPos += elt["offset" + which];
elt = elt.offsetParent;
}
return iPos;
}
////////////////////////////////////////////////////
//RAD_SPLITTER_radslitter_Category
function GetbrowserWidth()
{
var x = 0;
if (self.innerHeight)
{
x = self.innerWidth;
}
else if (document.documentElement && document.documentElement.clientHeight)
{
x = document.documentElement.clientWidth;
}
else if (document.body)
{
x = document.body.clientWidth;
}
return x;
}
function GetbrowserHeight()
{
var y = 0;
if (self.innerHeight)
{
y = self.innerHeight;
}
else if (document.documentElement && document.documentElement.clientHeight)
{
y = document.documentElement.clientHeight;
}
else if (document.body)
{
y = document.body.clientHeight;
}
return y;
}
function setsplitterheight(sender)
{
var height=GetbrowserHeight()-183;
sender.set_height(height);
var panes = sender.getPanes();
for (i=0; i<panes.length; i++)
{
panes[i].set_height(height);
}
}
</script>
</radscriptblock>
<script language="javascript" type="text/javascript">
Telerik.Web.UI.Editor.ConvertToXhtmlFilter.prototype._convertRgbToHex = function(text)
{
return text;
}
function checkcustomer()
{
var i=0;
var bresult=false;
for(i=0;i<document.forms[0].elements.length;i++)
{
if(document.forms[0].elements[i].type=="checkbox")
{
if(document.forms[0].elements[i].checked==true)
{
bresult=true;
break;
}
}
}
if(!bresult)
{
alert("please first select checkbox");
return false;
}
return confirm("do you want to delete");
}
function checkproduct()
{
if(document.getElementById("hidbool").value=="true")
{
alert("product contains sub items so please first delete sub items ");
return false;
}
return confirm("do you want to delete");
}
function openupimage()
{
var name="";
var namebytextbox=document.getElementById("txtProductNameP").value;
var namebyhidden=document.getElementById("hiddenproduct_name").value;
var namebybanner=document.getElementById("hiddenbanner").value;
if(namebyhidden!="")
{
name=namebyhidden;
}
else{
name=namebytextbox;
}
if(name=="")
{
alert("Please Insert Product Name First !");
}
else{
var arr=new Array();
arr=name.split(' ');
var productname="";
for(var i=0;i<arr.length;i++)
{
if(productname!="")
{
if(arr[i]!="")
{
productname+="_"+arr[i];
}
}
else
{
if(arr[i]!="")
{
productname=arr[i];
}
}
}
window.open("product_imageupload.aspx?bannername="+namebybanner+"&name="+productname,'Product','status=1,scrollbars=1,width=900,height=650,left=200 ');
}
document.getElementById("hiddenproduct_name").value=namebytextbox;
return false;
}
////////////////////////////////
function openupvariantimage()
{
var name="";
var namebytextbox=document.getElementById("txtVariantNameV").value;
var namebyhidden=document.getElementById("hiddenvariantname").value;
var nameofparent_byhidden=document.getElementById("hiddenvariantparentname").value;
if(namebyhidden!="")
{
name=namebyhidden;
}
else{
name=namebytextbox;
}
if(name=="")
{
alert("Please Insert Product Name First !");
}
else{
var arr=new Array();
arr=name.split(' ');
var productname="";
for(var i=0;i<arr.length;i++)
{
if(productname!="")
{
if(arr[i]!="")
{
productname+="_"+arr[i];
}
}
else
{
if(arr[i]!="")
{
productname=arr[i];
}
}
}
if(nameofparent_byhidden!="")
{
productname=nameofparent_byhidden+"_"+productname;
}
window.open("product_imageupload.aspx?bool=0&name="+productname,'Product','status=1,scrollbars=1,width=900,height=650,left=200');
}
document.getElementById("hiddenvariantname").value=namebytextbox;
return false;
}
/////////////////////////////////////////
function openupsalepopup()
{
var dropdown=document.getElementById("drselectcategory").selectedIndex;
var dropdownvalue=document.getElementById("drselectcategory").options[dropdown].value;
dropdownvalue="&dropdownvalue="+dropdownvalue;
var str=document.getElementById("txtUpsaleProductIDsP").value;
///////////////////////////////////
var productid_var=document.getElementById("product_upsaleid").value;
var product_upsaleid1="";
product_upsaleid1="&product_id="+productid_var;
// alert("product_upsaleid1= "+product_upsaleid1);
///////////////////////////////////
var arr=new Array();
var url="";
var i=0;
//////////// add by amar on 26nov 2008
///////////////////////////////
if(str!="")
{
//////////////////////////////
var arr1=new Array();
var percentage="";
arr1=str.split('#');
var arr2=new Array();
// for(i=0;i<arr1.length;i++)
// {
//arr2=arr1[0].split(',');
// }
var arr3=new Array();
arr3=arr1[0].split(',');
var arr4=new Array();
arr4=arr1[1].split(',');
for(i=0;i<arr3.length;i++)
{
if(url!="")
{
url+="&pid"+(i+1)+"="+arr3[i];
}
else
{
url="pid"+(i+1)+"="+arr3[i];
}
percentage+="&per"+(i+1)+"="+arr4[i];
}
window.open("../../Modules/CatalogManagement/upsaleproduct.aspx?"+url+percentage+product_upsaleid1+dropdownvalue,'Product','status=1,scrollbars=1,width=600,height=550,left=200');
///////////////
}
else{
url="../../Modules/CatalogManagement/upsaleproduct.aspx?";
window.open(url+product_upsaleid1+dropdownvalue,'Product','status=1,scrollbars=1,width=700,height=600,left=200');
}
return false;
//////////// this is original code of the saket
}
function openpopup()
{
var dropdown=document.getElementById("drselectcategory").selectedIndex;
var dropdownvalue=document.getElementById("drselectcategory").options[dropdown].value;
dropdownvalue="&dropdownvalue="+dropdownvalue;
var str=document.getElementById("txtRelatedProductIDsP").value;
//////////////////////
var productid_var=document.getElementById("product_upsaleid").value;
var product_upsaleid1="";
product_upsaleid1="&product_id="+productid_var;
var arr=new Array();
var url="";
var i=0;
if(str!="")
{
arr=str.split(',');
for(i=0;i<arr.length;i++)
{
if(url!="")
{
url+="&pid"+(i+1)+"="+arr[i];
}
else
{
url="pid"+(i+1)+"="+arr[i];
}
}
window.open("../../Modules/CatalogManagement/newRelatedProductPopup.aspx?"+url+product_upsaleid1+dropdownvalue,'Product','status=1,scrollbars=1,width=600,height=550,left=200');
}
else
{
url="../../Modules/CatalogManagement/newRelatedProductPopup.aspx?";
window.open(url+product_upsaleid1+dropdownvalue,'Product','status=1,scrollbars=1,width=600,height=550,left=200');
}
return false;
}
function attribute()
{
var textbobx=document.getElementById("txtattribute").value;
if(textbobx=="")
{
alert("Please Enter Attribute First");
return false;
}
else{
return true;
}
}
</script>
<script runat="server">
protected void radtabstripdetail_TabClick(object sender, RadTabStripEventArgs e)
{
}
</script>
<div id="maindiv">
<%-- <asp:scriptmanager runat="server" id="ajaxmanager" ></asp:scriptmanager> --%>
<telerik:RadScriptManager ID="scriptManager_catlogmanagement" runat="server" />
<%--<telerik:RadStyleSheetManager ID="styleManager" runat="server" />--%>
<asp:hiddenfield runat="server" id="producttext" value=""></asp:hiddenfield>
<input type="hidden" runat="server" id="hidbool" value="false" />
<telerik:RadSplitter ID="RadSplitterCategory" runat="server" Width="100%"
Skin="Telerik" VisibleDuringInit="false" OnClientLoaded="setsplitterheight" EnableAjaxSkinRendering="true" >
<telerik:RadPane ID="radpantreeview" runat="server" Width="25%" BackColor="White">
<div style="padding:10px;">
<div>
<asp:dropdownlist runat="server" id="drselectcategory" autopostback="true"
onselectedindexchanged="drselectcategory_SelectedIndexChanged" >
<asp:ListItem Value="1">Category</asp:ListItem>
<asp:ListItem Value="2">Department</asp:ListItem>
<asp:ListItem Value="4">Brands</asp:ListItem>
<asp:ListItem Value="5">Manufacturer</asp:ListItem>
</asp:dropdownlist>
</div>
<div>
<h3>
Add or Edit Element below:</h3>
</div>
<telerik:RadTreeView ID="radtreeviewcategory" runat="server" AutoPostBack="true"
DragAndDrop="True" OnNodeClick="radtreeviewcategory_NodeClick" OnNodeExpand="radtreeviewcategory_NodeExpand"
CausesValidation="False" LoadingMessage=" (Loading ...)" LoadingStatusPosition="AfterNodeText"
Skin="Default" CheckBoxes="True" CheckChildNodes="True"
EnableDragAndDrop="True" EnableDragAndDropBetweenNodes="True"
onnodedrop="radtreeviewcategory_NodeDrop" OnNodeCollapse="treeview_nodecollapse">
<CollapseAnimation Duration="100" Type="InOutElastic" />
<ExpandAnimation Duration="100" Type="InOutElastic" />
</telerik:RadTreeView>
<br />
<div>
<asp:LinkButton id="btndelete" runat="server" text="Delete" onclick="btndelete_Click"
CausesValidation="False" onclientclick="javascript:return checkcustomer();"
ToolTip="Please Check all sub category of Selected Category." />
</div>
</div>
</telerik:RadPane>
<telerik:RadSplitBar ID="rsplitbardetail" runat="server" CollapseMode="forward" />
<telerik:RadPane ID="RadPaneProduct" runat="server" Width="75%" Height="100%" BackColor="White">
<div>
<input type="hidden" runat="server" id="product_upsaleid" value="" />
</div>
<div style="padding: 10px;">
<div style=" background:url(../../images/tab-tab-bg.gif) repeat-x top; padding:0 10px;">
<telerik:RadTabStrip ID="RadTabStripProduct" runat="server" CausesValidation="False"
ReorderTabRows="True" MultiPageID="MultiProduct" SelectedIndex="0" Skin="Vista">
<Tabs>
<telerik:RadTab ID="Tab6" runat="server" Text="Configuration"> </telerik:RadTab>
<telerik:RadTab ID="Tab7" runat="server" Text="Descriptions"> </telerik:RadTab>
<telerik:RadTab ID="Tab8" runat="server" Text="General Tags"> </telerik:RadTab>
<telerik:RadTab ID="Tab9" runat="server" Text="SEO " Selected="True"> </telerik:RadTab>
<telerik:RadTab ID="tab11" runat="server" Text="Image"> </telerik:RadTab>
<telerik:RadTab ID="tab12" runat="server" Text="Association"></telerik:RadTab>
<telerik:RadTab id="tabattribute" runat="server" Text="Attribute"></telerik:RadTab>
<telerik:RadTab ID="tab10" runat="server" Text="Default Variant"> </telerik:RadTab>
</Tabs>
</telerik:RadTabStrip>
</div>
<telerik:RadMultiPage ID="MultiProduct" runat="server" Width="100%" SelectedIndex="0">
<telerik:RadPageView ID="PageView6" runat="server" Width="100%" >
<table border="0" cellpadding="5" cellspacing="1" width="100%" >
<tr>
<td style="width: 100px; vertical-align: top"> *Product Name </td>
<td><asp:textbox id="txtProductNameP" runat="server" maxlength="50"> </asp:textbox>
<asp:requiredfieldvalidator id="valProductName1" runat="server" controltovalidate="txtProductNameP"
errormessage="Required Product Name"> </asp:requiredfieldvalidator>
</td>
</tr>
<tr>
<td> *Product Title </td>
<td><asp:textbox id="txtProductTitleP" runat="server" maxlength="50"> </asp:textbox>
</td>
</tr>
<tr>
<td> *Theme </td>
<td>
<asp:dropdownlist runat="server" id="drThemeP" maxlength="50"
onselectedindexchanged="drThemeP_SelectedIndexChanged" AutoPostBack="True" AppendDataBoundItems="True" >
<asp:ListItem Selected="True" Value="0">Please select the Theme</asp:ListItem>
</asp:dropdownlist>
</td>
</tr>
<tr>
<td> *Template </td>
<td>
<asp:dropdownlist runat="server" id="drTemplateP" AppendDataBoundItems="True"
onselectedindexchanged="drTemplateP_SelectedIndexChanged">
<asp:ListItem Selected="True" Value="0">Please Select Template</asp:ListItem>
</asp:dropdownlist>
</td>
</tr>
<tr>
<td> * TemplateXSLT </td>
<td>
<%-- <asp:dropdownlist runat="server" id="drTemplateXSLTP" AppendDataBoundItems="True" >
<asp:ListItem Value="0">Please Select Display Style</asp:ListItem>
</asp:dropdownlist>--%>
<telerik:RadComboBox ID="drTemplateXSLTP" AppendDataBoundItems="true"
runat="server" Skin="Default2006" >
<Items>
<telerik:RadComboBoxItem Value="0" Text="Please Select Display Style" />
</Items>
<CollapseAnimation Duration="200" Type="OutQuint" />
</telerik:RadComboBox>
</td>
</tr>
<tr>
<td> *Order By </td>
<td><asp:dropdownlist cssclass="combo" ID="cmbOrderBy" runat="server" AppendDataBoundItems="True">
<asp:ListItem Selected="True" Value="0">Please Select Order By</asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td> * Items Per Page </td>
<td><asp:textbox id="txtItemsPerPageP" runat="server" maxlength="50"> </asp:textbox>
<asp:requiredfieldvalidator id="valItemsPerPage" runat="server" controltovalidate="txtItemsPerPageP"
errormessage="Required Items Per Page"> </asp:requiredfieldvalidator>
<asp:regularexpressionvalidator runat="server" errormessage="Enter only number" id="reitemperpage"
controltovalidate="txtItemsPerPageP" validationexpression='(^[-]?[1-9]\d+$)|(^[-]?[1-9]$)|(^0$)|(^[-]?[1-9]\d+\"+@"\d$)|(^[-]?[0-9]\.\d$)'> </asp:regularexpressionvalidator>
</td>
</tr>
<tr>
<td> *Vendor </td>
<td><asp:dropdownlist runat="server" id="drVendorP" AppendDataBoundItems="True">
<asp:ListItem Selected="True" Value="0">Please Select Vendor</asp:ListItem>
</asp:dropdownlist>
</td>
</tr>
<tr>
<td>
*Applicable Profile
</td>
<td><asp:dropdownlist runat="server" id="drapplicableprofile" AppendDataBoundItems="True">
<asp:ListItem Selected="True" Value="0">Please Select Profile</asp:ListItem>
</asp:dropdownlist>
</td>
</tr>
<tr>
<td> *Items Per Rows </td>
<td><asp:textbox id="txtItemsPerRowP" runat="server" maxlength="50"> </asp:textbox>
<asp:requiredfieldvalidator id="valItemsPerRow" runat="server" controltovalidate="txtItemsPerRowP"
errormessage="Required Items Per Row"> </asp:requiredfieldvalidator>
<asp:regularexpressionvalidator runat="server" errormessage="Enter only number" id="Reitemperrow"
controltovalidate="txtItemsPerRowP" validationexpression='(^[-]?[1-9]\d+$)|(^[-]?[1-9]$)|(^0$)|(^[-]?[1-9]\d+\"+@"\d$)|(^[-]?[0-9]\.\d$)'> </asp:regularexpressionvalidator>
</td>
</tr>
<tr>
<td> Brand ID </td>
<td><asp:textbox id="txtBrandIDP" runat="server" maxlength="50"> </asp:textbox>
</td>
</tr>
<tr>
<td> SKU </td>
<td><asp:textbox id="txtSKUP" runat="server" maxlength="50"> </asp:textbox>
</td>
</tr>
</table>
</telerik:RadPageView>
<telerik:RadPageView ID="pageview7" runat="server" >
<table border="0" cellpadding="5" cellspacing="1" width="100%" >
<tr>
<td style="height: 50px"> *Product Description </td>
<td style="height: 50px">
<telerik:RadEditor ID="txtProductDescriptionP" runat="server" Height="200px" Skin="Telerik"
Width="450px" ToolsFile="../../../RadControls/Editor/Examples/Default/BasicTools.xml"
EnableResize="False" AllowScripts="True">
<Content>
</Content>
</telerik:RadEditor>
</td>
</tr>
<tr>
<td valign="top"> *Product Short Description </td>
<td>
<telerik:RadEditor ID="txtProductShortDescriptionP" runat="server" Height="200px"
Skin="Telerik" Width="450px" ToolsFile="../../../RadControls/Editor/Examples/Default/BasicTools.xml"
EnableResize="False" AllowScripts="True">
<Content>
</Content>
</telerik:RadEditor>
</td>
</tr>
<tr>
<td> *MiscDescription </td>
<td>
<telerik:RadEditor ID="txtMiscDescriptionP" runat="server" Height="180px" Skin="Telerik"
Width="450px" ToolsFile="../../../RadControls/Editor/Examples/Default/BasicTools.xml"
EnableResize="False" AllowScripts="True">
<Content>
</Content>
</telerik:RadEditor>
</td>
</tr>
<tr>
<td> *Product DescriptionWithoutHTML </td>
<td>
<telerik:RadEditor ID="txtProductDescriptionWithoutHTMLP" runat="server" Height="180px"
Skin="Telerik" Width="450px" ToolsFile="../../../RadControls/Editor/Examples/Default/BasicTools.xml"
EnableResize="False" EditModes="Design, Preview"
AllowScripts="True">
<Content>
</Content>
</telerik:RadEditor>
</td>
</tr>
</table>
</telerik:RadPageView>
<telerik:RadPageView ID="page3" runat="server" Width="100%">
<table border="0" cellpadding="5" cellspacing="1" width="100%" >
<tr>
<td> * Active </td>
<td><asp:radiobutton runat="server" id="rbActivePyes" text="yes" groupname="rbActiveP"
oncheckedchanged="rbActivePyes_CheckedChanged"></asp:radiobutton>
<asp:radiobutton runat="server" id="rbActivePno" text="no" groupname="rbActiveP"></asp:radiobutton>
</td>
</tr>
<tr>
<td> * Is showcased </td>
<td><asp:radiobutton runat="server" id="rbshowcasedPyes" text="yes" groupname="rbshowcasedP"
oncheckedchanged="rbshowcasedPyes_CheckedChanged"></asp:radiobutton>
<asp:radiobutton runat="server" id="rbshowcasedPno" text="no" groupname="rbshowcasedP"></asp:radiobutton>
</td>
</tr>
<tr>
<td> Shipping Days ID </td>
<td><asp:textbox id="txtShippingDaysIDP" runat="server" maxlength="50"> </asp:textbox>
</td>
</tr>
<tr>
<td> Product ID Type </td>
<td><asp:textbox id="txtProductTypeIDP" runat="server" maxlength="50"> </asp:textbox>
</td>
</tr>
<tr>
<td style="height: 30px"> IS Buy Button Shown </td>
<td style="height: 30px"><asp:radiobutton runat="server" id="buyyes" text="yes" groupname="IsBuyButtonShown"
oncheckedchanged="buyyes_CheckedChanged"></asp:radiobutton>
<asp:radiobutton runat="server" id="buyno" text="no" groupname="IsBuyButtonShown"></asp:radiobutton>
</td>
</tr>
<tr>
<td> Is Price Visible </td>
<td><asp:radiobutton runat="server" id="priceyes" text="yes" groupname="IsPriceVisible"
oncheckedchanged="priceyes_CheckedChanged"></asp:radiobutton>
<asp:radiobutton runat="server" id="priceno" text="No" groupname="IsPriceVisible"></asp:radiobutton>
</td>
</tr>
<tr>
<td> IsRegistration Required To View </td>
<td><asp:radiobutton runat="server" id="IsRegistrationRequiredTOView_yes" text="yes"
groupname="Isregistrations" oncheckedchanged="IsRegistrationRequiredTOView_yes_CheckedChanged"></asp:radiobutton>
<asp:radiobutton runat="server" id="IsRegistrationRequiredTOView_no" text="No" groupname="Isregistrations"></asp:radiobutton>
</td>
</tr>
<tr>
<td> Related Product IDs </td>
<td><asp:textbox id="txtRelatedProductIDsP" runat="server" maxlength="50"
></asp:textbox>
<asp:button id="btnRelatedProdPopup" runat="server" text="Related Products!!"
onclientclick="javascript:return openpopup();" CssClass="input-btn" />
</td>
</tr>
<tr>
<td> Up Sale Product IDs </td>
<td><asp:textbox id="txtUpsaleProductIDsP" runat="server" maxlength="50"
></asp:textbox>
<asp:button id="btnupsaleProdPopup" runat="server" text="Related upsaleproduct!!"
onclientclick="javascript:return openupsalepopup();"
CssClass="input-btn" />
</td>
</tr>
<tr>
<td> IsTaxExempt </td>
<td><asp:radiobutton runat="server" id="IsTaxExempt_yes" text="yes" groupname="istaxexmpt"
oncheckedchanged="IsTaxExempt_yes_CheckedChanged"></asp:radiobutton>
<asp:radiobutton runat="server" id="IsTaxExempt_no" text="No" groupname="istaxexmpt"></asp:radiobutton>
</td>
</tr>
<tr>
<td> TaxableGroupID </td>
<td><asp:textbox id="txtTaxableGroupIDP" runat="server" maxlength="50"> </asp:textbox>
</td>
</tr>
<tr>
<td> IsShoppingExempt </td>
<td><asp:radiobutton runat="server" id="IsShoppingExempt_yes" text="yes" groupname="isshopping"
oncheckedchanged="IsShoppingExempt_yes_CheckedChanged"></asp:radiobutton>
<asp:radiobutton runat="server" id="IsShoppingExempt_no" text="No" groupname="isshopping"></asp:radiobutton>
</td>
</tr>
<tr>
<td>
<asp:Label id="litproductskus" runat="server"
text="Selected Primary ProductSKUS" Visible="False" ></asp:Label>
</td>
<td>
<asp:dropdownlist ID="drproductskus" runat="server" Visible="False">
</asp:DropDownList>
</td>
</tr>
</table>
</telerik:RadPageView>
<telerik:RadPageView ID="page4" runat="server" Width="100%">
<table border="0" cellpadding="5" cellspacing="1" width="100%" >
<tr>
<td> *Tags </td>
<td><asp:textbox id="txtTagsP" runat="server" maxlength="50" rows="2" textmode="MultiLine"></asp:textbox>
</td>
</tr>
<tr>
<td> *Search Engine Title </td>
<td><asp:textbox id="txtSearchEngineTitleP" runat="server" maxlength="50"></asp:textbox>
</td>
</tr>
<tr>
<td> *Search Engine Footer </td>
<td><asp:textbox id="txtSearchEngineFooterP" runat="server" maxlength="50"></asp:textbox>
</td>
</tr>
<tr>
<td> *Search Engine Keyword </td>
<td><asp:textbox id="txtSearchEngineKeywordP" runat="server" maxlength="50"></asp:textbox>
</td>
</tr>
<tr>
<td> *Search Engine Description </td>
<td><asp:textbox id="txtSearchEngineDescriptionP" runat="server" maxlength="100" textmode="MultiLine"></asp:textbox>
</td>
</tr>
</table>
</telerik:RadPageView>
<telerik:RadPageView ID="Radfg1" runat="server" Width="100%">
<table border="0" cellpadding="5" cellspacing="1" width="100%" >
<tr>
<td>
Image File Name </td>
<td>
<asp:button runat="server" text="view image" id="btnimageview"
onclientclick="javascript:return openupimage();" CssClass="input-btn" />
<input type="hidden" runat="server" id="hiddenimage" />
<input type="hidden" runat="server" id="hiddenproduct_name" />
</td>
</tr>
<tr>
<td> * Image File Name </td>
<td><asp:textbox id="txtImageFileNameP" runat="server" maxlength="50"> </asp:textbox>
</td>
</tr>
<tr>
<td> * Image Alt Text </td>
<td><asp:textbox id="txtSmallImageAltTextP" runat="server" maxlength="50"> </asp:textbox>
</td>
</tr>
<tr>
<td> Banner </td>
<td>
<%-- <asp:fileupload runat="server" id="txtBannerP"></asp:fileupload>--%>
<asp:hiddenfield runat="server" id="hiddenbanner"></asp:hiddenfield>
</td>
<td style="width: 15%"><asp:image id="imagebanner" runat="server" generateemptyalternatetext="True" height="50px"
imagealign="Left" width="50px" />
</td>
<%-- <td>
<asp:Button runat="server" id="btndeletebanner" oncommand="btndeletebanner_Command" text="Delete Banner" causesvalidation="false"/>
</td>--%>
</tr>
</table>
</telerik:RadPageView>
<telerik:RadPageView ID="radpageviewassociation" runat="server" Width="100%">
<div style="padding: 10px;">
<div style=" background:url(../../images/tab-tab-bg.gif) repeat-x top; padding:0 10px;">
<telerik:RadTabStrip ID="RadTabStripassociation" runat="server" CausesValidation="False"
ReorderTabRows="True" MultiPageID="radassociation" SelectedIndex="0" Width="100%"
Skin="Vista">
<Tabs>
<telerik:RadTab ID="Tabassociation1" runat="server" Text="Category"> </telerik:RadTab>
<telerik:RadTab ID="Tabassocition2" runat="server" Text="Department"> </telerik:RadTab>
<telerik:RadTab ID="Tabassocition3" runat="server" Text="Brands"> </telerik:RadTab>
<telerik:RadTab runat="server" Text="Manufacturer"></telerik:RadTab>
</Tabs>
</telerik:RadTabStrip>
</div>
<telerik:RadMultiPage ID="radassociation" runat="server" Width="100%"
SelectedIndex="0">
<telerik:RadPageView ID="RadPageViewassociate21" runat="server">
<telerik:RadTreeView ID="RadTreeViewcategoryAssociation" runat="server"
AutoPostBack="true" DragAndDrop="False"
CausesValidation="False" LoadingMessage=" (Loading ...)"
LoadingStatusPosition="AfterNodeText" Skin="Gray"
AfterClientCheck="AfterCheck" AutoPostBackOnCheck="False" CheckBoxes="true"
CheckChildNodes="true"
onnodeexpand="RadTreeViewcategoryAssociation_NodeExpand" >
<CollapseAnimation Duration="100" Type="InOutElastic" />
<ExpandAnimation Duration="100" Type="InOutElastic" />
</telerik:RadTreeView>
</telerik:RadPageView>
<telerik:RadPageView ID="RadPageViewassociat" runat="server" Width="100%">
<telerik:RadTreeView ID="RadTreeViewdepartmentAssociation" runat="server"
AutoPostBack="true" DragAndDrop="False"
CausesValidation="False" LoadingMessage=" (Loading ...)"
LoadingStatusPosition="AfterNodeText" Skin="Gray"
AfterClientCheck="AfterCheck" AutoPostBackOnCheck="False" CheckBoxes="true"
CheckChildNodes="true"
onnodeexpand="RadTreeViewdepartmentAssociation_NodeExpand" >
<CollapseAnimation Duration="100" Type="InOutElastic" />
<ExpandAnimation Duration="100" Type="InOutElastic" />
</telerik:RadTreeView>
</telerik:RadPageView>
<telerik:RadPageView ID="RadPagebrand" runat="server" Width="100%">
<telerik:RadTreeView ID="RadTreeViewbrand" runat="server"
AutoPostBack="true" DragAndDrop="False"
CausesValidation="False" LoadingMessage=" (Loading ...)"
LoadingStatusPosition="AfterNodeText" Skin="Gray"
AfterClientCheck="AfterCheck" AutoPostBackOnCheck="False" CheckBoxes="true"
CheckChildNodes="true"
onnodeexpand="RadTreeViewbrand_NodeExpand" >
<CollapseAnimation Duration="100" Type="InOutElastic" />
<ExpandAnimation Duration="100" Type="InOutElastic" />
</telerik:RadTreeView>
</telerik:RadPageView>
<telerik:RadPageView ID="RadPageViewmanufacturer" runat="server" Width="100%">
<telerik:RadTreeView ID="RadTreeViewmanufacturer" runat="server"
AutoPostBack="true" DragAndDrop="False"
CausesValidation="False" LoadingMessage=" (Loading ...)"
LoadingStatusPosition="AfterNodeText" Skin="Gray"
AfterClientCheck="AfterCheck" AutoPostBackOnCheck="False" CheckBoxes="true"
CheckChildNodes="true"
onnodeexpand="RadTreeViewmanufacturer_NodeExpand" >
<CollapseAnimation Duration="100" Type="InOutElastic" />
<ExpandAnimation Duration="100" Type="InOutElastic" />
</telerik:RadTreeView>
</telerik:RadPageView>
</telerik:RadMultiPage>
</div>
</telerik:RadPageView>
<telerik:RadPageView ID="pageattribute" runat="server" Width="100%">
<table border="0" cellpadding="5" cellspacing="1" width="100%" >
<tr>
<td>
<asp:dropdownlist runat="server" id="drattribute"></asp:dropdownlist>
</td>
<td>
<asp:TextBox runat="server" id="txtattribute" ></asp:TextBox>
</td>
<td>
<asp:LinkButton runat="server" id="btnattribute" text="Add Attribute"
oncommand="btnattribute_Command"
onclientclick="javascript:return attribute();" CausesValidation="False"
CssClass="input-btn" />
</td>
<td>
<asp:label runat="server" id="lblattribute"></asp:label>
</td>
</tr>
<tr>
<td>
<div>
<telerik:RadGrid ID="radgridattribute" Skin="Default2006" GridLines="None" runat="server"
AllowAutomaticDeletes="False" Width="95%"
AllowAutomaticUpdates="False" AllowPaging="True"
AutoGenerateColumns="False" ondeletecommand="radgridattribute_DeleteCommand"
onitemcommand="radgridattribute_ItemCommand"
onupdatecommand="radgridattribute_UpdateCommand" >
<MasterTableView Width="100%" CommandItemDisplay="None"
HorizontalAlign="NotSet" AutoGenerateColumns="False" DataKeyNames="ID" EditMode="InPlace">
<RowIndicatorColumn>
<HeaderStyle Width="20px"></HeaderStyle>
</RowIndicatorColumn>
<ExpandCollapseColumn>
<HeaderStyle Width="20px"></HeaderStyle>
</ExpandCollapseColumn>
<Columns>
<telerik:GridNumericColumn DataField="id" HeaderText="ID" ReadOnly="True" SortExpression="id"
UniqueName="id" Visible="false" >
<HeaderStyle Width="20px" ForeColor="Silver" />
<ItemStyle ForeColor="Silver" />
</telerik:GridNumericColumn>
<telerik:GridBoundColumn DataField="ElementName" HeaderText="Element Name" SortExpression="ElementName"
UniqueName="ElementName" ReadOnly="true" >
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="value" HeaderText="value" SortExpression="value"
UniqueName="value" >
</telerik:GridBoundColumn>
<telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditCommandColumn">
</telerik:GridEditCommandColumn>
<telerik:GridButtonColumn ConfirmText="Delete this product?" ConfirmDialogType="RadWindow" ConfirmTitle="Delete" ButtonType="ImageButton"
CommandName="Delete" Text="Delete" UniqueName="DeleteColumn">
<ItemStyle HorizontalAlign="Center" />
</telerik:GridButtonColumn>
</Columns>
<NoRecordsTemplate>
*Record Not Found
</NoRecordsTemplate>
<EditFormSettings>
<EditColumn UniqueName="EditCommandColumn1"></EditColumn>
</EditFormSettings>
</MasterTableView>
</telerik:RadGrid>
</div>
</td>
</tr>
</table>
</telerik:RadPageView>
<telerik:RadPageView ID="page5" runat="server" Width="100%">
<table border="0" cellpadding="5" cellspacing="1" width="100%" >
<tr>
<td> *SKU Name : </td>
<td><asp:textbox id="txtVariantNameP" runat="server" maxlength="50"></asp:textbox>
<asp:requiredfieldvalidator id="valVariantName1" runat="server" controltovalidate="txtVariantNameP"
errormessage="Required Variant Name"> </asp:requiredfieldvalidator>
</td>
</tr>
<tr>
<td> *prices </td>
<td><asp:textbox id="txtPricesP" runat="server" maxlength="50"></asp:textbox>
<asp:requiredfieldvalidator id="valPrices" runat="server" controltovalidate="txtPricesP"
errormessage="Required Prices"></asp:requiredfieldvalidator>
</td>
</tr>
<tr>
<td> *Sales Prices </td>
<td><asp:textbox id="txtSalesPricesP" runat="server" maxlength="50"></asp:textbox>
<asp:requiredfieldvalidator id="valSalesPrices1" runat="server" controltovalidate="txtSalesPricesP"
errormessage="Required Sales Prices"></asp:requiredfieldvalidator>
</td>
</tr>
<tr>
<td> *Inventory </td>
<td><asp:textbox id="txtInventoryP" runat="server" maxlength="50"></asp:textbox>
<asp:requiredfieldvalidator id="valInventory1" runat="server" controltovalidate="txtInventoryP"
errormessage="Required Inventory"></asp:requiredfieldvalidator>
</td>
</tr>
<tr>
<td> *Active </td>
<td><asp:radiobutton runat="server" id="rbActiveVPyes" text="yes" groupname="rbActiveVP"
oncheckedchanged="rbActiveVPyes_CheckedChanged" checked="True"></asp:radiobutton>
<asp:radiobutton runat="server" id="rbActiveVPno" text="no" groupname="rbActiveVP"></asp:radiobutton>
</td>
</tr>
</table>
</telerik:RadPageView>
</telerik:RadMultiPage>
<div style="margin-top: 5px">
<table width="100%">
<tr>
<td><asp:button runat="server" text="Update" id="btnEditP" width="75px" causesvalidation="False"
oncommand="btnEditP_Command" commandname="Edit"
CssClass="input-btn" />
</td>
</tr>
</table>
</div>
</div>
</telerik:RadPane>
<telerik:RadPane ID="RadPaneVariant" Width="75%" runat="server" Height="100%" BackColor="White" EnableAjaxSkinRendering="false" >
<div style="padding: 10px;">
<div style=" background:url(../../images/tab-tab-bg.gif) repeat-x top; padding:0 10px;">
<telerik:RadTabStrip ID="RadTabStripVariant" runat="server" CausesValidation="False"
ReorderTabRows="True" MultiPageID="RadMultiVariant" Skin="Vista" SelectedIndex="0">
<Tabs>
<telerik:RadTab ID="tab1" runat="server" Text="General Configuration" Selected="True"> </telerik:RadTab>
<telerik:RadTab ID="Tab3" runat="server" Text="Descriptions"> </telerik:RadTab>
<telerik:RadTab ID="Tab4" runat="server" Text="SEO Tags"> </telerik:RadTab>
<telerik:RadTab ID="Tab5" runat="server" Text="General tabs"> </telerik:RadTab>
<telerik:RadTab ID="Tabv6" runat="server" Text="Image tabs"> </telerik:RadTab>
</Tabs>
</telerik:RadTabStrip>
</div>
<telerik:RadMultiPage ID="RadMultiVariant" runat="server" Width="100%" SelectedIndex="0">
<telerik:RadPageView ID="pagevariant1" runat="server" Width="100%">
<table border="0" cellpadding="5" cellspacing="1" width="100%" >
<tr>
<td> *SKU Name : </td>
<td><asp:textbox id="txtVariantNameV" runat="server" maxlength="50"> </asp:textbox>
<asp:requiredfieldvalidator id="valVariantNameV" runat="server" controltovalidate="txtVariantNameV"
errormessage="Required Variant Name"> </asp:requiredfieldvalidator>
</td>
</tr>
<tr>
<td> *price </td>
<td><asp:textbox id="txtPricesV" runat="server" maxlength="50"></asp:textbox>
<asp:requiredfieldvalidator id="valPricesV" runat="server" controltovalidate="txtPricesV"
errormessage="Required Prices"></asp:requiredfieldvalidator>
<%-- <asp:regularexpressionvalidator runat="server" errormessage="Enter only number" ID="Reprices" ControlToValidate="txtPrices" ValidationExpression='(^[-]?[1-9]\d+$)|(^[-]?[1-9]$)|(^0$)|(^[-]?[1-9]\d+\"+@"\d$)|(^[-]?[0-9]\.\d$)'></asp:regularexpressionvalidator>
--%>
</td>
</tr>
<tr>
<td> *Sales Price </td>
<td><asp:textbox id="txtSalesPricesV" runat="server" maxlength="50"></asp:textbox>
<asp:requiredfieldvalidator id="valSalesPricesV" runat="server" controltovalidate="txtSalesPricesV"
errormessage="Required Sales Prices"></asp:requiredfieldvalidator>
<%-- <asp:regularexpressionvalidator runat="server" errormessage="Enter only number" ID="ReSalePrices" ControlToValidate="txtSalesPrices" ValidationExpression='(^[-]?[1-9]\d+$)|(^[-]?[1-9]$)|(^0$)|(^[-]?[1-9]\d+\"+@"\d$)|(^[-]?[0-9]\.\d$)'></asp:regularexpressionvalidator>
--%>
</td>
</tr>
<tr>
<td> *Purchase Price </td>
<td><asp:textbox id="txtpurchasepriceV" runat="server" maxlength="50"></asp:textbox>
<asp:requiredfieldvalidator id="valpurchasepriceV" runat="server" controltovalidate="txtpurchasepriceV"
errormessage="Required purchase Prices"></asp:requiredfieldvalidator>
</td>
</tr>
<tr>
<td> *Other Cost </td>
<td><asp:textbox id="txtothercostV" runat="server" maxlength="50"></asp:textbox>
<asp:requiredfieldvalidator id="valothercostV" runat="server" controltovalidate="txtothercostV"
errormessage="Required othercost"></asp:requiredfieldvalidator>
</td>
</tr>
<tr>
<td> *Inventory </td>
<td><asp:textbox id="txtInventoryV" runat="server" maxlength="50"></asp:textbox>
<asp:requiredfieldvalidator id="valInventoryV" runat="server" controltovalidate="txtInventoryV"
errormessage="Required Inventory"></asp:requiredfieldvalidator>
<asp:regularexpressionvalidator runat="server" errormessage="Enter only number" id="ReInventoryV"
controltovalidate="txtInventoryV" validationexpression='(^[-]?[1-9]\d+$)|(^[-]?[1-9]$)|(^0$)|(^[-]?[1-9]\d+\"+@"\d$)|(^[-]?[0-9]\.\d$)'></asp:regularexpressionvalidator>
</td>
</tr>
<tr>
<td> *SKU Code </td>
<td><asp:textbox id="txtManufacturerCodeV" runat="server" maxlength="50"> </asp:textbox>
</td>
</tr>
<tr>
<td> *Weight </td>
<td><asp:textbox id="txtWeightV" runat="server" maxlength="50"> </asp:textbox>
<asp:requiredfieldvalidator id="valWeightV" runat="server" controltovalidate="txtWeightV" errormessage="Required Weight" ></asp:requiredfieldvalidator>
</td>
</tr>
<tr>
<td> *MRP </td>
<td><asp:textbox id="txtMRPV" runat="server" maxlength="50"> </asp:textbox>
<asp:requiredfieldvalidator id="valMRPV" runat="server" controltovalidate="txtMRPV"
errormessage="Required MRP"> </asp:requiredfieldvalidator>
</td>
</tr>
<tr>
<td> *Dimensions </td>
<td><asp:textbox id="txtDimensionsV" runat="server" maxlength="50"> </asp:textbox>
</td>
</tr>
<tr>
<td> *Theme </td>
<td><asp:dropdownlist runat="server" id="drThemeV" onselectedindexchanged="drThemeV_SelectedIndexChanged" AppendDataBoundItems="True">
<asp:ListItem Selected="True" Value="0">Please Select Theme</asp:ListItem>
</asp:dropdownlist>
</td>
</tr>
<tr>
<td> *TemplateXSLT </td>
<td><asp:dropdownlist runat="server" id="drTemplateXSLTV" AppendDataBoundItems="True">
<asp:ListItem Selected="True" Value="0">Please Select TemplateXSLT</asp:ListItem>
</asp:dropdownlist>
</td>
</tr>
<tr>
<td> *Items Per Page </td>
<td><asp:textbox id="txtItemsPerPageV" runat="server" maxlength="50"></asp:textbox>
<asp:requiredfieldvalidator id="valItemsPerPageV" runat="server" controltovalidate="txtItemsPerPageV"
errormessage="Required Items Per Page"></asp:requiredfieldvalidator>
<asp:regularexpressionvalidator runat="server" errormessage="Enter only number" id="ReItemperpageV"
controltovalidate="txtItemsPerPageV" validationexpression='(^[-]?[1-9]\d+$)|(^[-]?[1-9]$)|(^0$)|(^[-]?[1-9]\d+\"+@"\d$)|(^[-]?[0-9]\.\d$)'> </asp:regularexpressionvalidator>
</td>
</tr>
<tr>
<td> *Items Per Row </td>
<td><asp:textbox id="txtItemsPerRowV" runat="server" maxlength="50"> </asp:textbox>
<asp:requiredfieldvalidator id="valItemsPerRowV" runat="server" controltovalidate="txtItemsPerRowV"
errormessage="Required Items Per Row"></asp:requiredfieldvalidator>
<asp:regularexpressionvalidator runat="server" errormessage="Enter only number" id="ReitemsperrowV"
controltovalidate="txtItemsPerRowV" validationexpression='(^[-]?[1-9]\d+$)|(^[-]?[1-9]$)|(^0$)|(^[-]?[1-9]\d+\"+@"\d$)|(^[-]?[0-9]\.\d$)'> </asp:regularexpressionvalidator>
</td>
</tr>
</table>
</telerik:RadPageView>
<telerik:RadPageView ID="pageViewVariant" runat="server" Width="100%">
<table border="0" cellpadding="5" cellspacing="1" width="100%" >
<tr>
<td> *Description </td>
<td><%-- <asp:textbox id="txtDescriptionV" runat="server" maxlength="100" textmode="MultiLine">
</asp:textbox>--%>
<telerik:RadEditor ID="txtDescriptionV" runat="server" Height="200px" Skin="Telerik"
Width="450px" ToolsFile="../../../RadControls/Editor/Examples/Default/BasicTools.xml"
EnableResize="False" AllowScripts="True">
<Content>
</Content>
</telerik:RadEditor>
<%--<asp:requiredfieldvalidator id="valDescriptionV" runat="server" controltovalidate="txtDescriptionV"
errormessage="Required Description"> </asp:requiredfieldvalidator>--%>
</td>
</tr>
</table>
</telerik:RadPageView>
<telerik:RadPageView ID="pageView8V" runat="server">
<table border="0" cellpadding="5" cellspacing="1" width="100%" >
<tr>
<td> *Tags </td>
<td><asp:textbox id="txtTagsV" runat="server" maxlength="50" rows="2" textmode="MultiLine"></asp:textbox>
<%--<asp:requiredfieldvalidator id="valTagsV" runat="server" controltovalidate="txtTagsV"
errormessage="Required Tags"> </asp:requiredfieldvalidator>--%>
</td>
</tr>
<tr>
<td> *Search Engine Title </td>
<td><asp:textbox id="txtSearchEngineTitleV" runat="server" maxlength="50"> </asp:textbox>
</td>
</tr>
<tr>
<td> *Search Engine Keywords </td>
<td><asp:textbox id="txtSearchEngineKeywordsV" runat="server" maxlength="50"> </asp:textbox>
</td>
</tr>
<tr>
<td> *Search Engine Description </td>
<td><asp:textbox id="txtSearchEngineDescriptionV" runat="server" maxlength="50"> </asp:textbox>
<%--<asp:requiredfieldvalidator id="valSearchEngineDescriptionV" runat="server" controltovalidate="txtSearchEngineDescriptionV"
errormessage="Required Search Engine Description"> </asp:requiredfieldvalidator>--%>
</td>
</tr>
<tr>
<td> *Search Engine Footer </td>
<td><asp:textbox id="txtSearchEngineFooterV" runat="server" maxlength="50"> </asp:textbox>
<%--<asp:requiredfieldvalidator id="valSearchEngineFooterV" runat="server" controltovalidate="txtSearchEngineFooterV"
errormessage="Required Search Engine Footer"> </asp:requiredfieldvalidator>--%>
</td>
</tr>
</table>
</telerik:RadPageView>
<telerik:RadPageView ID="pageView81V" runat="server" Width="100%">
<table border="0" cellpadding="5" cellspacing="1" width="100%" >
<tr>
<td> * Active </td>
<td><asp:radiobutton runat="server" id="rbActiveVyes" text="yes" groupname="rbActiveV"
oncheckedchanged="rbActiveVyes_CheckedChanged"></asp:radiobutton>
<asp:radiobutton runat="server" id="rbActiveVno" text="no" groupname="rbActiveV"></asp:radiobutton>
</td>
</tr>
<tr>
<td> * Is showcased </td>
<td><asp:radiobutton runat="server" id="rbshowcasedVyes" text="yes" groupname="rbshowcasedV"
oncheckedchanged="rbshowcasedVyes_CheckedChanged"></asp:radiobutton>
<asp:radiobutton runat="server" id="rbshowcasedVno" text="no" groupname="rbshowcasedV"></asp:radiobutton>
</td>
</tr>
<tr>
<td> *Image File Name </td>
<td><%--<input id="txtfilename" type="file" runat="server" />--%>
<%--<asp:fileupload runat="server" id="txtfilename"></asp:fileupload>--%>
<asp:textbox runat="server" id="txtfilename"></asp:textbox>
</td>
</tr>
<tr>
<td> *Image Alternate Text </td>
<td><asp:textbox id="txtImageAltTextV" runat="server" maxlength="50"> </asp:textbox>
<%--<asp:requiredfieldvalidator id="valImageAltTextV" runat="server" controltovalidate="txtImageAltTextV"
errormessage="Required Image Alternate Text"> </asp:requiredfieldvalidator>--%>
</td>
</tr>
<tr>
<td> *SortByID </td>
<td><asp:dropdownlist cssclass="combo" ID="cmdsortbyid" runat="server" AppendDataBoundItems="True" >
<asp:ListItem Value="0">Please Select </asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr>
<td> *VendorID </td>
<td><asp:textbox id="txtVendorIDV" runat="server" maxlength="50"> </asp:textbox>
</td>
</tr>
<tr>
<td> *DistributorID </td>
<td><asp:textbox id="txtDistributorIDV" runat="server" maxlength="50"> </asp:textbox>
</td>
</tr>
<tr>
<td> *Color Code </td>
<td><asp:textbox id="txtColorCodeV" runat="server" maxlength="50"> </asp:textbox>
</td>
</tr>
<tr>
<td> *Size Code </td>
<td><asp:textbox id="txtSizeCodeV" runat="server" maxlength="50"> </asp:textbox>
</td>
</tr>
</table>
</telerik:RadPageView>
<telerik:RadPageView ID="RadPagevariantimage" runat="server" Width="100%">
<table border="0" cellpadding="5" cellspacing="1" width="100%" >
<tr>
<td> Image Override Alt Text </td>
<td><asp:textbox id="txtSmallImageAltTextV" runat="server" maxlength="50"> </asp:textbox>
<asp:label runat="server" id="lblSmallImageAltTextV"> </asp:label>
</td>
</tr>
<tr>
<td>
<asp:button runat="server" text="view image" id="btnvariantimage"
onclientclick="javascript:return openupvariantimage();" CssClass="input-btn" />
<input type="hidden" runat="server" id="hiddenvariantparentname" />
<input type="hidden" runat="server" id="hiddenvariantname" />
<input type="hidden" runat="server" id="hidden_variantimagename" />
</td>
</tr>
</table>
</telerik:RadPageView>
</telerik:RadMultiPage>
<div style="margin-top: 5px">
<table width="100%">
<tr>
<td><asp:button runat="server" text="Update" id="btnEditV" causesvalidation="False" width="75px"
oncommand="btnEditV_Command" CssClass="input-btn" />
</td>
</tr>
</table>
</div>
</div>
</telerik:RadPane>
</telerik:RadSplitter>
</div>
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" ClientEvents-OnRequestStart="startrequest" ClientEvents-OnResponseEnd="endrequest" >
<ClientEvents OnRequestStart="startrequest" OnResponseEnd="endrequest"></ClientEvents>
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="radtreeviewcategory">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="RadSplitterCategory" />
<telerik:AjaxUpdatedControl ControlID="hidbool" />
</UpdatedControls>
</telerik:AjaxSetting>
<telerik:AjaxSetting AjaxControlID="btndelete">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="radtreeviewcategory"
/>
</UpdatedControls>
</telerik:AjaxSetting>
<telerik:AjaxSetting AjaxControlID="drThemeP">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="drTemplateP"
/>
</UpdatedControls>
</telerik:AjaxSetting>
<telerik:AjaxSetting AjaxControlID="btnRelatedProdPopup">
</telerik:AjaxSetting>
<telerik:AjaxSetting AjaxControlID="btnEditP">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="RadSplitterCategory" />
</UpdatedControls>
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="divMessage" />
</UpdatedControls>
</telerik:AjaxSetting>
<telerik:AjaxSetting AjaxControlID="btnEditV">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="RadSplitterCategory" />
</UpdatedControls>
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="divMessage" />
</UpdatedControls>
</telerik:AjaxSetting>
<telerik:AjaxSetting AjaxControlID="btnimageview"> </telerik:AjaxSetting>
<telerik:AjaxSetting AjaxControlID="btnattribute">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="drattribute" />
</UpdatedControls>
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="txtattribute" />
</UpdatedControls>
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="radgridattribute" />
</UpdatedControls>
</telerik:AjaxSetting>
<telerik:AjaxSetting AjaxControlID="radgridattribute">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="radgridattribute" />
</UpdatedControls>
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="drattribute" />
</UpdatedControls>
</telerik:AjaxSetting>
<telerik:AjaxSetting AjaxControlID="drselectcategory">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="radtreeviewcategory" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
0
Hello amar,
I went through your code and it looks fine to me. However, I would suggest you to use RadAjaxLoadingPanel as loading panel instead. You can check out the following online resources for more information:
http://www.telerik.com/help/aspnet-ajax/ajxloadingpanel.html
http://demos.telerik.com/aspnet-ajax/ajax/examples/loadingpanel/explicitshowhide/defaultcs.aspx
Another thing I can see if that on some buttons click you are updating the whole RadSplitter, which if I am not wrong, is the whole page. Note that the usage of ajax, be it RadAjax or MS UpdatePanels is suggested when you need to update certain page content. Thus you avoid re-rendering the whole page HTML when only small piece of it need to be refreshed and this happens quicker. On the other hand, ajaxifying the whole page can have the opposite effect.
Therefore I suggest to review your page logic and functionality and ajaxify only this page content which is necessary.
For more ideas on optimizing page performance, please find the below topics:
http://www.telerik.com/products/aspnet-ajax/resources/top-performance.aspx
http://www.telerik.com/help/aspnet-ajax/ajxclientsideperformance.html
http://telerikwatch.com/2008/04/optimization-tipsthe-rad-managers-for.html
I hope this helps.
Regards,
Iana
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
I went through your code and it looks fine to me. However, I would suggest you to use RadAjaxLoadingPanel as loading panel instead. You can check out the following online resources for more information:
http://www.telerik.com/help/aspnet-ajax/ajxloadingpanel.html
http://demos.telerik.com/aspnet-ajax/ajax/examples/loadingpanel/explicitshowhide/defaultcs.aspx
Another thing I can see if that on some buttons click you are updating the whole RadSplitter, which if I am not wrong, is the whole page. Note that the usage of ajax, be it RadAjax or MS UpdatePanels is suggested when you need to update certain page content. Thus you avoid re-rendering the whole page HTML when only small piece of it need to be refreshed and this happens quicker. On the other hand, ajaxifying the whole page can have the opposite effect.
Therefore I suggest to review your page logic and functionality and ajaxify only this page content which is necessary.
For more ideas on optimizing page performance, please find the below topics:
http://www.telerik.com/products/aspnet-ajax/resources/top-performance.aspx
http://www.telerik.com/help/aspnet-ajax/ajxclientsideperformance.html
http://telerikwatch.com/2008/04/optimization-tipsthe-rad-managers-for.html
I hope this helps.
Regards,
Iana
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.