radcombobox

How do you read the chosen value from a RadComboBox?

烈酒焚心 提交于 2019-12-11 14:48:43
问题 Inside a RadGrid, I have a drop RadComboBox that is populated by a web service. I am using an EditItemTemplate nested inside a GridTemplateColumn to hold it, as shown: On the server side, how can I access the value chosen by the user from the RadComboBox? <telerik:GridTemplateColumn UniqueName="UserCol" HeaderText="proto user" DataField="UserID"> <EditItemTemplate> <telerik:RadComboBox ID="RadComboBox1" runat="server" AutoPostBack="false" CausesValidation="true" Width="240" MaxHeight="200px"

telerik RadComboBox find Returns null - why?

主宰稳场 提交于 2019-12-11 12:41:49
问题 why the below javascript code always returns null (mean alert) ? <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="WebApplication3.WebForm1" %> <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> <!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"> <head id="Head1" runat="server"> <title></title> </head> <body

Telerik RadCombobox not keeping state when using client side requestItems() to load

社会主义新天地 提交于 2019-12-11 07:24:46
问题 I'm using the Telerik RadComboBox control. I have two related combos and when the user selects a value in the first one I filter the second one. I use the code below to achieve this: localeCombo = $find("<%= ddlLocale.ClientID %>"); localeCombo.requestItems(item.get_value(), false); This works totally fine, but when I do a postback my filtered combo resets to the original non filtered list, although all other controls retain their state. I assume this is because the server side list of items

Forcing RadComboBox drop down direction

拥有回忆 提交于 2019-12-10 13:51:55
问题 Users are desiring that the drop down window of a RadComboBox go up instead of down, regardless of where on the screen they are. Not sure why, but how would you implement this? Note: I have a RadComboBox with a custom template, not the default implementation. Thanks. 回答1: You have to disable screen boundary detection. Then you can set the expand direction to "Up", e.g: <telerik:RadComboBox runat="server" EnableScreenBoundaryDetection="false" ExpandDirection="Up" /> Update: it seems this also

RadComboBox selected value is empty

拜拜、爱过 提交于 2019-12-10 10:48:17
问题 I get the SelectedValue = "" when i click on My button . My aspx : <telerik:RadComboBox ID="ddl_contactList" runat="server" AutoPostBack="True" CausesValidation="False" CollapseDelay="0" Culture="ar-EG" ExpandDelay="0" Filter="StartsWith" ItemsPerRequest="10" MarkFirstMatch="true" Skin="Outlook" EnableAutomaticLoadOnDemand="True" EmptyMessage="-New Menu-" ShowMoreResultsBox="True" OnSelectedIndexChanged="ddl_contactList_SelectedIndexChanged" EnableItemCaching="false" EnableLoadOnDemand="True"

RadComboBox selected value is empty

无人久伴 提交于 2019-12-06 06:01:33
I get the SelectedValue = "" when i click on My button . My aspx : <telerik:RadComboBox ID="ddl_contactList" runat="server" AutoPostBack="True" CausesValidation="False" CollapseDelay="0" Culture="ar-EG" ExpandDelay="0" Filter="StartsWith" ItemsPerRequest="10" MarkFirstMatch="true" Skin="Outlook" EnableAutomaticLoadOnDemand="True" EmptyMessage="-New Menu-" ShowMoreResultsBox="True" OnSelectedIndexChanged="ddl_contactList_SelectedIndexChanged" EnableItemCaching="false" EnableLoadOnDemand="True" EnableVirtualScrolling="True"> </telerik:RadComboBox> My .cs : private void BindContactLists(int year,