or
protected void rgDiscount_ItemDataBound(object sender, Telerik.Web.UI.GridItemEventArgs e)
{
if
(e.Item
is
GridDataItem)
{
GridDataItem gridDataItem = e.Item
as
GridDataItem;
RadDatePicker rdpFrom = gridDataItem.FindControl(
"rdpFrom"
)
as
RadDatePicker;
}Hi, I have done chart before but this one little complex for me. because first column is "Unit" should be shown based on Month columns like Dec2012,Jan2013,Feb2013..etc . Grand Total no need to display. Database query output is : Desired Rad Chart Output is : Please find the link below for project contains database. please give me code to display result like as above. https://docs.google.com/open?id=0B2iTYXKyTlBpa0MtOFdDbUZSRjg Cannot hard code Months in the series,because may have more than 2 columns like Dec2012,Jan2013,Feb2013,Mar2013...etc.. Cannot hard code Unit also,because may have more than 2 values like 001,002,003....etc.. Thank you in advance. |
|
An unhandled exception was generated during the execution of the current
web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below.
|
|
<
telerik:RadEditor
TabIndex
=
"4"
ID
=
"radEditorDescription"
OnClientLoad
=
"OnClientLoad"
EnableResize
=
"false"
runat
=
"server"
Width
=
"640px"
CssClass
=
"marginBottom20 maarginleft10"
>
<
Tools
>
<
telerik:EditorToolGroup
Tag
=
"MainToolbar"
>
<
telerik:EditorTool
Name
=
"AjaxSpellCheck"
/>
<
telerik:EditorTool
Name
=
"Print"
/>
<
telerik:EditorTool
Name
=
"StrikeThrough"
/>
<
telerik:EditorTool
Name
=
"InsertUnorderedList"
/>
<
telerik:EditorTool
Name
=
"InsertOrderedList"
/>
<
telerik:EditorTool
Name
=
"Subscript"
/>
<
telerik:EditorTool
Name
=
"Superscript"
/>
<
telerik:EditorTool
Name
=
"FindAndReplace"
ShortCut
=
"CTRL+F"
/>
<
telerik:EditorTool
Name
=
"Undo"
ShortCut
=
"CTRL+Z"
/>
<
telerik:EditorTool
Name
=
"Redo"
ShortCut
=
"CTRL+Y"
/>
<
telerik:EditorTool
Name
=
"Indent"
/>
<
telerik:EditorTool
Name
=
"Outdent"
/>
<
telerik:EditorTool
Name
=
"TableWizard"
/>
<
telerik:EditorTool
Name
=
"InsertSymbol"
/>
<
telerik:EditorTool
Name
=
"JustifyLeft"
/>
<
telerik:EditorTool
Name
=
"JustifyRight"
/>
<
telerik:EditorTool
Name
=
"JustifyFull"
/>
</
telerik:EditorToolGroup
>
<
telerik:EditorToolGroup
>
<
telerik:EditorTool
Name
=
"Bold"
/>
<
telerik:EditorTool
Name
=
"Italic"
/>
<
telerik:EditorTool
Name
=
"Underline"
/>
<
telerik:EditorSeparator
/>
<
telerik:EditorTool
Name
=
"ForeColor"
/>
<
telerik:EditorTool
Name
=
"BackColor"
/>
<
telerik:EditorSeparator
/>
<
telerik:EditorTool
Name
=
"FontName"
/>
<
telerik:EditorTool
Name
=
"RealFontSize"
/>
</
telerik:EditorToolGroup
>
</
Tools
>
<
CssFiles
>
<
telerik:EditorCssFile
Value
=
"~/App_Themes/Web20/Editor.css"
/>
</
CssFiles
>
</
telerik:RadEditor
>