Hi,
I use RadComboBox all over my website. However, I'm now on the 2015 version, Q3, and the RadComboBox works great for the first couple of attempts. But when you click it again, and drag down, sometimes the mouse is 3 higher than the highlighted option in the combo box. It's hard to show a screenshot, but I'd be grateful if somebody could provide some assistance, or ways to fix this.
Hi Telerik Team,
We are using RadDialogOpener to open DocumentManager and ImageManager. In the *manager popup window,when you select a file, there have "css class" property on the right side. We can add css class if we use editor to open these two managers. Can we add css classes if we use RadDialogOpener control to open? You can see the attachment for detailed information.
Thanks,
Lan
<
asp:ScriptManager
ID
=
"sptgrdSoccerPlayers"
runat
=
"server"
></
asp:ScriptManager
>
<
telerik:RadGrid
ID
=
"grdSystemEmails"
RenderMode
=
"Auto"
runat
=
"server"
AutoGenerateColumns
=
"False"
GroupPanelPosition
=
"Top"
AutoGenerateDeleteColumn
=
"True"
AutoGenerateEditColumn
=
"True"
OnItemCommand
=
"RadGrid1_ItemCommand"
CellSpacing
=
"-1"
GridLines
=
"Both"
AllowAutomaticDeletes
=
"True"
DataSourceID
=
"entyEmails"
>
<
MasterTableView
DataKeyNames
=
"id"
DataSourceID
=
"entyEmails"
EditMode
=
"PopUp"
>
<
Columns
>
<
telerik:GridBoundColumn
DataField
=
"id"
DataType
=
"System.Guid"
FilterControlAltText
=
"Filter id column"
HeaderText
=
"id"
ReadOnly
=
"True"
SortExpression
=
"id"
UniqueName
=
"id"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"name"
FilterControlAltText
=
"Filter name column"
HeaderText
=
"name"
SortExpression
=
"name"
UniqueName
=
"name"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"subject"
FilterControlAltText
=
"Filter subject column"
HeaderText
=
"Subject"
SortExpression
=
"subject"
UniqueName
=
"subject"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"authCreatedDate"
DataType
=
"System.DateTime"
FilterControlAltText
=
"Filter authCreatedDate column"
HeaderText
=
"authCreatedDate"
SortExpression
=
"authCreatedDate"
UniqueName
=
"authCreatedDate"
>
</
telerik:GridBoundColumn
>
<
telerik:GridCheckBoxColumn
DataField
=
"isActive"
DataType
=
"System.Boolean"
FilterControlAltText
=
"Filter isActive column"
HeaderText
=
"isActive"
SortExpression
=
"isActive"
UniqueName
=
"isActive"
>
</
telerik:GridCheckBoxColumn
>
</
Columns
>
</
MasterTableView
>
<
FilterMenu
RenderMode
=
"Auto"
></
FilterMenu
>
<
HeaderContextMenu
RenderMode
=
"Auto"
></
HeaderContextMenu
>
</
telerik:RadGrid
>
<
asp:EntityDataSource
ID
=
"entyEmails"
runat
=
"server"
ConnectionString
=
"name=soccerEntities"
DefaultContainerName
=
"soccerEntities"
EnableFlattening
=
"False"
EntitySetName
=
"systemEmails"
></
asp:EntityDataSource
>
This is the screen shot of the edmx file showing the assocation So what I want to show is the value in the email type description value in my grid instead of its guid.
Radcombobox does not load data custom use control. Every time user control loads the rad combo box does not loads the data. Is it possible to load the rad combobox used on custom user control ?
CreatefolderUC.ascx.cs
public partial class CreateFolderUC : System.Web.UI.UserControl
{
protected void RadComboBox1_ItemsRequested(object o, Telerik.Web.UI.RadComboBoxItemsRequestedEventArgs e)
{
GetGroupList();
}
}
CreatefolderUC.ascx
<telerik:RadComboBox ID="RadComboBox1" Runat="server" Width="200px" CheckBoxes="True"
OnItemsRequested="RadComboBox1_ItemsRequested" EnableCheckAllItemsCheckBox="True" Localization-CheckAllString="All"
EmptyMessage="--Select--" CheckedItemsTexts="DisplayAllInInput">
</telerik:RadComboBox>
<
telerik:RadGrid
ID
=
"grdEmail"
runat
=
"server"
AllowFilteringByColumn
=
"True"
EnableAjaxSkinRendering
=
"true"
AllowPaging
=
"True"
Width
=
"900px"
AllowSorting
=
"True"
AutoGenerateColumns
=
"False"
GridLines
=
"None"
onitemcommand
=
"grdEmail_ItemCommand"
onneeddatasource
=
"grdEmail_NeedDataSource"
>
<
MasterTableView
>
<
RowIndicatorColumn
>
<
HeaderStyle
Width
=
"20px"
></
HeaderStyle
>
</
RowIndicatorColumn
>
<
ExpandCollapseColumn
>
<
HeaderStyle
Width
=
"20px"
></
HeaderStyle
>
</
ExpandCollapseColumn
>
<
Columns
>
<
telerik:GridBoundColumn
HeaderText
=
"Service No."
UniqueName
=
"serviceNumber"
DataField
=
"serviceNumber"
>
</
telerik:GridBoundColumn
>
etc...
</
Columns
>
</
MasterTableView
>
</
telerik:RadGrid
>
I want to edit the value of field coming from ObjectDataSource.
My sample code of aspx page:
<
asp:ObjectDataSource
ID
=
"ObjectDataSource1"
runat
=
"server"
SelectMethod
=
"SrchOrder"
TypeName
=
"ClsOrder"
>
<
SelectParameters
>
<
asp:ControlParameter
ControlID
=
"Order Number"
Name
=
"order_id"
PropertyName
=
"Text"
Type
=
"String"
/>
<
asp:ControlParameter
ControlID
=
"Seller"
Name
=
"seller_name"
PropertyName
=
"Text"
Type
=
"String"
/>
</
SelectParameters
>
</
asp:ObjectDataSource
>
<
telerik:RadGrid
ID
=
"radGrid_srch_order"
runat
=
"server"
PageSize
=
"100"
AllowSorting
=
"false"
AllowPaging
=
"false"
ShowFooter
=
"false"
ShowGroupPanel
=
"false"
HeaderStyle-HorizontalAlign
=
"Center"
HeaderStyle-Font-Bold
=
"true"
AutoGenerateColumns
=
"false"
DataSourceID
=
"ObjectDataSource1"
>
<
MasterTableView
AllowFilteringByColumn
=
"False"
AutoGenerateColumns
=
"false"
TableLayout
=
"Auto"
>
<
Columns
>
<
telerik:GridBoundColumn
DataField
=
"order_dt"
AutoPostBackOnFilter
=
"false"
ItemStyle-HorizontalAlign
=
"Center"
HeaderText
=
"Order Date"
SortExpression
=
"order_dt"
AllowFiltering
=
"false"
UniqueName
=
"order_dt"
/>
<
telerik:GridBoundColumn
DataField
=
"seller_first_name"
ItemStyle-HorizontalAlign
=
"Center"
HeaderText
=
"seller First Name"
SortExpression
=
"seller_first_name"
AllowFiltering
=
"false"
UniqueName
=
"seller_first_name"
/>
<
telerik:GridBoundColumn
DataField
=
"seller_last_name"
ItemStyle-HorizontalAlign
=
"Center"
HeaderText
=
"seller Last Name"
SortExpression
=
"seller_last_name"
AllowFiltering
=
"false"
UniqueName
=
"seller_last_name"
/>
<
telerik:GridBoundColumn
DataField
=
"status"
ItemStyle-HorizontalAlign
=
"Center"
HeaderText
=
"Status"
SortExpression
=
"status"
AllowFiltering
=
"false"
UniqueName
=
"status"
/>
</
Columns
>
</
MasterTableView
>
</
telerik:RadGrid
>
protected void btnSearch_Click(object sender, EventArgs e)
{
radGrid_srch_order.DataBind();
}
The value of the field "status" that comes from database are {1, 2, 3, 4} where
1 desc undelivered
2 desc delivered
3 desc paid
4 desc unpaid
How can I show the desc of the status code in GridBoundColumn. I know it can be done from sql query but how can I do it using telerik?
<telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="False" OnItemDataBound="RadGrid1_ItemDataBound" |
GridLines="None" OnNeedDataSource="RadGrid1_NeedDataSource" AllowSorting="True" |
ShowGroupPanel="True" Height="100%" Width="100%" AccessKey="G" AllowPaging="True" |
PageSize="5" ShowStatusBar="True" EnableLinqExpressions="False" OnPreRender="RadGrid1_PreRender"> |
<ExportSettings IgnorePaging="true" OpenInNewWindow="true"> |
<Pdf AllowAdd="false" AllowCopy="true" AllowModify="true" AllowPrinting="true" Author="Anonymous" |
Keywords="None" PageBottomMargin="1in" PageLeftMargin="1in" PageRightMargin="1in" |
PageTopMargin="1in" PageTitle="RadGrid export document" Subject="RadGrid Export" |
Title="RadGrid export" /> |
</ExportSettings> |
<ClientSettings ReorderColumnsOnClient="True" AllowDragToGroup="True" AllowColumnsReorder="True" |
EnableRowHoverStyle="True" AllowGroupExpandCollapse="False"> |
<Selecting AllowRowSelect="True" EnableDragToSelectRows="False" /> |
<ClientEvents OnRowContextMenu="RadGrid1_OnRowContextMenuHandler" OnRowDblClick="RadGrid1_OnRowDblClickHandler" |
OnGridCreated="RadGrid1_OnGridCreated" /> |
<Scrolling AllowScroll="True" UseStaticHeaders="True" /> |
<Resizing AllowColumnResize="True" /> |
</ClientSettings> |
<HeaderContextMenu EnableTheming="True"> |
<CollapseAnimation Duration="200" Type="OutQuint" /> |
</HeaderContextMenu> |
<GroupPanel ID="GroupPanel" Style="width: 100%;"> |
</GroupPanel> |
<PagerStyle AlwaysVisible="True" Mode="NextPrevAndNumeric" /> |
<MasterTableView ClientDataKeyNames="ID,IsLocked,IsLockedByMe,CurrentWorkflowActivityName,CurrentWorkFlowActivityTypeID,IsReferenced" |
DataKeyNames="ID,IsLocked,LockedById,UserAction,UserActionDescription,UserActionType,IsActionedByMe,IsReadByMe,InForce,ActionedByMeOn,ExpiryDate,InRedraft,ActionByDate,ActualExpiryDate,StateTypeID,ApprovalComment,ApproveByDate,Status,Approved,ReviewByDate,ReviewComment,Reviewed,IsOrphaned" |
RetrieveAllDataFields="False" Width="100%" GridLines="None"> |
<Columns> |
<telerik:GridButtonColumn ButtonType="ImageButton" Resizable="False" ShowSortIcon="False" |
UniqueName="Icon"> |
<HeaderStyle Width="18px" /> |
<ItemStyle Wrap="False" /> |
</telerik:GridButtonColumn> |
<telerik:GridBoundColumn DataField="Name" HeaderText="Subject" DataFormatString="<nobr>{0}</nobr>" |
UniqueName="Name"> |
<HeaderStyle Width="190px" /> |
<ItemStyle Wrap="False" /> |
</telerik:GridBoundColumn> |
<telerik:GridBoundColumn DataField="DocRef" HeaderText="Reference" DataFormatString="<nobr>{0}</nobr>" |
UniqueName="DocRef"> |
<HeaderStyle Width="170px" /> |
<ItemStyle Wrap="False" /> |
</telerik:GridBoundColumn> |
<telerik:GridBoundColumn DataField="Version" HeaderText="Version" DataFormatString="<nobr>{0}</nobr>" |
UniqueName="Version"> |
<HeaderStyle Width="45px" /> |
<ItemStyle Wrap="False" /> |
</telerik:GridBoundColumn> |
<telerik:GridBoundColumn DataField="EditorName" HeaderText="Editor" DataFormatString="<nobr>{0}</nobr>" |
UniqueName="Editor"> |
<ItemStyle Wrap="False" /> |
</telerik:GridBoundColumn> |
<telerik:GridBoundColumn DataField="Owner" HeaderText="Owner" DataFormatString="<nobr>{0}</nobr>" |
UniqueName="Owner"> |
<ItemStyle Wrap="False" /> |
<HeaderStyle Width="160px" /> |
</telerik:GridBoundColumn> |
<telerik:GridBoundColumn DataField="Status" HeaderText="State" DataFormatString="<nobr>{0}</nobr>" |
UniqueName="Status"> |
<ItemStyle Wrap="False" /> |
</telerik:GridBoundColumn> |
<telerik:GridBoundColumn DataField="InForce" HeaderText="Published" DataFormatString="<nobr>{0:d}</nobr>" |
UniqueName="InForce" Visible="false"> |
<ItemStyle Wrap="False" /> |
<HeaderStyle Width="100px" /> |
</telerik:GridBoundColumn> |
<telerik:GridBoundColumn DataField="ExpiryDate" HeaderText="Expiry" DataFormatString="<nobr>{0:d}</nobr>" |
UniqueName="Expiry" Visible="false"> |
<HeaderStyle Width="100px" /> |
<ItemStyle Wrap="False" /> |
</telerik:GridBoundColumn> |
<telerik:GridBoundColumn DataField="UserActionDescription" HeaderText="Action" DataFormatString="<nobr>{0}</nobr>" |
UniqueName="Action"> |
<ItemStyle Wrap="False" /> |
</telerik:GridBoundColumn> |
<telerik:GridBoundColumn DataField="Rank" HeaderText="Rank" UniqueName="Rank" Visible="False"> |
<HeaderStyle Width="20px" /> |
<ItemStyle Wrap="False" /> |
</telerik:GridBoundColumn> |
</Columns> |
<SortExpressions> |
<telerik:GridSortExpression FieldName="Name" SortOrder="Ascending" /> |
</SortExpressions> |
</MasterTableView> |
<FilterMenu EnableTheming="True"> |
<CollapseAnimation Duration="200" Type="OutQuint" /> |
</FilterMenu> |
</telerik:RadGrid> |