if ((base.DesignMode || !this.Browser.IsBrowser("Gecko")) || ((this.Browser.IsBrowser("Gecko") && !this.setWidth.IsEmpty) && (this.setWidth.Type == UnitType.Percentage))) { writer.AddStyleAttribute("width", "100%"); } else { writer.AddStyleAttribute("width", this.setWidth.IsEmpty ? this.defaultWidth.ToString() : this.setWidth.ToString()); }
I have a bar chart with multiple series.
chartResults.DataManager.ValuesYColumns = "fValue"
chartResults.DataManager.ValuesXColumn = "iDate"
chartResults.DataGroupColumn = "sType"
chartResults.PlotArea.XAxis.Appearance.ValueFormat = Styles.ChartValueFormat.ShortDate
chartResults.DataSource = dt
chartResults.DataBind()
chartResults.PlotArea.XAxis.AutoScale = True
chartResults.PlotArea.XAxis.IsZeroBased = False
chartResults.PlotArea.YAxis.IsZeroBased = True
chartResults.PlotArea.XAxis.Appearance.Visible = Styles.ChartAxisVisibility.True
When one series exists, the rightmost point lies to the right (correctly) of XLabel 10/23/2012. When a second series is added, the rightmost point moves to the left of 10/23/2012. This is incorrect, and does not reflect the accuracy of the first series.
Can someone offer any advice, or workaround to get the points to stay on their correct x-axis point?
Any help or advice is greatly appreciated! TIA!
<asp:Panel ID="pnlFileUpload" runat="server">
Allowed File Extensions are: .jpg, .gif, .bmp, .png
<telerik:RadUpload id="RadUpload1" Runat="server" AllowedFileExtensions="jpg, gif, bmp, png" TargetFolder="~\Portals\0\ClientLogos" MaxFileInputsCount="1" >
</telerik:RadUpload>
<asp:Button ID="btnUpload" runat="server" Text="Upload" OnClick="btnUpload_Click" />
</asp:Panel>
When a user clicks on the "Save" button, I want to write a message that says "Saved at [current time]" (like Gmail does when saving a draft). In order to get the current time I was going to use javascript. How do I go about calling the Javascript to get the time and displaying it in my label?
Some things to note:
Any help would be appreciated.