Solved

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

Posted on 2010-09-06
5
2,353 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
Comment Utility
Have you tried setting the EnableScreenBoundaryDetection property to "false" and ExpandDirection property to “Down"?
0
 
LVL 23

Author Comment

by:Rajkumar Gs
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

744 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now