I have used code like this in the past to successfully pop up an alert message on my asp.net webpage. Now it is not working. I can't figure out why.  ScriptManager.RegisterStartupScript(this, typeof(Page), UniqueID,       "alert('This p...
i have a control which is on update panel. i want my javascript code run every time the updatePAnel is updated.   i use something like this:  ScriptManager.RegisterStartupScript(this, GetType(), "my_script", "runFunction();", true);...
I have a gridview inside UpdatePanel. One of the column in gridview is link which when clicked should display modal (i am using zurb modal http://www.zurb.com/playground/reveal-modal-plugin). The problem is the modal only gets displayed only once whe...
I want to call static server-side methods from JS so i decide to use ScriptManager control on my site. So i have a master page, with such structure:  <%@ Master Language="C#" AutoEventWireup="true" CodeBehind="TopLevelMasterPag...
http://i.stack.imgur.com/dVjHt.jpg    I never understood the real usage of the Control , type,key usages of this class.  In general Ive always used with : this , GetType() , "xx"  but now I truly want to understand .    msdn :   Control : ...
Is there any way to call web services from javascript? I know you can add in a script manager to pull in the web services but I can't figure out how to access the functions from javascript once I've done that.  Thanks, Matt...
we are trying to get the following scenario working:   we use asp:scriptmanager / CompositeScripts to combine our scripts into a few script blocks but after each deploy to the test system we have trouble with testers not getting updated versions of c...
I want to call the JavaScript function (which internally shows a popup about the error message) from global.asax.cs file. Here is my code that I am trying in Global.asax.cs file,  protected void Application_Error(object sender, EventArgs e) {     Sys...
On the developement machine my website is working fine but I am getting javascript 'Sys' is undefined error on hosting server and my AJAX is not working.  I have make a sample page and scriptmanager on it, Please look into this. http://nexapp...
I am new to Asp.Net and i have my aspx page like this  <%@ Page Title="" Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true" CodeBehind="TestJs.aspx.cs" Inherits="tms.Test.TestJs" %&g...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.