I have been looking for a bit, and have not found the answer. I feel like I just might have overlooked it.
How does the RadSiteMap control know where to break the items into the next column. I am using one of your demos (loading it with XML from code behind - which doesn't work straight out of the ZIP btw). The menu item is set up with a RadSiteMap control with three columns. I can add and remove items from each of the groups, and it will continue to break in the same place. There are two groups under the first column, and one group under each of the others. How does it know, or - more importantly - how do I tell it when to break to another column?
Hi,
how i can compare cell value to his grand total (for after change color).
I try in CellDataBound, but how access to the grand total ?

Is it possible to use ColumnValidation and EditFormIndexColumnIndex index together?
I have a grid where the validation was working as expected. Added editformcolumnindex and now it cannot "find" those columns.
Example following works fine without EditFormIndexColumnIndex
<telerik:GridDropDownColumn DataField="itemManager" UniqueName="editManager" HeaderText="Manager" DataSourceID="sqlDataSource6" ListValueField="adId" ListTextField="adName" EditFormColumnIndex="2" EnableEmptyListItem="true" EmptyListItemText="Select" DropDownControlType="RadComboBox"> <ColumnValidationSettings EnableRequiredFieldValidation="true" EnableModelErrorMessageValidation="true"> <RequiredFieldValidator ForeColor="Red" ErrorMessage=" Required Field"></RequiredFieldValidator> <ModelErrorMessage BackColor="Red" /> </ColumnValidationSettings></telerik:GridDropDownColumn>Hi
I bind Appointments manually with resources, but i can't see the added appointment in radscheudler.
RadScheduler1.Resources.Clear();
RadScheduler1.ResourceTypes.Clear();
ResourceType UserName = new ResourceType("User");
UserName.ForeignKeyField = "TEILNEHMERID";
UserName.KeyField = "TEILNEHMERID";
UserName.TextField = "NACHNAME";
UserName.DataSource = dsTLNINGRP_VIEW.Tables[0].DefaultView;
RadScheduler1.ResourceTypes.Add(UserName);
RadScheduler1.GroupBy = "User";
//RadScheduler1.GroupingDirection = GroupingDirection.Vertical;
RadScheduler1.DataSource = ds.Tables[0].DefaultView;
bindHolidays(dsTLNINGRP_VIEW);
RadScheduler1.DataBind();
Here is the bindHolidays Method
…
Appointment appointment = new Appointment();
appointment.ID = ds.Tables[0].Rows[i]["TEILNEHMERID"].ToString();
appointment.Subject = WAMResource.Abwesend;
appointment.Attributes["TYP"] = "A"; //Abwesend Custom Attributes
appointment.Attributes["BACKCOLOR"] = Color.Red.ToString();
appointment.BackColor = Color.Red;
appointment.Resources.Add(new Telerik.Web.UI.Resource("User", ds.Tables[0].Rows[i]["TEILNEHMERID"].ToString(), "Toprak"));
appointment.Start = DateTime.Parse(ds.Tables[0].Rows[i]["STARTTIME"].ToString());
appointment.End = DateTime.Parse(ds.Tables[0].Rows[i]["ENDTIME"].ToString());
RadScheduler1.InsertAppointment(appointment);
Hi,
We have some columns one decimal and some are two decimals. When we export to excel one decimal column values exported to two decimals and hide the last "o" digit. For example, we have a value in a grid 10.20 while export to excel showing 10.2. How to fix the decimal value issues? Any sample application would be appreciated.

Hi,
We need to set the column width in export to excel file. Currently, its fit the width by using its Header Text. We need to customize it like in grid we have 50px column width but when we export to excel we want to set 20px. How can we achieve the goal? Any sample application would be appreciated.

Hi All,
Have RadGrid, which works fine.
I want data Loadding in RadGrid
It Works fine in FireFox and IE
But Google Chrome RadGrid is not Full displayed.
Have attached the screen shot.
Is there any option to rectify this
Thanking You

I need to retrieve the value of the docTitle GridTemplateColumn, but I'm not having any luck. How can I modify my code to get the docTitle value of the selected row:
Here's the grid markup:
<telerik:RadGrid ID="rgVenDocs" runat="server" DataSourceID="sdsRgVenDocs" AutoGenerateColumns="False" AllowPaging="True" AllowSorting="True" AllowFilteringByColumn="True" ShowGroupPanel="True" Skin="Office2010Black" OnPreRender="rgVenDocs_PreRender" OnItemCommand="rgVenDocs_ItemCommand" OnSelectedIndexChanged="rgVenDocs_SelectedIndexChanged" ShowStatusBar="true" ViewStateMode="Enabled"> <ClientSettings AllowDragToGroup="True" AllowColumnsReorder="True" ReorderColumnsOnClient="True" > </ClientSettings> <MasterTableView DataKeyNames="docIdPk" DataSourceID="sdsRgVenDocs" PagerStyle-AlwaysVisible="true"> <Columns> <telerik:GridButtonColumn ButtonType="LinkButton" CommandName="Select" Text="Select"></telerik:GridButtonColumn> <telerik:GridBoundColumn DataField="docIdPk" ReadOnly="True" HeaderText="docIdPk" SortExpression="docIdPk" UniqueName="docIdPk" DataType="System.Int32" FilterControlAltText="Filter docIdPk column"></telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="docFileName" HeaderText="docFileName" SortExpression="docFileName" UniqueName="docFileName" FilterControlAltText="Filter docFileName column"></telerik:GridBoundColumn> <telerik:GridTemplateColumn DataField="docTitle" HeaderText="Document" UniqueName="docTitle" SortExpression="docTitle" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" HeaderStyle-Font-Bold="true"> <ItemTemplate> <asp:LinkButton ID="lnkDownload" Text='<%# Eval("docTitle") %>' CommandArgument='<%# Eval("docPath") %>' runat="server" OnClick="lnkDownload_Click"></asp:LinkButton> </ItemTemplate> </telerik:GridTemplateColumn> </Columns> </MasterTableView></telerik:RadGrid>
Here's the SelectedIndexChanged code:
protected void rgVenDocs_SelectedIndexChanged(object sender, EventArgs e){ foreach (GridDataItem item in rgVenDocs.SelectedItems){ doctitletest.Text = item["docTitle"].Text;}}
|
Requirements |
|
|
Telerik Product and Version |
2014.1.410.0 |
|
Supported Browsers and Platforms |
Windows 7 - Internet Explorer 11, Chrome Version 34.0.1847.131 m, Firefox v28.0 |
|
Components/Widgets used (JS frameworks, etc.) |
PHP, Javascript, JQuery, HTML, CSS |