Hi,

I need to lunch

<a id="a_link" runat="server" href="control_manage.aspx"
rel="gb_page_center[400, 600]">test</a>

after this event:


Public Sub txt_enterKeyPress(ByVal sender As Object, ByVal e As
System.EventArgs)

        ScriptManager.RegisterStartupScript(Page, GetType(String),
"MyScript", "document.getElementById('a_link').click();", True)

    End Sub


I want to use only one link in the page and change href parameters
from code.

If I click on the link "test" it works, but if I try to lunch it with
document.getElementById('a_link').click() function it open the page in
the window and not in greybox.

Regards
Mauro Cattaneo

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"GreyBox" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/greybox?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to