This is a migrated thread and some comments may be shown as answers.

radwindow refreshes

10 Answers 107 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Jayanthi Periyasamy
Top achievements
Rank 1
Jayanthi Periyasamy asked on 11 Jun 2010, 02:40 PM
Hi!

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

Sort by
0
Fiko
Telerik team
answered on 15 Jun 2010, 10:58 AM
Hi Jayanthi,

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.
0
Jayanthi Periyasamy
Top achievements
Rank 1
answered on 17 Jun 2010, 10:52 AM

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);
}




0
Fiko
Telerik team
answered on 22 Jun 2010, 12:33 PM
Hello Jayanthi,

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
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
0
Jayanthi Periyasamy
Top achievements
Rank 1
answered on 25 Jun 2010, 08:56 AM
Hi Sir,
         Thanks for ur replay.
          The sample works fine in ie but in mozilla it refreshes...
           any ideas pls help me.
0
Fiko
Telerik team
answered on 25 Jun 2010, 03:22 PM
Hello Jayanthi,

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
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
0
Jayanthi Periyasamy
Top achievements
Rank 1
answered on 29 Jun 2010, 06:52 AM
Hello Sir,
           Thanks,
            Your sample works fine in chrome but refreshes in ie & mozilla. i will send attachement.
0
Jayanthi Periyasamy
Top achievements
Rank 1
answered on 29 Jun 2010, 08:54 AM
Hello,
       In dynamic tabstrib how to call another aspx page in tabstrib onclick function...
0
Fiko
Telerik team
answered on 01 Jul 2010, 01:17 PM
Hello Jayanthi,

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
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
0
Jayanthi Periyasamy
Top achievements
Rank 1
answered on 05 Jul 2010, 02:09 PM
                

                Thank You,
                Give me a sample forTabClick event.
0
Fiko
Telerik team
answered on 08 Jul 2010, 09:29 AM
Hi Jayanthi,

Could you please check this online demo? I believe that it will fit your requirements.

All the best,
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
Tags
Ajax
Asked by
Jayanthi Periyasamy
Top achievements
Rank 1
Answers by
Fiko
Telerik team
Jayanthi Periyasamy
Top achievements
Rank 1
Share this question
or