Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
185 views
<%--<%@ Page AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Telerik.Web.Examples.TabStrip.Functionality.MultiPage.DefaultCS"
    Language="c#" %>--%>
  
  
    <%@ page autoeventwireup="true" inherits="_Default, App_Web_kptee32w" language="c#" %>
  
<%--<%@ Register TagPrefix="qsf" Namespace="Telerik.QuickStart" %>
<%@ Register TagPrefix="qsf" TagName="Header" Src="~/Common/Header.ascx" %>
<%@ Register TagPrefix="qsf" TagName="HeadTag" Src="~/Common/HeadTag.ascx" %>
<%@ Register TagPrefix="qsf" TagName="Footer" Src="~/Common/Footer.ascx" %>--%>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
  
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<script runat="server">
  
     
</script>
<head id="Head1" runat = "server">
  
    <%--<qsf:HeadTag runat="server" ID="Headtag1"></qsf:HeadTag--%>
    <style type="text/css">
        #div1
        {
            width: 110px;
        }
        #div2
        {
            width: 167px;
        }
        .style1
        {
            width: 199px;
            height: 69px;
        }
        #div4
        {
            width: 93px;
        }
        #div5
        {
            width: 160px;
        }
        #div3
        {
            width: 144px;
        }
        .style3
        {
            height: 43px;
        }
        .style4
        {
            height: 69px;
        }
        .style7
        {
            width: 162px;
        }
        .style8
        {
        }
        .style9
        {
            width: 199px;
        }
        .style10
        {
        }
        .style11
        {
            width: 200px;
        }
        .style12
        {
            width: 136px;
        }
        .style13
        {
            width: 172px;
        }
          
          
          
        .styletest
        {
           color:Black;
                font-weight: bold;    
        }
          
        .SelectedTab
        {
         color: black !important;
         font-weight: bold !important;
            
  
         }
           
       .RadTabStrip_Default .rtsImg
        {
        border:0;
        vertical-align:top;
        width: 16px;
        } 
         
              
         
         
             
  
          
        .exampleWrapper
        {
            height: 1256px;
        }
         
              
         
         
             
  
          
    </style>
      
      
      
  
      
      
      
   
      
      
      
  
      
      
      
     <%--<link rel="stylesheet" type="text/css" href="styles.css" />--%></head><body class="BODY"><form runat="server" id="mainForm" method="post">
  
  
  
   <%--<asp:ScriptManager ID="ScriptManager1" runat="server" />--%>
    <telerik:RadCodeBlock ID="CodeBlock" runat="server">
  
        <script type="text/javascript">
  
//            function OpenGridWindow() {
  
//                window.radopen("Default2.aspx", "UserListDialog");
//                return false;
//            }
  
  
            function openWin() {
//                alert("think");
                var oWnd = $find("<%= UserListDialog.ClientID %>");
  
                //var oWnd = radopen("Default2.aspx", "UserListDialog");
  
                var oWnd = radopen("Default.aspx", "UserListDialog");
  
            }
  
            function OnClientClose(oWnd, args) {
  
            }
  
            function onRowDropping(sender, args) {
  
                alert("think");
//              alert(args.get_destinationHtmlElement().id);
  
                  
  
  
                alert(args.get_destinationHtmlElement());
            }
  
  
            function OnClientClick(btn) {
//                alert("Button clicked");
            }
  
  
                  
        </script>
         </telerik:RadCodeBlock>
  
           
  
        <telerik:RadScriptManager ID="ScriptManager" runat="server" />
  
        <!--radajaxmgr-->
          
    
  
          
        <telerik:RadAjaxManager runat="server" ID="radAjax" DefaultLoadingPanelID="RadAjaxLoadingPanel1">
        <AjaxSettings>
  
        <telerik:AjaxSetting AjaxControlID="RadGrid2">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadGrid2" />
                    <telerik:AjaxUpdatedControl ControlID="RadGridfirst" />
                    
                </UpdatedControls>
            </telerik:AjaxSetting>
            
  
        <telerik:AjaxSetting AjaxControlID="RadGridfirst">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadGridfirst" />
                    <%--<telerik:AjaxUpdatedControl ControlID="RadGridfirst" />--%>
                     
                </UpdatedControls>
            </telerik:AjaxSetting>
  
 </AjaxSettings>
    </telerik:RadAjaxManager>
     
    <!--radajaxmgr-->
  
  
  
        <%--<qsf:Header runat="server" ID="Header1" NavigationLanguage="C#" ShowSkinChooser="false"></qsf:Header>--%>
        <div class="exampleWrapper">
            <telerik:RadTabStrip ID="RadTabStrip1" runat="server"    MultiPageID="RadMultiPage1"
                SelectedIndex="2" Width="754px">
                <Tabs>
                 
                    <telerik:RadTab Text="Course Groups/Courses"  Selected = "true"    CssClass = "SelectedTab">
                    </telerik:RadTab>
                    <telerik:RadTab Text="Heirarchy/Attributes"  CssClass = "SelectedTab" >
                    </telerik:RadTab>
                    <telerik:RadTab Text="Search Assignments"  CssClass = "SelectedTab" 
                       >
                    </telerik:RadTab>
                    <%--<telerik:RadTab Text="LinkedIn Profile">
                    </telerik:RadTab>--%>
                </Tabs>
            </telerik:RadTabStrip>
  
            <div>
           <asp:Label  Text = "Select Skin : " runat ="server" />
             <asp:DropDownList id="list1" runat="server" OnSelectedIndexChanged = "stateview" AutoPostBack = "true"  CssClass = "styletest">
                 <asp:ListItem Value="Black" Text="Black"/>
                  
                 <asp:ListItem Value="Forest" Text="Forest"/>
                 <asp:ListItem Value="Hay" Text="Hay"/>
                  
                 <asp:ListItem Value="Outlook" Text="OUtlook"/>
                 <asp:ListItem Value="Simple" Text="Simple"/>
                 <asp:ListItem Value="Sunset" Text="Sunset"/>
                 <asp:ListItem Value="Telerik" Text="Telerik"/>
  
                 <asp:ListItem Value="Vista" Text="Vista"/>
                 <asp:ListItem Value="WebBlue" Text="WebBlue"/>
                 <asp:ListItem  Selected = "True" Value="Default" Text="Default"/>
            </asp:DropDownList>
  
  
              
            </div>
  
            <telerik:RadMultiPage ID="RadMultiPage1" runat="server" SelectedIndex="0" 
                CssClass="multiPage">
                 
                
                <telerik:RadPageView ID="RadPageView1" runat="server" Height="399px">
                 
               <br />
               <br />
  
                <telerik:RadWindowManager ID="RadWindowManager1" runat="server" Skin="Vista"    ReloadOnShow="true" EnableShadow="true">
                <Windows>
                    <telerik:RadWindow  VisibleOnPageLoad="true" Skin="Vista"  ID="UserListDialog" runat="server" Title="Search Results" Height="400px"
                        Width="500px" Left="150px" ReloadOnShow="true"   OnClientClose="OnClientClose"
                NavigateUrl="Default2.aspx" EnableViewState = "false" >
                  
                  
                  
                <ContentTemplate>
  
  
  
                <telerik:RadGrid ID="RadGrid2" runat="server" Height="400px"
                        Width="500px" 
            AllowPaging="True" AllowSorting="True" DataSourceID="SqlDataSource1"
            GridLines="None"  OnItemCommand = "RadGrid1_ItemCommand" >
  
           <%-- <ClientSettings>
                <Selecting AllowRowSelect="True" />
                <Scrolling AllowScroll="True" UseStaticHeaders="True" />
            </ClientSettings>--%>
  
            
  
              
  
                      
              
                <ClientSettings AllowRowsDragDrop="True" EnablePostBackOnRowClick = "true" AllowColumnsReorder="true" ReorderColumnsOnClient="true">
                    <Resizing AllowColumnResize="true" />
                    <Selecting AllowRowSelect="True" EnableDragToSelectRows="true"/>
                    <ClientEvents OnRowDropping="onRowDropping" />
                    <Scrolling AllowScroll="true" UseStaticHeaders="true"/>
  
                </ClientSettings>
  
  
