none
Is there any way to get click event of refresh button of browser ? RRS feed

  • Question

  • hi

    Is there any way to get click event of refresh button of browser ?

     

    thanks

    • Changed type sacchd Friday, March 26, 2010 4:12 AM wrong type choosen
    Thursday, March 25, 2010 11:21 AM

Answers

All replies

  • Hi

    Which language are you programming ? (VB,ASP) etc ..

    This is .Net Framework Set up Issues related forum ...

    Kindly post ur queries in appropriate forum

    Thanks

    Silna


    Best Regards,
    Silna
    BIC
    Please remember to mark the correct replies as answers
    Friday, March 26, 2010 3:45 AM
  • ok I will post queries in appropriate forum
    Friday, March 26, 2010 4:14 AM
  • Hi

    For ASP.Net related queries Its

    http://forums.asp.net

    and for VB related queries you can try here

    http://social.msdn.microsoft.com/Forums/en-US/category/visualbasic

    and for programming related post here

    http://social.msdn.microsoft.com/Forums/en-US/vblanguage/threads

     

    Could u plz describe which language u are programming ? 

    Maybe then i will be able to help u

    Thanks

    Silna


    Best Regards,
    Silna
    BIC
    Please remember to mark the correct replies as answers
    Friday, March 26, 2010 4:35 AM
  • Hello,

    Based on your descriptions, you are working with web applicaiton, etc. If so, you could refresh the browser with javascript. The following javascript may help you achieve the goal:

    <script language="JavaScript">
    function myrefresh()
    {
           window.location.reload();
    }
    </script> 

    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Send us any feedback you have about the help from MSFT at fbmsdn@microsoft.com.
    Monday, March 29, 2010 6:18 AM
    Moderator
  •  Hi Edwer

       thanks for replying. Yes, Iam  working with web applicaiton(our internal website).

       I want to get the click event of refresh button which is on browser and want to

       write my code there ( I just want to redirect user to logout page from there if user click it )

       as there is no way to stop or disable functionality of refresh button of browser

       I have disable right click, F5 keys but its not possible

     

    regard's

    sachin

    Friday, April 2, 2010 9:29 AM
  • Hello sachin,

    I think you should post it on ASP.NET Forum so you can get better response as there are more experts on it.

    Thanks for your understanding.


    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Send us any feedback you have about the help from MSFT at fbmsdn@microsoft.com.
    Friday, April 2, 2010 9:34 AM
    Moderator