I've faced two issues on RadGrid while using horizontal scroll bar. Those are,
(i) I've used radgrid and set width 950px my concern is when the grid has no records it doesn't appear scroll bar but the sum of columns widths are greater than grid's width if the grid has records horizontal scroll appears.
(ii) And my another issue is I had details table in that same grid here the number of columns exceeds than grid's column but when the grid and details table has records I can't see rest of the columns I meant about the horizontal scroll bar doesn't appear up to details table column. The horizontal scroll bar shows only up to the main grid's column.
Note: I've set details table width 95%, 96% though its not working
Regards,
Balakrishnan Nagarajan
I am new to working with Telerik stuff, can someone tell me how this RadGrid is getting populated:
<
telerik:RadGrid
ID
=
"ActivityTypeSkillGrid"
runat
=
"server"
AllowAutomaticDeletes
=
"True"
AllowAutomaticInserts
=
"True"
AllowAutomaticUpdates
=
"True"
AllowPaging
=
"True"
AutoGenerateColumns
=
"False"
GridLines
=
"None"
Skin
=
"WebBlue"
Width
=
"822px"
PageSize
=
"20"
Visible
=
"false"
OnItemCommand
=
"Grid_ItemCommand"
OnItemInserted
=
"Grid_ItemInserted"
OnItemDeleted
=
"Grid_ItemDeleted"
OnItemUpdated
=
"Grid_ItemUpdated"
AllowFilteringByColumn
=
"true"
OnItemDataBound
=
"Grid_ItemDataBound"
AllowSorting
=
"true"
>
Radgrid update command is not getting triggered. During Update ItemCommand Event is also not getting triggered.
Below is the code,
<telerik:RadGrid ID="rgdUsers" runat="server" AllowPaging="True" ShowFooter="false"
AllowSorting="True" AutoGenerateColumns="False" ShowStatusBar="false"
OnNeedDataSource="rgdUsers_NeedDataSource" AllowFilteringByColumn="true" EnableLinqExpressions="false" Width="100%"
OnItemCommand="rgdUsers_ItemCommand" OnUpdateCommand="rgdUsers_UpdateCommand">
<PagerStyle Mode="NextPrevNumericAndAdvanced" />
<GroupingSettings CaseSensitive="false" />
<MasterTableView CommandItemDisplay="Top" DataKeyNames="UserId">
<Columns>
<Columns>
<EditFormSettings EditFormType="Template">
<FormTemplate>
<table width="200px" cellpadding="0" cellspacing="0">
<tr>
<td>Name
</td>
<td>
<asp:TextBox ID="txtName" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td align="right" colspan="2">
<asp:Button ID="btnUpdate" Text='<%# (Container is GridEditFormInsertItem) ? "Insert" : "Update" %>'
runat="server" CommandName='<%# (Container is GridEditFormInsertItem) ? "PerformInsert" : "Update" %>' CausesValidation="false"></asp:Button>
<asp:Button ID="btnCancel" Text="Cancel" runat="server" CausesValidation="False"
CommandName="Cancel"></asp:Button>
</td>
</tr>
</table>
</FormTemplate>
</EditFormSettings>
</MasterTableView>
<%--<ClientSettings>
<ClientEvents OnRowDblClick="RowDblClick" OnPopUpShowing="onPopUpShowing" />
</ClientSettings>--%>
</telerik:RadGrid>
protected void rgdUsers_UpdateCommand(object sender, Telerik.Web.UI.GridCommandEventArgs e)
{
}
protected void rgdUsers_ItemCommand(object sender, Telerik.Web.UI.GridCommandEventArgs e)
{
}
Can someone help me to know where did I go wrong
I'm attempting to implement a client-side expand-only-one-group function for a relatively simple RadGrid using the 2016Q1 release. I had thought it'd be as simple as:
<
script
type
=
"text/javascript"
>
function rgInspection_GroupExpanding(sender, eventArgs) {
sender.get_masterTableView().collapseAllGroups()
}
</
script
>
<
telerik:RadGrid
DataSourceID
=
"sdsInspection"
ID
=
"rgInspection"
runat
=
"server"
ShowHeader
=
"False"
>
<
ClientSettings
AllowGroupExpandCollapse
=
"True"
>
<
ClientEvents
OnGroupExpanding
=
"rgInspection_GroupExpanding"
/>
</
ClientSettings
>
<
MasterTableView
DataSourceID
=
"sdsInspection"
GroupLoadMode
=
"Client"
GroupsDefaultExpanded
=
"False"
>
…
<
GroupByExpressions
>
<
telerik:GridGroupByExpression
>
<
SelectFields
>
<
telerik:GridGroupByField
FieldName
=
"Title"
/>
</
SelectFields
>
<
GroupByFields
>
<
telerik:GridGroupByField
FieldName
=
"DisplayOrder"
SortOrder
=
"Ascending"
/>
</
GroupByFields
>
</
telerik:GridGroupByExpression
>
</
GroupByExpressions
>
</
MasterTableView
>
</
telerik:RadGrid
>
but that doesn't work.
So I tried expanding all of the groups by clicking them, then running $find("ctl00_cphMain_rgInspection").get_masterTableView().collapseAllGroups(); from the console. It returned 'true' but didn't actually collapse anything. I tried again specifying the optional argument: 0 returns true, everything else returns false, none of the groups actually collapse. I'm at my wits end here and can't for the life of me figure out if it's something I'm doing wrong or a legitimate bug.
I can't have the page postback until the final submission, so using a server-side expand-only-one solution isn't going to work for me. Any help would be greatly appreciated.
Good Day All,
I have a raddatePicker in a Raddataform, i need to style it to suite our dataform look and feel, however i cant seem to get the right property for it to over ride the default style that have been applied.
If you look in the screen shot, i want to change the color of the date when i select it, and as well the color of the date\time in the textbox when i select it.
I have circled the Items that i want to change using my custom style sheet, please let me know if i can change the selected styles...
Hi
all,
I have a problem exporting PDFs... Basically when my grid contains content
in Arabic it exports as ###.
another question, can i add header and footer template to my exported file
"logo, address ..."
Attached screen for the exported pdf view
Thanks for any help,
kholoud
We have been using the Telerik.Web.UI and Telerik.Web.UI.Skins dlls for years. We just upgraded to 2016 Q1. The upgrade added references to a BUNCH of additional dlls - Telerik.Web.Spreadsheet, Telerik.Windows.Documents.Core, Telerik.Windows.Documents.Flow, Telerik.Windows.Documents.Spreadsheet, Telerik.Windows.Zip. None of which we use. Do we now have to ship those dlls? Or is there a way to remove those references and ship a lighter package?