Problems with the use of Telerik controls in a user control (ascx)

6 posts, 0 answers
  1. Boris
    Boris avatar
    289 posts
    Member since:
    Oct 2012

    Posted 14 Jan 2013 Link to this post

    I'm wondering if I'm missing something basic.  I've just roughed out an ascx that contains RadTextBoxes, a RadDatePicker, a RadListBox, and an Asp.Net Repeater that contains RadButtons. 

    An instance of the control has been hard-coded into a page inside a RadPane.  (Part of a page with multiple SplitterBar sections.)
    As yet I've done no real coding with it, server or client side.

    The reason I've posted is primarily because the RadDatePicker popup doesn't appear to be working, at least not consistently.  

    Also, while the textboxes appear to allow input, most of the controls on the page appear to have a pair of tiny parallel diagonal lines at the far right hand bottom corner.  

    Further information:  After some trial and error it appears that the problem was that the ordinary HTML table the controls were in had a resize setting in it's Style attribute.  ??????
  2. Pavlina
    Admin
    Pavlina avatar
    6187 posts

    Posted 17 Jan 2013 Link to this post

    Hello,

    Can you open a support ticket and send a sample project where the described problem can be observed? Thus we will be able to understand what is the exact issues you are facing and advice you further.

    Regards,
    Pavlina
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. Boris
    Boris avatar
    289 posts
    Member since:
    Oct 2012

    Posted 17 Jan 2013 Link to this post

    No, seriously I can't.  My employer does not encourage me to create sample projects and I can't submit tickets on my own.

    In any case, as I said, the problem was eliminated by removing the 'resize' attribute.

    (If I have the time I'll try to rough out something.)

  4. Boris
    Boris avatar
    289 posts
    Member since:
    Oct 2012

    Posted 21 Jan 2013 Link to this post

    I've just completed a demo.  This was easier than I thought.  Doesn't even need a table to do this.  A div with Resize will do it.
    The first DatePicker will not popup unless you click on the upper edge of the icon.  The second is normal.

    The project itself references Telerik.Web.UI version 2012.2.607.40

    I've attached an image of the running page.

    Here's the source of the page:
    <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="ResizeTest.WebForm1" %>
    <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
    <!DOCTYPE html>
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
        <title></title>
    </head>
    <body>
        <form id="form1" runat="server">
            <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
                <Scripts>
                    <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js">
                    </asp:ScriptReference>
                    <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js">
                    </asp:ScriptReference>
                    <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js">
                    </asp:ScriptReference>
                </Scripts>
            </telerik:RadScriptManager>
        <div style="resize:both">
        
            <telerik:RadDatePicker ID="RadDatePicker1" runat="server" Culture="en-US"></telerik:RadDatePicker>

            <br />

        </div>
            <telerik:RadDatePicker ID="RadDatePicker2" Runat="server">
            </telerik:RadDatePicker>
        </form>
    </body>
    </html>
  5. Pavlina
    Admin
    Pavlina avatar
    6187 posts

    Posted 22 Jan 2013 Link to this post

    Hi Boris,

    May I ask you to download the latest version of RadControls for ASP.NET AJAX(2012.3.1308) and see if the issue with DatePicker still persists.

    All the best,
    Pavlina
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  6. Boris
    Boris avatar
    289 posts
    Member since:
    Oct 2012

    Posted 22 Jan 2013 Link to this post

    I'll ask my manager.  :-)
    Thanks.
Back to Top