problem with open radwindow

6 posts, 0 answers
  1. bankey
    bankey avatar
    19 posts
    Member since:
    Apr 2008

    Posted 06 Aug 2008 Link to this post

    Hi,

    I have a problem to Use rad window.
    the problem is like
    i am using control radscheduler control. when i schedule any appointment then that form have a facility that it redirect to another form and that form opens in radwindow.
    it works fine for newly appointed window.
    when i click on any appointment then by this code our radwindow opens.
    page_load
    {

    Manager.AjaxRequest += new RadAjaxControl.AjaxRequestDelegate(this.RadAjaxManager1_AjaxRequest);

    }

    protected void RadAjaxManager1_AjaxRequest(object sender, AjaxRequestEventArgs e)

    {

    string URL = "appointment.aspx";

    string script = "radopen('" + URL + "');";


    Manager.ResponseScripts.Add(script);

    }



    now there is problem in update any appointment
    for this when we click any appointment which is already scheduled then our rad window shows all the things clearly and update action is performed successfully
    now here the problem arise.
    after updating appointment when i click to schedule new appointment then it takes previous record.
    also we use debug point on the page load event of that page but its load event is not fired.
    so pls suggest what to do for this.
  2. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 07 Aug 2008 Link to this post

    Hi bankey,

    Try setting DestroyOnClose for the RadWindowManager to true and see how it behaves.


    Regards,
    Georgi Tunev
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. bankey
    bankey avatar
    19 posts
    Member since:
    Apr 2008

    Posted 07 Aug 2008 Link to this post

    I already uses destroyonclose but it have same problem.
  4. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 07 Aug 2008 Link to this post

    Hello again bankey,

    In this case, please open a support ticket and send us a full, working project where the problem can be observed. Just make sure that the project can be run locally and attach it to the ticket - we will check it right away.


    Kind regards,
    Georgi Tunev
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  5. Kenneth Mazur
    Kenneth Mazur avatar
    18 posts
    Member since:
    Jul 2008

    Posted 20 Oct 2009 Link to this post

    Having the same issue.  But I don't wish to close the previous window.  I want to open unique records in each window, but every time the 2nd, 3rd, etc window is opened, the same symptoms appear.  Only the 1st record information is displayed and the load event of the target form does not get fired.

    Was there any resolution to this issue?
  6. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 20 Oct 2009 Link to this post

    Hello Kenneth,

    If you are using a recent version of the control, setting ReloadOnShow to true and ShowContentDuringLoad to false should help you achieve the desired result. If you still experience problems after that, please open a support ticket and send us a sample project so we could examine it.



    Regards,
    Georgi Tunev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top