or
<%@ Page Language="VB" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %><script runat="server"> ' Protected Sub personGrid_NeedDataSource(sender As Object, e As Telerik.Web.UI.GridNeedDataSourceEventArgs) Handles personGrid.NeedDataSource Dim _people As List(Of String) = New List(Of String) From { _ "George Washington", "John Adams", "Thomas Jefferson"} personGrid.DataSource = _people End Sub '</script><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <title></title></head><body> <form id="form1" runat="server"> <telerik:RadScriptManager ID="RadScriptManager1" Runat="server"> <Scripts> <asp:ScriptReference Path="Scripts/jquery-1.8.2.min.js" /> </Scripts> </telerik:RadScriptManager> <br /> <div style="width: 100%"> <div style="width: 130px; float: left;">People:</div> <div style="width: 475px; float: left;">...</div> </div> <div style="width: 100%"> <Telerik:RadGrid ID="personGrid" runat="server" GridLines="None" CellSpacing="0"> <MasterTableView AutoGenerateColumns="true"> </MasterTableView> </Telerik:RadGrid> </div> <br /> </form></body></html><div style="width: 100%"> <div style="width: 130px; float: left;">People:</div> <div style="width: 475px; float: left;">...</div></div>
function onClientClose() { alert( "hi"); $find( "<%= RadAjaxManager1.ClientID %>").ajaxRequest(); }
protected void RadAjaxManager1_AjaxRequest(object sender, AjaxRequestEventArgs e)
{
FileGrid.Rebind();
}
i have kept break point here the control does not come at all.
and the radwindow which contains webpage js is
function CloseAndRebind() {
GetRadWindow().Close();
}
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>