or
Hi Team,
I need to get the GridBoundColumn values into the new record row when we click the Add Record button.
I am able to find the previous values of lables under GridTemplateColumn but above mention is not clear.
Please let me know how it could be handled.
Regards
SS Bhogal
<PlotArea XAxis-LayoutMode="Normal">
<XAxis LayoutMode="Normal" Appearance-ValueFormat="Currency" Appearance-EndCap="AnchorMask" Visible="True" VisibleValues="Positive">
<AxisLabel><TextBlock Text="Actual Price" Appearance-Position-AlignedPosition=Bottom Visible="true" Appearance-Border-PenStyle="Solid" Appearance-FillStyle-MainColor="Black"></TextBlock></AxisLabel>
</XAxis>
<YAxis AxisMode="Extended" Appearance-ValueFormat="Currency" Appearance-EndCap="AnchorMask" Visible="True" VisibleValues="Positive">
<AxisLabel><TextBlock Text="Predicted Price" Appearance-Position-AlignedPosition=Bottom Visible="true" Appearance-Border-PenStyle="Solid" Appearance-FillStyle-MainColor="Black"></TextBlock></AxisLabel>
</YAxis>
</PlotArea>
I am baffled, no matter how I set it, the labels just dont show up.
Any suggestions would be appreciated.
Thanks
Amol Ajgaonkar
<form id="form1" runat="server"> |
<asp:ScriptManager ID="ScriptManager1" runat="server"> |
</asp:ScriptManager> |
<telerik:RadPanelBar ID="RadPanelBar1" runat="server" Width="100%"> |
<Items> |
<telerik:RadPanelItem runat="server" Text="Panel 1" Expanded="true"> |
<Items> |
<telerik:RadPanelItem runat="server" Expanded="true"> |
<ItemTemplate> |
some text and controls some text and controls |
<br /> |
some text and controls some text and controls |
<br /> |
<telerik:RadPanelBar ID="RadPanelBar2" runat="server" Width="100%"> |
<Items> |
<telerik:RadPanelItem runat="server" Text="Sub Panel 1" Expanded="true"> |
<Items> |
<telerik:RadPanelItem runat="server" Expanded="true"> |
<ItemTemplate> |
some text and controls some text and controls |
<br /> |
some text and controls some text and controls |
<br /> |
</ItemTemplate> |
</telerik:RadPanelItem> |
</Items> |
</telerik:RadPanelItem> |
</Items> |
</telerik:RadPanelBar> |
some text and controls some text and controls |
<br /> |
some text and controls some text and controls |
<br /> |
</ItemTemplate> |
</telerik:RadPanelItem> |
</Items> |
</telerik:RadPanelItem> |
</Items> |
</telerik:RadPanelBar> |
</form> |
<%@ Page Language="C#" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
script
runat
=
"server"
>
</
script
>
<
html
xmlns
=
"http://www.w3.org/1999/xhtml"
>
<
head
runat
=
"server"
>
<
title
></
title
>
</
head
>
<
body
>
<
form
id
=
"form1"
runat
=
"server"
>
<
telerik:RadScriptManager
ID
=
"RadScriptManager1"
runat
=
"server"
>
<
Scripts
>
<
asp:ScriptReference
Assembly
=
"Telerik.Web.UI"
Name
=
"Telerik.Web.UI.Common.Core.js"
>
</
asp:ScriptReference
>
<
asp:ScriptReference
Assembly
=
"Telerik.Web.UI"
Name
=
"Telerik.Web.UI.Common.jQuery.js"
>
</
asp:ScriptReference
>
<
asp:ScriptReference
Assembly
=
"Telerik.Web.UI"
Name
=
"Telerik.Web.UI.Common.jQueryInclude.js"
>
</
asp:ScriptReference
>
</
Scripts
>
</
telerik:RadScriptManager
>
<
asp:EntityDataSource
ID
=
"EntityDataSourceTest"
runat
=
"server"
ConnectionString
=
"name=entity_testEntities"
DefaultContainerName
=
"entity_testEntities"
EnableDelete
=
"True"
EnableFlattening
=
"False"
EnableInsert
=
"True"
EnableUpdate
=
"True"
EntitySetName
=
"test_table"
>
</
asp:EntityDataSource
>
<
br
/>
Gridview<
asp:GridView
ID
=
"GridView1"
runat
=
"server"
AutoGenerateColumns
=
"False"
DataKeyNames
=
"id"
DataSourceID
=
"EntityDataSourceTest"
>
<
Columns
>
<
asp:CommandField
ShowDeleteButton
=
"True"
ShowEditButton
=
"True"
/>
<
asp:BoundField
DataField
=
"id"
HeaderText
=
"id"
ReadOnly
=
"True"
SortExpression
=
"id"
/>
<
asp:BoundField
DataField
=
"test1"
HeaderText
=
"test1"
SortExpression
=
"test1"
/>
<
asp:BoundField
DataField
=
"test2"
HeaderText
=
"test2"
SortExpression
=
"test2"
/>
<
asp:BoundField
DataField
=
"test3"
HeaderText
=
"test3"
SortExpression
=
"test3"
/>
</
Columns
>
</
asp:GridView
>
<
br
/>
RadGrid<
br
/>
<
telerik:RadGrid
ID
=
"RadGrid1"
runat
=
"server"
CellSpacing
=
"0"
DataSourceID
=
"EntityDataSourceTest"
GridLines
=
"None"
AllowAutomaticDeletes
=
"True"
AllowAutomaticInserts
=
"True"
AllowAutomaticUpdates
=
"True"
>
<
ClientSettings
>
<
Selecting
CellSelectionMode
=
"None"
></
Selecting
>
</
ClientSettings
>
<
MasterTableView
AutoGenerateColumns
=
"False"
DataKeyNames
=
"id"
DataSourceID
=
"EntityDataSourceTest"
AllowAutomaticDeletes
=
"False"
AllowAutomaticInserts
=
"False"
AllowAutomaticUpdates
=
"False"
CommandItemDisplay
=
"Top"
>
<
CommandItemSettings
ExportToPdfText
=
"Export to PDF"
></
CommandItemSettings
>
<
RowIndicatorColumn
Visible
=
"True"
FilterControlAltText
=
"Filter RowIndicator column"
>
<
HeaderStyle
Width
=
"20px"
></
HeaderStyle
>
</
RowIndicatorColumn
>
<
ExpandCollapseColumn
Visible
=
"True"
FilterControlAltText
=
"Filter ExpandColumn column"
>
<
HeaderStyle
Width
=
"20px"
></
HeaderStyle
>
</
ExpandCollapseColumn
>
<
Columns
>
<
telerik:GridEditCommandColumn
ButtonType
=
"ImageButton"
FilterControlAltText
=
"Filter EditCommandColumn column"
>
</
telerik:GridEditCommandColumn
>
<
telerik:GridBoundColumn
DataField
=
"id"
DataType
=
"System.Int64"
FilterControlAltText
=
"Filter id column"
HeaderText
=
"id"
ReadOnly
=
"True"
SortExpression
=
"id"
UniqueName
=
"id"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"test1"
FilterControlAltText
=
"Filter test1 column"
HeaderText
=
"test1"
SortExpression
=
"test1"
UniqueName
=
"test1"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"test2"
FilterControlAltText
=
"Filter test2 column"
HeaderText
=
"test2"
SortExpression
=
"test2"
UniqueName
=
"test2"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"test3"
FilterControlAltText
=
"Filter test3 column"
HeaderText
=
"test3"
SortExpression
=
"test3"
UniqueName
=
"test3"
>
</
telerik:GridBoundColumn
>
<
telerik:GridButtonColumn
CommandName
=
"Delete"
ButtonType
=
"ImageButton"
>
</
telerik:GridButtonColumn
>
</
Columns
>
<
EditFormSettings
>
<
EditColumn
FilterControlAltText
=
"Filter EditCommandColumn column"
>
</
EditColumn
>
</
EditFormSettings
>
</
MasterTableView
>
<
FilterMenu
EnableImageSprites
=
"False"
>
</
FilterMenu
>
</
telerik:RadGrid
>
</
form
>
</
body
>
</
html
>