Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
107 views
My client want a panel bar like this (see attachments).
The 3rd level has a scrolling area inside that level. The scrolling area has 2 arrows (bottom and top).
All other panel items have to align at the bottom when collapsed.

Is this possible with the radpanelbar?
If it isn't i have to search another solution.

Thanx
Yana
Telerik team
 answered on 08 Dec 2010
1 answer
52 views
Hi,

I am using 2009.3.1208 in my software and would like to know the possibility to build the telerik control with .NET 4.0. I am unable to test the new 2010.x.xxxx version due to resource constraints but would like to offer my clients a .NET 4.0 equivalent of my software.

I have the source code version of the 2009.3.1208, and I believe targeting the .NET 4.0 framework should not be an issue.

Please let me know.
Sebastian
Telerik team
 answered on 08 Dec 2010
13 answers
260 views
I have a Rad Grid that includes:
1. Column filters
2. A grid
3. "Pagers" at the bottom with "VCR" controls, links to select specific page numbers, etc.

In order to be 508 compliant the Web page needs to be able to do the following w/o using a mouse:
1. Set a filter on a column
2. Tabbing from the last "filter" should go to the grid (the default seems to tab from the last filter column to the "pager" at the bottom of the form)
3. Provide "text" for the pager "buttons" (I saw some code for this, but could not get the VCR images to display)

I'm looking for a working example so that I could cut and paste the code into my code to make it work properly.

Thanks!

Bruce

Dimo
Telerik team
 answered on 08 Dec 2010
