| <Telerik:RadGrid AutoGenerateColumns="False" Skin="Vista" GridLines="Both" |
| OnItemDataBound="grForumList_ItemDataBound" ID="grForumList" AllowPaging="True" |
| AllowSorting="True" runat="server"> |
| <PagerStyle Mode="NextPrevAndNumeric" /> |
| <GroupingSettings CaseSensitive="false" /> |
| <MasterTableView TableLayout="Fixed" Dir="RTL" PageSize="2"> |
| <Columns> |
| <Telerik:GridTemplateColumn UniqueName="clForumIcon" HeaderText="סוג"> |
| <ItemTemplate> |
| <YAF:ThemeImage ID="ThemeForumIcon" runat="server" /> |
| </ItemTemplate> |
| </Telerik:GridTemplateColumn> |
| <Telerik:GridTemplateColumn UniqueName="clLnkForum" HeaderText="פורום"> |
| <ItemTemplate> |
| <asp:LinkButton CommandName="Select" ID="lnkForum" runat="server"></asp:LinkButton> |
| </ItemTemplate> |
| </Telerik:GridTemplateColumn> |
| <Telerik:GridBoundColumn SortExpression="ProductName" HeaderText="צפו בפורום" HeaderButtonType="TextButton" UniqueName="lblForumViewing"></Telerik:GridBoundColumn> |
| <Telerik:GridBoundColumn SortExpression="ProductName" HeaderText="תיאור" HeaderButtonType="TextButton" UniqueName="lblForumDescription"></Telerik:GridBoundColumn> |
| <Telerik:GridBoundColumn SortExpression="ProductName" HeaderText="נושאים" HeaderButtonType="TextButton" UniqueName="lblCountTopics"></Telerik:GridBoundColumn> |
| <Telerik:GridBoundColumn SortExpression="ProductName" HeaderText="הודעות" HeaderButtonType="TextButton" UniqueName="lblCountPosts"></Telerik:GridBoundColumn> |
| <Telerik:GridTemplateColumn UniqueName="clLnkLastPosts" HeaderText="הודעה אחרונה"> |
| <ItemTemplate> |
| <asp:LinkButton CommandName="Select" ID="lnkLastPosts" runat="server"></asp:LinkButton> |
| </ItemTemplate> |
| </Telerik:GridTemplateColumn> |
| </Columns> |
| <HeaderStyle Width="80px"></HeaderStyle> |
| </MasterTableView> |
| <PagerStyle Mode="NextPrevAndNumeric" /> |
| </Telerik:RadGrid> |
This cannot be this difficult. When I set the AllowColumnResize = 'true' the grid still won't allow me to resize the column header.
| <telerik:RadGrid ID="MyClientsViewGrid" runat="server" |
| AllowAutomaticDeletes="True" AllowAutomaticInserts="True" |
| AllowAutomaticUpdates="True" AllowSorting="True" DataSourceID="SqlDataSource1" |
| GridLines="None" Skin="Web20" ShowFooter="True"> |
| <ClientSettings AllowColumnsReorder="true" ReorderColumnsOnClient="true"> |
| <Resizing AllowRowResize="True" EnableRealTimeResize="True" ResizeGridOnColumnResize="True" AllowColumnResize="True"></Resizing> |
| </ClientSettings> |
| <HeaderContextMenu Skin="Web20"> |
| <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> |
| </HeaderContextMenu> |
| <MasterTableView AutoGenerateColumns="False" DataKeyNames="ListValueID" DataSourceID="SqlDataSource1" CommandItemDisplay="TopAndBottom" > |
| <Columns> |
| ... |
| </Columns> |
| </MasterTableView> |
| <FilterMenu Skin="Web20"> |
| <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> |
| </FilterMenu> |
| </telerik:RadGrid> |
I found this article but it isn't allowing me to resize (The icon doesn't change into the Resizer)
http://www.telerik.com/help/aspnet-ajax/grdresizingcolumns.html
<
asp:Button ID="btnSubmit" runat="server" Text="Save"/>
<
asp:Label ID="body1" runat="server" ></asp:Label>
<
script type="text/javascript">
Telerik.Web.UI.Editor.CommandList[
"Save"] = function(commandName, editor, args) {
var sBody1 = editor.get_document().getElementById("editBody1555365").innerHTML;
document.getElementById(
"body1").text = sBody1;
alert( "Body1: " + document.getElementById("body1").text);
var btnSubmit = $get("<%=btnSubmit.ClientID%>"); //get a reference to the Asp:Button
btnSubmit.click();
//click it programmatically
};
</script>
<
telerik:RadEditor showSubmitCancelButtons="False" editable="true" SaveInFile="False" ID="RadEditor" runat="server" ></telerik:RadEditor>
When I alert the label I am receiving the content as expected. The problem is when I get inside the code behind for my asp.net button when it gets programmatically clicked it doesnt seem to be able to find any content inside my label 'body1' which it should seeing as it alerted the content just before. It is if the content gets erased when the page does a post back before going inside the save button code behind.
Does anyone know how I can get the content for the ID 'editBody1555365' through the code behind?

Hi,
I have a horizontal bar chart. X-axis (the vertial one) shows 1, 2, 3, 4. And the Y-axis (the horizontal one) shows 0, 0.1, 0.2, 0.3
I tried to format the Y-axis labels as percentage with 1 decimal, as following:
myChart.PlotArea.YAxis.Appearance.CustomFormat = "#.0%"
It didn't work. Actually, I've tried in several ways, it kept showing 0.00% 10.00% ... Always gave me 2 decimals. However, when I tried it on the X-axis, it worked (gave me 100.0% 200.% ... 400.0%)
Anybody knows what's wrong?
Second, could anyone please tell me how to hide the axis labels? I don't want to show 1, 2, 3, 4 along the X-axis.
Thanks,
Vivian
