Thursday 15 April 2010

asp.net - Calling javascript from code behind -


Trying

I have a C # asp.net 3.5 app I open the back window of the code after a certain event Am I have it, but it is not working and there is no error in firebug

  protected override void OnPreRender (EventArgs e) {base.OnPreRender (e); If (opencredentialsWindow) {if (opencredentialsWindow_ClientId! = Guid.Empty) {this.Page.ClientScript.RegisterStartupScript (this.GetType ()), "openCredentials", Stringkformet ( "Rdopen ( 'Services.aspx? ClientId = {0 }, Window-Services') ", Open Credentials Window_ClientId.ToString ())); }}}  

Any ideas?

RegisterClientStartupScript method calls to pass an additional parameter.

  Page.ClientScript.RegisterStartupScript (this.GetType ()), "Open credentials", Stringkformet ( "Rdopen ( 'services. Aspaks? Claintaidi = {0}, Vindo_srvisej')" , Open Credentials Window_ClientId.ToString ()), is true;  

No comments:

Post a Comment