<MasterTableView AutoGenerateColumns="False" DataKeyNames="ProductID" 
                DataSourceID="SqlDataSource1">
  
                    <Columns>
                        <telerik:GridDragDropColumn HeaderStyle-Width="18px" Visible= "true" />
                          
                        <telerik:GridTemplateColumn>
                             <ItemTemplate>
                                <asp:ImageButton ID="ImageButton1" runat="server" CommandName= "MoveToSelected" ImageUrl="~/green/Delete.gif"
                                    OnClientClick="return OnClientClick(this);" />
                                </ItemTemplate>
                        </telerik:GridTemplateColumn>
  
                    </Columns>
                    <NoRecordsTemplate>
                        <div style="height: 30px; cursor: pointer;">
                            No items to view</div>
                    </NoRecordsTemplate>
  
  
  
  
  
<CommandItemSettings ExportToPdfText="Export to Pdf"></CommandItemSettings>
  
<RowIndicatorColumn>
<HeaderStyle Width="20px"></HeaderStyle>
</RowIndicatorColumn>
  
<ExpandCollapseColumn>
<HeaderStyle Width="20px"></HeaderStyle>
</ExpandCollapseColumn>
    <Columns>
        <telerik:GridBoundColumn DataField="ProductName" HeaderText="ProductName" 
            SortExpression="ProductName" UniqueName="ProductName">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="SupplierID" DataType="System.Int32" 
            HeaderText="SupplierID" SortExpression="SupplierID" UniqueName="SupplierID">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="CategoryID" DataType="System.Int32" 
            HeaderText="CategoryID" SortExpression="CategoryID" UniqueName="CategoryID">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="QuantityPerUnit" 
            HeaderText="QuantityPerUnit" SortExpression="QuantityPerUnit" 
            UniqueName="QuantityPerUnit">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="ProductID" DataType="System.Int32" 
            HeaderText="ProductID" ReadOnly="True" SortExpression="ProductID" 
            UniqueName="ProductID">
        </telerik:GridBoundColumn>
    </Columns>
</MasterTableView>
  
