Solved

Telerik RadComboBox expanded far apart from the control !! (GUI Issue)

Posted on 2010-09-06
5
2,382 Views
Last Modified: 2012-05-10
We are using Telerik Dropdownllist in one of our Asp.Net application.

Issue is that when we click on the dropdownlist which is on the bottom of the page, the expanded 'tray' of that raddropdownlist seems to detached from the dropdownlist and appears to the top of the page. Dropdownlist and expanded tray are far apart.

Attached screenshots which will be more clear for you regarding the scenario.

Any idea, what's going wrong here ?

Visual Studio 2008 / .Net Framework 3.5

Attachments:-
1) & 2) screenshots (Click to view it in original size)
3) Some of the relevant portion of this ASPX Page. You can see the <telerik:RadComboBox ID="uxRadComboAgent2"  there

If you could help us, it will be great!
Raj
<!-- TOP PART OF THE ASPX PAGE -->

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MApplicationManifestData.aspx.cs"
   MaintainScrollPositionOnPostback="true"  Inherits="MDXIAS.Applications.MApplicationManifestData1" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

.......................


<body>
    <form id="MAppManifestDatafrm" runat="server">
    <telerik:RadScriptManager ID="RdScptMgrMAppManifestData" EnablePartialRendering="true"
        AsyncPostBackTimeout="36000" runat="server">
    </telerik:RadScriptManager>
    <telerik:RadStyleSheetManager ID="RdStyMgrMgrMAppManifestData" EnableStyleSheetCombine="true"
        runat="server">
    </telerik:RadStyleSheetManager>
    <div class="contentcontainer">
        <table style="width: 95%">
            <tr style="height: 400px;">
                <td>
                    <fieldset style="width: 100%; height: 100%">
                    <div style="overflow: auto; height: 100%; width: 99%" id="Div1" runat="server">

..........................

<tr>
                                <td colspan="7">
                                    <asp:UpdatePanel ID="uPnlAgentDetails" runat="server" UpdateMode="Conditional">
                                        <ContentTemplate>
                                            <fieldset style="height:50px; width:100%; vertical-align:middle; text-align:center;">
                                                <legend>Agent Details</legend>
                                                <table border="0" cellspacing="2" cellpadding="3" style="width: 100%;">
                                                    <tr>
                                                        <td class="datatext" style="width: 25%;">
                                                            Agent Name
                                                        </td>
                                                        <td class="datafield" colspan="3">
                                                            <telerik:RadComboBox ID="uxRadComboAgent2" runat="server" Width="250px" Height="250px"
                                                                EmptyMessage="Select a Agent" EnableLoadOnDemand="true"  ShowMoreResultsBox="true"
                                                              OnItemsRequested="uxRadComboAgent2_ItemsRequested" EnableVirtualScrolling="true"  >
                                                            </telerik:RadComboBox>
                                                           
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td class="datafield TDWidth15">
                                                            <asp:TextBox runat="server" ID="uxAgentCode2" Visible="false" />
                                                        </td>
                                                    </tr>
                                                </table>
                                            </fieldset>
                                        </ContentTemplate>
                                        <Triggers>
                                             <asp:AsyncPostBackTrigger ControlID="uxRadComboAgent2" EventName="ItemsRequested" /> 
                                     </Triggers>
                                    </asp:UpdatePanel>                                    
                                </td>
                            </tr>

Open in new window

RadDropdownlist-01.JPG
RadDropdownlist-02.JPG
0
Comment
Question by:Rajkumar Gs
  • 3
  • 2
5 Comments
 
LVL 2

Expert Comment

by:tn-vadimc
ID: 33612448
Have you tried setting the EnableScreenBoundaryDetection property to "false" and ExpandDirection property to “Down"?
0
 
LVL 23

Author Comment

by:Rajkumar Gs
ID: 33615823
Thanks for your suggestion.

When I set EnableScreenBoundaryDetection="false" for that Telerik Dropdownlist, a difference is there!
The expanded tray appeared some more near to the dropdownlist! But even now it is 'far away'.

Property named 'ExpandDirection' is not found for Telerik Dropdownlist. So instead I tried
ExpandAnimation-Type="OutBack"  - no result

Can you tell me which property will do the down animation ?
Raj

0
 
LVL 23

Accepted Solution

by:
Rajkumar Gs earned 0 total points
ID: 33616413
When I add these properties for telerik dropdownlist ( OffsetX="-2" OffsetY="-657"  )
seems to be fixed. But it is not a permanent solution. If we scroll, again will have the same issue. tray will detach from dropdownlist. But not far away as it was before.

Telerik version I am using is 2008.2.826.35

Any permanent solution ?

Raj
0
 
LVL 2

Expert Comment

by:tn-vadimc
ID: 33616736
The ExpandDirection property is available since 2010.2.713

You can try to upgrade, the new version is 2010.2.826 or try it first with a trial version:
http://www.telerik.com/download.aspx
0
 
LVL 23

Author Comment

by:Rajkumar Gs
ID: 33617408
Thanks vadimc.

But upgradation of Telerik is beyond me. It's my company or client purchased this tool.

When I created a new page with the same Telerik Dropdownlist control, it is working fine without showing this 'misbehaviour'.

So I think something else may be the cause of this issue.
Raj
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question