protected void instructor_Clicked(Object sender, ImageMapEventArgs e) { switch (e.PostBackValue) { case "Jardina": TableHighlightReset(); Jardina.BackColor = System.Drawing.Color.Cyan; break; case "Cheung": TableHighlightReset(); Cheung.BackColor = System.Drawing.Color.Cyan; break; case "Reimer": TableHighlightReset(); Reimer.BackColor = System.Drawing.Color.Cyan; break; case "Miolla": TableHighlightReset(); Miolla.BackColor = System.Drawing.Color.Cyan; break; case "Lembright": TableHighlightReset(); Lembright.BackColor = System.Drawing.Color.Cyan; break; case "Yaron": TableHighlightReset(); Yaron.BackColor = System.Drawing.Color.Cyan; break; } }
protected void chrtFleetComparison_Click(object sender, ImageMapEventArgs e) { if (e.PostBackValue.StartsWith("HideLegend")) { ShowLegend = false; chrtComparison.Legends["RightLegend"].Enabled = false; return; } if (e.PostBackValue.StartsWith("ShowLegend")) { ShowLegend = true; chrtComparison.Legends["RightLegend"].Enabled = true; return; } if (e.PostBackValue.StartsWith("LegendClick")) { var seriesName = e.PostBackValue.Split('/')[1]; var gs = GraphInformation.SeriesData.Find(s => s.SeriesName == seriesName); gs.Displayed = !gs.Displayed; ShowSeries.AddOrRemoveString(gs.SeriesName); return; } if (e.PostBackValue.StartsWith("LegendShowLabels")) { var seriesName = e.PostBackValue.Split('/')[1]; var gs = GraphInformation.SeriesData.Find(s => s.SeriesName == seriesName); gs.ShowLabel = !gs.ShowLabel; GraphInformation.ShowLabelSeriesNames.AddOrRemoveString(gs.SeriesName); return; } }
protected void Chart1_Click(object sender, ImageMapEventArgs e) { if (e.PostBackValue.StartsWith("LegendClick")) { int index = int.Parse(e.PostBackValue.Split('/')[1]); // Legend item result LegendItem legendItem = this.Chart1.Legends["Default"].CustomItems[index]; // series item selected Series selectedSeries = this.Chart1.Series[index]; if (selectedSeries.Enabled) { selectedSeries.Enabled = false; legendItem.Cells[0].Image = string.Format(@"chk_unchecked.png"); legendItem.Cells[0].ImageTransparentColor = Color.Red; } else { selectedSeries.Enabled = true; legendItem.Cells[0].Image = string.Format(@"chk_checked.png"); legendItem.Cells[0].ImageTransparentColor = Color.Red; } this.Prepare(); } }
protected void displayChart_Click(object sender, ImageMapEventArgs e) { //displayChart.DataSource = ReportFormsBLL.ConstructData_II(Session["condition"].ToString()); //displayChart.ChartAreas["ChartArea1"].BackColor = Color.FromArgb(209, 237, 254); ////displayChart.Series["Series1"].ChartType = SeriesChartType.Pie; ////displayChart.Series["Series1"].Label = "#VAL"; ////displayChart.Series["Series1"].Points.DataBind(ConstructData(), "Text", "Value", ""); //displayChart.Series["Series1"].ToolTip = "#VALX: #VAL"; ////displayChart.Series["Series1"].LegendToolTip = "#PERCENT"; //displayChart.Series["Series1"].Label = "#VALX:#PERCENT{P}"; //displayChart.Series["Series1"].LegendText = "#VALX"; //displayChart.Series["Series1"].PostBackValue = "#INDEX"; //displayChart.Series["Series1"].LegendPostBackValue = "#INDEX"; //displayChart.Series["Series1"].BorderColor = Color.DarkGray; //displayChart.Series["Series1"].XValueMember = "Text"; //displayChart.Series["Series1"].YValueMembers = "Value"; //displayChart.Series["Series1"].CustomProperties = "PieLabelStyle=Outside"; //displayChart.DataBind(); //int pointIndex = int.Parse(e.PostBackValue); //if (pointIndex >= 0 && pointIndex < displayChart.Series["Series1"].Points.Count) //{ // displayChart.Series["Series1"].Points[pointIndex].CustomProperties += "Exploded=true"; //} }
protected void Chart1_Click(object sender, ImageMapEventArgs e) { //ArrayList arraydate = ReportFormsBLL.ConstructData(rbtn_type.SelectedIndex, Session["Begin"].ToString(), Session["End"].ToString(), ddl_item.SelectedValue); //Chart1.ChartAreas["ChartArea1"].BackColor = Color.FromArgb(209, 237, 254); //Chart1.DataSource = arraydate; //Chart1.Series["Series1"].ToolTip = "#VALX: #VAL"; //Chart1.Series["Series1"].Label = "#VALX:#PERCENT{P}"; //Chart1.Series["Series1"].LegendText = "#VALX"; //Chart1.Series["Series1"].PostBackValue = "#INDEX"; //Chart1.Series["Series1"].LegendPostBackValue = "#INDEX"; //Chart1.Series["Series1"].BorderColor = Color.DarkGray; //Chart1.Series["Series1"].XValueMember = "Text"; //Chart1.Series["Series1"].YValueMembers = "Value"; //// //Chart1.DataBind(); //int pointIndex = int.Parse(e.PostBackValue); //if (pointIndex >= 0 && pointIndex < Chart1.Series["Series1"].Points.Count) //{ // Chart1.Series["Series1"].Points[pointIndex].CustomProperties += "Exploded=true"; //} }
protected void ImageMap1_Click(object sender, ImageMapEventArgs e) { Label1.Text = e.PostBackValue; if (!alleTreffer.ContainsKey(e.PostBackValue)) { alleTreffer.Add(e.PostBackValue, alleTreffer.Count + 1); } if (alleTreffer.Count >= 6) { Label1.Text += " Gewonnen !!!!!!"; Label1.ForeColor = System.Drawing.Color.Red; // Sichern des Spielablaufes im Sitzungszustand Session["Spielablauf"] = alleTreffer.OrderBy(r => r.Value).Select(r => new ImageMapSpielzug { Runde = r.Value, Treffer = r.Key }).ToList(); // Mit strukturiertem Sitzungsobjekt arbeiten var sessObj = new mkoIt.Asp.SessionVar <WebDms2.AspBasics.ImageMapSessionDaten>(Session, "ImageMapDaten"); sessObj.Value.NameSpieler = "Hans"; sessObj.Value.Spielablauf = alleTreffer.OrderBy(r => r.Value).Select(r => new ImageMapSpielzug { Runde = r.Value, Treffer = r.Key }).ToList(); hlSiegerehrung.Visible = true; Response.Redirect("~/AspBasics/ImageMap-Siegerehrung.aspx"); alleTreffer.Clear(); } }
protected void SetInjury(object sender, ImageMapEventArgs e) { imageMapClick = e.PostBackValue; if (!injurylist.Contains(imageMapClick)) { injurylist.Add(imageMapClick); pnlTest = new InjuryMiniPanel((int)Session["Control_Increment"], imageMapClick); pnlTest.ID = "pnlInjury_" + ((int)Session["Control_Increment"]); panelList.Add(pnlTest); Session["Control_Increment"] = ((int)Session["Control_Increment"]) + 1; } else { injurylist.Remove(imageMapClick); foreach (InjuryMiniPanel o in panelList) { if (o.Name.Equals(imageMapClick)) { pnlInjuryList.Controls.Remove(o); panelList.Remove(o); break; } } } this.Page_Load(sender, e); }
protected void Chart1_Click(object sender, ImageMapEventArgs e) { // If user clicks on the map area attribute that corresponds to a legend item if (e.PostBackValue.StartsWith("LegendClick")) { string args = e.PostBackValue.Split('/')[1]; // Identify which legend item was clicked int index = int.Parse(args); // Legend item result LegendItem legendItem = this.Chart1.Legends[0].CustomItems[index]; // Resets all radio button images to be unchecked foreach (LegendItem item in this.Chart1.Legends[0].CustomItems) { item.Cells[0].ImageTransparentColor = Color.Black; item.Cells[0].Image = "radio_button_unchecked.gif"; } this.Chart1.Series[0].ChartType = (SeriesChartType)Enum.Parse(typeof(SeriesChartType), legendItem.Cells[1].Text, true); this.Chart1.Series[0].BorderWidth = this.Chart1.Series[0].ChartType == SeriesChartType.Line ? 3 : 1; legendItem.Cells[0].Image = "radio_button_checked.gif"; legendItem.Cells[0].ImageTransparentColor = Color.Green; } }
protected void crtCompGraph_Click(object sender, ImageMapEventArgs e) { string[] pointData = e.PostBackValue.Split(','); string a = pointData[0]; BindGridViewSubDomain(a); }
protected void Chart1_Click(object sender, ImageMapEventArgs e) { string s = e.PostBackValue; Response.Write(s); //Call piechar visualisation pieChart(Convert.ToInt32(s)); }
protected void imgMapSolarSystem_Click(object sender, ImageMapEventArgs e) { ifSelectResult.Attributes["src"] = "http://en.wikipedia.org/wiki/" + e.PostBackValue; switch (e.PostBackValue) { case "Sun": //when user clicks on the Sun area lbDirection.Text = "The Sun is the star at the centre of the Solar System."; break; case "Mercury": lbDirection.Text = "Mercury is the innermost and smallest planet in the Solar System."; break; case "Venus": lbDirection.Text = "Venus is the second-closest planet to the Sun."; break; case "Earth": lbDirection.Text = "Earth is the third planet from the Sun. It is also referred to as the World and the Blue Planet."; break; case "Mars": lbDirection.Text = "Mars is the fourth planet from the Sun in the Solar System."; break; case "Jupiter": lbDirection.Text = "Jupiter is the fifth planet from the Sun and the largest planet within the Solar System."; break; case "Saturn": lbDirection.Text = "Saturn is the sixth planet from the Sun and the second largest planet in the Solar System, after Jupiter."; break; case "Uranus": lbDirection.Text = "Uranus is the seventh planet from the Sun, and the third-largest and fourth most massive planet in the Solar System."; break; case "Neptune": lbDirection.Text = "Neptune is the eighth planet from the Sun in our Solar System."; break; default: break; } }
protected void imgMapSolarSystem_Click(object sender, ImageMapEventArgs e) { ifSelectResult.Attributes["src"] = "http://zh.wikipedia.org/wiki/" + e.PostBackValue; switch (e.PostBackValue) { case "太阳": //当用户单击太阳 lbDirection.Text = "太阳是位于太阳系中心的恒星."; break; case "水星": lbDirection.Text = "水星是太阳系最内侧同时也是最小的行星."; break; case "金星": lbDirection.Text = "金星是离太阳第二近的行星."; break; case "地球": lbDirection.Text = "地球是太阳的第三颗行星. 同时也是我们所居住的世界, 又称为蓝星."; break; case "火星": lbDirection.Text = "火星是太阳系中离太阳第四近的行星."; break; case "木星": lbDirection.Text = "木星是太阳的第五颗行星同时也是太阳系最大的行星."; break; case "土星": lbDirection.Text = "土星是自太阳起第七颗行星, 也是太阳系中仅次于木星第二大的行星."; break; case "天王星": lbDirection.Text = "天王星是自太阳起第七颗行星, 同时也是太阳系中第三大和第四重的行星."; break; case "海王星": lbDirection.Text = "海王星是我们的太阳系中自太阳起第八颗行星."; break; default: break; } }
protected void ImageMap1_Click(object sender, ImageMapEventArgs e) { ImageMap i = new ImageMap(); i = (ImageMap)sender; Session["postbackval"] = e.PostBackValue; Panel1.Visible = true; }
protected void chrAssetClass_Click(object sender, ImageMapEventArgs e) { string assetClass = e.PostBackValue; selectedAssetClass = assetClass; Session["AssetClass"] = assetClass; lblAssetClassFundReturns.Text = "Asset Class Fund Returns for " + assetClass; refreshData(); }
protected void Chart1_Click(object sender, ImageMapEventArgs e) { int pointIndex = int.Parse(e.PostBackValue); Series series = Chart1.Series["My series"]; if (pointIndex >= 0 && pointIndex < series.Points.Count) { series.Points[pointIndex].CustomProperties += "Exploded=true"; } }
private void ChartStackOnClick(object sender, ImageMapEventArgs imageMapEventArgs) { try { //lblFormatMonth.Text = sender; } catch (Exception) { throw; } }
protected void ImageMap_ecoregions_Click(object sender, ImageMapEventArgs e) { if (e.PostBackValue == "westCasc") { ddl_region.SelectedValue = "WestCascades"; } else if (e.PostBackValue == "eastCasc") { ddl_region.SelectedValue = "EastCascades"; } }
protected void ButtonsMap_Clicked(object sender, ImageMapEventArgs e) { // When a user clicks the "Background" hot spot, // display the hot spot's value. if (e.PostBackValue == "Background") { // string coordinates = Buttons.HotSpots[3].GetCoordinates(); // Msg.Text = "You selected the " + e.PostBackValue + "<br />" + // "The coordinates are " + coordinates; } }
public void ImageMap_BubbleEvent() { PokerImageMap imageMap = new PokerImageMap(); ResetEvents(); ImageMapEventArgs args = new ImageMapEventArgs("HotSpotName"); imageMap.Click += new ImageMapEventHandler(ImageMapClickHandler); Assert.AreEqual(false, clicked, "BeforeClick"); imageMap.DoOnBubbleEven(imageMap, args); Assert.AreEqual(true, clicked, "AfterClick"); }
protected void RegionMap_Clicked(object sender, ImageMapEventArgs e) { string country = e.PostBackValue; string[] country1 = country.Split(','); Session["country"] = country1[0]; Session["countryname"] = country1[1]; Response.Redirect("BrowseProduct.aspx"); }
protected void ImageMap1_Click(object sender, ImageMapEventArgs e) { if (e.PostBackValue.ToString() == clickpoints[(int)Session["i"]]) { Session["authCheck"] = (int)Session["authCheck"] + 1; //sw.Start(); //string now1 = string.Format("{0:HH:mm:ss tt}", DateTime.Now); if(Session["clickstart"]== null) { dtStart = DateTime.Now; Session["clickstart"] = dtStart; } } Session["i"] = (int)Session["i"] + 1; if ((int)Session["i"] < images.Length) { ImageMap1.ImageUrl = images[(int)Session["i"]]; int imageNo1 = (int)Session["i"] + 1; NumberImage.Text = imageNo1.ToString(); } else if ((int)Session["authCheck"] == images.Length) { //sw.Stop(); //TimeSpan ts = sw.Elapsed; //string elapsedTime = String.Format("{0:00}:{1:00}:{2:00}.{3:00}",ts.Hours, ts.Minutes, ts.Seconds,ts.Milliseconds / 10); // TimeSpan span = DateTime.Now.Subtract(dtStart); // int elapsedtime = Convert.ToInt32(span.TotalSeconds); dtEnd = DateTime.Now; DateTime dtStart = Convert.ToDateTime(Session["clickstart"]); double tsDifference = (dtEnd - dtStart).TotalSeconds; double TimeTick = DateTime.Now.Ticks - dtStart.Ticks; Session["clickstart"] = null; ClientScript.RegisterStartupScript(this.GetType(), "myalert", "alert('Success! You have used " + tsDifference + " seconds, " + TimeTick + " ticks');", true); } else { Session["clickstart"] = null; ClientScript.RegisterStartupScript(this.GetType(), "myalert", "alert('Failure!');", true); } }
protected void LinuxChart_Click(object sender, ImageMapEventArgs e) { try { bindKioskHealth(filtercategories1.SelectedItem.Text); SearchText.Value = e.PostBackValue; var page = HttpContext.Current.CurrentHandler as Page; ScriptManager.RegisterStartupScript(page, page.GetType(), "alert", "Chart_Click('" + e.PostBackValue + "');", true); } catch (Exception ex) { string str = ex.Message; } }
/// <summary> /// Handles the Click event of the Chart1 control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="System.Web.UI.WebControls.ImageMapEventArgs"/> instance containing the event data.</param> protected void Chart1_Click(object sender, ImageMapEventArgs e) { // get series name and point index string[] pointData = e.PostBackValue.Split(';'); Series series = Chart1.Series[pointData[0]]; DataPoint point = series.Points[Int32.Parse(pointData[1])]; this.PointData.Value = e.PostBackValue; this.PointValue.Text = point.YValues[0].ToString(); // show the input panel and focus to text box this.InputPanel.Visible = true; this.PointValue.Focus(); }
protected void Chart1_Click(object sender, ImageMapEventArgs e) { int pointIndex = int.Parse(e.PostBackValue); Series series = Chart1.Series["Series1"]; if (pointIndex >= 0 && pointIndex <= series.Points.Count) { series.Points[pointIndex].CustomProperties += "Exploded=true"; if (selectTranSactionS != null) { BindSubCategory(series.Points[pointIndex].AxisLabel, selectTranSactionS); } } }
protected void chrBarra_Click(object sender, ImageMapEventArgs e) { try { this.dsrEspecialidade.SelectParameters["AnoLetivo"].DefaultValue = ddlAnoLetivo.SelectedValue; this.dsrEspecialidade.SelectParameters["Aluno"].DefaultValue = hfdNome.Value; MesSelecionado = e.PostBackValue; this.dsrEspecialidade.SelectParameters["Mes"].DefaultValue = MesSelecionado; this.dsrEspecialidade.DataBind(); chrEspecialidade.Visible = true; } catch (Exception ex) { throw ex; } }
protected void chartIndicador3_Click(object sender, ImageMapEventArgs e) { grvAvances_PP1.DataSource = null; grvAvances_PP1.DataBind(); string color = Convert.ToString(e.PostBackValue); //MonitorConsultaGridPP(grvAvances_PP1, color, 1); //MonitorConsultaGridPP(grvAvances_PP2, color, 2); //MonitorConsultaGridPP(grvAvances_PP3, color, 3); //MonitorConsultaGridPP(grvAvances_PP4, color, 4); //MonitorConsultaGridPP(grvAvances_PP5, color, 5); //MonitorConsultaGridPP(grvAvances_PP6, color, 6); MultiView1.ActiveViewIndex = 2; }
protected void chrEspecialidade_Click(object sender, ImageMapEventArgs e) { try { Profissao profissao = new Profissao().SelecionarPorEspecialidade(e.PostBackValue.ToString()); this.dsrDocente.SelectParameters["AnoLetivo"].DefaultValue = ddlAnoLetivo.SelectedValue; this.dsrDocente.SelectParameters["Aluno"].DefaultValue = hfdNome.Value; this.dsrDocente.SelectParameters["Mes"].DefaultValue = MesSelecionado; this.dsrDocente.SelectParameters["Especialidade"].DefaultValue = profissao.Codigo.ToString(); this.dsrDocente.DataBind(); chrDocente.Visible = true; } catch (Exception ex) { throw ex; } }
protected void ImageMap2_Click(object sender, ImageMapEventArgs e) { switch (e.PostBackValue) { case "Left side tower": ImageMapLabe2.Text = "Left side tower"; break; case "Right side tower": ImageMapLabe2.Text = "Right side tower"; break; default: ImageMapLabe2.Text = "If you click on the left tower or the right tower, a message will display here."; break; } }
protected void ImageMap1_Click(object sender, ImageMapEventArgs e) { switch (e.PostBackValue) { case "Great Britain": ImageMapLabel.Text = "This is the Great Britain"; break; case "United Kingdon": ImageMapLabel.Text = "This is the United Kingdon"; break; default: ImageMapLabel.Text = "If you click on the Great Britain or the United Kingdon, a message will display here."; break; } }
protected void chrtForecastContribution_Click(object sender, ImageMapEventArgs e) { if (e.PostBackValue.StartsWith("LegendClick")) { var seriesName = e.PostBackValue.Split('/')[1]; var gs = GraphInformation.SeriesData.Find(s => s.SeriesName == seriesName); gs.Displayed = !gs.Displayed; GraphInformation.HiddenSeriesNames.AddOrRemoveString(gs.SeriesName); return; } if (e.PostBackValue.StartsWith("LegendShowLabels")) { var seriesName = e.PostBackValue.Split('/')[1]; var gs = GraphInformation.SeriesData.Find(s => s.SeriesName == seriesName); gs.ShowLabel = !gs.ShowLabel; GraphInformation.ShowLabelSeriesNames.AddOrRemoveString(gs.SeriesName); return; } if (e.PostBackValue == "HideSeries") { var legend = chrtForecastContribution.Legends["Legend1"]; legend.Enabled = !GraphInformation.ShowingSeriesInformation; GraphInformation.ShowingSeriesInformation = !GraphInformation.ShowingSeriesInformation; return; } if (e.PostBackValue.StartsWith("HideLegend")) { ShowLegend = false; chrtForecastContribution.Legends["RightLegend"].Enabled = false; return; } if (e.PostBackValue.StartsWith("ShowLegend")) { ShowLegend = true; chrtForecastContribution.Legends["RightLegend"].Enabled = true; return; } }
protected void Chart1_Click(object sender, ImageMapEventArgs e) { switch (ViewState["ChartMode"].ToString()) { case "Year": int year = Convert.ToInt32(e.PostBackValue); BindQuarterChart(year); ViewState["SelectedYear"] = year; break; case "Quarter": BindMonthChart(Convert.ToInt32(e.PostBackValue.ToString().Replace("Q", "")), Convert.ToInt32(ViewState["SelectedYear"])); break; default: break; } }
protected void crtSubdomain_Click(object sender, ImageMapEventArgs e) { string[] pointData = e.PostBackValue.Split(','); subdomain = pointData[0]; mRefNo.Value = subdomain.ToString(); DtGrid = Lo.GetDashboardData("ProdSearchNor", mRefNo.Value); if (DtGrid.Rows.Count > 0) { try { int[] iColumns = { 2, 4, 6, 7, 9, 11, 18, 19, 20, 21, 22, 24, 25, 57, 60, 58, 59, 62, 61 }; RKLib.ExportData.Export objExport = new RKLib.ExportData.Export("Web"); objExport.ExportDetails(DtGrid, iColumns, RKLib.ExportData.Export.ExportFormat.Excel, "ProductIndustryDomian.xls"); } catch (Exception ex) { } } }
protected void imgClassExample_Click(object sender, ImageMapEventArgs e) { lblselectedvalue.Text = ImageMapClassRegion.getclassPart(e.PostBackValue); if (ImageMapClassRegion.getclassPart(e.PostBackValue) == lblClassPart.Text) { lblCorrect.Text = "Good Work you are correct!"; lblCorrect.ForeColor = System.Drawing.Color.Green; lblClassPart.Text = ImageMapClassRegion.randomClassPart(); lblRightCount.Text = (Convert.ToInt32(lblRightCount.Text) +1).ToString(); lblCorrectInRowCount.Text = (Convert.ToInt32(lblCorrectInRowCount.Text) + 1).ToString(); } else { lblWrongCount.Text = (Convert.ToInt32(lblWrongCount.Text) + 1).ToString(); lblCorrect.Text = "I'm sorry that isn't correct try again"; lblCorrect.ForeColor = System.Drawing.Color.Red; lblCorrectInRowCount.Text = "0"; } }
protected void OfficeImageMap_Click(object sender, ImageMapEventArgs e) { OfficeSelectedLabel.Text = e.PostBackValue; }
protected void ButtonLanguageFinnish_Click (object sender, ImageMapEventArgs e) { System.Threading.Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("fi-FI"); FireLanguageChanged(); }
protected void ImageMap1_Click(object sender, ImageMapEventArgs e) { }
protected void ImageMap1_Click(object sender, ImageMapEventArgs e) { lblInfo.Text = "You clicked " + e.PostBackValue; }
protected void ImageMap1_Click(object sender, ImageMapEventArgs e) { Session["Building-Selected"] = e.PostBackValue; Response.Redirect("CampusDashboardPlot.aspx"); }
protected void Chart3_Click(object sender, ImageMapEventArgs e) { beginWaitingCoverDiv(); StringBuilder scriptBuilder = new StringBuilder(); InitChart2(); InitChart3(); switch (DL_Type.SelectedValue) { case "Day": InitChart1("Day"); break; case "Week": InitChart1("Week"); break; case "Month": InitChart1("Month"); break; default: break; } string[] input = e.PostBackValue.Split(','); Series series = Chart3.Series[input[0]]; DataPoint datapoint = series.Points[Convert.ToInt16(input[1])]; string message = ""; string Model=""; string Pdline = ""; string Station = ""; //DateTime timeStart = DateTime.Parse(txtFromDate.Text); //DateTime timeEnd = DateTime.Parse(txtToDate.Text); message += DBConnection + "~"; for (int i = 0; i < lboxStation.Items.Count; i++) { if (lboxStation.Items[i].Selected) { Model=lboxStation.Items[i].Value; } } for (int i = 0; i < DL_Pdline.Items.Count; i++) { if (DL_Pdline.Items[i].Selected) { Pdline=DL_Pdline.Items[i].Value; } } for (int i = 0; i < DL_Station.Items.Count; i++) { if (DL_Station.Items[i].Selected) { Station=DL_Station.Items[i].Value; } } message += Model + "~"; message += Pdline + "~"; message += Station + "~"; message += txtFromDate.Text + "~"; message += txtToDate.Text + "~"; message += datapoint.AxisLabel + "~"; message += "DefectCode"; //showErrorMessage(datapoint.AxisLabel); scriptBuilder.AppendLine("<script language='javascript'>"); scriptBuilder.AppendLine(@"var url= ""DetialShow.aspx?msg=" + message + "\""+" ;"); scriptBuilder.AppendLine(@"window.showModalDialog(url,"+"\""+message+"\""+",'dialogWidth:850px;dialogHeight:650px;status:no;help:no;menubar:no;toolbar:no;resize:no;');"); scriptBuilder.AppendLine("</script>"); ScriptManager.RegisterStartupScript(this.UpdatePanel1, typeof(System.Object), "showErrorMessage", scriptBuilder.ToString(), false); endWaitingCoverDiv(); }
protected void Chart1_Click(object sender, ImageMapEventArgs e) { string[] input = e.PostBackValue.Split(','); BindGrid(); }