<HeaderContextMenu EnableImageSprites="True" CssClass="GridContextMenu GridContextMenu_Default"></HeaderContextMenu>
        </telerik:RadGrid>   
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
            ConnectionString="<%$ ConnectionStrings:NORTHWINDConnectionString %>" 
            SelectCommand="SELECT [ProductName], [SupplierID], [CategoryID], [QuantityPerUnit], [ProductID] FROM [Alphabetical list of products]">
        </asp:SqlDataSource>
  
  
  
  
  
                 
  
  
                </ContentTemplate>
                  
                  
                </telerik:RadWindow> 
                </Windows>
            </telerik:RadWindowManager>
  
                   
                 <table>
                 <tr>
                   
                 <td align = "left" class="style13" valign = "bottom">
                    <asp:Label Text = "Selected Courses" runat ="server" />
                 </td>
  
                 <td align = "right" class="style9" valign = "bottom">
                    <telerik:RadButton Text = "Clear" runat = "server" OnClick = "change" />
                 </td>
                   
                 <td>
                 </td>
                   
                 <td align = "left" class="style12" valign = "bottom">
                    <asp:Label ID="Label2" Text = "Course Groups" runat ="server" />
                   
                 </td>
  
                 <td align = "right" class="style11" valign = "bottom">
  
                   
                    <telerik:RadButton ID="RadButton1" Text = "Clear" runat = "server" />
                 </td>
                 </tr>
  
                     <tr>
                         <td align="left" class="style8" colspan="2" valign="top">
                                
                            <div>
                              
                              
                              
                              
                                   
                             <telerik:RadGrid ID="RadGridfirst"   runat="server" Height="198px" 
                                 style="margin-top: 0px"   OnNeedDataSource="RadGrid1_NeedDataSource" 
                                    AllowAutomaticDeletes="True" AllowAutomaticInserts="True" 
                                    AllowAutomaticUpdates="True"  >
  
  
                                 <%-- <ClientSettings AllowRowsDragDrop="True">
                    <Selecting AllowRowSelect="True" EnableDragToSelectRows="false" />
                    <ClientEvents OnRowDropping="onRowDropping" />
                </ClientSettings>--%>
  
  
                    <%--    <MasterTableView AutoGenerateColumns="False"  >--%>
  
                   <%-- <Columns>
                     <telerik:GridTemplateColumn UniqueName = "temp" Visible = false>
                             <ItemTemplate>
                                <asp:ImageButton ID="ImageButton1" runat="server" CommandName= "MoveToSelected" ImageUrl="~/green/Delete.gif"
                                    OnClientClick="return OnClientClick(this);" />
                                </ItemTemplate>
                        </telerik:GridTemplateColumn>
  
                    <telerik:GridBoundColumn  HeaderText="ProductName" 
                         UniqueName="ProductName">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn 
                        HeaderText="SupplierID"  UniqueName="SupplierID">
                    </telerik:GridBoundColumn>--%>
  
                     <%-- <telerik:GridDragDropColumn HeaderStyle-Width="18px" Visible= "true" />
                          
                        <telerik:GridTemplateColumn UniqueName = "temp">
                             <ItemTemplate>
                                <asp:ImageButton ID="ImageButton1" runat="server" CommandName= "MoveToSelected" ImageUrl="~/green/Delete.gif"
                                    OnClientClick="return OnClientClick(this);" />
                                </ItemTemplate>
                        </telerik:GridTemplateColumn>--%>
  
                   <%-- </Columns>--%>
  
              <%--      </MasterTableView>--%>
  
  
                             </telerik:RadGrid>
                               
                            </div> 
                                   
                         </td>
                           
                         <td>
                              </td>
                         <td align="left" class="style10" colspan="2" valign="top">
                                
                           <div>
                             
                           <telerik:RadGrid ID="RadGrid1"   runat="server" Height="198px" 
                                 style="margin-top: 0px"   >
  
                                  
  
  
                             </telerik:RadGrid>
                             
                           </div>  
                               
                             </td>
                      
                   
                     </tr>
                   
                 
  
                     <tr>
                         <td align="left" class="style8" colspan="5" valign="top">
                              
                  <asp:HyperLink id="hyperlink1" 
                
                  Text="A"
                   NavigateUrl = "#" 
                  runat="server"    Font-Underline= "false"     />
  
                   <asp:HyperLink id="hyperlink2" 
                
                  Text="B"
                   NavigateUrl = "#"
                  runat="server"   Font-Underline= "false"  />
                      
                    <asp:HyperLink id="hyperlink3" 
                
                  Text="C"
                   NavigateUrl = "#"
                  runat="server"     Font-Underline= "false"     />
  
  
                  <asp:HyperLink id="hyperlink4" 
                
                  Text="D"
                   NavigateUrl = "#"
                  runat="server"    Font-Underline= "false"    />
  
  
                  <asp:HyperLink id="hyperlink5" 
                
                  Text="E"
                   NavigateUrl = "#"
                  runat="server"      Font-Underline= "false"       />
  
  
                  <asp:HyperLink id="hyperlink6" 
                
                  Text="F"
                   NavigateUrl = "#"
                  runat="server"  Font-Underline= "false"    />
  
                  <asp:HyperLink id="hyperlink7" 
                
                  Text="G"
                   NavigateUrl = "#"
                  runat="server"  Font-Underline= "false"    />
  
                  <asp:HyperLink id="hyperlink8" 
                
                  Text="H"
                   NavigateUrl = "#"
                  runat="server"  Font-Underline= "false"   />
  
  
                  <asp:HyperLink id="hyperlink9" 
                
                  Text="I"
                   NavigateUrl = "#"
                  runat="server"  Font-Underline= "false"   />
                  <asp:HyperLink id="hyperlink10" 
                
                  Text="J"
                   NavigateUrl = "#"
                  runat="server" Font-Underline= "false"  />
  
  
                  <asp:HyperLink id="hyperlink11" 
                
                  Text="K"
                   NavigateUrl = "#"
                  runat="server"  Font-Underline= "false"  />
  
                  <asp:HyperLink id="hyperlink12" 
                
                  Text="L"
                   NavigateUrl = "#"
                  runat="server"  Font-Underline= "false"  />
  
                  <asp:HyperLink id="hyperlink13" 
                
                  Text="M"
                   NavigateUrl = "#"
                  runat="server"  Font-Underline= "false"   />
  
                  <asp:HyperLink id="hyperlink14" 
                
                  Text="N"
                   NavigateUrl = "#"
                  runat="server" Font-Underline= "false"   />
  
                  <asp:HyperLink id="hyperlink15" 
                
                  Text="O"
                   NavigateUrl = "#"
                  runat="server"  Font-Underline= "false"   />
  
  
                  <asp:HyperLink id="hyperlink16" 
                
                  Text="P"
                   NavigateUrl = "#"
                  runat="server"  Font-Underline= "false"   />
  
  
                  <asp:HyperLink id="hyperlink17" 
                
                  Text="Q"
                   NavigateUrl = "#"
                  runat="server" Font-Underline= "false"    />
                  <asp:HyperLink id="hyperlink18" 
                
                  Text="R"
                   NavigateUrl = "#"
                  runat="server"  Font-Underline= "false"  />
  
  
                  <asp:HyperLink id="hyperlink19" 
                
                  Text="S"
                   NavigateUrl = "#"
                  runat="server" Font-Underline = "false"  />
  
                  <asp:HyperLink id="hyperlink20" 
                
                  Text="T"
                   NavigateUrl = "#"
                  runat="server" Font-Underline= "false"   />
  
                  <asp:HyperLink id="hyperlink21" 
                
                  Text="U"
                   NavigateUrl = "#"
                  runat="server"  Font-Underline= "false"   />
  
                  <asp:HyperLink id="hyperlink22" 
                
                  Text="V"
                   NavigateUrl = "#"
                  runat="server"  Font-Underline= "false"  />
                    
                  <asp:HyperLink id="hyperlink23" 
                
                  Text="X"
                   NavigateUrl = "#"
                  runat="server" Font-Underline= "false" />
                    
                  <asp:HyperLink id="hyperlink24" 
                
                  Text="Y"
                   NavigateUrl = "#"
                  runat="server" Font-Underline= "false"  />
                    
                  <asp:HyperLink id="hyperlink25" 
                
                  Text="Z"
                   NavigateUrl = "#"
                  runat="server" Font-Underline= "false"  />
  
                  <asp:HyperLink id="hyperlink26" 
                
                  Text="#"
                   NavigateUrl = "#"
                  runat="server" Font-Underline= "false" />
  
                  <%--<asp:HyperLink id="hyperlink27" 
                
                  Text="ALL"
                   NavigateUrl = "#"
                  runat="server"  Font-Underline= "false"   />--%>
  
                 <%-- <input type="button" value="Show grid!" onclick="OpenGridWindow()" />--%>
  
               <%--    <a href="#" onclick = "OpenGridWindow()" >ALL</a>  --%>        
                              
                       <a href="#" onclick="openWin()" >ALL</a>
                               
                              
                             <br />
                               
                              
                     </td>
                     </tr>
                   
                   
                     <tr>
                         <td align="left" class="style8" colspan="5" valign="top">
                             
                             
                           <asp:PlaceHolder ID="PlaceHolder1" runat="server" />
  
                             
                           </td>
                     </tr>
                   
                   
                 </table>
  
        
                </telerik:RadPageView>
  
  
               <%-- <telerik:RadPageView ID="RadPageView2" runat="server" CssClass="pageViewEducation">
                    <img src="Images/about.png" alt="Products" />
                </telerik:RadPageView>--%>
                <telerik:RadPageView ID="RadPageView3" runat="server">
                    <br />
                    <br />
                      
  
                    <table>
                    <tr>
                    <td valign = "top" class="style4">
                      
                     <div id = "div3">
                        <asp:RadioButton   ID = "rb1" AutoPostBack = "True" Checked = "true" GroupName = "group1" 
                         Text = "User Heirarchy" TextAlign = "Right" runat = "server" />
                      </div>
  
                      
                    </td>
  
                    <td valign = "top" class="style4">
                     <div  id="div2">
                            <asp:RadioButton ID="rb2" runat="server" AutoPostBack="True" 
                                Checked="false" GroupName="group1" 
                                Text="Attributes Heirarchy" 
                                TextAlign="Right" oncheckedchanged="rb2_CheckedChanged"  />
                     </div>    
                    </td>
                      
                    <td class="style1" align = "right" valign = "top">
                    <div>
                    <table>
                    <tr>
                    <td valign = "top">
                      
                    <div id = "div4">
                    <asp:RadioButton ID="rb3" runat="server" AutoPostBack="true" 
                                Checked = "true" GroupName="group2" 
                                Text="All" 
                                TextAlign="Right"  Visible = "true" />
                     
                    </div>
                      
                      
                    </td>
                      
                    <td valign = "top">
                    <div id = "div5">
                    <asp:RadioButton ID="rb4" runat="server" AutoPostBack="true" 
                                Checked="false" GroupName="group2" 
                                 Text="Any" 
                                TextAlign="Right"  />
                       </div>
                        
                    </td>
                      
                      
                    </tr>
  
                    <tr>
                      
                      
                    <td class="style3" colspan = "2">
                    <div>
  
                    <asp:Label ID="Label1"  runat ="server" Text = "Assignments will be made to  users who have all of the selelcted attributes"
                    />
  
                    </div>
                    </td>
                                          
                    </tr>
   
                    </table>
                      
                      
                    </div>
                            
                    </td>
                 
                      
                    </tr>
  
  
                    <tr>
                      
                    <td>
                      
                    <asp:Label runat = "server" Text = "User Hierarchy" />
  
                    </td>
  
                    <td colspan = "2"  align = "right">
                      
                <telerik:RadButton  runat = "server"  Text = "Clear" />
                   
                    </td>
                     
                    </tr>
  
                    <tr>
                      
                    <td colspan = "3">
                    <div id = "tree" runat = "server" style ="width:600px; height:161px;"   >
                    <asp:Panel ScrollBars = "Both" runat ="server"  Visible = "true"  style ="width:300px; height:261px;" >
  
                    <telerik:RadTreeView runat="Server" ID="RadTreeView2" CheckBoxes="True" 
                        CheckChildNodes="True" Skin="Vista" onnodeexpand="RadTreeView2_NodeExpand">
                         </telerik:RadTreeView>
                      
                      <%--  <telerik:RadTreeView ID="RadTreeView2" Runat="server">
                        </telerik:RadTreeView>--%>
                      
                    </asp:Panel>
                    </div>
                      
                    </td>
                                                          
                    </tr>
    
                    </table>
                       
                     <br />
        
  
                </telerik:RadPageView>
  
  
  
                <telerik:RadPageView ID="RadPageView4" runat="server" Width="803px" 
                    Height="362px" >
  
                <table>
                  
                <tr>
  
                <td>
                <asp:Label runat ="server" Text = "Advanced Search" />
  
                </td>
                </tr>
                  
                <tr>
                <td valign = "top">
                  
                <hr style="width: 621px" />
                  
                   
                </td>
                </tr>
  
                </table>
  
                <table cellspacing = "10" style="width: 777px">
                <tr>
                <td class="style7">
                <asp:CheckBox Text = "  Assignment Name"  Checked = "false" runat ="server" />
  
                </td>
              
                <td align = "left" colspan="2">
                <asp:TextBox runat ="server" Enabled = "false" />
                  
                </td>
  
                <td class="RadListBoxButtonArea">
                  
                <asp:CheckBox Text = "  Assigned By" runat = "server" />
                  
                </td>
              
  
                <td align = "left">
                <asp:TextBox runat = "server" />
  
                </td>
  
  
  
                </tr>
  
  
                <tr>
                   
                  <td class="style7">
                <asp:CheckBox ID="CheckBox1" Text = "Priority"  Checked = "false" runat ="server" />
  
                </td> 
  
  
                <td colspan="2">
                      
              <telerik:RadComboBox ID="RadComboBox2" runat="server"
                EmptyMessage="Select" EnableLoadOnDemand="True" ShowMoreResultsBox="true"
                EnableVirtualScrolling="true" >
            </telerik:RadComboBox>
  
                  
                  
                </td>
                  
                <td class="RadListBoxButtonArea">
                  
                <asp:CheckBox ID="CheckBox2" Text = "  Assigned To" runat = "server" />
                  
                </td>
  
                <td align = "left">
                <asp:TextBox ID="TextBox1" runat = "server" />
  
                </td>
                </tr>
  
  
                <tr>
                  
                 <td class="style7">
                <asp:CheckBox ID="CheckBox3" Text = "Only Optional"  Checked = "false" runat ="server" />
  
                </td> 
  
  
                <td colspan="2">
                      
              <telerik:RadComboBox ID="RadComboBox1" runat="server"
                EmptyMessage="Select" EnableLoadOnDemand="True" ShowMoreResultsBox="true"
                EnableVirtualScrolling="true" >
            </telerik:RadComboBox>
  
                  
                  
                </td>
                  
                <td class="RadListBoxButtonArea">
                  
                <asp:CheckBox ID="CheckBox4" Text = "  Assigned Content" runat = "server" />
                  
                </td>
  
                <td align = "left">
                <asp:TextBox ID="TextBox2" runat = "server" />
  
                </td>
                  
                 </tr>
      
                  
                    <tr>
                        <td class="style7">
                            <asp:CheckBox ID="CheckBox5" runat="server" Text="Data Assigned" />
                        </td>
                        <td>
                            <telerik:RadDatePicker ID="RadDatePicker1" Runat="server" Width = "100px" 
                                Culture="en-US" SelectedDate="2010-11-20">
                                <Calendar UseColumnHeadersAsSelectors="False" UseRowHeadersAsSelectors="False" 
                                    ViewSelectorText="x" runat ="server">
                                </Calendar>
                                <DateInput DateFormat="M/d/yyyy" DisplayDateFormat="M/d/yyyy" 
                                    SelectedDate="2010-11-20" runat ="server">
                                </DateInput>
                                <DatePopupButton HoverImageUrl="" ImageUrl="" />
                            </telerik:RadDatePicker>
                        </td>
                        <td>
                            <telerik:RadDatePicker ID="RadDatePicker2" Runat="server" Width = "100px" 
                                Culture="en-US" SelectedDate="2010-11-20">
                                <Calendar UseColumnHeadersAsSelectors="False" UseRowHeadersAsSelectors="False" 
                                    ViewSelectorText="x" runat="server">
                                </Calendar>
                                <DateInput DateFormat="M/d/yyyy" DisplayDateFormat="M/d/yyyy" 
                                    SelectedDate="2010-11-20" runat="server">
                                </DateInput>
                                <DatePopupButton HoverImageUrl="" ImageUrl="" />
                            </telerik:RadDatePicker>
                        </td>
                        <td class="RadListBoxButtonArea">
                            <asp:CheckBox ID="CheckBox6" runat="server" Text="Activity Type" />
                        </td>
                        <td align="right">
                             </td>
                    </tr>
  
  
  
      
      
                   
                    <tr>
                        <td class="style7">
                            <asp:CheckBox ID="CheckBox7" runat="server" Text="Start Date" />
                        </td>
                        <td>
                            <telerik:RadDatePicker ID="RadDatePicker3" Runat="server" Culture="en-US" Width = "100px" 
                                SelectedDate="2010-11-20">
                                <Calendar UseColumnHeadersAsSelectors="False" UseRowHeadersAsSelectors="False" 
                                    ViewSelectorText="x" runat="server">
                                </Calendar>
                                <DateInput DateFormat="M/d/yyyy" DisplayDateFormat="M/d/yyyy" 
                                    SelectedDate="2010-11-20" runat="server">
                                </DateInput>
                                <DatePopupButton HoverImageUrl="" ImageUrl="" />
                            </telerik:RadDatePicker>
                        </td>
                        <td>
                            <telerik:RadDatePicker ID="RadDatePicker4" Runat="server"  Width = "100px" 
                                Culture="en-US" SelectedDate="2010-11-20" > 
                                <Calendar UseColumnHeadersAsSelectors="False" UseRowHeadersAsSelectors="False" 
                                    ViewSelectorText="x"   runat="server" >
                                </Calendar>
                                <DateInput DateFormat="M/d/yyyy" DisplayDateFormat="M/d/yyyy" 
                                    SelectedDate="2010-11-20" runat="server">
                                </DateInput>
                                <DatePopupButton HoverImageUrl="" ImageUrl="" />
                            </telerik:RadDatePicker>
                        </td>
  
                       <td colspan="2" rowspan="3" valign = "top" >
                         <telerik:RadListBox ID="RadListBox3" runat="server" height= "140px" width= "352px"
                              >
                           
                             
                           <Items>
                            <telerik:RadListBoxItem Text="Argentina" />
                            <telerik:RadListBoxItem Text="Australia" />
                            <telerik:RadListBoxItem Text="Brazil" />
                            <telerik:RadListBoxItem Text="Canada" />
                            <telerik:RadListBoxItem Text="Chile" />
                            <telerik:RadListBoxItem Text="China" />
                            <telerik:RadListBoxItem Text="Argentina" />
                            <telerik:RadListBoxItem Text="Australia" />
                            <telerik:RadListBoxItem Text="Brazil" />
                            <telerik:RadListBoxItem Text="Canada" />
                            <telerik:RadListBoxItem Text="Chile" />
                            <telerik:RadListBoxItem Text="China" />
  
  
                           </Items>
                             
                             
                             
                           </telerik:RadListBox>
                             
                            
  
  
  
                           </td>
                    </tr>
  
  
  
      
      
                   
                    <tr>
                        <td class="style7">
                            <asp:CheckBox ID="CheckBox8" runat="server" Text="Completed By Date" />
                        </td>
                        <td>
                            <telerik:RadDatePicker ID="RadDatePicker5" Runat="server" Culture="en-US"  Width = "100px" 
                                SelectedDate="2010-11-20">
                                <Calendar UseColumnHeadersAsSelectors="False" UseRowHeadersAsSelectors="False" 
                                    ViewSelectorText="x" runat="server">
                                </Calendar>
                                <DateInput DateFormat="M/d/yyyy" DisplayDateFormat="M/d/yyyy" 
                                    SelectedDate="2010-11-20" runat="server">
                                </DateInput>
                                <DatePopupButton HoverImageUrl="" ImageUrl="" />
                            </telerik:RadDatePicker>
                        </td>
                        <td>
                            <telerik:RadDatePicker ID="RadDatePicker6" Runat="server" Culture="en-US"  Width = "100px" 
                                SelectedDate="2010-11-20">
                                <Calendar UseColumnHeadersAsSelectors="False" UseRowHeadersAsSelectors="False" 
                                    ViewSelectorText="x" runat="server">
                                </Calendar>
                                <DateInput DateFormat="M/d/yyyy" DisplayDateFormat="M/d/yyyy" 
                                    SelectedDate="2010-11-20" runat="server">
                                </DateInput>
                                <DatePopupButton HoverImageUrl="" ImageUrl="" />
                            </telerik:RadDatePicker>
                        </td>
                    </tr>
                    <tr>
                        <td class="style7">
                            <asp:CheckBox ID="CheckBox9" runat="server" Text="Removed By Date" />
                        </td>
                        <td>
                            <telerik:RadDatePicker ID="RadDatePicker7" Runat="server" Culture="en-US"  Width = "100px" 
                                SelectedDate="2010-11-20">
                                <Calendar UseColumnHeadersAsSelectors="False" UseRowHeadersAsSelectors="False" 
                                    ViewSelectorText="x" runat="server">
                                </Calendar>
                                <DateInput DateFormat="M/d/yyyy" DisplayDateFormat="M/d/yyyy" 
                                    SelectedDate="2010-11-20" runat="server">
                                </DateInput>
                                <DatePopupButton HoverImageUrl="" ImageUrl="" />
                            </telerik:RadDatePicker>
                        </td>
                        <td>
                            <telerik:RadDatePicker ID="RadDatePicker8" Runat="server" Culture="en-US"  Width = "100px" 
                                SelectedDate="2010-11-20">
                                <Calendar UseColumnHeadersAsSelectors="False" UseRowHeadersAsSelectors="False" 
                                    ViewSelectorText="x" runat="server">
                                </Calendar>
                                <DateInput DateFormat="M/d/yyyy" DisplayDateFormat="M/d/yyyy" 
                                    SelectedDate="2010-11-20" runat="server">
                                </DateInput>
                                <DatePopupButton HoverImageUrl="" ImageUrl="" />
                            </telerik:RadDatePicker>
                        </td>
                    </tr>
  
  
  
      
      
                   
                </table>
  
  
  
  
                </telerik:RadPageView>
            </telerik:RadMultiPage>
            <telerik:RadFormDecorator runat="server" ID="RadFormDecorator1" DecoratedControls="Textarea" />
            <br />
        </div>
          
     <%--   <qsf:Footer runat="server" ID="Footer1"></qsf:Footer>--%>
    </form>
