Hello,
i want to use RadGrid in asp.net with dynamical columns with different widths. There is no autosizing like autofit. I tried it with javascript. It works but it isnt a good solution. I tried here with some functions, but nothing happens on sizing. Only text will be changed. Visible unvisible is also not working. I think telerik is in grid a very bad solution.
in page:
<telerik:RadGrid ID="rgrdSuche" runat="server" Culture="de-DE" OnColumnCreated="rgrdSuche_ColumnCreated" OnSortCommand="rgrdSuche_SortCommand">
<MasterTableView AutoGenerateColumns="true" AllowFilteringByColumn="false">
</MasterTableView>
</telerik:RadGrid>
i tried with the event itemdatabound, but nothing happened:
protected void rgrdSuche_ItemDataBound(object sender, GridItemEventArgs e)
{
try
{
if (e.Item is GridHeaderItem)
{
GridHeaderItem headerItem = e.Item as GridHeaderItem;
for (int i = 0; i < headerItem.Cells.Count; i++)
{
switch (headerItem.Cells[i].Text.Replace(" ", ""))
{
case "Comment":
headerItem.Cells[i].Text = "Comment-Text";
headerItem.Cells[i].Width = Unit.Pixel(400);
break;
default:
break;
...
and event via ColumnCreated will not work also:
protected void rgrdSuche_ColumnCreated(object sender, GridColumnCreatedEventArgs e)
{
switch (e.Column.UniqueName)
{
case "Comment":
e.Column.Visible = false;
e.Column.HeaderText = "Comment-Text";
e.Column.HeaderStyle.Width = Unit.Pixel(400);
e.Column.FilterControlWidth = Unit.Pixel(400);
break;
Hi,
We are looking to include the month and year lines for the x-axis, could you please view the image and let me know if there is a way to do that.
Thank you,
-Sam
Is there a way to clear a multi check rad combo box without postback or is there a clear button already built into the control?
Alex

Dear users,
I need to know the last version of Telerik UI that i can use with .NET 3.5 , currently i'm using 2012.1.411.35.
Thank you in advance,
Cordially

| <MasterTableView CommandItemDisplay="Top" CellSpacing="0" ShowGroupFooter="true" AllowMultiColumnSorting="true" ShowFooter="true" DataKeyNames="NombreTipoCuenta" > |
| <CommandItemTemplate> |
| <asp:ImageButton runat="server" ID="btnExcelExport" ImageUrl="~/images/page_excel.png" OnClick="btnExcelExport_Click" AlternateText="Excel" ToolTip="Excel" /> |
| </CommandItemTemplate> |
| <asp:ImageButton runat="server" ID="btnExcelExport" OnClick="btnExcel_Click" ImageUrl="~/images/page_excel.png" AlternateText="Excel" /> |
| <telerik:RadGrid |
| AutoGenerateColumns="False" |
| ID="tk_Grid" |
| AllowPaging="True" |
| PageSize="20" |
| runat="server" |
| GridLines="None" |
| ShowFooter="false" |
| ShowGroupPanel="false" |
| style="margin-top: 0px" |
| BorderStyle="None" |
| CssClass="Grid" onitemdatabound="tk_Grid_ItemDataBound" Skin="Default" |
| > |
| protected void btnExcelExport_Click(object sender, ImageClickEventArgs e) |
| { |
| tk_Grid.ExportSettings.ExportOnlyData = true; |
| tk_Grid.ExportSettings.IgnorePaging = true; |
| tk_Grid.ExportSettings.OpenInNewWindow = false; |
| tk_Grid.MasterTableView.ExportToExcel(); |
| } |
Hi,
I have been trying to use programmatic binding based on the following demo https://demos.telerik.com/aspnet-ajax/grid/examples/data-binding/client-side/programmatic/defaultcs.aspx but have been having a problem in getting the key value back into the asp.net code behind.
The code is (effectively) the same as the example except I am binding to an entity that has a Guid as a key rather than the EmployeeId in the example and I have added a "delete" button using the following
<telerik:GridButtonColumn UniqueName="DeleteButtonColumn" ButtonType="ImageButton" CommandName="Delete" ConfirmText="Are you sure?" ConfirmDialogType="Classic" ConfirmTitle="Are you sure?" />
I have set up the DataKeyNames and ClientDataKeyNames in the MasterTableView to be DataKeyNames="GUID" and ClientDataKeyNames="GUID"
In the code behind I have added an ItemCommand event that gets called, however
(GridDataItem)e.Item.GetDataKeyValue("GUID") is blank
(GridDataItem)e.Item.KeyValues contains "{GUID:""""}"
Can I use programmatic binding method with a GridButtonColumn with type ImageButton in this way?

Hi Telerik Team,
Our company is working on upgrade application to cloud environment. We are using RadAsyncUpload control on teleirk 2014.2.724.40 version and found an issue with TemporaryFolder. Can we customized how to read / write files in TemporaryFolder ?
Thanks in advance,
Lan


When resizing large images using the imageEditor Resize tool, the width and height being reported in the UI is cropped at 3 characters. So when a large image (eg. 1280x1024) is being resized, the user can get confused.
To repeat this, just visit the online demo: https://demos.telerik.com/aspnet-ajax/imageeditor/examples/resize/defaultcs.aspx
and choose 1280x1024 in the Preset Size drop-down. You'll see that the width and height being reported is '128' and '102' respectively (the ending zeros in both numbers are not visible to the user).
