Hello,
I am slowly but surely getting my panel bar setup in the manner that would work with my application, however for some reason, the panel bar will not scroll for me when the contents of the <contenttemplate> are larger than the space. I do not get any scrollbar at all and as you can see I do have the ExpandMode=
"FullExpandedItem"
defined. Below is my markup:
<
telerik:RadPanelBar
runat
=
"server"
ID
=
"WebPageLeftPanel"
Height
=
"100%"
Width
=
"100%"
ExpandMode
=
"FullExpandedItem"
>
<
Items
>
<
telerik:RadPanelItem
Text
=
"About This Metric"
Expanded
=
"True"
Selected
=
"true"
>
<
ContentTemplate
>
<
div
class
=
"information"
>
<
h5
>Description</
h5
>
<
p
>
The following metric will show the number of active Blackberry devices per model number within the organization.
The chart provides for a graphical representation to illustrate the percentage each model accounts for in relation to
the total number of devices. Below the chart a table is provided with the information the chart is based on and also
inludes the total number of devices as well.
</
p
>
<
h5
>How to Read</
h5
>
<
p
>
Each pie of the chart represent a percentage of the total number of devices. You can hover over each pie slice for more
details to what the slice represents. Some slices may be too small therefore will not show as easily on the chart, however
the table belows allows you to see the raw data for the chart, which includes the smaller slices.
</
p
>
</
div
>
</
ContentTemplate
>
</
telerik:RadPanelItem
>
<
telerik:RadPanelItem
Text
=
"Quick Links"
>
<
ContentTemplate
>
<
div
class
=
"quicklinks"
>
<
telerik:RadSiteMap
ID
=
"QuickLinks"
runat
=
"server"
DataSourceID
=
"QuickLinksDataSource"
ShowNodeLines
=
"true"
/>
</
ContentTemplate
>
</
telerik:RadPanelItem
>
</
Items
>
</
telerik:RadPanelBar
>
Hello,
I have GridHTMLEditorColumn to display a notes_description. I want to use Editform for update and insert, but for somereason I don't see the editform is not displaying the GridHtmlEditorColumnEditor defined in FormTemplate .
Am I missing something in declaration of this editor in FormTemplate
Thanks
<telerik:RadAjaxPanel runat="server" ID="RadAjaxPanel1" LoadingPanelID="RadAjaxLoadingPanel1">
<telerik:RadGrid ID="RadGridC" DataSourceID="SqlDataSourc1e" runat="server" skin="Windows7"
Height="500px" CellSpacing="0" GridLines="None" NoDetailRecordsText="No records to display"
AutoGenerateEditColumn="false">
<MasterTableView AllowAutomaticInserts="true" AllowAutomaticUpdates="true"AutoGenerateColumns="false"
CommandItemDisplay="Top" DataKeyNames="YEAR" EditMode="PopUp" ShowHeader="false" ShowFooter="false">
<CommandItemSettings AddNewRecordText="Add New record"></CommandItemSettings>
<Columns>
<telerik:GridEditCommandColumnUniqueName="EditCommandColumn" HeaderStyle-Width="20px" ButtonType="ImageButton" >
</telerik:GridEditCommandColumn>
<telerik:GridHTMLEditorColumn UniqueName="Notes" DataField="NOTE_DESC" SortExpression="NOTE_DESC"
HeaderStyle-Width="600px" ItemStyle-Wrap="true" >
</telerik:GridHTMLEditorColumn>
</Columns>
<EditFormSettings PopUpSettings-Modal="true"
PopUpSettings-Height="400px"
PopUpSettings-Width="800px"
PopUpSettings-ShowCaptionInEditForm="false"
InsertCaption="Adding New record"
EditFormType="Template" >
<FormTemplate>
<table id="Table2">
<tr>
<td>
<telerik:GridHTMLEditorColumnEditor runat="server" ID="noteseditor" Editor-Content='<%# Bind("NOTE_DESC") %>'
Editor-EditModes="Design" Editor-OnClientLoad="LimitCharacters" Editor-Height="300px" Editor-Width="200px" >
</telerik:GridHTMLEditorColumnEditor>
</td>
</tr>
</table>
</FormTemplate>
</EditFormSettings>
</MasterTableView>
<ClientSettings>
<Selecting AllowRowSelect="true"/>
<Scrolling AllowScroll="true" UseStaticHeaders="true" />
</ClientSettings>
</RadGrid>
</telerik:RadAjaxPanel>
IList<VT.LibNHSILdb.EntityFAB> myList = SILDB.FabsList();
GRD_messages.DataSource = myList[0].LST_MESSAGE;
GRD_messages.DataBind();
if
(IsPostBack)
{
GRD_messages.DataSource = myList[0].LST_MESSAGE;
GRD_messages.DataBind();
}
function onClientSelectedIndexChanged(item) |
{ |
var combo = item.ComboBox; |
var comboInput = document.getElementById(combo.InputID); |
//here ItemColor is a custom attribute that you can assign in ItemDatabound event |
comboInput.style.backgroundColor = item.Attributes.ItemColor; |
} |
</script> |
function
onClientSelectedIndexChanged(sender, eventArgs) {
var
combo = eventArgs.get_item();
var
comboInput = document.getElementById(combo.InputID);
//here ItemColor is a custom attribute that you can assign in ItemDatabound event
comboInput.style.backgroundColor = item.Attributes.ItemColor;
}