</body>
</html>
Hi,

Below is the configuration of my Development system.
1. Windows 7 32-bit
2. Dot Net framework 4.0
3. VS2010
4. IE 8.0
5. Telerik RadControls for ASP.NET AJAX Q3 2010 Trial version

And Configuration of Deployment Server
1. Window server 2003 standard edition sp2
2. Dot Net framework 4.0
3. IE 8.0
4. Telerik RadControls for ASP.NET AJAX Q3 2010 Trial Version

I am using trial version Rad Control and develop a website using RAD TabStrip and Rad Grid Control.
Issue:
After publishing website on deployment server the RadControl does not appear properly and got distorted as shown in attached screenshot "OnDeploymentServer".
Although Rad Control appears OK on hosting website on Development server as shown in attached screenshot "OnDevelopmentServer"

I am attaching the publish code which is working fine on Window7 But not on Window Server 2003. And also attaching the code files also.

For deploying on Webserver required any specific cofiguration then suggest us.
Angel Petrov
Telerik team
 answered on 07 Aug 2013
1 answer
221 views
Hi all,

I am trying to use a Rad colorpicker inside a radgrid template column . this is my grid code

<telerik:RadGrid ID="rgParameterValues" runat="server" OnItemDataBound="rgParameterValues_ItemDataBound"                                Width="98%" OnNeedDataSource="rgParameterValues_NeedDataSource"
CellSpacing="0" GridLines="None"AutoGenerateColumns="False" Skin="Metro">
 <ExportSettings>
  <Pdf>
    <PageHeader>
           <LeftCell Text=""></LeftCell>
           <MiddleCell Text=""></MiddleCell>
           <RightCell Text=""></RightCell>
           </PageHeader>
           <PageFooter>
           <LeftCell Text=""></LeftCell>
            <MiddleCell Text=""></MiddleCell>
           <RightCell Text=""></RightCell>
         </PageFooter>
    </Pdf>
 </ExportSettings>
