i am using radwindow inside a timer. it refreshes in firefox and works fine in ie...
plz help me...
thanks in advance...
10 Answers, 1 is accepted
I am not quite sure that I understood what exactly the problem is. Could you please provide more details about the behavior that you experience and the expected behavior? Also, could you please paste some code snippets that highlight your setup?
Regards,
Fiko
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
HI Sir,
This is my sample code. I am setting timer interval of 2000 milli seconds. Every time timer_tick event rise, the loop is exeuted. I control radwindow manager in radajaxmanager. it works fine in IE but in mozilla it refreshes.
protected void Timer1_Tick(object sender, EventArgs e)
{
qry = "select id,name,pass from sample";
scmd = new SqlCommand(qry, scn);
sdr = scmd.ExecuteReader(CommandBehavior.CloseConnection);
int pj = 0;
if (sdr.HasRows)
{
while (sdr.Read())
{
pqid = sdr.GetInt32(0);
name = sdr.GetString(1);
pname = sdr.GetString(2);
string loadscript = "openwindow('" + pj.ToString() + "','" + pqid + "','" + name + "','" + pname + "');";
string scriptKey = "loadscript" + pj.ToString();
RadScriptManager.RegisterStartupScript(this, this.GetType(), scriptKey, loadscript, true);
pj++;
}
}
}
javascript function
___________________
function openwindow(w,x,y,z)
{
var url="opennewwindow.aspx?id="+x+"&name="+y+"&pname="+z;
var wname="window"+x+y;
wind=radopen(url,wname);
wind.setSize(570,450);
wind.set_visibleStatusbar(false);
}
The provided information is not enough for me to recreate your scenario. I prepared a demo project, however, and I believe that it shows a similar scenario to the one that you have. Could you please check it attached to this thread? It is fully working and I believe that it will be of help for you.
In case that the provided solution does not help, could you please rework it in order to replicate your scenario, open a new support ticket and send it back? I will check it and do my best to provide a working solution as soon as possible.
Greetings,
Fiko
the Telerik team
Thanks for ur replay.
The sample works fine in ie but in mozilla it refreshes...
any ideas pls help me.
I am not quite sure that I understood your requirements. Could you please provide me with more information about the expected behavior? I am willing to help, but I need to see the problem in order to provide a working solution. It will be best if you send me some screenshots (or a video capture) of the problem that you experience and the behavior that you need to achieve.
Sincerely yours,
Fiko
the Telerik team
Thanks,
Your sample works fine in chrome but refreshes in ie & mozilla. i will send attachement.
In dynamic tabstrib how to call another aspx page in tabstrib onclick function...
You can attach handler to the TabClick event of the RadTabStrip control and perform a redirect to the new ASPX page. Also you can use client-side event of the control and then set the window.location property to point to the new page.
I hope this helps.
Best wishes,
Fiko
the Telerik team
Thank You,
Give me a sample forTabClick event.
Could you please check this online demo? I believe that it will fit your requirements.
All the best,
Fiko
the Telerik team