1. I am using Rad Grid control. In this control i use the form with user controls.In user control i am using with Image uploader.
In that image uploader contains some java script. If i am using without ajaxfy it works fine. If i use within ajaxfy it's not working.
Please give me a solution for me. Here with i attached user control coding.
Sample Coding
<%
@ Control Language="C#" AutoEventWireup="true" CodeBehind="OutSideVendor.ascx.cs" Inherits="JetSoftAdmin.UserControl.OutSideVendor" %>
<%
@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<
link href="../Skins/JetSoftStyle/AdminStyle.css" rel="Stylesheet" type="text/css" />
<%
@ Register Assembly="Microsoft.Practices.EnterpriseLibrary.Validation.Integration.AspNet" Namespace="Microsoft.Practices.EnterpriseLibrary.Validation.Integration.AspNet" TagPrefix="jet" %>
<%
@ Register Assembly="Aurigma.ImageUploader" Namespace="Aurigma.ImageUploader" TagPrefix="imageup" %>
<%
@ Register TagName="ucl" TagPrefix="AreaAssosications" Src="~/UserControl/AreaAssociationUserControl.ascx" %>
<%
@ Import Namespace="System.IO" %>
<%
@ Import Namespace="System.Xml" %>
<
telerik:RadCodeBlock ID="radCode" runat="server">
<script type="text/javascript" src="iuembed.js"></script>
</
telerik:RadCodeBlock>
<script type="text/javascript" src="../lightbox/lightbox.js"></script>
<asp:HiddenField id="hdnPersonalInfoTitle" runat="server" />
<asp:HiddenField id="hdnPersonalInfoSuffix" runat="server" />
<asp:HiddenField id="hdnPersonalInfoHomePhone" runat="server" />
<asp:HiddenField id="hdnPersonalInfoCellPhone" runat="server" />
<asp:HiddenField id="hdnPersonalInfoWorkPhone" runat="server" />
<asp:HiddenField id="hdnPersonalInfoFax" runat="server" />
<asp:HiddenField id="hdnPersonalInfoState" runat="server" />
<asp:HiddenField id="hdnPersonalInfoCountry" runat="server" />
<asp:HiddenField id="hdnGeneralInfoVendorCategoryType" runat="server" />
<asp:HiddenField id="hdnSecondContactHomePhone" runat="server" />
<asp:HiddenField id="hdnSecondContactCellPhone" runat="server" />
<asp:HiddenField id="hdnSecondContactWorkPhone" runat="server" />
<asp:HiddenField id="hdnSecondContactFax" runat="server" />
<telerik:RadScriptBlock ID="scriptBlock1" runat="server">
<
script type="text/javascript">
//<![CDATA[
var bitBucket = 0;
var desktop = 1;
var myComputer = 2;
var myDocuments = 3;
var myMusic = 4;
var myPictures = 5;
var myVideo = 6;
var network = 7;
function changeView(view) {
getImageUploader(
"ImageUploader1").setFolderView(view);
}
//Check if appropriate special folder (My Documents, Desktop, etc) exists.
//If some of these folder is missing, hide appropriate button.
function checkButton(name, folderId) {
if (getImageUploader("ImageUploader1").CanGoToFolder(folderId)) {
document.getElementById(name +
"Holder").style.display = "block";
}
}
//window.onload = function(){
function FullPageLoad() {
checkButton(
"Desktop", desktop);
checkButton(
"MyDocuments", myDocuments);
checkButton(
"MyComputer", myComputer);
checkButton(
"MyPictures", myPictures);
checkButton(
"MyVideo", myVideo);
checkButton(
"Network", network);
}
function ItemsPersonalInfoTitleRequesting(sender, eventArgs) {
var combo1 = $find("<%= cmbPersonalInfoTitle.ClientID %>");
var item = combo1.get_selectedItem();
document.getElementById(
"<%= hdnPersonalInfoTitle.ClientID %>").value = item.get_value();
}
function ItemsPersonalInfoSuffixRequesting(sender, eventArgs) {
var combo1 = $find("<%= cmbPersonalInfoSuffix.ClientID %>");
var item = combo1.get_selectedItem();
document.getElementById(
"<%= hdnPersonalInfoSuffix.ClientID %>").value = item.get_value();
}
function ItemsPersonalInfoTitleRequesting(sender, eventArgs) {
var combo1 = $find("<%= cmbPersonalInfoTitle.ClientID %>");
var item = combo1.get_selectedItem();
document.getElementById(
"<%= hdnPersonalInfoTitle.ClientID %>").value = item.get_value();
}
function ItemsPersonalInfoHomePhoneRequesting(sender, eventArgs) {
var combo1 = $find("<%= cmbPersonalInfoHomePhone.ClientID %>");
var item = combo1.get_selectedItem();
document.getElementById(
"<%= hdnPersonalInfoHomePhone.ClientID %>").value = item.get_value();
}
function ItemsPersonalInfoTitleRequesting(sender, eventArgs) {
var combo1 = $find("<%= cmbPersonalInfoTitle.ClientID %>");
var item = combo1.get_selectedItem();
document.getElementById(
"<%= hdnPersonalInfoTitle.ClientID %>").value = item.get_value();
}
function ItemsPersonalInfoCellPhoneRequesting(sender, eventArgs) {
var combo1 = $find("<%= cmbPersonalInfoCellPhone.ClientID %>");
var item = combo1.get_selectedItem();
document.getElementById(
"<%= hdnPersonalInfoCellPhone.ClientID %>").value = item.get_value();
}
function ItemsPersonalInfoWorkPhoneRequesting(sender, eventArgs) {
var combo1 = $find("<%= cmbPersonalInfoWorkPhone.ClientID %>");
var item = combo1.get_selectedItem();
document.getElementById(
"<%= hdnPersonalInfoWorkPhone.ClientID %>").value = item.get_value();
}
function ItemsPersonalInfoFaxRequesting(sender, eventArgs) {
var combo1 = $find("<%= cmbPersonalInfoFax.ClientID %>");
var item = combo1.get_selectedItem();
document.getElementById(
"<%= hdnPersonalInfoFax.ClientID %>").value = item.get_value();
}
function ItemsPersonalInfoStateRequesting(sender, eventArgs) {
var combo1 = $find("<%= cmbPersonalInfoState.ClientID %>");
var item = combo1.get_selectedItem();
document.getElementById(
"<%= hdnPersonalInfoState.ClientID %>").value = item.get_value();
}
function ItemsPersonalInfoTitleRequesting(sender, eventArgs) {
var combo1 = $find("<%= cmbPersonalInfoTitle.ClientID %>");
var item = combo1.get_selectedItem();
document.getElementById(
"<%= hdnPersonalInfoTitle.ClientID %>").value = item.get_value();
}
function ItemsPersonalInfoCountryRequesting(sender, eventArgs) {
var combo1 = $find("<%= cmbPersonalInfoCountry.ClientID %>");
var item = combo1.get_selectedItem();
document.getElementById(
"<%= hdnPersonalInfoCountry.ClientID %>").value = item.get_value();
}
function ItemsGeneralInfoVendorCategoryTypeRequesting(sender, eventArgs) {
var combo1 = $find("<%= cmbGeneralInfoVendorCategoryType.ClientID %>");
var item = combo1.get_selectedItem();
document.getElementById(
"<%= hdnGeneralInfoVendorCategoryType.ClientID %>").value = item.get_value();
}
function ItemsSecondContactHomePhoneRequesting(sender, eventArgs) {
var combo1 = $find("<%= cmbSecondContactHomePhone.ClientID %>");
var item = combo1.get_selectedItem();
document.getElementById(
"<%= hdnSecondContactHomePhone.ClientID %>").value = item.get_value();
}
function ItemsSecondContactCellPhoneRequesting(sender, eventArgs) {
var combo1 = $find("<%= cmbSecondContactCellPhone.ClientID %>");
var item = combo1.get_selectedItem();
document.getElementById(
"<%= hdnSecondContactCellPhone.ClientID %>").value = item.get_value();
}
function ItemsSecondContactWorkPhoneRequesting(sender, eventArgs) {
var combo1 = $find("<%= cmbSecondContactWorkPhone.ClientID %>");
var item = combo1.get_selectedItem();
document.getElementById(
"<%= hdnSecondContactWorkPhone.ClientID %>").value = item.get_value();
}
function ItemsSecondContactFaxRequesting(sender, eventArgs) {
var combo1 = $find("<%= cmbSecondContactFax.ClientID %>");
var item = combo1.get_selectedItem();
document.getElementById(
"<%= hdnSecondContactFax.ClientID %>").value = item.get_value();
}
//]]>
</script>
</telerik:RadScriptBlock>
<
div class="contactcontent_inner">
<asp:Panel ID="pnlOutsideVendor" runat="server" GroupingText="<%$ Resources:AdminResource, pnlUpdateOutsideVendor %>">
<!-- RadTabStrip -->
<asp:Label ID="lblContactExists" runat="server" ForeColor="<%$ Resources:AdminResource, valcolor %>" ></asp:Label>
<telerik:RadTabStrip ID="OutsideVendorTabStrip" runat="server" SelectedIndex="0"
MultiPageID="OutsideVendorMultipage">
<Tabs>
<telerik:RadTab runat="server" Text="<%$ Resources:AdminResource, tabMasterInfo %>" Selected="True">
</telerik:RadTab>
<telerik:RadTab runat="server" Text="<%$ Resources:AdminResource, tabGeneralInfo %>">
</telerik:RadTab>
<telerik:RadTab runat="server" Text="<%$ Resources:AdminResource, tabSecondContact %>">
</telerik:RadTab>
<telerik:RadTab runat="server" Text="<%$ Resources:AdminResource, tabLegalInfo%>">
</telerik:RadTab>
<telerik:RadTab runat="server" Text="<%$ Resources:AdminResource, tabPictures %>">
</telerik:RadTab>
</Tabs>
</telerik:RadTabStrip>
<telerik:RadMultiPage ID="OutsideVendorMultipage" runat="server"
SelectedIndex="0" Width="100%">
<!-- Personal Info -->
<telerik:RadPageView ID="personalinfoPageView" runat="server" Width="100%" Height="100%">
<div class="personalinfo_inner">
<div class="area_inner">
<asp:Panel ID="Panel1" runat="server" GroupingText="<%$ Resources:AdminResource, pnlSelectArea %>" Width="530px">
<AreaAssosications:ucl id="area" runat="server"></AreaAssosications:ucl>
</asp:Panel>
<asp:Panel ID="pnlcontactdetails" runat="server" GroupingText="<%$ Resources:AdminResource, pnlContactDetails %>" Width="530px">
<div class="companyname">
<asp:Label ID="lblPersonalInfoCompanyName" CssClass="requiredfieldColor" runat="server" Text="<%$ Resources:AdminResource, lblPersonalInfoCompanyName %>" ToolTip="<%$ Resources:AdminResource, ttPersonalInfoCompanyName %>"></asp:Label>
<telerik:RadTextBox ID="txtPersonalInfoCompanyName" MaxLength="50" runat="server"
Width="462px" TabIndex="3"> </telerik:RadTextBox>
</div>
<div class="companynamerequired">
<jet:PropertyProxyValidator ID="valPersonalInfoCompanyName" runat="server" SourceTypeName=" Com.JetSoft.JetSoftFramework.Contact.ContactData" ControlToValidate="txtPersonalInfoCompanyName" PropertyName="Company"> </jet:PropertyProxyValidator>
</div>
<div class="contact">
<asp:Label ID="lblPersonalInfoContactName" runat="server" Text="<%$ Resources:AdminResource, lblPersonalInfoContactName %>" ToolTip="<%$ Resources:AdminResource, ttPersonalInfoContactName %>"></asp:Label>
<div class="title">
<asp:Label ID="lblPersonalInfoTitle" runat="server" Text="<%$ Resources:AdminResource, lblPersonalInfoTitle %>" ToolTip="<%$ Resources:AdminResource, ttPersonalInfoTitle %>"></asp:Label>
<telerik:RadComboBox ID="cmbPersonalInfoTitle" runat="server" Width="87px" OnClientSelectedIndexChanged="ItemsPersonalInfoTitleRequesting"
Font-Size="Small" TabIndex="4">
<Items>
<telerik:RadComboBoxItem runat="server" Text="" Value="" />
<telerik:RadComboBoxItem runat="server" Text="Mr" Value="Mr" />
<telerik:RadComboBoxItem runat="server" Text="Mrs" Value="Mrs" />
<telerik:RadComboBoxItem runat="server" Text="Ms" Value="Ms" />
</Items>
<CollapseAnimation Duration="200" Type="OutQuint" />
</telerik:RadComboBox>
</div>
<div class="firstname">
<asp:Label ID="lblPersonalInfoFirstName" runat="server" Text="<%$ Resources:AdminResource, lblPersonalInfoFirst %>" ToolTip="<%$ Resources:AdminResource, ttPersonalInfoFirst %>" CssClass="requiredfieldColor"></asp:Label>
<telerik:RadTextBox ID="txtPersonalInfoFirstName" MaxLength="50" runat="server" TabIndex="5"></telerik:RadTextBox>
</div>
<div class="middlename">
<asp:Label ID="lblPersonalInfoMiddleName" runat="server" Text="<%$ Resources:AdminResource, lblPersonalInfoMiddle %>" ToolTip="<%$ Resources:AdminResource, ttPersonalInfoMiddle %>"></asp:Label>
<telerik:RadTextBox ID="txtPersonalInfoMiddleName" MaxLength="5" runat="server" Width="35px"
TabIndex="6"></telerik:RadTextBox>
</div>
<div class="lastname">
<asp:Label ID="lblPersonalInfoLastName" runat="server" Text="<%$ Resources:AdminResource, lblPersonalInfoLast %>" ToolTip="<%$ Resources:AdminResource, ttPersonalInfoLast %>" CssClass="requiredfieldColor"></asp:Label>
<telerik:RadTextBox ID="txtPersonalInfoLastName" MaxLength="50" runat="server" Width="100px"
TabIndex="7"></telerik:RadTextBox>
</div>
<div class="suffix">
<asp:Label ID="lblPersonalInfoSuffix" runat="server" Text="<%$ Resources:AdminResource, lblPersonalInfoSuffix %>" ToolTip="<%$ Resources:AdminResource, ttPersonalInfoSuffix %>"></asp:Label>
<telerik:RadComboBox ID="cmbPersonalInfoSuffix" runat="server" OnClientSelectedIndexChanged="ItemsPersonalInfoSuffixRequesting"
Width="91px" Font-Size="Small" TabIndex="8">
<Items>
<telerik:RadComboBoxItem runat="server" Text="" Value="" />
<telerik:RadComboBoxItem runat="server" Text="Dr" Value="Dr" />
<telerik:RadComboBoxItem runat="server" Text="Er" Value="Er" />
</Items>
<CollapseAnimation Duration="200" Type="OutQuint" />
</telerik:RadComboBox>
</div>
<div class="firstnamerequired">
<jet:PropertyProxyValidator ID="valPersonalInfoFirstName" runat="server" SourceTypeName=" Com.JetSoft.JetSoftFramework.Contact.ContactData" ControlToValidate="txtPersonalInfoFirstName" PropertyName="FirstName"> </jet:PropertyProxyValidator>
</div>
<div class="lastnamerequired">
<jet:PropertyProxyValidator ID="valPersonalInfoLastName" runat="server" SourceTypeName=" Com.JetSoft.JetSoftFramework.Contact.ContactData" ControlToValidate="txtPersonalInfoLastName" PropertyName="LastName"> </jet:PropertyProxyValidator>
</div>
</div>
<div class="email">
<asp:Label ID="lblPersonalInfoEmail" runat="server" Text="<%$ Resources:AdminResource, lblPersonalInfoEmail %>" ToolTip="<%$ Resources:AdminResource, ttPersonalInfoEmail %>" ></asp:Label>
<div class="primaryemail">
<asp:Label ID="lblPersonalInfoPrimaryEmail" runat="server" Text="<%$ Resources:AdminResource, lblPersonalInfoPrimaryEmail %>" ToolTip="<%$ Resources:AdminResource, ttPersonalInfoPrimary %>" CssClass="requiredfieldColor"></asp:Label>
<telerik:RadTextBox ID="txtPersonalInfoPrimaryEmail" MaxLength="50" runat="server"
Width="185px" TabIndex="9"></telerik:RadTextBox>
</div>
<div class="secondaryemail">
<asp:Label ID="lblPersonalInfoSecondaryEmail" runat="server" Text="<%$ Resources:AdminResource, lblPersonalInfoSecondaryEmail %>" ToolTip="<%$ Resources:AdminResource, ttPersonalInfoSecondary %>"></asp:Label>
<telerik:RadTextBox ID="txtPersonalInfoSecondaryEmail" MaxLength="50" runat="server"
Width="185px" TabIndex="10"></telerik:RadTextBox>
</div>
<div class="primaryemailrequired">
<jet:PropertyProxyValidator ID="valPersonalInfoPrimaryEmail" runat="server" SourceTypeName=" Com.JetSoft.JetSoftFramework.Contact.ContactData" ControlToValidate="txtPersonalInfoPrimaryEmail" PropertyName="PrimaryEmail"> </jet:PropertyProxyValidator>
</div>
<div class="secondaryemailrequired">
<jet:PropertyProxyValidator ID="valtxtPersonalInfoSecondaryEmail" runat="server" SourceTypeName=" Com.JetSoft.JetSoftFramework.Contact.ContactData" ControlToValidate="txtPersonalInfoSecondaryEmail" PropertyName="SecondaryEmail"> </jet:PropertyProxyValidator>
</div>
</div>
<div class="phone">
<asp:Label ID="lblPersonalInfoPhoneNumbers" runat="server" Text="<%$ Resources:AdminResource, lblPersonalInfoPhoneNumber %>" ToolTip="<%$ Resources:AdminResource, ttPersonalInfoPhoneNumber %>"></asp:Label>
<div class="home">
<telerik:RadComboBox ID="cmbPersonalInfoHomePhone" runat="server" Width="87px" OnClientSelectedIndexChanged="ItemsPersonalInfoHomePhoneRequesting"
Font-Size="Small" TabIndex="11">
<Items>
<telerik:RadComboBoxItem Text="" Value=""/>
<telerik:RadComboBoxItem Text="Home" Value="1" />
<telerik:RadComboBoxItem Text="Cell" Value="2" />
<telerik:RadComboBoxItem Text="Work" Value="3" />
<telerik:RadComboBoxItem Text="Fax" Value="4" />
</Items>
<CollapseAnimation Duration="200" Type="OutQuint" />
</telerik:RadComboBox>
<telerik:RadTextBox ID="txtPersonalInfoHomePhone" runat="server" TabIndex="12"></telerik:RadTextBox>
<asp:CheckBox ID="chkPersonalInfoHomePhone" runat="server" Text="<%$ Resources:AdminResource, chkPersonalInfoUSNumber %>" TabIndex="13" />
<div class="homerequired">
<jet:PropertyProxyValidator ID="valtxtPersonalInfoHomePhone" runat="server" SourceTypeName=" Com.JetSoft.JetSoftFramework.Contact.ContactNumberData" ControlToValidate="txtPersonalInfoHomePhone" PropertyName="ContactNumber"> </jet:PropertyProxyValidator>
</div>
</div>
<div class="cell">
<telerik:RadComboBox ID="cmbPersonalInfoCellPhone" runat="server" Width="87px" OnClientSelectedIndexChanged="ItemsPersonalInfoCellPhoneRequesting"
Font-Size="Small" TabIndex="14">
<Items>
<telerik:RadComboBoxItem Text="" Value=""/>
<telerik:RadComboBoxItem Text="Home" Value="1" />
<telerik:RadComboBoxItem Text="Cell" Value="2" />
<telerik:RadComboBoxItem Text="Work" Value="3" />
<telerik:RadComboBoxItem Text="Fax" Value="4" />
</Items>
<CollapseAnimation Duration="200" Type="OutQuint" />
</telerik:RadComboBox>
<telerik:RadTextBox ID="txtPersonalInfoCellPhone" MaxLength="15" runat="server" TabIndex="15"></telerik:RadTextBox>
<asp:CheckBox ID="chkPersonalInfoCellPhone" runat="server" Text="<%$ Resources:AdminResource, chkPersonalInfoUSNumber %>" TabIndex="16" />
<div class="cellrequired">
<jet:PropertyProxyValidator ID="valtxtPersonalInfoCellPhone" runat="server" SourceTypeName=" Com.JetSoft.JetSoftFramework.Contact.ContactNumberData" ControlToValidate="txtPersonalInfoCellPhone" PropertyName="ContactNumber"> </jet:PropertyProxyValidator>
</div>
</div>
<div class="work">
<telerik:RadComboBox ID="cmbPersonalInfoWorkPhone" runat="server" Width="87px" OnClientSelectedIndexChanged="ItemsPersonalInfoWorkPhoneRequesting"
Font-Size="Small" TabIndex="17">
<CollapseAnimation Duration="200" Type="OutQuint" />
<Items>
<telerik:RadComboBoxItem Text="" Value=""/>
<telerik:RadComboBoxItem Text="Home" Value="1" />
<telerik:RadComboBoxItem Text="Cell" Value="2" />
<telerik:RadComboBoxItem Text="Work" Value="3" />
<telerik:RadComboBoxItem Text="Fax" Value="4" />
</Items>
</telerik:RadComboBox>
<telerik:RadTextBox ID="txtPersonalInfoWorkPhone" MaxLength="15" runat="server" TabIndex="18"></telerik:RadTextBox>
<asp:CheckBox ID="chkPersonalInfoWorkPhone" runat="server" Text="<%$ Resources:AdminResource, chkPersonalInfoUSNumber %>" TabIndex="19" />
<div class="workrequired">
<jet:PropertyProxyValidator ID="valtxtPersonalInfoWorkPhone" runat="server" SourceTypeName=" Com.JetSoft.JetSoftFramework.Contact.ContactNumberData" ControlToValidate="txtPersonalInfoWorkPhone" PropertyName="ContactNumber"> </jet:PropertyProxyValidator>
</div>
</div>
<div class="fax">
<telerik:RadComboBox ID="cmbPersonalInfoFax" runat="server" Width="87px" OnClientSelectedIndexChanged="ItemsPersonalInfoFaxRequesting"
Font-Size="Small" TabIndex="20">
<Items>
<telerik:RadComboBoxItem Text="" Value=""/>
<telerik:RadComboBoxItem Text="Home" Value="1" />
<telerik:RadComboBoxItem Text="Cell" Value="2" />
<telerik:RadComboBoxItem Text="Work" Value="3" />
<telerik:RadComboBoxItem Text="Fax" Value="4" />
</Items>
<CollapseAnimation Duration="200" Type="OutQuint" />
</telerik:RadComboBox>
<telerik:RadTextBox ID="txtPersonalInfoFax" MaxLength="15" runat="server" TabIndex="21"></telerik:RadTextBox>
<asp:CheckBox ID="chkPersonalInfoFax" runat="server" Text="<%$ Resources:AdminResource, chkPersonalInfoUSNumber %>" TabIndex="22" />
<div class="faxrequired">
<jet:PropertyProxyValidator ID="valtxtPersonalInfoFax" runat="server" SourceTypeName=" Com.JetSoft.JetSoftFramework.Contact.ContactNumberData" ControlToValidate="txtPersonalInfoFax" PropertyName="ContactNumber"> </jet:PropertyProxyValidator>
</div>
</div>
</div>
</asp:Panel>
</div>
<div class="address_inner">
<div class="addresspnl_inner">
<asp:Panel ID="pnladdress" runat="server" GroupingText="<%$ Resources:AdminResource, pnlAddress %>" CssClass="addresspnlsize">
<div class="street1">
<asp:Label ID="lblPersonalInfoStreet1" runat="server" Text="<%$ Resources:AdminResource, lblPersonalInfoStreet1 %>" ToolTip="<%$ Resources:AdminResource, ttPersonalInfoStreet1 %>"></asp:Label>
<telerik:RadTextBox ID="txtPersonalInfoStreet1" MaxLength="50" runat="server" TabIndex="23"></telerik:RadTextBox>
</div>
<div class="street2">
<asp:Label ID="lblPersonalInfoStreet2" runat="server" Text="<%$ Resources:AdminResource, lblPersonalInfoStreet2 %>" ToolTip="<%$ Resources:AdminResource, ttPersonalInfoStreet2 %>"></asp:Label>
<telerik:RadTextBox ID="txtPersonalInfoStreet2" MaxLength="50" runat="server" TabIndex="24"></telerik:RadTextBox>
</div>
<div class="city">
<asp:Label ID="lblPersonalInfoCity" runat="server" Text="<%$ Resources:AdminResource, lblPersonalInfoCity %>" ToolTip="<%$ Resources:AdminResource, ttPersonalInfoCity %>"></asp:Label>
<telerik:RadTextBox ID="txtPersonalInfoCity" MaxLength="50" runat="server" TabIndex="25"></telerik:RadTextBox>
</div>
<div class="state">
<asp:Label ID="lblPersonalInfoState" runat="server" Text="<%$ Resources:AdminResource, lblPersonalInfoState %>" ToolTip="<%$ Resources:AdminResource, ttPersonalInfoState %>"></asp:Label>
<telerik:RadAjaxPanel ID="ajaxpnlCmbSate" runat="server">
<telerik:RadComboBox ID="cmbPersonalInfoState" Height="250px" runat="server" Width="127px" OnClientSelectedIndexChanged="ItemsPersonalInfoStateRequesting"
Font-Size="Small" TabIndex="26">
<CollapseAnimation Duration="200" Type="OutQuint" />
</telerik:RadComboBox>
</telerik:RadAjaxPanel>
</div>
<div class="country">
<asp:Label ID="lblPersonalInfoCountry" runat="server" Text="<%$ Resources:AdminResource, lblPersonalInfoCountry %>" ToolTip="<%$ Resources:AdminResource, ttPersonalInfoCountry %>"></asp:Label>
<telerik:RadAjaxPanel ID="ajaxpnlCmbCountry" runat="server">
<telerik:RadComboBox ID="cmbPersonalInfoCountry" runat="server" Width="127px" OnClientSelectedIndexChanged="ItemsPersonalInfoCountryRequesting"
Font-Size="Small"
onselectedindexchanged="cmbPersonalInfoCountry_SelectedIndexChanged"
AutoPostBack="True" TabIndex="27">
<CollapseAnimation Duration="200" Type="OutQuint" />
</telerik:RadComboBox>
</telerik:RadAjaxPanel>
</div>
<div class="zipcode">
<asp:Label ID="lblPersonalInfoZipCode" runat="server" Text="<%$ Resources:AdminResource, lblPersonalInfoZipCode %>" ToolTip="<%$ Resources:AdminResource, ttPersonalInfoZipCode %>"></asp:Label>
<telerik:RadTextBox ID="txtPersonalInfoZipCode" MaxLength="10" runat="server" TabIndex="28"></telerik:RadTextBox>
</div>
</asp:Panel>
</div>
<div class="passwordpnl_inner">
<asp:Panel ID="pnlpassword" runat="server" GroupingText="<%$ Resources:AdminResource, pnlPassword %>" CssClass="passwordpnlsize">
<div class="password_inner">
<asp:Label ID="lblPersonalInfoPassword" runat="server" Text="<%$ Resources:AdminResource, lblPersonalInfoPassword %>" ToolTip="<%$ Resources:AdminResource, ttPersonalInfoPassword %>" CssClass="requiredfieldColor"></asp:Label>
<telerik:RadTextBox ID="txtPersonalInfoPassword" MaxLength="50" runat="server" TabIndex="29"></telerik:RadTextBox>
</div>
<div class="workphonerequired">
<jet:PropertyProxyValidator ID="valPassword" runat="server" SourceTypeName=" Com.JetSoft.JetSoftFramework.Contact.ContactData" ControlToValidate="txtPersonalInfoPassword" PropertyName="Password"> </jet:PropertyProxyValidator>
</div>
<div class="passwordrequired">
<asp:Button ID="btnPersonalInfoRandompassword" OnClick="btnPersonalInfoRandompassword_Click" CausesValidation="false" runat="server"
Text="<%$ Resources:AdminResource, btnPersonalInfoRandomPassword %>"
ToolTip="<%$ Resources:AdminResource, ttPersonalInfoRandomPassword %>"
Width="140px" TabIndex="30" />
</div>
<div class="temporarypasswordbtn">
<asp:Button ID="btnPersonalInfotemporarypassword" CausesValidation="false" runat="server"
Text="<%$ Resources:AdminResource, btnPersonalInfoTemporaryPassword %>"
ToolTip="<%$ Resources:AdminResource, ttPersonalInfoTemporaryPassword %>"
Width="140px" onclick="btnPersonalInfotemporarypassword_Click"
TabIndex="31" />
</div>
</asp:Panel>
</div>
</div>
</div>
</telerik:RadPageView>
<!-- General Info -->
<telerik:RadPageView ID="GeneralInfoPageView" runat="server" Height="100%" Width="100%" >
<div class="generalinfopnl_inner">
<asp:Panel ID="pnlGeneralInfo" GroupingText="<%$ Resources:AdminResource, pnlGeneralInfo %>" runat="server">
<div class="vendorcotnact_inner">
<asp:Label ID="gneralInfoVendorCategory" runat="server" Text="<%$ Resources:AdminResource, lblVendorCategory %>" ToolTip="<%$ Resources:AdminResource, ttVendorCategory %>" CssClass="requiredfieldColor"></asp:Label>
<telerik:RadComboBox ID="cmbGeneralInfoVendorCategoryType" runat="server" OnClientSelectedIndexChanged="ItemsGeneralInfoVendorCategoryTypeRequesting"
Font-Size="Small">
<CollapseAnimation Duration="200" Type="OutQuint" />
</telerik:RadComboBox>
</div>
<div class="valvendorcategory">
<asp:Label ID="valVendorCategoryType" runat="server" ForeColor="Red"></asp:Label>
</div>
<div class="vendornotes_inner">
<div class="sortdescription_inner">
<asp:Label ID="lblGeneralInfoShortDescription" runat="server" Text="<%$ Resources:AdminResource, lblGeneralInfoShortDescription %>" ToolTip="<%$ Resources:AdminResource, ttGeneralInfoShortDescription %>"></asp:Label>
<telerik:RadTextBox ID="txtGeneralInfoShortDescription" TextMode="MultiLine" Rows="6" Columns="65" runat="server" CssClass="text"></telerik:RadTextBox>
</div>
<div class="internalnotes_inner">
<asp:Label ID="lblGeneralInfoInternalNotes" runat="server" Text="<%$ Resources:AdminResource, lblGeneralInfoInternalNotes %>" ToolTip="<%$ Resources:AdminResource, ttGeneralInfoInternalNotes %>"></asp:Label>
<telerik:RadTextBox ID="txtGeneralInfoInternalNotes" runat="server" TextMode="MultiLine" Rows="6" Columns="55" CssClass="text"></telerik:RadTextBox>
</div>
</div>
<div class="outisdevendorlongdesription">
<asp:Label ID="lblGeneralinfoLongDescription" runat="server" Text="<%$ Resources:AdminResource, lblGeneralinfoLongDescription %>" ToolTip="<%$ Resources:AdminResource, ttGeneralinfoLongDescription %>"></asp:Label>
<telerik:RadTextBox ID="txtGeneralinfoLongDescription" TextMode="MultiLine" Rows="8" Columns="140" runat="server" CssClass="text" >
</telerik:RadTextBox>
</div>
</asp:Panel>
</div>
</telerik:RadPageView>
<!-- Second Contact -->
<telerik:RadPageView ID="secondContactPageView" runat="server" Height="100%" Width="100%" >
<div class="secondcontactpnl">
<asp:Panel ID="pnlsecondcontact" runat="server" GroupingText="<%$ Resources:AdminResource, pnlSecondContact %>">
<div class="secondcontact">
<asp:Label ID="lblsecondContactContact" runat="server" Text="<%$ Resources:AdminResource, lblSecondContactDetails %>" ToolTip="<%$ Resources:AdminResource, ttSecondContacttDetails %>"></asp:Label>
<div class="secondcontactfirstname_inner">
<asp:Label ID="lblSecondContactFirstName" runat="server" Text="<%$ Resources:AdminResource, lblSecondContactFirstName %>" ToolTip="<%$ Resources:AdminResource, ttSecondContactFirstName %>" CssClass="requiredfieldColor"></asp:Label>
<telerik:RadTextBox ID="txtSecondContactFirstName" MaxLength="50" runat="server" Width="150px"></telerik:RadTextBox>
</div>
<div class="secondcontactlastname_inner">
<asp:Label ID="lblSecondContactLastName" runat="server" Text="<%$ Resources:AdminResource, lblSecondContactLastName %>" ToolTip="<%$ Resources:AdminResource, ttSecondContactLastName %>"></asp:Label>
<telerik:RadTextBox ID="txtSecondContactLastName" MaxLength="50" runat="server" Width="150px"></telerik:RadTextBox>
</div>
<div class="secondcontactemailaddress_inner">
<asp:Label ID="lblSecondContactEMail" runat="server" Text="<%$ Resources:AdminResource, lblSecondContactEmailAddress %>" ToolTip="<%$ Resources:AdminResource, ttSecondContactEmailAddress %>"></asp:Label>
<telerik:RadTextBox ID="txtSecondContactEmail" MaxLength="50" runat="server" Width="150px"></telerik:RadTextBox>
</div>
<div class="assistantfirstnamerequired">
<jet:PropertyProxyValidator ID="valtxtSecondContactFirstName" runat="server" SourceTypeName=" Com.JetSoft.JetSoftFramework.Contact.ContactAssistantData" ControlToValidate="txtSecondContactFirstName" PropertyName="FirstName"> </jet:PropertyProxyValidator>
</div>
<div class="assistantemailrequired">
<jet:PropertyProxyValidator ID="valtxtSecondContactEmail" runat="server" SourceTypeName=" Com.JetSoft.JetSoftFramework.Contact.ContactAssistantData" ControlToValidate="txtSecondContactEmail" PropertyName="PrimaryEmail"> </jet:PropertyProxyValidator>
</div>
</div>
<div class="secondcontactphone">
<asp:Label ID="lblSecondContactPhoneNumbers" runat="server" Text="<%$ Resources:AdminResource, lblSecondContactPhoneNumber %>" ToolTip="<%$ Resources:AdminResource, ttSecondContactPhoneNumber %>"></asp:Label>
<div class="secondcontacthome">
<telerik:RadComboBox ID="cmbSecondContactHomePhone" runat="server" Width="87px" OnClientSelectedIndexChanged="ItemsSecondContactHomePhoneRequesting"
Font-Size="Small">
<CollapseAnimation Duration="200" Type="OutQuint" />
<Items>
<telerik:RadComboBoxItem Text="" Value=""/>
<telerik:RadComboBoxItem Text="Home" Value="1" />
<telerik:RadComboBoxItem Text="Cell" Value="2" />
<telerik:RadComboBoxItem Text="Work" Value="3" />
<telerik:RadComboBoxItem Text="Fax" Value="4" />
</Items>
</telerik:RadComboBox>
<telerik:RadTextBox ID="txtSecondContactHomePhone" MaxLength="15" runat="server"></telerik:RadTextBox>
<asp:CheckBox ID="chkSecondContactHomePhone" runat="server" Text="<%$ Resources:AdminResource, chkSecondContactUSNumber %>" />
<div class="assistanthomerequired">
<jet:PropertyProxyValidator ID="valtxtSecondContactHomePhone" runat="server" SourceTypeName=" Com.JetSoft.JetSoftFramework.Contact.AssistantNumberData" ControlToValidate="txtSecondContactHomePhone" PropertyName="ContactNumber"> </jet:PropertyProxyValidator>
</div>
</div>
<div class="secondcontactcell">
<telerik:RadComboBox ID="cmbSecondContactCellPhone" runat="server" Width="87px" OnClientSelectedIndexChanged="ItemsSecondContactCellPhoneRequesting"
Font-Size="Small">
<CollapseAnimation Duration="200" Type="OutQuint" />
<Items>
<telerik:RadComboBoxItem Text="" Value=""/>
<telerik:RadComboBoxItem Text="Home" Value="1" />
<telerik:RadComboBoxItem Text="Cell" Value="2" />
<telerik:RadComboBoxItem Text="Work" Value="3" />
<telerik:RadComboBoxItem Text="Fax" Value="4" />
</Items>
</telerik:RadComboBox>
<telerik:RadTextBox ID="txtSecondContactCellPhone" MaxLength="15" runat="server"></telerik:RadTextBox>
<asp:CheckBox ID="chkSecondContactCellPhone" runat="server" Text="<%$ Resources:AdminResource, chkSecondContactUSNumber %>" />
</div>
<div class="secondcontactwork">
<telerik:RadComboBox ID="cmbSecondContactWorkPhone" runat="server" OnClientSelectedIndexChanged="ItemsSecondContactWorkPhoneRequesting"
Width="87px" Font-Size="Small">
<CollapseAnimation Duration="200" Type="OutQuint" />
<Items>
<telerik:RadComboBoxItem Text="" Value=""/>
<telerik:RadComboBoxItem Text="Home" Value="1" />
<telerik:RadComboBoxItem Text="Cell" Value="2" />
<telerik:RadComboBoxItem Text="Work" Value="3" />
<telerik:RadComboBoxItem Text="Fax" Value="4" />
</Items>
</telerik:RadComboBox>
<telerik:RadTextBox ID="txtSecondContactWorkPhone" MaxLength="15" runat="server"></telerik:RadTextBox>
<asp:CheckBox ID="chkSecondContactWorkPhone" runat="server" Text="<%$ Resources:AdminResource, chkSecondContactUSNumber %>" />
<div class="assistantworkrequired">
<jet:PropertyProxyValidator ID="valtxtSecondContactWorkPhone" runat="server" SourceTypeName=" Com.JetSoft.JetSoftFramework.Contact.AssistantNumberData" ControlToValidate="txtSecondContactWorkPhone" PropertyName="ContactNumber"> </jet:PropertyProxyValidator>
</div>
</div>
<div class="secondcontactfax">
<telerik:RadComboBox ID="cmbSecondContactFax" runat="server" Width="87px" OnClientSelectedIndexChanged="ItemsSecondContactFaxRequesting"
Font-Size="Small">
<CollapseAnimation Duration="200" Type="OutQuint" />
<Items>
<telerik:RadComboBoxItem Text="" Value=""/>
<telerik:RadComboBoxItem Text="Home" Value="1" />
<telerik:RadComboBoxItem Text="Cell" Value="2" />
<telerik:RadComboBoxItem Text="Work" Value="3" />
<telerik:RadComboBoxItem Text="Fax" Value="4" />
</Items>
</telerik:RadComboBox>
<telerik:RadTextBox ID="txtSecondContactFax" MaxLength="15" runat="server"></telerik:RadTextBox>
<asp:CheckBox ID="chkSecondContactFax" runat="server" Text="<%$ Resources:AdminResource, chkSecondContactUSNumber %>" />
<div class="assistantfaxrequired">
<jet:PropertyProxyValidator ID="valtxtSecondContactFax" runat="server" SourceTypeName=" Com.JetSoft.JetSoftFramework.Contact.AssistantNumberData" ControlToValidate="txtSecondContactFax" PropertyName="ContactNumber"> </jet:PropertyProxyValidator>
</div>
</div>
</div>
</asp:Panel>
</div>
</telerik:RadPageView>
<!-- Legal Info -->
<telerik:RadPageView ID="legalinfoPageView" runat="server" Height="100%" Width="100%" >
<div class="legalinfowithaccountingpnl_inner">
<asp:Panel ID="pnlLegalInfo" GroupingText="<%$ Resources:AdminResource, pnlLegalInfo %>" runat="server">
<div class="legalinfopaycheck_inner">
<asp:Label ID="lblLegalInfoPayCheck" runat="server" Text="<%$ Resources:AdminResource, lblLegalInfoPayCheck %>" ToolTip="<%$ Resources:AdminResource, ttLegalInfoPayCheck %>" CssClass="requiredfieldColor"></asp:Label>
<telerik:RadTextBox ID="txtLegalInfoPayCheck" MaxLength="50" runat="server" Width="150px"></telerik:RadTextBox>
</div>
<div class="legalinfopaycheckrequired">
<jet:PropertyProxyValidator ID="valLegalInfoPayCheck" runat="server" SourceTypeName=" Com.JetSoft.JetSoftFramework.Contact.ContactLegalData" ControlToValidate="txtLegalInfoPayCheck" PropertyName="PayCheckOrder"> </jet:PropertyProxyValidator>
</div>
<div class="legalinfoprinton">
<asp:Label ID="lblLegalInfoPrintOn" runat="server" Text="<%$ Resources:AdminResource, lblLegalInfoPrintOn %>" ToolTip="<%$ Resources:AdminResource, ttLegalInfoPrintOn %>" CssClass="requiredfieldColor"></asp:Label>
<telerik:RadTextBox ID="txtLegalInfoPrintOn" MaxLength="50" runat="server" Width="150px"></telerik:RadTextBox>
</div>
<div class="legalinfoprintonrequired">
<jet:PropertyProxyValidator ID="valtLegalInfoPrintOn" runat="server" SourceTypeName=" Com.JetSoft.JetSoftFramework.Contact.ContactLegalData" ControlToValidate="txtLegalInfoPrintOn" PropertyName="PrintOn1099"> </jet:PropertyProxyValidator>
</div>
<div class="legalinfotaxid">
<asp:Label ID="lblLegalInfoTaxId" runat="server" Text="<%$ Resources:AdminResource, lblLegalInfoTaxId %>" ToolTip="<%$ Resources:AdminResource, ttLegalInfoTaxId %>" CssClass="requiredfieldColor"></asp:Label>
<telerik:RadTextBox ID="txtLegalInfoTaxId" MaxLength="50" runat="server" Width="150px"></telerik:RadTextBox>
</div>
<div class="legalinfotaxidrequired">
<jet:PropertyProxyValidator ID="valLegalInfoTaxId" runat="server" SourceTypeName=" Com.JetSoft.JetSoftFramework.Contact.ContactLegalData" ControlToValidate="txtLegalInfoTaxId" PropertyName="TaxId"> </jet:PropertyProxyValidator>
</div>
<div class="legalinfoiatacleo">
<asp:Label ID="lblLegalIatoCelo" runat="server" Text="<%$ Resources:AdminResource, lblLegalIatoCelo %>" ToolTip="<%$ Resources:AdminResource, ttLegalIatoCelo %>"></asp:Label>
<telerik:RadTextBox ID="txtLegalIatoCelo" MaxLength="50" runat="server" Width="150px"></telerik:RadTextBox>
</div>
</asp:Panel>
</div>
<div class="legalinfoaccounting_inner">
<asp:Panel ID="PnlAccounting" GroupingText="<%$ Resources:AdminResource, pnlLegalInfoAccounting %>" runat="server" CssClass="legalinfosize_inner">
<div class="legalinfopercentage_inner">
<asp:Label ID="lbllegalinfoaccountingpercentage" CssClass="requiredfieldColor" runat="server" Text="<%$ Resources:AdminResource, lblLegalInfoAccountingPercentage %>" ToolTip="<%$ Resources:AdminResource, ttLegalInfoAccountingPercentage %>"></asp:Label>
<telerik:RadNumericTextBox ShowSpinButtons="True" Type="Percent" MinValue="1" MaxValue="100" ID="txtlegalinfoaccountingpercenate" runat="server" Culture="Bulgarian (Bulgaria)" InvalidStyleDuration="100">
<NumberFormat AllowRounding="True" KeepNotRoundedValue="False" />
</telerik:RadNumericTextBox>
</div>
<div class="legalinfostorecommissionrequired">
<jet:PropertyProxyValidator ID="valtxtlegalinfoaccountingpercenate" runat="server" SourceTypeName=" Com.JetSoft.JetSoftFramework.Contact.ContactLegalData" ControlToValidate="txtlegalinfoaccountingpercenate" PropertyName="StoreCommission"> </jet:PropertyProxyValidator>
</div>
<div class="legalinfodollar_inner">
<asp:Label ID="lbllegalinfoaccountingdollar" CssClass="requiredfieldColor" runat="server" Text="<%$ Resources:AdminResource, lblLegalInfoAccountingDollar %>" ToolTip="<%$ Resources:AdminResource, ttLegalInfoAccountingDollar %>"></asp:Label>
</div>
<div class="legalinfodollartxt">
<telerik:RadNumericTextBox ShowSpinButtons="True" Type="Currency" ID="txtlegalinfoaccountingdollar" runat="server" InvalidStyleDuration="100">
<NumberFormat AllowRounding="True" KeepNotRoundedValue="False" />
</telerik:RadNumericTextBox>
</div>
<div class="legalinfodollar">
<asp:Label ID="lblaccountingRequiredField" CssClass="requiredfieldColor" runat="server"></asp:Label>
<asp:Label ID="lblLegalChooseOne" CssClass="requiredfieldColor" runat="server" Text="lblLegalChooseOne"></asp:Label>
</div>
</asp:Panel>
</div>
</telerik:RadPageView>
<!-- Pictures -->
<telerik:RadPageView ID="picturesPageView" runat="server" Height="100%" Width="100%" >
<div class="pictureinfopnl">
<asp:Panel ID="pnlPicture" runat="server" GroupingText="<%$ Resources:AdminResource, pnlPictures %>">
<div class="active">
<asp:Button ID="BtnImagesPnl" Text="Click Add Images" runat="server"
onclick="BtnImagesPnl_Click" />
<asp:Button ID="BtnDeleteImagesPnl" Text="Delete Images" runat="server"
onclick="BtnDeleteImagesPnl_Click" />
</div>
<div class="active" id="Whole">
<asp:Panel id="pnlUploadImages" Visible="false" runat="server">
<table cellpadding="0" cellspacing="3" border="0">
<tr>
<td align="right">
Look in:
</td>
<td>
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td>
<telerik:RadScriptBlock ID="radScript1" runat="server">
<script type="text/javascript">
//<![CDATA[
//Create JavaScript object that will embed ShellComboBox to the page.z
//var CabPath = document.getElementById("ctl00_contentMaster_gridSearchArea_ctl00_ctl25_EditFormControl_txtAurigmaCabPath").value;
var CabPath = document.getElementById("ctl00_contentMaster_txtAurigmaCabPath").value;
var sc = new ShellComboBoxWriter("ShellComboBox1", 420, 24);
//For ActiveX control full path to CAB file (including file name) should be specified.
sc.activeXControlEnabled =
true;
sc.activeXControlCodeBase = CabPath;
sc.activeXControlVersion =
"5,7,24,0";
sc.javaAppletEnabled =
false;
//For Java applet only path to directory with JAR files should be specified (without file name).
// sc.javaAppletCodeBase = "http://10.0.0.58/Content/Property/";
// sc.javaAppletJarFileName = "ImageUploader5.jar";
// sc.javaAppletCached = true;
// sc.javaAppletVersion = "5.7.24.0";
//Configure appearance.
sc.addParam(
"BackgroundColor", "#ece9d8");
//Link ShellComboBox with ImageUploader
sc.addParam(
"AdditionalFolderNavigator", "ImageUploader1");
//Tell the ShellComboBox writer object to generate all necessary HTML code to embed
//it to the page.
sc.writeHtml();
//]]>
</script>
</telerik:RadScriptBlock>
</td>
<td align="right">
<button onclick="getImageUploader('ImageUploader1').GoToPreviousFolder();" title="Back" class="SmallButton">
<img src="../../Images/Back.gif" alt="Back" class="Icon" /></button>
<button onclick="getImageUploader('ImageUploader1').GoToParentFolder();" title="Up" class="SmallButton">
<img src="../../Images/Up.gif" alt="Up" class="Icon" /></button>
<button onclick="changeView(0);" title="Thumbnails" class="SmallButton">
<img src="../../Images/Thumbnails.gif" alt="Thumbnails" class="Icon" /></button>
<button onclick="changeView(3);" title="Details" class="SmallButton">
<img src="../../Images/Details.gif" alt="Details" class="Icon" /></button>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top" class="LeftPanel">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="ShortcutPanel" valign="top">
<table>
<tr id="DesktopHolder">
<td>
<button title="Desktop" class="IconButton" onclick="getImageUploader('ImageUploader1').GoToFolder(desktop);">
<img src="../../Images/Desktop.gif" alt="Desktop" class="Icon" /><br />
Desktop
</button>
</td>
</tr>
<tr id="MyComputerHolder">
<td>
<button title="My Computer" class="IconButton" onclick="getImageUploader('ImageUploader1').GoToFolder(myComputer);">
<img src="../../Images/MyComputer.gif" alt="My Computer" class="Icon" /><br />
My
Computer
</button>
</td>
</tr>
<tr id="MyDocumentsHolder">
<td>
<button title="My Documents" class="IconButton" onclick="getImageUploader('ImageUploader1').GoToFolder(myDocuments);">
<img src="../../Images/MyDocuments.gif" alt="My Documents" class="Icon" /><br />
My
Documents
</button>
</td>
</tr>
<tr id="MyPicturesHolder">
<td>
<button title="My Pictures" class="IconButton" onclick="getImageUploader('ImageUploader1').GoToFolder(myPictures);">
<img src="../../Images/MyPictures.gif" alt="My Pictures" class="Icon" /><br />
My
Pictures
</button>
</td>
</tr>
<tr id="MyVideoHolder">
<td>
<button title="My Video" class="IconButton" onclick="getImageUploader('ImageUploader1').GoToFolder(myVideo);">
<img src="../../Images/MyVideo.gif" alt="My Video" class="Icon" /><br />
My
Video
</button>
</td>
</tr>
<tr id="NetworkHolder">
<td>
<button title="Network" class="IconButton" onclick="getImageUploader('ImageUploader1').GoToFolder(network);">
<img src="../../Images/Network.gif" alt="Network" class="Icon" /><br />
Network
</button>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table>
<tr>
<td>
<button title="Select All" onclick="getImageUploader('ImageUploader1').SelectAll();"
class="Button">
Select All
</button>
</td>
</tr>
<tr>
<td>
<button title="Upload" onclick="getImageUploader('ImageUploader1').Send();" class="Button" >
Upload
</button>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td>
<telerik:RadScriptBlock ID="RadScriptBlock1" runat="server">
<script type="text/javascript">
//<![CDATA[
//Create JavaScript object that will embed Image Uploader to the page.
var iu = new ImageUploaderWriter("ImageUploader1", 550, 490);
//For ActiveX control full path to CAB file (including file name) should be specified.
iu.activeXControlCodeBase = sc.activeXControlCodeBase;
iu.activeXControlVersion = sc.activeXControlVersion;
//For Java applet only path to directory with JAR files should be specified (without file name).
iu.javaAppletJarFileName = sc.javaAppletJarFileName;
iu.javaAppletCodeBase = sc.javaAppletCodeBase;
iu.javaAppletCached = sc.javaAppletCached;
iu.javaAppletVersion = sc.javaAppletVersion;
iu.showNonemptyResponse =
"off";
//Configure License Keys
// var AurigmaKey = document.getElementById("ctl00_contentMaster_gridSearchArea_ctl00_ctl25_EditFormControl_txtAurigmaLicenseKey").value;
var AurigmaKey = document.getElementById("ctl00_contentMaster_txtAurigmaLicenseKey").value;
iu.addParam(
"LicenseKey", AurigmaKey);
//Configure appearance and behaviour.
iu.addParam(
"PaneLayout", "TwoPanes");
iu.addParam(
"FolderView", "Thumbnails");
iu.addParam(
"UploadView", "Details");
iu.addParam(
"PreviewThumbnailSize", "100");
iu.addParam(
"ShowButtons", "false");
iu.addParam(
"ShowSubfolders", "true");
iu.addParam(
"ShowDescriptions", "false");
iu.addParam(
"ShowContextMenu", "false");
iu.addParam(
"ShowDebugWindow", "true");
iu.addParam(
"AllowMultipleRotate", "true");
//Configure colors.
iu.addParam(
"PaneBackgroundColor", "#ffffff");
iu.addParam(
"BackgroundColor", "#ffffff");
iu.addParam(
"PreviewThumbnailActiveColor", "#f8b330");
iu.addParam(
"PreviewThumbnailInactiveColor", "#eeeeee");
//Hide tree pane.
iu.addParam(
"TreePaneWidth", "-1");
//Allow upload not only files, but also entire folders.
iu.addParam(
"AllowFolderUpload", "true");
//Single or multiple file selection.
//iu.addParam("AllowMultipleSelection", "false");
//Link ImageUploader with ShellComboBox.
iu.addParam(
"AdditionalFolderNavigator", "ImageUploader1");
//Configure file mask to display images only.
iu.addParam(
"FileMask", "*.jpg;*.jpeg;*.jpe;*.gif;*.png;*.tif;*.tiff;*.psd");
iu.addParam(
"UploadThumbnail1Watermark", "opacity=100;text='JetSoft'");
//Configure thumbnail settings.
iu.addParam(
"UploadThumbnail1FitMode", "Fit");
iu.addParam(
"UploadThumbnail1Width", "120");
iu.addParam(
"UploadThumbnail1Height", "120");
iu.addParam(
"UploadThumbnail1JpegQuality", "60");
//Configure upload settings.
iu.addParam(
"Action", "upload.aspx");
iu.addParam(
"FilesPerOnePackageCount", "1");
iu.addParam(
"AutoRecoverMaxTriesCount", "10");
iu.addParam(
"AutoRecoverTimeOut", "10000");
iu.addEventListener(
"BeforeUpload", "ImageUploader_BeforeUpload")
iu.addParam(
"UploadThumbnail1Watermark", "opacity=100;text='JetSoft'");
iu.addParam(
"RedirectUrl", "UniversalContactSearch.aspx?contactImagesID=" + document.getElementById("ctl00_contentMaster_txtContactId").value);
iu.fullPageLoadListenerName =
"FullPageLoad";
//Tell Image Uploader writer object to generate all necessary HTML code to embed
//Image Uploader to the page.
iu.writeHtml();
function ImageUploader_BeforeUpload() {
getImageUploader(
"ImageUploader1").AddField("CompanyName", document.getElementById(("<%= txtPersonalInfoCompanyName.ClientID %>")).value);
getImageUploader(
"ImageUploader1").AddField("Title", document.getElementById(("<%= hdnPersonalInfoTitle.ClientID %>")).value);
getImageUploader(
"ImageUploader1").AddField("PersonalInfoFirstName", document.getElementById(("<%= txtPersonalInfoFirstName.ClientID %>")).value);
getImageUploader(
"ImageUploader1").AddField("PersonalInfoMiddleName", document.getElementById(("<%= txtPersonalInfoMiddleName.ClientID %>")).value);
getImageUploader(
"ImageUploader1").AddField("PersonalInfoLastName", document.getElementById(("<%= txtPersonalInfoLastName.ClientID %>")).value);
getImageUploader(
"ImageUploader1").AddField("PersonalInfoSuffix", document.getElementById(("<%= hdnPersonalInfoSuffix.ClientID %>")).value);
getImageUploader(
"ImageUploader1").AddField("PersonalInfoPrimaryEmail", document.getElementById(("<%= txtPersonalInfoPrimaryEmail.ClientID %>")).value);
getImageUploader(
"ImageUploader1").AddField("PersonalInfoSecondaryEmail", document.getElementById(("<%= txtPersonalInfoSecondaryEmail.ClientID %>")).value);
getImageUploader(
"ImageUploader1").AddField("hdnPersonalInfoHomePhone", document.getElementById(("<%= hdnPersonalInfoHomePhone.ClientID %>")).value);
getImageUploader(
"ImageUploader1").AddField("hdnPersonalInfoCellPhone", document.getElementById(("<%= hdnPersonalInfoCellPhone.ClientID %>")).value);
getImageUploader(
"ImageUploader1").AddField("hdnPersonalInfoWorkPhone", document.getElementById(("<%= hdnPersonalInfoWorkPhone.ClientID %>")).value);
getImageUploader(
"ImageUploader1").AddField("hdnPersonalInfoFax", document.getElementById(("<%= hdnPersonalInfoFax.ClientID %>")).value);
getImageUploader(
"ImageUploader1").AddField("txtPersonalInfoHomePhone", document.getElementById(("<%= txtPersonalInfoHomePhone.ClientID %>")).value);
getImageUploader(
"ImageUploader1").AddField("txtPersonalInfoCellPhone", document.getElementById(("<%= txtPersonalInfoCellPhone.ClientID %>")).value);
getImageUploader(
"ImageUploader1").AddField("txtPersonalInfoWorkPhone", document.getElementById(("<%= txtPersonalInfoWorkPhone.ClientID %>")).value);
getImageUploader(
"ImageUploader1").AddField("txtPersonalInfoFax", document.getElementById(("<%= txtPersonalInfoFax.ClientID %>")).value);
getImageUploader(
"ImageUploader1").AddField("chkPersonalInfoHomePhone", document.getElementById(("<%= chkPersonalInfoHomePhone.ClientID %>")).value);
getImageUploader(
"ImageUploader1").AddField("chkPersonalInfoCellPhone", document.getElementById(("<%= chkPersonalInfoCellPhone.ClientID %>")).value);
getImageUploader(
"ImageUploader1").AddField("chkPersonalInfoWorkPhone", document.getElementById(("<%= chkPersonalInfoWorkPhone.ClientID %>")).value);
getImageUploader(
"ImageUploader1").AddField("chkPersonalInfoFax", document.getElementById(("<%= chkPersonalInfoFax.ClientID %>")).value);
getImageUploader(
"ImageUploader1").AddField("txtPersonalInfoStreet1", document.getElementById(("<%= txtPersonalInfoStreet1.ClientID %>")).value);
getImageUploader(
"ImageUploader1").AddField("txtPersonalInfoStreet2", document.getElementById(("<%= txtPersonalInfoStreet2.ClientID %>")).value);
getImageUploader(
"ImageUploader1").AddField("txtPersonalInfoCity", document.getElementById(("<%= txtPersonalInfoCity.ClientID %>")).value);
getImageUploader(
"ImageUploader1").AddField("hdnPersonalInfoState", document.getElementById(("<%= hdnPersonalInfoState.ClientID %>")).value);
getImageUploader(
"ImageUploader1").AddField("hdnPersonalInfoCountry", document.getElementById(("<%= hdnPersonalInfoCountry.ClientID %>")).value);
getImageUploader(
"ImageUploader1").AddField("txtPersonalInfoZipCode", document.getElementById(("<%= txtPersonalInfoZipCode.ClientID %>")).value);
getImageUploader(
"ImageUploader1").AddField("txtPersonalInfoPassword", document.getElementById(("<%= txtPersonalInfoPassword.ClientID %>")).value);
getImageUploader(
"ImageUploader1").AddField("hdnGeneralInfoVendorCategoryType", document.getElementById(("<%= hdnGeneralInfoVendorCategoryType.ClientID %>")).value);
getImageUploader(
"ImageUploader1").AddField("txtGeneralInfoShortDescription", document.getElementById(("<%= txtGeneralInfoShortDescription.ClientID %>")).value);
getImageUploader(
"ImageUploader1").AddField("txtGeneralinfoLongDescription", document.getElementById(("<%= txtGeneralinfoLongDescription.ClientID %>")).value);
getImageUploader(
"ImageUploader1").AddField("txtGeneralInfoInternalNotes", document.getElementById(("<%= txtGeneralInfoInternalNotes.ClientID %>")).value);
getImageUploader(
"ImageUploader1").AddField("txtSecondContactFirstName", document.getElementById(("<%= txtSecondContactFirstName.ClientID %>")).value);
getImageUploader(
"ImageUploader1").AddField("txtSecondContactLastName", document.getElementById(("<%= txtSecondContactLastName.ClientID %>")).value);
getImageUploader(
"ImageUploader1").AddField("txtSecondContactEmail", document.getElementById(("<%= txtSecondContactEmail.ClientID %>")).value);
getImageUploader(
"ImageUploader1").AddField("hdnSecondContactHomePhone", document.getElementById(("<%= hdnSecondContactHomePhone.ClientID %>")).value);
getImageUploader(
"ImageUploader1").AddField("hdnSecondContactCellPhone", document.getElementById(("<%= hdnSecondContactCellPhone.ClientID %>")).value);
getImageUploader(
"ImageUploader1").AddField("hdnSecondContactWorkPhone", document.getElementById(("<%= hdnSecondContactWorkPhone.ClientID %>")).value);
getImageUploader(
"ImageUploader1").AddField("hdnSecondContactFax", document.getElementById(("<%= hdnSecondContactFax.ClientID %>")).value);
getImageUploader(
"ImageUploader1").AddField("txtSecondContactHomePhone", document.getElementById(("<%= txtSecondContactHomePhone.ClientID %>")).value);
getImageUploader(
"ImageUploader1").AddField("txtSecondContactCellPhone", document.getElementById(("<%= txtSecondContactCellPhone.ClientID %>")).value);
getImageUploader(
"ImageUploader1").AddField("txtSecondContactWorkPhone", document.getElementById(("<%= txtSecondContactWorkPhone.ClientID %>")).value);
getImageUploader(
"ImageUploader1").AddField("txtSecondContactFax", document.getElementById(("<%= txtSecondContactFax.ClientID %>")).value);
getImageUploader(
"ImageUploader1").AddField("chkSecondContactHomePhone", document.getElementById(("<%= chkSecondContactHomePhone.ClientID %>")).value);
getImageUploader(
"ImageUploader1").AddField("chkSecondContactCellPhone", document.getElementById(("<%= chkSecondContactCellPhone.ClientID %>")).value);
getImageUploader(
"ImageUploader1").AddField("chkSecondContactWorkPhone", document.getElementById(("<%= chkSecondContactWorkPhone.ClientID %>")).value);
getImageUploader(
"ImageUploader1").AddField("chkSecondContactFax", document.getElementById(("<%= chkSecondContactFax.ClientID %>")).value);
getImageUploader(
"ImageUploader1").AddField("txtLegalInfoPayCheck", document.getElementById(("<%= txtLegalInfoPayCheck.ClientID %>")).value);
getImageUploader(
"ImageUploader1").AddField("txtLegalInfoPrintOn", document.getElementById(("<%= txtLegalInfoPrintOn.ClientID %>")).value);
getImageUploader(
"ImageUploader1").AddField("txtLegalInfoTaxId", document.getElementById(("<%= txtLegalInfoTaxId.ClientID %>")).value);
getImageUploader(
"ImageUploader1").AddField("txtLegalIatoCelo", document.getElementById(("<%= txtLegalIatoCelo.ClientID %>")).value);
getImageUploader(
"ImageUploader1").AddField("txtlegalinfoaccountingdollar", document.getElementById(("<%= txtlegalinfoaccountingdollar.ClientID %>")).value);
getImageUploader(
"ImageUploader1").AddField("txtlegalinfoaccountingpercenate", document.getElementById(("<%= txtlegalinfoaccountingpercenate.ClientID %>")).value);
}
//]]>
</script>
</telerik:RadScriptBlock>
</td>
</tr>
</table>
</asp:Panel>
</div>
<div class="datalistAreaImage">
<asp:Panel ID="usercontrolpnlimageDisplay" runat="server">
<asp:DataList ID="datalistContactImage" Width="100%" RepeatLayout="Table" RepeatDirection="Vertical"
RepeatColumns="4" runat="server">
<ItemTemplate>
<asp:HiddenField ID="hdnContactImagesID" Value=' <%# Server.HtmlEncode(((XmlElement)(Container.DataItem)).GetAttribute("areaimagesid")) %>' runat="server" />
<asp:CheckBox runat="server" ID="chkImageUpload" Text=' <%# Server.HtmlEncode(((XmlElement)(Container.DataItem)).GetAttribute("name")) %>' AutoPostBack="false" />
<a rel="lightbox" href="<%# path + EncodeFileName(((XmlElement)(Container.DataItem)).GetAttribute("name")) %>"
target="_blank">
<img id="imgAreaDisplay" src="<%# path + "Thumbnails/" + EncodeFileName(((XmlElement)(Container.DataItem)).GetAttribute("name")) %>.jpg" />
</a>
<br />
<br />
<b>Name:</b>
<%
# Server.HtmlEncode(((XmlElement)(Container.DataItem)).GetAttribute("name")) %>
<br />
<b>Dimensions:</b>
<%
# Server.HtmlEncode(((XmlElement)(Container.DataItem)).GetAttribute("width")) %>
x
<%
# Server.HtmlEncode(((XmlElement)(Container.DataItem)).GetAttribute("height")) %>
</ItemTemplate>
</asp:DataList>
</asp:Panel>
</div>
</asp:Panel>
</div>
</telerik:RadPageView>
</telerik:RadMultiPage>
<!-- buttons -->
<div class="applyresetbtn">
<asp:Button ID="btnUpdate" runat="server" Text="<%$ Resources:AdminResource, btnContactUpdate %>" CausesValidation="true" ToolTip="<%$ Resources:AdminResource, ttUpdate%>" OnClick="btnUpdate_Click" />
<asp:Button ID="btnCancel" runat="server" Text="<%$ Resources:AdminResource, btnContactCancel %>" CausesValidation="false" ToolTip="<%$ Resources:AdminResource, ttCancel%>" OnClick="BtnCancel_Click" />
</div>
<div class="lblmsg">
<asp:Label ID="lblMsg" runat="server"></asp:Label>
</div>
<div>
<asp:Label ID="lblError" runat="server"></asp:Label>
</div>
<div>
<asp:TextBox ID="txtContactId" Visible="false" runat="server"> </asp:TextBox>
</div>
<div>
<asp:TextBox ID="TextBox1" Visible="false" runat="server"> </asp:TextBox>
</div>
</asp:Panel>
</div>
Thanks with Regards
Saravanan.M
Hi
Is it possible to have a black backgound to the content (a page that embeds a flash video in this case) ,
such that when the window appears, the window starts black while waiting for the content, rather than white that
changes to black after an instant?
I have set the window bg to black and I have set the content page to black bg on init but there is stll a brief white flash
until the page is loaded in the window.
Any help appreciated!
Thanks
Clive


