| <igtab:UltraWebTab ID="UltraWebTab1" runat="server" BorderColor="#949C9C" BorderStyle="Solid" |
| BorderWidth="1px" DisplayMode="Scrollable" Width="400px" |
| ThreeDEffect="False"> |
| <Tabs> |
| <igtab:Tab Text="Small Product No" Tooltip="Small Product Number"> |
| <ContentTemplate> |
| <fieldset> |
| <asp:Label ID="Image1Label" runat="server" /><br /> |
| <asp:TextBox ID="File1" runat="server" /> |
| <asp:Button OnClientClick="OpenFileExplorerDialog(); return false;" ID="SelectImage1Button" |
| runat="server" Text="Select" /> |
| <asp:Button ID="upload1Button" runat="server" Text="Upload" OnClick="upload1Button_Click" /> |
| </fieldset> |
| </ContentTemplate> |
| </igtab:Tab> |
| <igtab:Tab Text="Large Product No" Tooltip="Large Product No"> |
| <ContentTemplate> |
| <fieldset> |
| <asp:Label ID="Label1" runat="server" /><br /> |
| <asp:TextBox ID="TextBox1" runat="server" /> |
| <asp:Button OnClientClick="OpenFileExplorerDialog(); return false;" ID="Button2" |
| runat="server" Text="Select" /> |
| <asp:Button ID="Button3" runat="server" Text="Upload" OnClick="upload1Button_Click" /> |
| </fieldset> |
| </ContentTemplate> |
| </igtab:Tab> |
| <igtab:Tab Text="Product Thumbnail" Tooltip="Product Thumbnail"> |
| </igtab:Tab> |
| <igtab:Tab Text="Large Product Image 1" Tooltip="Large Product Image 1"> |
| </igtab:Tab> |
| <igtab:Tab Text="Large Product Image 2" Tooltip="Large Product Image 2"> |
| </igtab:Tab> |
| </Tabs> |
| <RoundedImage FillStyle="LeftMergedWithCenter" HoverImage="ig_tab_winXPs2.gif" |
| LeftSideWidth="7" NormalImage="ig_tab_winXPs3.gif" RightSideWidth="6" |
| SelectedImage="ig_tab_winXPs1.gif" ShiftOfImages="2" /> |
| <SelectedTabStyle> |
| <Padding Bottom="2px" /> |
| </SelectedTabStyle> |
| <DefaultTabStyle BackColor="GhostWhite" Font-Names="Microsoft Sans Serif" |
| Font-Size="8pt" ForeColor="Black" Height="22px"> |
| <Padding Top="2px" /> |
| </DefaultTabStyle> |
| </igtab:UltraWebTab> |
| <script type="text/javascript"> |
| function OpenFileExplorerDialog() { |
| var wnd = $find("<%= ExplorerWindow.ClientID %>"); |
| wnd.show(); |
| } |
| //This function is called from the Explorer.aspx page |
| function OnFileSelected(wnd, fileSelected) { |
| var textbox = $get("<%= File1.ClientID %>"); |
| textbox.value = fileSelected; |
| } |
| </script> |
| <telerik:RadWindow runat="server" Width="650px" Height="560px" VisibleStatusbar="false" |
| Style="z-index: 101" NavigateUrl="~/Rebecca/FileExplorer/Image1.aspx" ID="ExplorerWindow" |
| Modal="true" Behaviors="Close,Move"> |
| </telerik:RadWindow> |
| <script type="text/javascript"> |
| function OpenLargeImage() { |
| var wnd = $find("<%= RadWindow1.ClientID %>"); |
| wnd.show(); |
| } |
| //This function is called from the Explorer.aspx page |
| function OnFileSelected(wnd, fileSelected) { |
| var textbox1 = $get("<%= TextBox1.ClientID %>"); |
| textbox1.value = fileSelected; |
| } |
| </script> |
| <telerik:RadWindow runat="server" Width="650px" Height="560px" VisibleStatusbar="false" |
| Style="z-index: 101" NavigateUrl="~/Rebecca/FileExplorer/LargeProductNo.aspx" ID="RadWindow1" |
| Modal="true" Behaviors="Close,Move"> |
| </telerik:RadWindow> |
boundNameColumn.FilterControlWidth =
Unit.Pixel(600);
boundNameColumn.HeaderStyle.Width = Unit.Pixel(600);
boundNameColumn.ItemStyle.Width =
Unit.Pixel(600);
grid.ClientSettings.EnableAlternatingItems =
true;
grid.MasterTableView.AlternatingItemStyle.BackColor =
Color.FromName("#F2F3F5");
grid.MasterTableView.TableLayout =
GridTableLayout.Fixed;
grid.MasterTableView.AllowFilteringByColumn =
true;
grid.MasterTableView.EditMode =
GridEditMode.InPlace;
grid.MasterTableView.EditItemStyle.Width =
Unit.Pixel(600);


<telerik:RadComboBox ID="RcmbControlType" runat="server" Height="200px" Width="200px"
DropDownWidth="200px" EmptyMessage="Choose a Control" HighlightTemplatedItems="true"
DataSourceID="SqqlDSControlType" DataTextField="ControlName" DataValueField="ID" OnClientSelectedIndexChanged="OnClientSelectedIndexChanged()">
</telerik:RadComboBox>
function
OnClientSelectedIndexChanged(sender, args)
{
var item = eventArgs.get_item();
alert(item);
}
| <%@ Control Language="VB" AutoEventWireup="false" CodeFile="ucMulticolumnAutocomplete.ascx.vb" |
| Inherits="UserControl_ucMulticolumnAutocomplete" %> |
| <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> |
| <div> |
| <telerik:RadComboBox ID="RadCmbAutoCompleate" runat="server" |
| AllowCustomText="false" AutoPostBack="false" |
| EnableLoadOnDemand="True" Width= "100px" MarkFirstMatch="true" Height="300px" |
| HighlightTemplatedItems="true" ShowToggleImage="False" DropDownWidth="400px" |
| ItemRequestTimeout="500" EnableEmbeddedSkins="false" |
| CausesValidation="false" OffsetX="0" ZIndex="16000" > |
| <HeaderTemplate> |
| <table style="width: 400px; text-align: left"> |
| <tr> |
| <td style="width: 100px;"> |
| <%=FirstField%> |
| </td> |
| <td style="width:300px;"> |
| <%=SecondField%> |
| </td> |
| </tr> |
| </table> |
| </HeaderTemplate> |
| <ItemTemplate> |
| <table style="width: 400px; text-align: left"> |
| <tr> |
| <td style="width: 100px;"> |
| <%#DataBinder.Eval(Container.DataItem, FirstField)%> |
| </td> |
| <td style="width: 300px;"> |
| <%#DataBinder.Eval(Container.DataItem, SecondField)%> |
| </td> |
| </tr> |
| </table> |
| </ItemTemplate> |
| <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> |
| </telerik:RadComboBox> |
| <asp:SqlDataSource ID="SqlDataSource1" runat="server" |
| ConnectionString="<%$ ConnectionStrings:PCMSConnectionString %>"> |
| </asp:SqlDataSource> |
| </div> |
RadComboBox1_ItemsRequested(object sender, RadComboBoxItemsRequestedEventArgs e)
RadComboBox1.Items.Add(new RadComboBoxItem(data.Rows[i]["CompanyName"].ToString(), data.Rows[i]["CompanyName"].ToString()));