How to set the value to display in 2 decimal point? The code below can't show the decimal point.
RadChart_Overall.Series(0).DefaultLabelValue =
"#%"
| <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" |
| Theme="Texon" %> |
| <%@ 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"> |
| <html xmlns="http://www.w3.org/1999/xhtml"> |
| <head runat="server"> |
| <title></title> |
| </head> |
| <body> |
| <form id="form1" runat="server"> |
| <div> |
| <telerik:RadScriptManager ID="RadScriptManager1" runat="server"> |
| </telerik:RadScriptManager> |
| <telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="True" DataSourceID="SqlDataSource1" |
| GridLines="None" AllowFilteringByColumn="True" AllowSorting="True" |
| ShowGroupPanel="True"> |
| <MasterTableView AutoGenerateColumns="False" DataKeyNames="ip_id" DataSourceID="SqlDataSource1"> |
| <RowIndicatorColumn> |
| <HeaderStyle Width="20px"></HeaderStyle> |
| </RowIndicatorColumn> |
| <ExpandCollapseColumn> |
| <HeaderStyle Width="20px"></HeaderStyle> |
| </ExpandCollapseColumn> |
| <Columns> |
| <telerik:GridBoundColumn DataField="ip_id" DataType="System.Int32" HeaderText="ip_id" |
| ReadOnly="True" SortExpression="ip_id" UniqueName="ip_id"> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn DataField="ip_addr" HeaderText="ip_addr" SortExpression="ip_addr" |
| UniqueName="ip_addr"> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn DataField="ip_first_seen" DataType="System.DateTime" HeaderText="ip_first_seen" |
| SortExpression="ip_first_seen" UniqueName="ip_first_seen"> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn DataField="ip_last_seen" DataType="System.DateTime" HeaderText="ip_last_seen" |
| SortExpression="ip_last_seen" UniqueName="ip_last_seen"> |
| </telerik:GridBoundColumn> |
| </Columns> |
| </MasterTableView> |
| <ClientSettings AllowColumnsReorder="True" AllowDragToGroup="True"> |
| <Selecting AllowRowSelect="True" /> |
| </ClientSettings> |
| </telerik:RadGrid> |
| <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:NetworkMonitorConnectionString %>" |
| SelectCommand="SELECT * FROM [tbl_ip_addresses]"></asp:SqlDataSource> |
| </div> |
| </form> |
| </body> |
| </html> |
| <appSettings> |
| <add key="Telerik.Skin" value="Texon"/> |
| <add key="Telerik.EnableEmbeddedSkins" value="False"/> |
| </appSettings> |
Hi,
I am using RadGrid with NestedViewTemplate inside
RadSplitter.
When the grid is in normal mode, the dock button from
Radsplitter is working properly.
Please refer to correct.jpg
When I expend the nested template, the dock becomes collapse mode and
can’t click the dock button. When I hover menu icon, the RadPane is
shown but I cannot able to click the dock button because it is auto
collapse. And also can see the blank pane.
Please refer to error.jpg
Please help me to solve this
Thanks in advance.
The TabStrip is tied to a MultiPageView control, but I have the
TabStrip
set to postback on tab click so I can do some other work. When I hover
over the tab, I see the URL of the page with "#" on the end down in the
browser's status bar. When I click, nothing happens. It never posts
back.
The really strange bit about this is that it had been working.
example;- http://localhost:4770/AceSiteManager/ManageProjectGroup.aspx#
it's very urgent plz....<
script type="text/javascript">
function OnClientFileSelectedHandler(sender, eventArgs)
{
debugger;
var input = eventArgs.get_fileInputField();
//check the extension
if (sender.isExtensionValid(input.value))
{
var img = document.getElementById('<%= imgAttach.ClientID %>');
if (img)
{
img.style.visibility =
"";
img.src = eventArgs.get_fileInputField().value;
}
}
}
</script>
Please hepl me and if can send me a example about this.Thanks
| function openRadWindow() { |
| var oWnd = radopen("update_leave.aspx", "rwUpdateLeave"); |
| oWnd.Center(); |
| } |
| <a style="cursor: hand;" onclick="openRadWindow()"><img src="/images/rotator_edit.gif" width="11" height="11" alt="Update your leave status" /></a> |
| <telerik:RadWindowManager ID="RadWindowManager1" runat="server" Skin="Windows7" VisibleStatusbar="false" DestroyOnClose="true" Animation="Fade" Behaviors="Close, Reload" Style="z-index: 7001;"> |
| <Windows> |
| <telerik:RadWindow ID="rwImage" runat="server" Skin="Windows7" NavigateUrl="image.aspx" AutoSize="false" VisibleStatusbar="false" DestroyOnClose="true" Animation="Fade" Behaviors="Close, Reload" Modal="true" Width="625px" Height="387px"> |
| </telerik:RadWindow> |
| <telerik:RadWindow ID="rwUpdateLeave" runat="server" Skin="Windows7" NavigateUrl="update_leave.aspx" AutoSize="false" VisibleStatusbar="false" DestroyOnClose="true" Animation="Fade" Behaviors="Close, Reload" Modal="true" Width="400px" Height="400px"> |
| </telerik:RadWindow> |
| </Windows> |
| </telerik:RadWindowManager> |