6 answers
201 views
I have changed the default tooltip of the controls to a Telerik tooltip by adding a RadTooltipManager and set the AutoTooltipify-property to true. At first there were double tooltips for the dates, but I got help with that in a previous thread (http://www.telerik.com/community/forums/aspnet-ajax/tooltip/calendar-with-radtooltipmanager-gets-two-tooltips.aspx)

Now, I found that the tooltip is actually showing the wrong date! The corrrect tooltip is shown at first, but after changing e.g. the month the tooltip shows the wrong date. The date in the tooltip is from the month first displayed.

Any help is greatly appreciated!
Svetlina Anati
Telerik team
 answered on 08 Dec 2010
1 answer
61 views
Hi all,

I've been exploring various options for visualizing data inside of docking components. 

I had started with just using a Microsoft Chart Control inside of a RadDock. This works fine, but I was hoping to find better.
I moved on to using a RadChart inside of the RadDock. I have no need for 'zooming' functionality and due to some other limitations (e.g. performance issues with large datasets / wishing it would resize with the RadDock) I decided to explore what my options were with Silverlight Charts.

So, I spent some time ripping out the Silverlight RadChart displayed here: http://demos.telerik.com/aspnet-ajax/chart/examples/silverlight/defaultcs.aspx and moving it into my demo app. I ripped out basically everything except the actual chart and placed it inside of a Web User Control (.ascx). Through these means I was able to place the chart displayed into a RadDock.

I went to test my app and... the chart disappears the second I move a dock! And it never comes back. 

Are Silverlight controls incompatible with RadDock?
Pero
Telerik team
 answered on 08 Dec 2010
3 answers
463 views
Hello I have a problem with the NeedDataSource event of the radlistview. I tried several things but it will only bind once in the initial pageload. I also placed a radgrid on the form to see if the code and/or events are correct and they are because the radgrid is behaving as expected (click the pager or edit button and the needdatasource event is fired). What could this be? Only thing I could see in reflector is a slightly different implementation of the event if i compare the listview with the grid.

To overcome all the details i created a new sample form as below with the same problem.
ASPX:

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Artikelgroepen.aspx.cs" Inherits="Drumis.ECommerce.Website.Admin.Content.Artikelgroepen" %>
<%@ 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">
  
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <telerik:radscriptmanager id="RadScriptManager1" runat="server">
        <Scripts>
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
            <asp:ScriptReference Path="~/scripts/script.js" />
        </Scripts>
    </telerik:radscriptmanager>
  
    <div>
  
      
<telerik:RadWindow runat="server" Width="750px" Height="560px" VisibleStatusbar="false" AutoSize="true"
    NavigateUrl="~/FileExplorer/Explorer.aspx" ID="ExplorerWindow" Modal="true" Behaviors="Close,Move">
</telerik:RadWindow>
  
<telerik:radcodeblock runat="server" ID="codeblock1">
<script type="text/javascript">
  
    function OpenFileExplorerDialog() {
        var wnd = $find("<%= ExplorerWindow.ClientID %>");
        wnd.show();
    }
  
    function ChangeRows() {
        var rt = document.getElementById('<%= ActiveRelatiesText.ClientID %>');
        var ht = document.getElementById('<%= RowText.ClientID %>');
  
        rt.rows = ht.value;
    }
</script>
</telerik:radcodeblock>
  
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" />
      
    <div id="ConfigPanel" style="margin:5px;padding:5px;border: 1px solid black;">
        <table width="100%" cellpadding="3" cellspacing="0">
            <tr>
                <td>
                    <asp:Label ID="LanguageLabel" runat="server"  meta:ResourceKey="LanguageLabel">Selecteer een taal:</asp:Label>
                </td>
                <td>
                    <telerik:RadComboBox ID="LanguageCbx" runat="server" AutoPostBack="True"></telerik:RadComboBox>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="RelatieHeaderLabel" runat="server"  meta:ResourceKey="RelatieHeaderLabel">Selecteer een relatie</asp:Label>
                </td>
                <td>
                    <asp:Label ID="ActiveRelatieHeaderLabel" runat="server"  meta:ResourceKey="ActiveRelatieHeaderLabel">Gekoppelde relaties voor geslecteerde artikelgroep</asp:Label>
                </td>
            </tr>
            <tr>
                <td valign="top">        
                    <telerik:RadComboBox ID="RelatiesCbx" runat="server" AppendDataBoundItems="true" AutoPostBack="true">
                        <Items>
                            <telerik:RadComboBoxItem Text=" Selecteer " Value="-1" />
                        </Items>
                    </telerik:RadComboBox>
                </td>
                <td>
                    <asp:TextBox ID="ActiveRelatiesText" runat="server" Rows="1" Columns="60" TextMode="MultiLine" ReadOnly="true"
                        onfocus="ChangeRows();" onblur="this.rows='1';"></asp:TextBox>
                    <asp:HiddenField ID="RowText" runat="server" Value="90" />
                </td>
            </tr>
        </table>
    </div>
  
<telerik:RadListView ID="GroepenLvw" runat="server" AllowPaging="True" ItemPlaceholderID="GroepItemContainer">
    <LayoutTemplate>
        <fieldset style="width: 700px;">
            <legend>Artikelgroepen</legend>
            <table cellpadding="0" cellspacing="0" style="width: 700px;">
                <tr>
                    <td>
                        <asp:Panel ID="GroepItemContainer" runat="server" />
                    </td>
                </tr>
                <tr>
                    <td>
                        <telerik:RadDataPager ID="GroepPager" runat="server" PagedControlID="GroepenLvw"
                            PageSize="6">
                            <Fields>
                                <telerik:RadDataPagerButtonField FieldType="FirstPrev" />
                                <telerik:RadDataPagerButtonField FieldType="Numeric" />
                                <telerik:RadDataPagerButtonField FieldType="NextLast" />
                            </Fields>
                        </telerik:RadDataPager>
                    </td>
                </tr>
            </table>
        </fieldset>
    </LayoutTemplate>
    <ItemTemplate>
        <fieldset style="float: left; width: 226px; height: 200px;">
            <table cellpadding="2" cellspacing="0" style="height: 100%;">
                <tr>
                    <td style="width: 20%;">
                        <asp:label ID="MenuTekstLabel" runat="server">Headertekst</asp:label>            
                    </td>
                    <td style="width: 80%; padding-left: 5px;">
                        <asp:Label ID="NormalTekstText" runat="server" Text='<%# Eval("strNormalTekst") %>'></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:label ID="MenuIconLabel" runat="server">Menu icoon</asp:label>                        
                    </td>
                    <td style="width: 80%; padding-left: 5px;">
                        <telerik:RadBinaryImage id="IconRbi" runat="server" AutoAdjustImageControlSize="true" ResizeMode="None" ImageAlign="Middle" BorderWidth="0" 
                                        ImageUrl='<%# ResolveUrl(String.Concat("~/MenuIcons/",App.Configuration.MenuIconHeight, "x", App.Configuration.MenuIconWidth, ".", Eval("StrIconPath"))) %>' />
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:label ID="MenuvoettekstLabel" runat="server">Menu voettekst</asp:label>
                    </td>
                    <td style="width: 80%; padding-left: 5px;">
                        <asp:label ID="DetailTekstText" runat="server" Text='<%# Eval("StrDetailTekst") %>' ></asp:label>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <asp:ImageButton ID="Button1" runat="server" CommandName="Edit" ImageUrl="~/Images/Editor.png" />
                    </td>
                </tr>
            </table>
        </fieldset>
    </ItemTemplate
    <EditItemTemplate>
        <fieldset style="float: left; width: 226px; height: 240px;">
            <table cellpadding="2" cellspacing="0" style="height: 100%;">
                <tr>
                    <td style="width: 20%;">
                        <asp:label ID="MenuTekstLabel" runat="server">Headertekst</asp:label>            
                    </td>
                    <td style="width: 80%; padding-left: 5px;">
                        <asp:TextBox ID="NormalTekstText" runat="server" Text='<%# Bind("strNormalTekst") %>' width="75%"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:label ID="MenuIconLabel" runat="server">Menu icoon</asp:label>                        
                    </td>
                    <td style="width: 80%; padding-left: 5px;">
                        <asp:TextBox ID="ImagePathText"  runat="server" Text='<%# Bind("StrIconPath") %>' ></asp:TextBox
                        <asp:Button ID="PreviewImage" runat="server" text="Browse" CssClass="art-button" OnClientClick="OpenFileExplorerDialog(); return false;" />
                        <telerik:RadBinaryImage id="IconRbi" runat="server" AutoAdjustImageControlSize="true" ResizeMode="None" ImageAlign="Middle" BorderWidth="0" 
                                        ImageUrl='<%# ResolveUrl(String.Concat("~/MenuIcons/",App.Configuration.MenuIconHeight, "x", App.Configuration.MenuIconWidth, ".", Eval("StrIconPath"))) %>' />
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:label ID="MenuvoettekstLabel" runat="server">Menu voettekst</asp:label>
                    </td>
                    <td style="width: 80%; padding-left: 5px;">
                                    <telerik:RadEditor ID="DetailTekstText" runat="server"
                                        EditModes="Html"
                                        ToolbarMode="ShowOnFocus"
                                        AutoResizeHeight="false"
                                        Height="150px"
                                        Width="98%"
                                        ToolsWidth="200px"
                                        Content='<%# Bind("StrDetailTekst") %>'>
                                    </telerik:RadEditor>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                        <asp:ImageButton ID="Button1" runat="server" CommandName="Update" Text="Update" ImageUrl="~/Imgages/Update.gif" />
                        <asp:ImageButton ID="Button2" runat="server" CommandName="Cancel" Text="Cancel" ImageUrl="~/Imgages/Cancel.gif" />
                    </td>
                </tr>
            </table>
        </fieldset>
    </EditItemTemplate
</telerik:RadListView>
  
  
<telerik:RadGrid ID="GroepGrid" runat="server" AllowPaging="True" PageSize="2"
        AutoGenerateDeleteColumn="True" AutoGenerateEditColumn="True" GridLines="None"></telerik:RadGrid>
  
  
  
  
    </div>
    </form>
</body>
</html>

CODEBEHIND
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Drumis.ECommerce.WebLibrary.Bases;
using Drumis.ECommerce.Model;
using Drumis.Licentie.Configuration;
  
namespace Drumis.ECommerce.Website.Admin.Content
{
    public partial class Artikelgroepen : BasePage
    {
        [Serializable()]
        public class ArtikelGroepItem
        {
            int _iDArtikelGroep;
            int _iDArtikelGroepTekst;
            string _strDetailTekst;
            string _strGeneralTekst;
            string _strIconPath;
            string _strLocaleId;
            string _strNormalTekst;
  
            public ArtikelGroepItem(TblCSArtikelGroepTeksten item)
            {
                _iDArtikelGroep = item.IDArtikelGroep;
                _iDArtikelGroepTekst = item.IDArtikelGroepTekst;
                _strDetailTekst = item.StrDetailTekst;
                _strGeneralTekst = item.StrGeneralTekst;
                _strIconPath = item.StrIconPath;
                _strLocaleId = item.StrLocaleId;
                _strNormalTekst = item.StrNormalTekst;
            }
  
            public int IDArtikelGroep
            {
                get
                {
                    return _iDArtikelGroep;
                }
                set
                {
                    _iDArtikelGroep = value;
                }
            }
  
            public int IDArtikelGroepTekst
            {
                get
                {
                    return _iDArtikelGroepTekst;
                }
                set
                {
                    _iDArtikelGroepTekst = value;
                }
            }
  
            public string StrDetailTekst
            {
                get
                {
                    return _strDetailTekst;
                }
                set
                {
                    _strDetailTekst = value;
                }
            }
  
            public string StrGeneralTekst
            {
                get
                {
                    return _strGeneralTekst;
                }
                set
                {
                    _strGeneralTekst = value;
                }
            }
  
            public string StrIconPath
            {
                get
                {
                    return _strIconPath;
                }
                set
                {
                    _strIconPath = value;
                }
            }
  
            public string StrLocaleId
            {
                get
                {
                    return _strLocaleId;
                }
                set
                {
                    _strLocaleId = value;
                }
            }
  
            public string StrNormalTekst
            {
                get
                {
                    return _strNormalTekst;
                }
                set
                {
                    _strNormalTekst = value;
                }
            }
        }
  
        List<ArtikelGroepItem> GroepItems
        {
            get
            {
                List<int> artikelgroepIds = new List<int>();
                IQueryable<TVWD4WCSArtikelGroepenMultiLingual> col = null;
                if (RelatiesCbx.SelectedValue != "-1")
                {
                    int iOut = 0;
                    int.TryParse(RelatiesCbx.SelectedValue, out iOut);
  
                    List<int> groepenRelatie = context.TVWD4WCSArtikelGroepenPerRelaties.Where(s =>
                                                    s.IDRelatie.Equals(0) || s.IDRelatie.Equals(iOut))
                                                    .Select(s => s.GroupId).ToList();
                                                      
                    artikelgroepIds = context.TVWD4WCSArtikelGroepenMultiLinguals.Where(s => 
                                    (string.IsNullOrEmpty(s.StrLocaleId) || s.StrLocaleId.ToLower().Equals("nl")) 
                                    && groepenRelatie.Contains(s.IDArtikelGroep))
                                    .Select(s => s.IDArtikelGroep).ToList();
                }
                else
                {
                    artikelgroepIds = context.TVWD4WCSArtikelGroepenMultiLinguals.Where(s => 
                                    string.IsNullOrEmpty(s.StrLocaleId) || s.StrLocaleId.ToLower().Equals("nl"))
                                    .Select(s => s.IDArtikelGroep).ToList();
                }
  
                IQueryable<TblCSArtikelGroepTeksten> result = context.TblCSArtikelGroepTekstens.Where(s =>
                                    artikelgroepIds.Contains(s.IDArtikelGroep) && s.StrLocaleId.ToLower().Equals("nl"))
                                    .OrderBy(s => s.StrNormalTekst);
  
                List<ArtikelGroepItem> agResultItems = new List<ArtikelGroepItem>();
                foreach (var item in result)
                {
                    agResultItems.Add(new ArtikelGroepItem(item));
                }
  
                return agResultItems;
            }
        }
  
        protected override void OnInit(EventArgs e)
        {
            base.OnInit(e);
            GroepenLvw.NeedDataSource += (s, args) =>
            {
                GroepenLvw.DataSource = GroepItems;
            };
            GroepGrid.NeedDataSource += (s, args) =>
            {
                GroepGrid.DataSource = GroepItems;
            };
        }
  
  
        protected override D4WOptions[] SetValidateOptions()
        {
            return new D4WOptions[] { D4WOptions.X_OPTNR_INTERNET };
        }
    }
}

And the baseclass
public class BasePage : Page
{
    public const string WidthUnit = "px";
    public BasePage();
    public virtual string ContentPanelWidthPixel { get; }
    public D4WData_EntityDiagrams context { get; }
    public InsadD4wUser D4wUser { get; }
    public ErrorDisplay ErrorDisplayCtrl { get; }
    public virtual bool IsHomePage { get; }
    public NavigationMenuItemList menuItemCollection { get; set; }
    public UserControl SidebarInstance { get; }
    public event EventHandler<MessageToDisplayArguments> MessageToDisplay;
    protected void BasePage_MessageToDisplay(object sender, MessageToDisplayArguments e);
    protected override void InitializeCulture();
    protected bool IsNavigation();
    protected override void OnInit(EventArgs e);
    protected void RaiseMessageToDisplay(string message, MessageType type);
    protected override void Render(HtmlTextWriter writer);
    public void SetAjaxReference(Control trigger, Control updated);
    public virtual void SetMessageHandlers();
    public void SetUserLocale();
    public void SetUserLocale(string CurrencySymbol, bool SetUiCulture);
    public void SetUserLocale(string LCID, string CurrencySymbol, bool SetUiCulture);
    protected virtual D4WOptions[] SetValidateOptions();
}

Cheers
El
Top achievements
Rank 1
 answered on 08 Dec 2010
7 answers
232 views
The following shows my RadMenu fine except when it drops down the submenu items go behind my content pane rather than over top. How can I fix this?

<radspl:RadSplitter ID="RSHeader" Orientation="Horizontal" Skin="Default" runat="server"
        FullScreenMode="True" Height="100%" SplitBarsSize="" Width="100%">
        <%-- Header Pane --%>
        <radspl:RadPane ID="RPHeader" Height="90" Width="100%" BackColor="white" Scrolling="None"
            Locked="true" runat="server">
            <table align="center" width="97%">
                <tr>
                    <td width="70px">
                        <img src="Images/keystone3.jpg" height="65px" width="68px" />
                    </td>
                    <td>
                        <br />
                        <img src="Images/DGA2.jpg" /><br />
                        <img src="Images/DGA.jpg" />
                    </td>
                    <td align="right">
                        <img src="Images/VAF.jpg" />
                    </td>
                </tr>
            </table>
        </radspl:RadPane>
        <%-- End Header --%>
        <radspl:RadSplitBar ID="RSBHeader" EnableResize="false" CollapseMode="None" runat="server" />
        <radspl:RadPane ID="RPMiddle" Height="100%" Width="100%" Scrolling="None" runat="server">
            <radspl:RadSplitter ID="RSContent" Orientation="Horizontal" runat="server" Skin="Default">
                <%--Navigation Pane--%>
                <radspl:RadPane ID="RPNavigator" Scrolling="None" Height="25px" CssClass="BackgroundColor"
                    runat="server">
                    <table align="center">
                        <tr>
                            <td>
                                <telerik:RadMenu ID="RadMenu1"  Skin="WebBlue" runat="server"
                                    OnClientItemClicked="OnClientItemClickedHandler">
                                    <DefaultGroupSettings ExpandDirection="Auto" Flow="Vertical" />
                                    <CollapseAnimation Duration="200" Type="OutQuint" />
                                    <Items>
                                        <telerik:RadMenuItem runat="server" ExpandMode="ClientSide" Text="Home" Value="Default.aspx">
                                            <GroupSettings ExpandDirection="Auto" Flow="Vertical" />
                                        </telerik:RadMenuItem>
                                        <telerik:RadMenuItem runat="server" ExpandMode="ClientSide" Text="About" Value="About.aspx">
                                            <GroupSettings ExpandDirection="Auto" Flow="Vertical" />
                                            <Items>
                                                <telerik:RadMenuItem runat="server" Text="Child RadMenuItem 1">
                                                </telerik:RadMenuItem>
                                            </Items>
                                        </telerik:RadMenuItem>
                                        <telerik:RadMenuItem runat="server" ExpandMode="ClientSide" Text="Imaging" Value="Imaging.aspx">
                                            <GroupSettings ExpandDirection="Auto" Flow="Vertical" />
                                        </telerik:RadMenuItem>
                                        <telerik:RadMenuItem runat="server" ExpandMode="ClientSide" Text="Medical Equipment"
                                            Value="Medical.aspx">
                                            <GroupSettings ExpandDirection="Auto" Flow="Vertical" />
                                            <Items>
                                                <telerik:RadMenuItem runat="server" Text="Biodex" Value="biodex.aspx">
                                                    <GroupSettings ExpandDirection="Auto" Flow="Vertical" />
                                                </telerik:RadMenuItem>
                                            </Items>
                                        </telerik:RadMenuItem>
                                        <telerik:RadMenuItem runat="server" ExpandMode="ClientSide" Text="Displays/Monitors"
                                            Value="Displays.aspx">
                                            <GroupSettings ExpandDirection="Auto" Flow="Vertical" />
                                        </telerik:RadMenuItem>
                                        <telerik:RadMenuItem runat="server" ExpandMode="ClientSide" Text="X-ray Tubes" Value="Tubes.aspx">
                                            <GroupSettings ExpandDirection="Auto" Flow="Vertical" />
                                        </telerik:RadMenuItem>
                                        <telerik:RadMenuItem runat="server" ExpandMode="ClientSide" Text="CR/plates/casettes"
                                            Value="Plates.aspx">
                                            <GroupSettings ExpandDirection="Auto" Flow="Vertical" />
                                        </telerik:RadMenuItem>
                                        <telerik:RadMenuItem runat="server" ExpandMode="ClientSide" Text="Lamps/Batteries"
                                            Value="Lamps.aspx">
                                            <GroupSettings ExpandDirection="Auto" Flow="Vertical" />
                                        </telerik:RadMenuItem>
                                        <telerik:RadMenuItem runat="server" ExpandMode="ClientSide" Text="Test Equipment"
                                            Value="Equip.aspx">
                                            <GroupSettings ExpandDirection="Auto" Flow="Vertical" />
                                        </telerik:RadMenuItem>
                                        <telerik:RadMenuItem runat="server" ExpandMode="ClientSide" Text="Contact" Value="Contact.aspx">
                                            <GroupSettings ExpandDirection="Auto" Flow="Vertical" />
                                        </telerik:RadMenuItem>
                                    </Items>
                                    <ExpandAnimation Type="OutQuart" />
                                </telerik:RadMenu>
                            </td>
                        </tr>
                    </table>
                </radspl:RadPane>
                <radspl:RadPane ID="RPMain" CssClass="ContentPane" Scrolling="None" Height="100%"
                    runat="server">
                    <radspl:RadSplitter ID="RadSplitter1" Orientation="Vertical" runat="server" Skin="WebBlue">
                        <radspl:RadPane ID="RPContent" ContentUrl="Default.aspx" Scrolling="X" runat="server">
                        </radspl:RadPane>
                        <radspl:RadSplitBar ID="RadSplitBar1" CollapseMode="None" EnableResize="false" runat="server" />
                        <radspl:RadPane ID="RadPane2" Width="22" Scrolling="None" runat="server">
                            <radspl:RadSlidingZone ID="RadSlidingZone1" Width="22" ClickToOpen="true" SlideDirection="Left"
                                runat="server">
                                <radspl:RadSlidingPane ID="RadSlidingPane1" Title="Calendar" Width="150" runat="server">
                                    <radCln:RadCalendar ID="RadCalendar1" ShowRowHeaders="false" runat="server" Skin="WebBlue"
                                        Font-Names="Arial, Verdana, Tahoma">
                                        <SpecialDays>
                                            <radCln:RadCalendarDay Repeatable="Today" Date="">
                                                <ItemStyle CssClass="radCalToday_WebBlue"></ItemStyle>
                                            </radCln:RadCalendarDay>
                                        </SpecialDays>
                                    </radCln:RadCalendar>
                                </radspl:RadSlidingPane>
                            </radspl:RadSlidingZone>
                        </radspl:RadPane>
                    </radspl:RadSplitter>
                </radspl:RadPane>
                <%--End Main Content--%>
            </radspl:RadSplitter>
        </radspl:RadPane>
        <radspl:RadSplitBar ID="RSBFooter" CollapseMode="None" EnableResize="false" runat="server" />
        <%-- Footer --%>
        <radspl:RadPane ID="RPFooter" CssClass="BackgroundImage" Height="53" Width="100%"
            Locked="true" runat="server">
            <table align="center" class="Footer" width="80%">
                <tr>
                    <td align="left">
                        <img src="Images/ccr-logo200w.jpg" height="40px" />
                    </td>
                    <td align="left">
                        <img src="Images/190_Logo_WAWF_Registered.gif" height="40px" />
                    </td>
                    <td align="left">
                        <img height="40px" src="Images/GSA_logo.gif" />
                    </td>
                    <td align="left">
                        <img src="Images/257_Logo_ORCA.gif" height="40px" />
                    </td>
                    <td>
                        <img src="Images/copyright.jpg" />
                                            </td>
                </tr>
            </table>
        </radspl:RadPane>
        <%-- End Footer --%>
    </radspl:RadSplitter>
Dobromir
Telerik team
 answered on 08 Dec 2010
1 answer
88 views
Hello,

Please take a look at the attached and let me know if it is possible to display a text box besides the groupby colum within RadGrid.( shown in red)
User gets to enter this value in the textbox upon which a validation needs to occur.

Thanks.
Iana Tsolova
Telerik team
 answered on 08 Dec 2010
1 answer
132 views
Hi
 I have radupload in a parent page like

<script type="text/javascript">
    function OpenProgressWindow() {
        if (document.all)//IE browser
        {
            win = radopen("ProgressBar.aspx", "RadWindow1");
        }
        else {
            window.setTimeout(function () {
                radopen("ProgressBar.aspx", "RadWindow1");
            }, 0);
        }
    }
    function OnClientClose(radWindow) {
        var oArea = radWindow.GetContentFrame().contentWindow.RadProgressArea1;
        oArea.CancelRequest();
    }          
</script>   

<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server"></telerik:RadScriptManager>
    <div>
        <telerik:radprogressmanager id="RadProgressManager1" runat="server"      
                onclientprogressstarted="OpenProgressWindow">     
            </telerik:radprogressmanager>    
            <telerik:radupload id="RadUpload1" runat="server" maxfileinputscount="1"></telerik:radupload>    
            <telerik:radwindowmanager id="RadWindowManager1" runat="server" showcontentduringload="true"    
                onclientclose="OnClientClose">     
                <windows>    
                    <telerik:radwindow id="RadWindow1" runat="server" width="500px" height="400px"      
                        navigateurl="ProgressBar.aspx" title="" />    
                </windows>    
            </telerik:radwindowmanager>               
        </div>    
        <asp:button id="Button1" runat="server" text="Button" />    

    </form>
</body>

and the radwindow popup has :
 <form id="form1" runat="server">
         <telerik:RadScriptManager ID="RadScriptManager1" runat="server"></telerik:RadScriptManager>       
<telerik:radprogressmanager id="RadProgressManager1"       runat="server"></telerik:radprogressmanager> 
<telerik:radprogressarea id="RadProgressArea1" runat="server" DisplayCancelButton="True"></telerik:radprogressarea> 
  </form>   

and code behind for popup in page load is :
Page.ClientScript.RegisterStartupScript(Me.GetType(), "RegisterProgressArea", String.Format("function GetRadWindow(){{if (window.radWindow) return window.radWindow; else if (window.frameElement.radWindow) return window.frameElement.radWindow; return null;}} var radWindow = GetRadWindow();if (radWindow != null){{var progressAreasArray = radWindow.BrowserWindow.RadUploadNameSpace.ProgressAreas;progressAreasArray[progressAreasArray.length] = {0};}}", RadProgressArea1.ClientID), True)


i am getting js error saying RadUploadNameSpace as null in the script above, any ideas?

Thanks
 

Genady Sergeev
Telerik team
 answered on 08 Dec 2010
7 answers
231 views
My application has a requirement for uploading files of more that 1gb. I tried some ways but they are not working.

1. Change the httpruntime. Following is the config entry in my web.config.

<httpRuntime maxRequestLength="1024000" executionTimeout="3600000" />

Kindly suggest if its possible to upload large files using RAD upload tool and if yes, then how is it possible.

Following is my ASPX:

    <div>
        <radG:RadUpload ID="rdUpload" runat="server" MaxFileSize="10240000"/>
<%--        <radG:RadProgressArea ID="prg" runat="server" ></radG:RadProgressArea>
        <radG:RadProgressManager ID="pm" runat="server" />
--%>        <asp:Button ID="btnSave" runat="server" Text ="Save" />
<asp:Label ID="lbl" runat="server"></asp:Label>
    </div>

Further i tried ASP FileUpload control and was able to upload large files.

And also let me know if there are any best practices for Rad upload control.




Genady Sergeev
Telerik team
 answered on 08 Dec 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?