<MasterTableView TableLayout="Fixed">
 <Columns>
  <telerik:GridBoundColumn UniqueName="gbc_parameterfriendlyname" DataField="ParameterDescription"HeaderText="Parameter  Name" ReadOnly="true" ItemStyle-Width="190px">
      <ItemStyle Width="190px"></ItemStyle>
  </telerik:GridBoundColumn>
  <telerik:GridBoundColumn UniqueName="gbc_parametername" DataField="ParameterId"   HeaderText=""Visible="true" ItemStyle-Width="0px" ItemStyle-Font-Size="0px"     Display="False">
    <ItemStyle Font-Size="0px" Width="0px"></ItemStyle>
  </telerik:GridBoundColumn>
  <telerik:GridTemplateColumn UniqueName="gbc_parameterTemplate"
                                            HeaderText="New Value">
   <ItemTemplate>
      <telerik:RadTextBox runat="server" ID="textValue" Text='<%#   Bind("ValueString") %>' Visible="false">
      </telerik:RadTextBox>
 
       <telerik:RadColorPicker ID="rcpColour" runat="server" ShowIcon="True"
             KeepInScreenBounds="False" Visible="False" Width="200px" Columns="5"
              SelectedColor="" onclientpopupshow="rcpColour_PopUpShow"
                AutoPostBack="False" onclientcolorchange="rcpColour_ColorChange"
              Height="50px" >
        </telerik:RadColorPicker>
      <br />
      <asp:Button runat="server" ID="btnOpenWrdWin" OnClientClick="return false"        Text="Wording" Visible="false" />
      <asp:Button runat="server" ID="btnOpenImageBrowseWin" OnClientClick="return   false;" Text="Browse" Visible="false" />
   </ItemTemplate>
 </telerik:GridTemplateColumn>
 <telerik:GridTemplateColumn FilterControlAltText="Filter TemplateColumn column"    HeaderText="CurrentValue" UniqueName="TemplateColumn">
    <ItemTemplate>
        <telerik:RadTextBox ID="txtCurrentValue" runat="server" Text='<%#               Bind("ValueString") %>' Enabled="False" Visible="false">
        </telerik:RadTextBox>
        <telerik:RadButton ID="btnCurrentValue" runat="server"                  ButtonType="ToggleButton"ToggleType="CustomToggle" Text="RadButton" Visible="false" Enabled="False">
 <ToggleStates>
                                                            <telerik:RadButtonToggleState Value="False" Text="False"                    PrimaryIconCssClass="rbToggleCheckbox" />
                                                            <telerik:RadButtonToggleState Value="" Text="Not Set"                   PrimaryIconCssClass="rbToggleCheckboxFilled" />
                                                            <telerik:RadButtonToggleState Value="True" Text="True"          PrimaryIconCssClass="rbToggleCheckboxChecked" />
