UTILIZANDO REFRESH
Alguém tem ideia de como eu dou refresh
protected void DropDownList2_SelectedIndexChanged(object sender, EventArgs e)
{
if (DropDownList2.SelectedValue == [Ô]2 Eixos[Ô])
{
frame1.Attributes[[Ô]src[Ô]] = [Ô]http://localhost/ReportServer/Pages/ReportViewer.aspx?%2f2Eixos&rs:Command=Render[Ô];
Button2.Visible = true;
Label2.Visible = true;
Label9.Visible = true;
Response.Redirect();
}
else
{
Label2.Visible = false;
Label9.Visible = false;
Button2.Visible = false;
frame1.Attributes[[Ô]src[Ô]] = [Ô]http://localhost/ReportServer/Pages/ReportViewer.aspx?%2fGrafico&rs:Command=Render[Ô];
}
}
protected void DropDownList2_SelectedIndexChanged(object sender, EventArgs e)
{
if (DropDownList2.SelectedValue == [Ô]2 Eixos[Ô])
{
frame1.Attributes[[Ô]src[Ô]] = [Ô]http://localhost/ReportServer/Pages/ReportViewer.aspx?%2f2Eixos&rs:Command=Render[Ô];
Button2.Visible = true;
Label2.Visible = true;
Label9.Visible = true;
Response.Redirect();
}
else
{
Label2.Visible = false;
Label9.Visible = false;
Button2.Visible = false;
frame1.Attributes[[Ô]src[Ô]] = [Ô]http://localhost/ReportServer/Pages/ReportViewer.aspx?%2fGrafico&rs:Command=Render[Ô];
}
}
Explique melhor, refresh no que? O que você quer fazer?
coloca num timer
Coloque o Refresh no final.
protected void DropDownList2_SelectedIndexChanged(object sender, EventArgs e)
{
if (DropDownList2.SelectedValue == [Ô]2 Eixos[Ô])
{
frame1.Attributes[[Ô]src[Ô]] = [Ô]http://localhost/ReportServer/Pages/ReportViewer.aspx?%2f2Eixos&rs:Command=Render[Ô];
Button2.Visible = true;
Label2.Visible = true;
Label9.Visible = true;
Response.Redirect();
}
else
{
Label2.Visible = false;
Label9.Visible = false;
Button2.Visible = false;
frame1.Attributes[[Ô]src[Ô]] = [Ô]http://localhost/ReportServer/Pages/ReportViewer.aspx?%2fGrafico&rs:Command=Render[Ô];
}
DropDownList2.Refresh();
}
protected void DropDownList2_SelectedIndexChanged(object sender, EventArgs e)
{
if (DropDownList2.SelectedValue == [Ô]2 Eixos[Ô])
{
frame1.Attributes[[Ô]src[Ô]] = [Ô]http://localhost/ReportServer/Pages/ReportViewer.aspx?%2f2Eixos&rs:Command=Render[Ô];
Button2.Visible = true;
Label2.Visible = true;
Label9.Visible = true;
Response.Redirect();
}
else
{
Label2.Visible = false;
Label9.Visible = false;
Button2.Visible = false;
frame1.Attributes[[Ô]src[Ô]] = [Ô]http://localhost/ReportServer/Pages/ReportViewer.aspx?%2fGrafico&rs:Command=Render[Ô];
}
DropDownList2.Refresh();
}
Faça seu login para responder