| <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> |
| <%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %> |
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html xmlns="http://www.w3.org/1999/xhtml"> |
| <head runat="server"> |
| <title></title> |
| </head> |
| <body> |
| <form id="form1" runat="server"> |
| <telerik:RadScriptManager ID="RadScriptManager1" runat="server"></telerik:RadScriptManager> |
| <telerik:RadAjaxManager runat="server"> |
| <AjaxSettings> |
| <telerik:AjaxSetting AjaxControlID="RadToolTipManager1RTMPanel"> |
| <UpdatedControls> |
| <telerik:AjaxUpdatedControl ControlID="RadToolTipManager1RTMPanel" /> |
| </UpdatedControls> |
| </telerik:AjaxSetting> |
| </AjaxSettings> |
| </telerik:RadAjaxManager> |
| <telerik:RadToolTipManager ID="RadToolTipManager1" runat="server" RenderInPageRoot="true" |
| onajaxupdate="RadToolTipManager1_AjaxUpdate"> |
| <TargetControls> |
| <telerik:ToolTipTargetControl IsClientID="False" TargetControlID="Button1" Value="1" /> |
| <telerik:ToolTipTargetControl IsClientID="True" TargetControlID="Button2" Value="2" /> |
| </TargetControls> |
| </telerik:RadToolTipManager> |
| <telerik:RadFormDecorator ID="RadFormDecorator1" Runat="server" /> |
| <asp:Button ID="Button1" runat="server" Text="Button" /> |
| <asp:Button ID="Button2" runat="server" Text="Button" /> |
| </form> |
| </body> |
| </html> |
| using System.Web.UI; |
| public partial class _Default : System.Web.UI.Page |
| { |
| protected void RadToolTipManager1_AjaxUpdate(object sender, Telerik.Web.UI.ToolTipUpdateEventArgs e) |
| { |
| e.UpdatePanel.ContentTemplateContainer.Controls.Add(new LiteralControl("Test")); |
| } |
| } |
This is very easy to duplicate. See the code below. Click the Submit button and when the page reloads, the colors are gone. Is this a bug in the control or am I missing a property?
Visual Studio 2008
.Net Framework 3.5
Telerik.Web.UI.dll 2009.1.311.35
| <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="www.Default" %> |
| <%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %> |
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html xmlns="http://www.w3.org/1999/xhtml" > |
| <head runat="server"> |
| <title>Untitled Page</title> |
| </head> |
| <body> |
| <form id="form1" runat="server"> |
| <div> |
| <asp:ScriptManager ID="sm" runat="server" /> |
| <telerik:RadColorPicker ID="rcpColor1" runat="server" Preset="None" |
| > |
| <telerik:ColorPickerItem Title="Black" Value="#000000" /> |
| <telerik:ColorPickerItem Title="White" Value="#FFFFFF" /> |
| <telerik:ColorPickerItem Title="Red" Value="#FF0000" /> |
| <telerik:ColorPickerItem Title="Blue" Value="#0000FF" /> |
| <telerik:ColorPickerItem Title="Green" Value="#00FF00" /> |
| <telerik:ColorPickerItem Title="Yellow" Value="#FFFE00" /> |
| <telerik:ColorPickerItem Title="Orange" Value="#FF6600" /> |
| <telerik:ColorPickerItem Title="Purple" Value="#9900CA" /> |
| </telerik:RadColorPicker><br /> |
| <asp:Button ID="btn" runat="server" Text="Submit" /> |
| </div> |
| </form> |
| </body> |
| </html> |
| <a href="#content">Skip to main content</a> |
| <a href="#content" shape="rect">Skip to main content</a> |