</ToggleStates>
</telerik:RadButton>
</ItemTemplate>
</telerik:GridTemplateColumn>
</Columns>
 <CommandItemSettings ExportToPdfText="Export to PDF"></CommandItemSettings>
 <RowIndicatorColumn Visible="True" FilterControlAltText="Filter RowIndicator column">
</RowIndicatorColumn>
 <ExpandCollapseColumn Visible="True" FilterControlAltText="Filter ExpandColumn column"> </ExpandCollapseColumn>
<EditFormSettings>
 <EditColumn FilterControlAltText="Filter EditCommandColumn column">
                                        </EditColumn>
</EditFormSettings>
  <BatchEditingSettings EditType="Cell"></BatchEditingSettings>
  <PagerStyle PageSizeControlType="RadComboBox"></PagerStyle>
 </MasterTableView>
<HeaderStyle BackColor="#C6E7FC" />
<PagerStyle PageSizeControlType="RadComboBox"></PagerStyle>
 <FilterMenu EnableImageSprites="False">
 </FilterMenu>
</telerik:RadGrid>

while previewing the picker display is scattered , please see the attached picture.
if i missed some settings kindly advice me.


Thanks in advance 
Arun


Danail Vasilev
Telerik team
 answered on 07 Aug 2013
7 answers
367 views
hi Telerik,I want to update my database table from gridview.But i use itemtemplate(textbox) for bind a table row.When ontextboxchanged I want to bind immediately other row,I try to tell with codes,Thanks..

