foreach (GridGroupHeaderItem ghi in ogrid_BilateralCollateralSecurities.MasterTableView.GetItems(GridItemType.GroupHeader))<asp:Button ID="Button1" runat="server" style="text-align: center" onclick="Button1_Click" Text="Generate Chart" /><telerik:RadChart ID="RadChart1" runat="server" Visible="True" AutoLayout="true"> <PlotArea> <XAxis DataLabelsColumn="TimeSampled"> </XAxis> </PlotArea> <ChartTitle Visible="false" /></telerik:RadChart>protected void Button1_Click(object sender, EventArgs e){ RadChart1.AutoLayout= true; RadChart1.Height=450; RadChart1.Width=950; RadChart1.SeriesOrientation = ChartSeriesOrientation.Vertical; RadChart1.DefaultType = ChartSeriesType.Line; RadChart1.ClientSettings.ScrollMode = ChartClientScrollMode.Both; RadChart1.ClientSettings.EnableZoom = true; ChartSeries testSeries = new ChartSeries("Pages/sec", ChartSeriesType.Line); RadChart1.AddChartSeries(testSeries); RadChart1.Series[0].DataYColumn = "SampleValue"; RadChart1.Series[0].Type = ChartSeriesType.Line; RadChart1.Series[0].Appearance.LabelAppearance.RotationAngle = 90; RadChart1.PlotArea.YAxis.AxisMode = ChartYAxisMode.Extended; RadChart1.PlotArea.XAxis.AutoScale = false; RadChart1.PlotArea.XAxis.DataLabelsColumn = "TimeSampled"; RadChart1.DataSourceID = "ChartData"; RadChart1.DataBind();}protected void RC_OnItemDataBound(object sender, ChartItemDataBoundEventArgs e) { e.SeriesItem.Label.ActiveRegion.Click += new RegionClickEventHandler(RCLbl_OnClick); }<telerik:RadTextBox ID="PasswordInput1" runat="server" ValidationGroup="AccContactEdit" TextMode="Password" onkeyup="checkPasswordMatch()" Width="100" CssClass="PasswordInput1" EnableViewState="true"> <PasswordStrengthSettings ShowIndicator="true" TextStrengthDescriptions="Weak;Fair;Good;Better;Best" IndicatorElementBaseStyle="PasswordBase" TextStrengthDescriptionStyles="L0;L1;L2;L3;L4;L5" IndicatorElementID="CustomIndicator" IndicatorWidth="0px" PreferredPasswordLength="8"> </PasswordStrengthSettings> </telerik:RadTextBox>Error
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E)
Timestamp: Fri, 10 May 2013 13:06:43 UTC
Message: Exception thrown and not caught
Line: 248
Char: 8
Code: 0
URI: http://servername/abc/ScriptResource.axd?d=yfWEbJ7bo0GU6EScXNiH-FEG9o6YNZDA6BjeBM9NY0vKh5Mvw3x6SsKkciYcJCR5LRpKHsKisXKtheYpXB-x_Ane6tBJ5bjktNvajConjX4Yk3ozYwTTeE_G6PG5oDlL-eqIahsmLO7nyHnMPgwb9slf_kw1&t=7996caae
|
System.NullReferenceException: Object reference not set to an instance of an object. |
can you please let me know why i am experiencing the above issue.
thanks,
Burepalli V S Rao.
if (e.Container.Mode == SchedulerFormMode.AdvancedInsert) { LinkButton formButton = e.Container.FindControl("InsertButton") as LinkButton; if (formButton != null) { formButton.OnClientClick = "confirmLinkButton(this); return false;"; }}function confirmLinkButton(button) { try { alert("confirmLinkButton"); function linkButtonCallbackFn(arg) { if (arg) { eval(button.href); } }// RadConfirm(insertOverlapMessage, linkButtonCallbackFn, 330, 180, null, "Confirm"); var confirmReturn = confirm(insertOverlapMessage); if (confirmReturn) { eval(button.href); } } catch (e) { alert(" confirmLinkButton: Error Description: " + e.Description + " Error message:" + e.message);}}
RadEditor1.Paragraphs.Add("<H1 class='header1'>My (H1)<H1>", "<H1 class='header1'>")<h1> Text goes here.. </h1><h1 class='header1'> Text goes here.. </h1>