The push button is not visible for Reject. Instead it is showing as plain text. Below is the code I have used for it.
<telerik:RadGrid ID="grvUpdate" runat="server" GridLines="Horizontal"CellPadding="0" BorderWidth="0px" EnableEmbeddedSkins="False"Width="382px" CellSpacing="0"><MasterTableViewAllowPaging="true"PageSize="15"EditMode="PopUp"CommandItemDisplay="Top"AllowFilteringByColumn="false" DataSourceID="SqlDataSource1" AutoGenerateColumns="False" DataKeyNames="Id"><Columns><telerik:GridBoundColumn DataField="Id" DataType="System.Int64" FilterControlAltText="Filter Id column" HeaderText="Id" ReadOnly="True" SortExpression="Id" UniqueName="Id"></telerik:GridBoundColumn><telerik:GridBoundColumn DataField="Name" HeaderText="Name" SortExpression="Name" UniqueName="Name"></telerik:GridBoundColumn><telerik:GridBoundColumn DataField="Amount" HeaderText="Amount" SortExpression="Amount" UniqueName="Amount"></telerik:GridBoundColumn><telerik:GridButtonColumn ButtonType="PushButton" HeaderText="Reject" Text="Reject" UniqueName="Reject" CommandName="Reject"></telerik:GridButtonColumn></Columns></MasterTableView></telerik:RadGrid>
Could you please let me know what changes need to be done for the above code to make push button visible properly.
I want to create a radwindow dialog which have a button for close the window and also after 5 sec the window close automatically.
Thanks in advance.
I have tied the items text to list box using server side programming. I want to bind the ImageURL for the list items in the Radlistbox also programmatic ally but I dont see the ImageURL property in the list of listbox properties or the properties of the item.
I know there is a we have a HTML property something like this ImageUrl ="../App_Themes/Default/Images/
I am not using the listboxitems tag here and so can not use ImageUrl ="../App_Themes/Default/Images/. Is there any way i can use the server side programming to bing the image to the text items?
<tlr:RadListBox RenderMode="Lightweight" runat="server" ID="RadListBoxSource" Height="165px" Width="100px"
AllowTransfer="true" TransferToID="RadListBox1"
ButtonSettings-AreaWidth="30px" >
</tlr:RadListBox>
<tlr:RadListBox RenderMode="Lightweight" runat="server" ID="RadListBox1" Height="165px" Width="100px"
ButtonSettings-AreaWidth="35px" AllowReorder="true" >
</tlr:RadListBox>
Hello,
I need to style a Grid Header Name. I have a Header Name as " Amount tax included". I need to apply styles only for string "tax included" .
Could you please let me know the possible ways to achieve this.?
I have attached the image.
Thanks in advance!!
When using stand-alone ImageManager I keep getting the message:
Telerik.Web.UI.RadUpload with ID='upload1' was unable to find an embedded skin with the name 'Material'. Please, make sure that the skin name is spelled correctly and that you have added a reference to the Telerik.Web.UI.Skins.dll assembly in your project. If you want to use a custom skin, set EnableEmbeddedSkins=false.
I am using Material skin, but obviously the obsolete RadUpload is stille used there?
I use LightWeight rendering but still get the message:
imageManager.Parameters("RenderMode") = Telerik.Web.UI.RenderMode.Lightweight
We're using a custom appointment form as an AdvancedEditTemplate and AdvancedInsertTemplate
Our users want to be able to move the form around so they can see the agenda underneath.
Is there a way to achieve this?
We're on Telerik version 2016 Q2.
Hello Telerik Team,
We have web application built in asp.net 4.5 with Telerik (version 2014.2.724.45) controls. We are facing performance issue with our application.
We inspected our page just to check what all size of data does it renders on a browser.
It renders about 600 KB of data on the page out of which
i) About 300kB is JavaScript
ii)About 80KB is css
and rest being the HTML that are rendered and other data that is rendered on the page.
We Bundled all our CSS and JavaScript file on the page. While tracing the content we also came through Scriptresources.axd and WebResources.axd out which WebResources are already minified.
But Script Resources file are not compressed or minified. Total size of this files is about 160KB. We tried different way of compressing or minifying them but so far didn't get any way to do this.
We would like to request you to provide a possible way where we can minify this SecriptResources.axd file.
Thanks,
Riz
I am trying to implement the Excel like filtering for the RadGrid. I ran into some problems when the distinct values for each columns is not being populated against each column. When I place a breakpoint at the FilterCheckListItemsRequested event handler I found out that this is never being hit and hence the data might not have been populate. I am attaching the RadGrid code
<
asp:Panel
ID
=
"Panel1"
runat
=
"server"
>
<
telerik:radgrid
id
=
"RadGrid1"
runat
=
"server"
OnNeedDataSource
=
"RadGrid1_NeedDataSource"
allowfilteringbycolumn
=
"True"
allowpaging
=
"True"
enablelinqexpressions
=
"True"
allowsorting
=
"True"
headerstyle-horizontalalign
=
"Center"
headerstyle-font-bold
=
"true"
gridlines
=
"Vertical"
showgrouppanel
=
"true"
pagesize
=
"50"
skin
=
"Office2007"
showfooter
=
"True"
virtualitemcount
=
"100000"
AutoGenerateColumns
=
"True"
FilterType
=
"CheckList"
OnFilterCheckListItemsRequested
=
"RadGrid1_FilterCheckListItemsRequested"
>
<
ClientSettings
AllowColumnsReorder
=
"True"
ReorderColumnsOnClient
=
"True"
AllowDragToGroup
=
"True"
>
<
Selecting
AllowRowSelect
=
"True"
/>
<
Scrolling
AllowScroll
=
"True"
UseStaticHeaders
=
"True"
ScrollHeight
=
"500px"
EnableVirtualScrollPaging
=
"true"
SaveScrollPosition
=
"true"
/>
</
ClientSettings
>
<
MasterTableView
GroupLoadMode
=
"Server"
HeaderStyle-Width
=
"170px"
>
<
PagerStyle
Mode
=
"NextPrevNumericAndAdvanced"
/>
<
ItemStyle
Wrap
=
"True"
/>
</
MasterTableView
>
<
HeaderContextMenu
CssClass
=
"GridContextMenu GridContextMenu_Default"
>
</
HeaderContextMenu
>
</
telerik:radgrid
>
</
asp:Panel
>
The code for binding the required setting in code behind is below.
Protected
Sub
RadGrid1_ColumnCreated(
ByVal
sender
As
Object
,
ByVal
e
As
Telerik.Web.UI.GridColumnCreatedEventArgs)
Handles
RadGrid1.ColumnCreated
Dim
boundColumn
As
GridBoundColumn
boundColumn = CType(e.Column, GridBoundColumn)
boundColumn.FilterCheckListEnableLoadOnDemand = True
boundColumn.AutoPostBackOnFilter = True
boundColumn.CurrentFilterFunction = "StartsWith"
boundColumn.FilterCheckListEnableLoadOnDemand = True
boundColumn.FilterControlAltText = "Filter " & boundColumn.UniqueName
boundColumn.DataFormatString = "{0:c}"
boundColumn.ItemStyle.HorizontalAlign = HorizontalAlign.Right
End
If
End
Sub
Protected
Sub
RadGrid1_FilterCheckListItemsRequested(sender
As
Object
, e
As
GridFilterCheckListItemsRequestedEventArgs)
Handles
RadGrid1.FilterCheckListItemsRequested
Dim
DataField
As
String
= TryCast(e.Column, IGridDataColumn).GetActiveDataField()
e.ListBox.DataSource = GetDistinctDataTable(DataField)
e.ListBox.DataKeyField = DataField
e.ListBox.DataTextField = DataField
e.ListBox.DataValueField = DataField
e.ListBox.DataBind()
End
Sub
Private
Function
GetDistinctDataTable(DataField
As
String
)
As
Object
Dim
dt
As
DataTable =
DirectCast
(Session(
"DataTable"
), DataTable)
Dim
uniqueCols
As
DataTable = dt.DefaultView.ToTable(
True
, DataField)
Return
uniqueCols
End
Function
Can you help me as to why this event is never fired. I tried both FilterType="CheckList" and FilterType="Combined"