<

 

 

telerik:RadGrid ID="SeviyeTamalanmaListesiRadGrid" runat="server"

 

 

 

AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False"

 

 

 

EnableEmbeddedSkins="False" GridLines="None"

 

 

 

PagerStyle-FirstPageToolTip="Ilk Sayfa" PagerStyle-LastPageToolTip="Son Sayfa"

 

 

 

PagerStyle-NextPageToolTip="Sonraki Sayfa"

 

 

 

PagerStyle-PageSizeLabelText="Sayfa basina kayit sayisi:"

 

 

 

PagerStyle-PrevPageToolTip="Önceki Sayfa" Skin="WebBlueM"

 

 

 

OnPageIndexChanged="SeviyeTamalanmaListesiRadGrid_PageIndexChanged"

 

 

 

SortingSettings-SortToolTip="Siralamak için tiklayiniz." Width="469px"

 

 

 

onitemdatabound="SeviyeTamalanmaListesiRadGrid_ItemDataBound" >

 

 

 

<PagerStyle Mode="NextPrevAndNumeric" PagerTextFormat="false" />

 

 

 

<HeaderContextMenu EnableAutoScroll="True">

 

 

 

</HeaderContextMenu>

 

 

 

<MasterTableView AllowFilteringByColumn="True"

 

 

 

DataKeyNames="SeviyeSablonID" ShowFooter="True" >

 

 

 

<NoRecordsTemplate>

 

Gösterilecek kayit yok.

 

 

</NoRecordsTemplate>

 

 

 

<Columns>

 

 

 

<telerik:GridBoundColumn AutoPostBackOnFilter="true"

 

 

 

CurrentFilterFunction="Contains" DataField="SeviyeSablonDetayID" HeaderText="SeviyeSablonDetayID"

 

 

 

ShowFilterIcon="false" SortExpression="SeviyeSablonDetayID" Visible="false" />

 

 

 

<telerik:GridBoundColumn AutoPostBackOnFilter="true"

 

 

 

CurrentFilterFunction="Contains" DataField="SeviyeSablonID" HeaderText="SeviyeSablonID"

 

 

 

ShowFilterIcon="false" SortExpression="SablonID" Visible="false"/>

 

 

 

<telerik:GridBoundColumn AutoPostBackOnFilter="true"

 

 

 

CurrentFilterFunction="Contains" DataField="SeviyeParametreAdi"

 

 

 

HeaderText="Seviye Adi" ShowFilterIcon="false"

 

 

 

SortExpression="SeviyeParametreAdi" HeaderStyle-Width="100px" FooterText="Toplam:"/>

 

 

 

 

<telerik:GridTemplateColumn AllowFiltering="false" HeaderText="Pursantaj">

 

 

 

<HeaderStyle Width="25px" />

 

 

 

<ItemTemplate >

 

 

 

<asp:TextBox ID="SeviyeTanimlamaTextBox" runat="server" ReadOnly="true" Text='<%#Bind("PursantajDetay")%>' ToolTip="Seviye Pursantaj Degeri" Width="50px"></asp:TextBox>

 

 

 

</ItemTemplate>

 

 

 

<ItemStyle Width="25px" HorizontalAlign="center"/>

 

 

 

</telerik:GridTemplateColumn >

 

 

 

<telerik:GridTemplateColumn AllowFiltering="false" Aggregate="Sum" DataField="TamamlananPursantaj" DataType="System.Decimal"

 

 

 

SortExpression="TamamlananPursantaj" ShowFilterIcon="false" FooterStyle-HorizontalAlign="Right"

 

 

 

UniqueName="TamamlananPursantaj" FooterText=" " FooterStyle-Width="25px" HeaderText="Tamamlanan Pursantaj Yüzdesi">

 

 

 

<HeaderStyle Width="100px" />

 

 

 

<ItemTemplate >

 

 

 

<asp:TextBox ID="SeviyeTanimlamaYüzdesiTextBox" runat="server" ReadOnly="true" Text='<%#Bind("TamamlananPursantaj")%>' ToolTip="Seviye Pursantaj Degeri" Width="50px"></asp:TextBox>

 

 

 

</ItemTemplate>

 

 

 

<ItemStyle Width="25px" HorizontalAlign="center"/>

 

 

 

</telerik:GridTemplateColumn >

 

 

 

<telerik:GridTemplateColumn AllowFiltering="false"

 

 

 

HeaderText="Tamamlanan Pursantaj" >

 

 

 

<HeaderStyle Width="25px" />

 

 

 

<ItemTemplate>

 

 

 

--<%when this template text changed %>--
<
asp:TextBox ID="TamanalanmaYüzdesiTextBox" runat="server" ReadOnly="false" OnTextChanged="textBox_TextChangedRad" Text="" ToolTip="Seviye Pursantaj Degeri" Width="50px"></asp:TextBox>

 

 

 

</ItemTemplate>

 

 

 

<ItemStyle Width="25px" HorizontalAlign="center" />

 

 

 

</telerik:GridTemplateColumn>

 

 

 

</Columns>

 

 

 

</MasterTableView>

 

 

 

<FilterMenu EnableEmbeddedSkins="False">

 

 

 

</FilterMenu>

 

 

 

<SortingSettings SortToolTip="Siralamak için tiklayiniz." />

 

 

 

 

</telerik:RadGrid>


this is grid pictures,i can update table when a buttonclick,if u want,but i cant solve that,too.
http://img705.imageshack.us/img705/6339/24028491.png

Thanks..

 

Vasil
Telerik team
 answered on 07 Aug 2013
3 answers
123 views
Just wondering if anyone has experienced this issue and know what the problem is.
The attachment works for 99% of the users.
There are 3 users in different geolocation that have experienced random security prompt pop up when attaching the file.
Helpdesk says if they clear the IE8 browser cache then user can add, then an hour later security prompt appears.
We have Silverilght and Flash installed.

Plamen
Telerik team
 answered on 07 Aug 2013
17 answers
197 views
Hello,

I am using a ComboBox within a RadGrid that uses DbContext to get its data from a table of States. While in edit mode I wish to have the ComboBox display the State from the Customers table if exists and/or be able to select a State if needed. Currently the ItemTemplate shows the current State selected for a customer just fine but while in edit mode the ComboBox is not populated with current State or a selection of States. Here is my code:

