AkilaRamesh
asked on
open a n aspx page in timer event
I have an vb.net apllication where i am trying to execute procedure every 10 mins , and if procedure returns some values i need to show it in a separate page . can somebody show me how to acheive this in timer control
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
Dim url As String
url = "Default3.aspx"
Dim fullURL As String
fullURL = "window.open('" + url + "', '_blank', 'height=500,width=800,stat
ScriptManager.RegisterStar
What am i doing wrong in this . I am not able to get the window open , no error also
Sorry for the late response.
I used the same code you posted, and it worked fine. I just had to add a new page called Default3.aspx in the same directory of the page i'm using to call the PopUp.
Make sure that both pages are in the same directory, case else, you'll need to use a command to identify the path.
Example:
Hope it helps.
Boccio
I used the same code you posted, and it worked fine. I just had to add a new page called Default3.aspx in the same directory of the page i'm using to call the PopUp.
Make sure that both pages are in the same directory, case else, you'll need to use a command to identify the path.
Example:
'in case you're trying to open a page inside another directory
url = ResolveUrl("Test/Default4.aspx")
'in case you're trying to open a page in the root directory
url = ResolveUrl("~/Default4.aspx")
Hope it helps.
Boccio
ASKER
Well Explained and it was great and worked perfectly .
I cant thank enough
I cant thank enough
You are welcome!!
ASKER