This is a migrated thread and some comments may be shown as answers.

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

5 Answers 133 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Boris
Top achievements
Rank 1
Boris asked on 14 Jan 2013, 03:12 PM
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.  ??????

5 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 17 Jan 2013, 03:14 PM
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.
0
Boris
Top achievements
Rank 1
answered on 17 Jan 2013, 03:19 PM
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.)

0
Boris
Top achievements
Rank 1
answered on 21 Jan 2013, 06:06 PM
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>
0
Pavlina
Telerik team
answered on 22 Jan 2013, 05:54 PM
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.
0
Boris
Top achievements
Rank 1
answered on 22 Jan 2013, 05:58 PM
I'll ask my manager.  :-)
Thanks.
Tags
General Discussions
Asked by
Boris
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Boris
Top achievements
Rank 1
Share this question
or