I have the format set to be M/d/yyyy, and it works when selecting a date but if there is any postback on the page it changes for format to use the dashes like M-dd-yyyy. Any ideas how to fix this?
<telerik:RadDatePicker ID="radGridDate1" Runat="server" SelectedDate='<%# DateTime.Parse( Eval("Date", "{0:M/dd/yyyy}")) %>' Width="100px" Skin="Bootstrap" >
<Calendar EnableWeekends="True" ShowRowHeaders="false" Skin="Bootstrap" > </Calendar>
<DateInput DateFormat="M/d/yyyy" DisplayDateFormat="M/d/yyyy" LabelWidth="40%">
<EmptyMessageStyle Resize="None" />
<ReadOnlyStyle Resize="None" />
<FocusedStyle Resize="None" />
<DisabledStyle Resize="None" />
<InvalidStyle Resize="None" />
<HoveredStyle Resize="None" />
<EnabledStyle Resize="None" />
</DateInput>
<DatePopupButton HoverImageUrl="" ImageUrl="" />
</telerik:RadDatePicker>
Trying to use an ODataDataSource with a RadSearchBox. When I try to use it, I get the following error:
The query specified in the URI is not valid. The value for OData query '$orderby' cannot be empty.
Is there a way to set an orderby that I can pass? I don't see an option (or maybe I'm going nuts - could be) and it appears as though the ODataDataSource is just passing a blank $orderby= in the query string.
Thanks,
Richard
I bound the radListview control by client side. I want access control (make it visible true/false) in the OnTemplateDataBoundevent of the RadLitsView.
The event is firing but I don't know how to access the controls in the ListView.
Also I want to set the command Names and fire Item Command event and in the command event want make the RadLitsView rows visible true/false.
Please help me to achieve the above functionality.

Hi!
I have a checkbox column within my TreeList, when Click [Add], I could get almost all of the fields within the <telerik:RadTreeList> except the checkbox field.
I have tried, if I changed the InUse Column to <telerik:TreeListBoundColumn>, it will be included in the ExtractValues Hashtable. But, when I changed it back to checkbox field(code as below), then it is not included in the hashtable. How could I get the value of the checkbox?
Thanks in advance!
SH
<telerik:TreeListTemplateColumn DataField="InUse" UniqueName="InUse" HeaderText="Enabled" EditFormHeaderTextFormat="Enabled: ">
<HeaderStyle Width="30px"></HeaderStyle>
<ItemStyle HorizontalAlign="Center"></ItemStyle>
<ItemTemplate>
<asp:CheckBox ID="chkInUse" runat="server" Checked='<%# Eval("InUse").ToString()=="Y"?true:false %>' Enabled="false" />
</ItemTemplate>
<EditItemTemplate>
<asp:CheckBox ID="chkInUse" runat="server" Checked='<%# Eval("InUse").ToString()=="Y"?true:false %>' />
</EditItemTemplate>
<InsertItemTemplate>
<asp:CheckBox ID="chkInUse" runat="server" />
</InsertItemTemplate>
</telerik:TreeListTemplateColumn>
.aspx.cs
protected void radTreeList_InsertCommand(object sender, TreeListCommandEventArgs e)
{
Hashtable hashPCRelation = new Hashtable();
TreeListEditableItem editItem = e.Item as TreeListEditableItem;
TreeListEditFormItem oEditFormItem = editItem as TreeListEditFormItem;
editItem.ExtractValues(hashPCRelation);
...
}
Hi there
Is there a way to move the DataLabelFields and Title down?
The reason why i ask this. Is, i have line chart that goes into the Negative and my Labels show up on the 0 line and not at the bottom of the chart.
how can this be fixed?
i have attached a picture.
regards
Jeremy
Hello,
I would like to hyperlink the group footer in my GRID. I've tried several approaches on this forum and none of them are working for me. I would like to pass an ID as the hyperlink in each group footer and navigate to an internal page that will show information related to grouped items.
Any help from you guys would be highly appreciated.
Thank you.

1) Is there something similar to GridView’s CommandField in Telerik Radgrid? I need to edit fields row by row.
This is how it is done in GridView:
<asp:CommandField ShowDeleteButton="True" />
<asp:CommandField ShowEditButton="True" />
2) I also need to add a custom button for each row in RadGrid. How can this be done?
Thanks!

Can anyone advise: we need to have 2 slots which visually behave like the current 'All Day' slot - the other being an 'Any Time' slot. This means the job can be carried out any time throughout the day, whether a 10 minute or 2 hour job. Can we customise the scheduler so two slots appear and behave this way?
Alternatively, could we utilise the 1am slot for example (as none of our users would use this), rename it and then customise the view so the 1am/Any Time slot appears under All Day, and then skips 2 - 6am, followed directly by 7am which is by default the first hour of the working day view.
The reason we are hesitant to use/rename the 6am slot is that our users may need to use it.
Any help/advice massively appreciated.
Hi,
I am using a RadGrid to show data (obviously). Within a specific cell I have a literal that is called "DocumentName". The user has an option to rename that generic name to something custom. What I do is have a button that they click and an asp:TextBox control becomes visible with a save button. When I enter text into that textbox and hit the save button I want to get that new value from the textbox. However, I am getting an empty string every time. I have tried multiple ways Here is my code.
foreach (GridDataItem g in EventsDocsRadGV.Items)
{
// First way - returns an empty string
TextBox RenameDocumentName = (TextBox)g.FindControl("RenameDocumentName");
// Second way - returns an empty string
string txt = (g["EventTypeDesc"].FindControl("RenameDocumentName") as TextBox).Text;
// Third way - returns an empty string
GridDataItem item = (GridDataItem)g;
TextBox RenameDocumentName2 = (TextBox)item["EventTypeDesc"].FindControl("RenameDocumentName");
}
I also tried the same only wrapped in this loop
foreach (GridDataItem g in EventsDocsRadGV.MasterTableView.Items)
{
// First way - returns an empty string
TextBox RenameDocumentName = (TextBox)g.FindControl("RenameDocumentName");
// Second way - returns an empty string
string txt = (g["EventTypeDesc"].FindControl("RenameDocumentName") as TextBox).Text;
// Third way - returns an empty string
GridDataItem item = (GridDataItem)g;
TextBox RenameDocumentName2 = (TextBox)item["EventTypeDesc"].FindControl("RenameDocumentName");
}
I can access the other properties and cells that were bound onitemdatabound but not this textbox. Ideas?
Thanks!
