Top "Clientscript" questions

how to detect the Page Close Event with ASP.NET

I have a ASP.NET web app with a MasterPage and contents page, from the MasterPage when I click a …

c# javascript asp.net clientscript
ClientScript.RegisterStartupScript not working

I have searched SO & google, but I can't seem to get this to work. The code is in the …

javascript asp.net registerstartupscript clientscript
asp button and history back onclientclick

hi I have an asp button which is created using the following code: <asp:Button ID="btnBack" OnClientClick='javascript:…

javascript asp.net clientscript
Yii renderpartial (proccessoutput = true) Avoid Duplicate js request

Im creating a site who works with ajaxRequest, when I click a link, it will load using ajaxRequest. When I …

yii renderpartial clientscript
How to execute multiple ClientScript.RegisterStartupScript in ASP.NET c#?

I'm developing a gridview in which you can download multiple files with one button. Here's my gridview: <asp:GridView …

c# asp.net response.write registerstartupscript clientscript
showing ClientScript Alerts before Redirecting to another page in ASP.NET c#?

I gotta address a problem here... I'm developing a system where I am constantly showing Messages to the user, For …

javascript asp.net alert response.redirect clientscript
How to unregister Page.ClientScript in C# Asp.net

I am registering java script to my Asp.net code behind file, which is working fine. Now, I have some …

c# javascript asp.net clientscript
Can i Use System.Web.UI.Page.ClientScript in ASp.Net MVC?

I am Trying to Register STart up Script in my ASP.Net MVC 3.0 I know I can use this syntax …

asp.net-mvc-3 clientscript
Why can't you UnRegisterStartupScript?

Seems to me it is a bit wierd that you can do.. Page.ClientScript.RegisterStartupScript(this.GetType(), "KeyName", "alert('changed …

c# asp.net javascript clientscript
Set focus on an asp.net control on Page Load

I want to set focus on a control when page is loaded. I wrote this code but not working.. protected …

javascript pageload clientscript