I would like to modify one of the existing themes in my project. Can I extract one of the built in themes and modify it with a different name. Is this even possible? I am mainly concerned with the Radform theme.
I need a control that does the following thing:
A Normal button on Top, and if i click on the button, it opens e.g. exact the same buttons (visually the same full button) with other text in it
directly under the button above.
-----------
| 13:00 | Button 1 ( Normal state)
-----------
------------
| 13:00 | Button 1 (Expanded state)
------------
| 15:00 | Button 2
------------
| 17:00 | Button 3
-----------
Please could you tell me how can i realize this ?
Thank you very much
private
void
orderItems_grid_CustomSorting(
object
sender, GridViewCustomSortingEventArgs e)
{
if
(
this
.orderItems_grid.SortDescriptors.Count == 0)
{
return
;
}
int
result = 0;
SD_OrderItems item1 = e.Row1.DataBoundItem
as
SD_OrderItems;
SD_OrderItems item2 = e.Row2.DataBoundItem
as
SD_OrderItems;
for
(
int
i = 0; i <
this
.orderItems_grid.SortDescriptors.Count; i++)
{
string
cellValue1 = e.Row1.Cells[
this
.orderItems_grid.SortDescriptors[i].PropertyName].Value.ToString();
string
cellValue2 = e.Row2.Cells[
this
.orderItems_grid.SortDescriptors[i].PropertyName].Value.ToString();
if
(item1.ParentOrderItem.HasValue && item2.ParentOrderItem.HasValue)
{
if
(item1.ParentOrderItem.Value == item2.ParentOrderItem.Value)
result = cellValue1.CompareTo(cellValue2);
else
result = item1.ParentOrderItem.Value.CompareTo(item2.ParentOrderItem.Value);
}
else
{
result = cellValue1.CompareTo(cellValue2);
}
if
(result != 0)
{
if
(
this
.orderItems_grid.SortDescriptors[i].Direction == ListSortDirection.Descending)
{
result *= -1;
}
break
;
}
}
e.SortResult = result;
}
Hello,
I have created a custom theme for an application and I would like to know how I can theme the ExplorerBar view mode.
While exporting the premade theme “ControlDefault” as example, I only find these files in my directory:
I am trying to create by myself the missing one (“_RadPageViewExplorerBarElement.xml”), but I fails in this task.
Can you please provide me this xml as example?
I am currently working in version 2010_2_10_914 (Q2SP2).
Thank you.