Customer.aspx
<telerik:GridTemplateColumn HeaderText="State" EditFormColumnIndex="2">
    <ItemTemplate>
        <%#DataBinder.Eval(Container.DataItem, "State")%>
    </ItemTemplate>
    <EditItemTemplate>
        <telerik:RadComboBox ID="selectState" runat="server" Skin="Web20" DataTextField="stateName" DataValueField="stateCode" />
    </EditItemTemplate>
</telerik:GridTemplateColumn>

Customer.aspx.cs
protected void RadGrid1_EditCommand(object source, GridCommandEventArgs e)
 {
 
     if (e.Item is GridEditableItem && e.Item.IsInEditMode)
     {
         GridEditableItem edititem = (GridEditableItem)e.Item;
         DropDownList ddlStates = (DropDownList)edititem.FindControl("selectState");
         ddlStates.DataSource = DbContext.States;
         ddlStates.DataTextField = "stateName";
         ddlStates.DataValueField = "stateCode";
         ddlStates.DataBind();
     }
 
}

Please let me know what I have done incorrectly or what I am missing. Thanks for the help!



ADAPT
Top achievements
Rank 2
 answered on 07 Aug 2013
2 answers
177 views
Hi!

I am populating my data in my RadComboBox by using a ObjectDataSource, everything works fine.

Now when I want to delete items from the RadCombobox and the database it doesnt work. 

It gets removed from the database successfully, but it still remains in my combobox, even though I refresh the page it still remains, The only thing that works is to shutdown the whole debugging and start it again, then it repopulates the data from the database.

Any idea what to do to repopulate the data? Ive tried doing a full post back, with no luck. I have searched forum and tried several propsals with no luck.

I am starting to think its because its saved in cached or in memory somehow? (clientsided)

Appreciate any help!
Nicklas
Top achievements
Rank 1
 answered on 07 Aug 2013
4 answers
236 views
Hello. We need your help in issue connected with how exacly we need to assign DataSource to RadTreeList control. (ASP.NET WEB FORMS)
We followed several scenarios:

1)  Tried to handle NeedDataSource event like in manual page. By using LinqDataSourse or SqlDataSource, or just list of samle data (about 4000 rows) it starts to be really slow.

2)  As far as I am concerned, the above scenatio is known as Advanced Binding (handling needdatasource event). So, Is it a good approach to use simple binding scenario to get component work faster. 

3) Do we need to add RadTreeList into RadAjaxPanel to make it faster or it does not matter?

4)  Is it possible to use treelist without re-binding / re-assigning DataSource or it is a core feature of this component ?



Merry Christmas,
looking forwar to hearing from you,
Tafrov Vadim

  
Pavlina
Telerik team
 answered on 07 Aug 2013
3 answers
2.8K+ views
I have been plagued on more than one occasion dealing with scrollbars on the grid and in the past I gave up.  Fortunately I have found a resolution today which seems to work all the time.  I figured I would share this to help anyone else having problems.

Problems:  
    - Horizontal scrollbar is present when you enable scrolling.
    - Documentation recommendations don't really explain how to fix the problem. 
    - I don't use auto generation of columns. Who does??  Is this something people really use for production applications?
    - Setting widths of columns not to exceed grid width doesn't work and misleading.

Solution: 
    - To remove the horizontal scrollbar when NOT USING auto generate columns.  

    - Set grid width to 100%
    - DO NOT set the Master Table View width.
    - Assign all of your columns a fixed width except for 1 and apply 50% or other large % to it.
        * Make sure this is done in the <headerstyle> elements on ALL columns 
    - Make sure you do not set any widths in the <itemStyle> elements.
    - Enable scrolling using static headers.
    - If any hidden columns are present set the widths to 0px.

Post if this helped you.

-Robert
Venelin
Telerik team
 answered on 07 Aug 2013
2 answers
194 views
I am pulling a aspx page through a radwindow onto my page via a <a href onclick> 

the window shows and everything comes up great, the problem is when I go to click on it agian the window will not show agian, and I have no clue why, but if I refresh the page it works fine again.  is there something else i need to set in the properties to enable this window toi be opened multiple times on a page if need be.  Originall I had a a mouse over but that got annoying in swiping mouse over label accidentally so I changed to onclick.

<telerik:RadWindow ID="RadEducation" runat="server" AutoSize="true" DestroyOnClose="true" Animation="FlyIn" NavigateUrl="~/Admin/Educationkey.aspx" MaxHeight="600px" MaxWidth="300px" Modal="true"  SkinID="Web20" OffsetElementID="lblKey"></telerik:RadWindow>
 
 <a href="#" onclick="myMouseOver();">key</a><asp:Label ID="lblKey" runat="server"></asp:Label>
 
 
 function myMouseOver() {
               var oWnd = $find("<%=RadEducation.ClientID%>");
               oWnd.show();
           }


Kevin
Top achievements
Rank 1
 answered on 07 Aug 2013
6 answers
1.0K+ views
Hi All,

Is there any way to get the total files size (upload size) in radasyncupload ? My requirement is, 
I need to put multiple file RadAsyncUpload in my page. And have a total upload size limit (size of all files.) of 100 MB. When it reach the limit of 100 MB, it should display an error message and stops the uploading.

The code I tried,

<telerik:RadAsyncUpload runat="server" ID="AsyncUpload1" HideFileInput="true" Skin="Hay"
                        MultipleFileSelection="Automatic" AllowedFileExtensions=".jpeg,.jpg,.png,.doc,.docx,.xls,.xlsx,.rar,.zip,.txt,.dll,.pdf"
                        OnClientFileUploadFailed="onUploadFailed" OnClientFileSelected="onFileSelected"
                        OnClientFileUploaded="onFileUploaded" 
                        OnClientProgressUpdating="checkUploadedFilesSize"/>
function OnFileUploaded(sender, args) {
    DecrementUploadsInProgress();
    var totalBytes = 0;
    var numberOfFiles = sender._uploadedFiles.length;
      
        if (isDuplicateFile) {
            sender.deleteFileInputAt(numberOfFiles - 1);
            isDuplicateFile = false;
            sender.updateClientState();
            alert("You can't add the same file twice");
            return;
        }
      
    for (var index in filesSize) {
        totalBytes += filesSize[index];
    }
    if (totalBytes > MAX_TOTAL_BYTES) {
        sender.deleteFileInputAt(numberOfFiles - 1);
        sender.updateClientState();
        alert(OVERSIZE_MESSAGE);
    }
}

This code is failing with an error "DOM is disabled".

Is there any way to do this?
Mahesh
Top achievements
Rank 1
 answered on 07 Aug 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?