Is It Possible To Block Countinuing CodeBehind When A RADWINDOW Appears????

4 posts, 0 answers
  1. Majid Darab
    Majid Darab avatar
    112 posts
    Member since:
    Dec 2009

    Posted 06 Jun 2010 Link to this post

    hi my dear friends :
    i have a radwindow with a button in it....
    ===========================================================
    i am so new with jQery so i desided to work with RadWindows In Code Behind...
    i opens this radwindow in code behind like this :

                Page.RegisterStartupScript("callWin""<script type='text/javascript'>OpenWindow();</script>"); 
                Response.Write("Hello Worldd !"); 

    Is It Possible To Block Countinuing CodeBehind (Response.Write("Hello Worldd !");) When this RADWINDOW Appears????
    i mean , hello world be appears after Clicking on RadWindow Button...

    if there is no way with c# code , how can i do that with jquery?

    best regards
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 07 Jun 2010 Link to this post

    Hi Majid,

    One suggestion would be attaching client event to RadWindow/button and call the document.write() from client side to show the message on page.

    The following documentation describes, how to call client methods in RadWindows.
    Calling Functions in Windows

    And use a HiddenField if you want to pass the message from code behind.

    -Shinu.
  3. Majid Darab
    Majid Darab avatar
    112 posts
    Member since:
    Dec 2009

    Posted 07 Jun 2010 Link to this post

    really really thanks shinu
    i put the upper code just for example ...
    i am using radwindow to pass 3 parameters by it to code behind (it seems to be to session) after it's button click...
    but in parent form (calling RadWindow) i have some codes after opening radwindow that i want to block ....
    in those codes i am changing  the view of a multiview and i am using those filled sessions....
    is there any way to do this?

    however thanks in advance
  4. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 08 Jun 2010 Link to this post

    Hi,

    To my regret I do not know how to help you further. Can someone from Telerik give us a hand?


    -Shinu.
Back to Top