
reynald lawrence
Top achievements
Rank 1
reynald lawrence
asked on 12 May 2010, 10:44 AM
Hi there,
I have a radcombobox which displays the items correctly with scrollbar when the items exceeds its height in firefox; However when I tried it in IE8 it doesn't display its scrollbar, the radcombobox is locked up with its preloaded top items.
By the way my Telerik.Web.UI version is 2009.1.402.35.
Hope I can get help and resolve this issue.
Regards,
Reynald.
5 Answers, 1 is accepted
0
Hi reynald lawrence,
Please paste here the definition of your RadComboBox as well as the number of Items in it so that I test it on my side. Eventually I will provide you with a custom fix for your version.
Greetings,
Simon
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Please paste here the definition of your RadComboBox as well as the number of Items in it so that I test it on my side. Eventually I will provide you with a custom fix for your version.
Greetings,
Simon
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0

reynald lawrence
Top achievements
Rank 1
answered on 13 May 2010, 04:03 AM
Hi Simon,
The default items that my radcombobox contains is 199 list items. I generated the list items through its ItemsRequested event.
Here's the markup:
<telerik:RadComboBox ID="RadIR" runat="server" SkinID="radComboBox1Skin"
LoadingMessage="<%$ Resources:CommonTerms, Loading %>"
Height="210" ToolTip="<%$ Resources:CommonTooltips, IR %>" EnableLoadOnDemand="true"
AutoPostBack="true" OnItemsRequested="RadIR_ItemsRequested" AllowCustomText="false"
MarkFirstMatch="true" AutoCompleteSeparator=",">
</telerik:RadComboBox>
In my codebehind event, we used customized datacontract view from sql, by default it just return 199 list items:
protected class UserInfo
{
public string Fullname { get; set; }
public string Firstname { get; set; }
public string Lastname { get; set; }
public string Usercode { get; set; }
}
protected void RadIR_ItemsRequested(object sender, RadComboBoxItemsRequestedEventArgs e)
{
UserInformationViewDC[] userList = uivController.FetchAll(hdnTenantId.Value, UserInformationViewDC.Columns.Userstatuscode,
MWEQCommonConstants.UserStatusActive, UserInformationViewDC.Columns.Fullname);
List<UserInfo> allUsers = new List<UserInfo>();
bool blduplicate = false;
string[] sWords = e.Text.Split(',');
if (userList.Length > 0)
{
foreach (string word in sWords)
{
var sgWord = (from u in userList
select new
{
u.Fullname,
u.Firstname,
u.Lastname,
u.Usercode
}).Where(u => u.Firstname.ToLower().StartsWith(word.ToLower()));
if (sgWord != null)
{
foreach (var perWord in sgWord)
{
UserInfo uInfo = new UserInfo();
uInfo.Firstname = perWord.Firstname;
uInfo.Lastname = perWord.Lastname;
uInfo.Fullname = perWord.Fullname;
uInfo.Usercode = perWord.Usercode;
blduplicate = false;
foreach (UserInfo uInfoCS in allUsers)
{
if (uInfoCS.Usercode == uInfo.Usercode)
{
blduplicate = true;
break;
}
}
if (!blduplicate)
{
allUsers.Add(uInfo);
}
}
}
}
int itemsPerRequest = 10;
int itemOffset = e.NumberOfItems;
int endOffset = Math.Min(itemOffset + itemsPerRequest, allUsers.Count);
e.EndOfItems = endOffset == allUsers.Count;
for (int i = itemOffset; i < endOffset; i++)
{
RadComboBoxItem IR = new RadComboBoxItem(string.Format("{0}({1})", HttpUtility.HtmlDecode(allUsers[i].Fullname), HttpUtility.HtmlDecode(allUsers[i].Usercode)));
RadIR.Items.Add(IR);
}
}
}
Hope it can clear up things.
Regards,
Reynald.
0
Hi reynald lawrence,
Thank you for the code.
I tried it and the RadComboBox was missing a scrollbar in both IE and FireFox.
I assume that you are setting some other properties to the control in the radComboBox1Skin theme, so can you please let me know which are these properties so that I add to my local test?
Kind regards,
Simon
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Thank you for the code.
I tried it and the RadComboBox was missing a scrollbar in both IE and FireFox.
I assume that you are setting some other properties to the control in the radComboBox1Skin theme, so can you please let me know which are these properties so that I add to my local test?
Kind regards,
Simon
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0

reynald lawrence
Top achievements
Rank 1
answered on 20 May 2010, 07:33 AM
Hi Simon,
Here's the css skin for my RadComboBox:
<telerik:RadComboBox runat="server" SkinId="radComboBox1Skin" Skin="Gray" Height="210" Width="90.5%" EnableVirtualScrolling="True"
AllowCustomText="true" AutoCompleteSeparator="," IsCaseSensitive="false" MarkFirstMatch="true" EnableItemCaching="true"
ChangeTextOnKeyBoardNavigation="false" EnableEmbeddedSkins="false" >
<CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>
</telerik:RadComboBox>
Hope it helps to fix the issue.
Regards,
Reynald
Here's the css skin for my RadComboBox:
<telerik:RadComboBox runat="server" SkinId="radComboBox1Skin" Skin="Gray" Height="210" Width="90.5%" EnableVirtualScrolling="True"
AllowCustomText="true" AutoCompleteSeparator="," IsCaseSensitive="false" MarkFirstMatch="true" EnableItemCaching="true"
ChangeTextOnKeyBoardNavigation="false" EnableEmbeddedSkins="false" >
<CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>
</telerik:RadComboBox>
Hope it helps to fix the issue.
Regards,
Reynald
0
Hello reynald lawrence,
Thank you for the code.
It seems that you have disabled the embedded CSS files that are used by the Gray skin. In this case, the RadComboBox does not have styling and the issue still does not appear on my side, and I suspect both are related.
Can you also paste here all of custom CSS (if any) that you are using on the same page with the broken RadComboBox?
Kind regards,
Simon
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Thank you for the code.
It seems that you have disabled the embedded CSS files that are used by the Gray skin. In this case, the RadComboBox does not have styling and the issue still does not appear on my side, and I suspect both are related.
Can you also paste here all of custom CSS (if any) that you are using on the same page with the broken RadComboBox?
Kind regards,
Simon
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.