This is what I had in the ItemDataBound:
if (lvGalleries.SelectedValue == null && item.DisplayIndex==0) |
item.Selected = true; |
<
telerik:GridTemplateColumn
DataField
=
"TotalToSell"
UniqueName
=
"colAmountToSell"
SortExpression
=
"TotalToSell"
>
<
asp:LinkButton
ID
=
"SortMe"
CommandName
=
"Sort"
CommandArgument
=
"TotalToSell"
runat
=
"server"
Text
=
'Amount To Sell'
></
asp:LinkButton
>
<
telerik:RadAjaxManager
ID
=
"RadAjaxManager1"
runat
=
"server"
>
<
AjaxSettings
>
<
telerik:AjaxSetting
AjaxControlID
=
"grdPlanCrops"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"grdPlanCrops"
LoadingPanelID
=
"RadAjaxLoadingPanel1"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
</
AjaxSettings
>
</
telerik:RadAjaxManager
>
<
asp:Wizard
ID
=
"Wizard2"
runat
=
"server"
ActiveStepIndex
=
"0"
BackColor
=
"#EFF3FB"
BorderColor
=
"#B5C7DE"
BorderWidth
=
"1px"
Font-Names
=
"Verdana"
Font-Size
=
"0.9em"
Height
=
"180px"
Width
=
"640px"
onnextbuttonclick
=
"Wizard1_NextButtonClick"
onsidebarbuttonclick
=
"Wizard1_SideBarButtonClick"
onfinishbuttonclick
=
"Wizard1_FinishButtonClick"
>
<
HeaderStyle
BackColor
=
"#284E98"
BorderColor
=
"#EFF3FB"
BorderStyle
=
"Solid"
BorderWidth
=
"2px"
Font-Bold
=
"True"
Font-Size
=
"0.9em"
ForeColor
=
"White"
HorizontalAlign
=
"Center"
/>
<
NavigationButtonStyle
BackColor
=
"White"
BorderColor
=
"#507CD1"
BorderStyle
=
"Solid"
BorderWidth
=
"1px"
Font-Names
=
"Verdana"
Font-Size
=
"0.8em"
ForeColor
=
"#284E98"
/>
<
SideBarButtonStyle
BackColor
=
"#00AEEF"
Font-Names
=
"Verdana"
ForeColor
=
"White"
/>
<
SideBarStyle
BackColor
=
"#00AEEF"
Font-Size
=
"0.9em"
VerticalAlign
=
"Top"
Width
=
"200px"
/>
<
StepStyle
Font-Size
=
"0.8em"
ForeColor
=
"#333333"
/>
<
WizardSteps
>
<
asp:WizardStep
runat
=
"server"
title
=
"Selección Fecha"
>
<
table
align
=
"center"
class
=
"style1"
>
<
tr
>
<
td
class
=
"style3"
>
Mes</
td
>
<
td
style
=
"text-align: center"
>
<
telerik:RadComboBox
ID
=
"RadComboBox3"
runat
=
"server"
Skin
=
"Windows7"
>
<
Items
>
<
telerik:RadComboBoxItem
runat
=
"server"
Owner
=
""
Text
=
"Enero"
Value
=
"01"
/>
<
telerik:RadComboBoxItem
runat
=
"server"
Owner
=
""
Text
=
"Febreo"
Value
=
"02"
/>
<
telerik:RadComboBoxItem
runat
=
"server"
Owner
=
""
Text
=
"Marzo"
Value
=
"03"
/>
<
telerik:RadComboBoxItem
runat
=
"server"
Owner
=
""
Text
=
"Abril"
Value
=
"04"
/>
<
telerik:RadComboBoxItem
runat
=
"server"
Owner
=
""
Text
=
"Mayo"
Value
=
"05"
/>
<
telerik:RadComboBoxItem
runat
=
"server"
Owner
=
""
Text
=
"Junio"
Value
=
"06"
/>
<
telerik:RadComboBoxItem
runat
=
"server"
Owner
=
""
Text
=
"Julio"
Value
=
"07"
/>
<
telerik:RadComboBoxItem
runat
=
"server"
Owner
=
""
Text
=
"Agosto"
Value
=
"08"
/>
<
telerik:RadComboBoxItem
runat
=
"server"
Owner
=
""
Text
=
"Septiembre"
Value
=
"09"
/>
<
telerik:RadComboBoxItem
runat
=
"server"
Owner
=
""
Text
=
"Octubre"
Value
=
"10"
/>
<
telerik:RadComboBoxItem
runat
=
"server"
Owner
=
""
Text
=
"Noviembre"
Value
=
"11"
/>
<
telerik:RadComboBoxItem
runat
=
"server"
Owner
=
""
Text
=
"Diciembre"
Value
=
"12"
/>
</
Items
>
</
telerik:RadComboBox
>
</
td
>
</
tr
>
<
tr
>
<
td
class
=
"style3"
>
Año</
td
>
<
td
style
=
"text-align: center"
>
<
telerik:RadComboBox
ID
=
"RadComboBox4"
runat
=
"server"
Skin
=
"Windows7"
>
</
telerik:RadComboBox
>
</
td
>
</
tr
>
<
tr
>
<
td
class
=
"style3"
>
</
td
>
<
td
>
</
td
>
</
tr
>
</
table
>
</
asp:WizardStep
>
<
asp:WizardStep
runat
=
"server"
title
=
"Cargar Datos"
>
<
div
style
=
"height: 32px"
>
<
br
/>
<
telerik:RadAsyncUpload
ID
=
"RadAsyncUploadPrueba0"
runat
=
"server"
AllowedFileExtensions
=
"xls,xlsx"
MaxFileInputsCount
=
"1"
MaxFileSize
=
"524288"
OnClientFileSelected
=
""
OnClientFilesSelected
=
""
OnClientValidationFailed
=
"validationFailed"
OnFileUploaded
=
"RadAsyncUpload1_FileUploaded"
>
<
filefilters
>
<
telerik:FileFilter
Description
=
"*.xls; *.xlsx"
Extensions
=
"xls,xlsx"
/>
</
filefilters
>
</
telerik:RadAsyncUpload
>
<
br
/>
</
div
>
</
asp:WizardStep
>
</
WizardSteps
>
</
asp:Wizard
>
if
(!IsPostBack)
{
(RadGridConsulta.Columns.FindByUniqueName (
"Creacion"
)
as
GridDateTimeColumn).DataFormatString = Audinet.Framework.Aplicacion.Configuracion[
"format.datetime.short"
];
(RadGridConsulta.Columns.FindByUniqueName (
"Modificacion"
)
as
GridDateTimeColumn).DataFormatString = Audinet.Framework.Aplicacion.Configuracion[
"format.datetime.short"
];
}
It just works when the list is generated, but when I click the Edit button, the Ajax is triggered but it finally does not render the edit form, returning again to the general listing.<%-- Columna Creacion --%>
<
telerik:GridDateTimeColumn
DataField
=
"Creacion"
HeaderText
=
"Creacion"
UniqueName
=
"Creacion"
ReadOnly
=
"true"
SortExpression
=
"Creacion"
DataType
=
"System.DateTime"
HeaderStyle-Width
=
"140px"
>
</
telerik:GridDateTimeColumn
>
<%-- Columna Modificacion --%>
<
telerik:GridDateTimeColumn
DataField
=
"Modificacion"
HeaderText
=
"Modificacion"
UniqueName
=
"Modificacion"
ReadOnly
=
"true"
SortExpression
=
"Modificacion"
DataType
=
"System.DateTime"
HeaderStyle-Width
=
"140px"
>
</
telerik:GridDateTimeColumn
>
Dear Telerik Team,
we have problem by RadChart legend positioning. Here is our code:
radChart.ClearSkin();
radChart.Skin = skin;
radChart.AutoLayout = true;
radChart.PlotArea.Appearance.Dimensions.Width = 500;
radChart.PlotArea.Appearance.Position.AlignedPosition = AlignedPositions.Left;
radChart.PlotArea.XAxis.Appearance.ValueFormat = Telerik.Charting.Styles.ChartValueFormat.ShortDate;
radChart.PlotArea.XAxis.Appearance.LabelAppearance.RotationAngle = 45;
radChart.PlotArea.XAxis.Appearance.LabelAppearance.CompositionType = LabelItemsCompositionTypes.RowImageText;
radChart.PlotArea.XAxis.Appearance.LabelAppearance.Position.AlignedPosition = AlignedPositions.Top;
radChart.Appearance.TextQuality = TextQuality.ClearTypeGridFit;
radChart.PlotArea.XAxis.AutoScale = true;
radChart.PlotArea.XAxis.IsZeroBased = false;
radChart.Appearance.Border.Visible = false;
radChart.Legend.Appearance.ItemTextAppearance.MaxLength = 20;
radChart.Legend.Appearance.Position.AlignedPosition = AlignedPositions.Right;
radChart.SeriesOrientation = ((RadChartEntity)Session[radChart.ID]).Orientation;
and the problem occurs always by skin change, e.g. by changing “Web20” skin type to “Black” skin type (or vice-versa). Result can be seen in first two attachments. Similar situation rises when ChartSeriesType property is changed (e.g. from line to points). The result by ChartSeriesType property change can be seen at the last attachment.
Can you help us, please?
Thank you very much.
Kind Regards,
SCT