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...
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 : ...
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...
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...
I was making a function to convert all dates in an object to strings and when I used the following function I got a error in FF  "too much recursion". (It also fails in IE and chrome)      function datesToString(obj) {         if (obj instanc...
I have master page. In master page I have one UserControl. In this UserControl I have one button . When I complete everything with this button event I want to call Javascript function from page. Below is my code :   Button Event      protected void b...
I have searched for several days now, and have tried about every solution that I could find.  I know this is something I am not doing correctly, however, I am not sure what the correct way is.    I have an ASP.Net C# web site, running on .Net Framewo...
We're carrying out testing of our ASP.Net AJAX application, and are finding memory usage in Internet Explorer 6 & 7 increases by at least 2mb for each page refresh - whether refreshing the same page or navigating to a new one.  This happens o...
I open my page in a new tab through the following code :  String js = "window.open('" + page + "'" + ", '_blank');";  ScriptManager.RegisterClientScriptBlock(this, this.GetType(), "Open&...
I need to autopostback my page on the first load, and i need to wait the entire page have finish loading before post back the page.  I use in the page load   if (!IsPageWasPostBack)       {         ScriptManager.RegisterStartupScript(Page, Page.GetTy...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.