How can i serialize variable with type of Int64 in JavaScript without loss of accuracy?
Hi everybody,How can i serialize variable with type of Int64 in JavaScript without loss of accuracy? My development platform is. NET. ...
Hi everybody,How can i serialize variable with type of Int64 in JavaScript without loss of accuracy? My development platform is. NET. ...
I've been using Yahoo's YSLOW to try and make my pages go faster at AgentX I am using the below compress filter. When I run the site through visual studio YSLOW says that all the files are compressed and I get an A when I view the live site it gets an E and says my files need to be gzipped. Can anyone explain? public class Compre...
I have a Master Page and a Content Page(SomePage.aspx). The Content page has a control called Button1. I am calling the Button1 using jQuery in MasterPage like this $('[id$=Button1]').click(function() { alert(''); }); However nothing happens. I have added MasterType in SomePage.aspx. The B...
In the first comment (by J.W.) to this question: Using ObjectDataSource and DataObjectTypeName, How Do You Handle Delete Methods With Just An Id Parameter?, it is said that using ObjectDataSource is a bad design. What is considered good design for well-architected ASP.NET applications? ...
How do I automatically click a Hyerlink or LinkButton using jQuery <asp:Hyperlink id="ttt" PostBackUrl="Hut.htm">Click</asp:Hyperlink>or<asp:LinkButton id="ttt" PostBackUrl="Hut.htm">Click</asp:LinkButton> ...
Hi everyone, Wanted to know which open source projects (eg blog engine.net, etc) is good to explore/read its source code. The main purpose is to help a beginner asp.net/c# developer learn about how to code the presentation/business/data layers cleanly. One ASP.NET for Webforms. Maybe another for ASP.NET MVC. Preferably for .NET ...
I develop a web application which uses a lot of JavaScript. I developed first portion of code on my machine and everything works just fine. Problems occured after deploying to remote machine to IIS - the page runs but i.e. whole validation that I wrote doesn't run - I've checked under FF, IE6, IE7.. Are there any IIS properties to set to...
Why doesn't this work? <script src="Scripts/jquery-1.3.2.js" type="text/javascript"></script> <script type="text/javascript"> $(document).ready(function() { $('.myButton').click(); }); </script> </head> <body> <form id="form1" runat="server"> <div> <asp:LinkButton id="ttt" runat="s...
Why can't we write a JavaScript code using Response.Write(".....") to serve the same purpose as RegisterStartupScript()? ...
Hi all I am using the following javascript code to refresh another page window.opener.location.replace(url) The problem is when entering the url, do not find the page as the page is located in the root and this calling code is placed in a page inside another folder. How do I specify the path to point to the root, which is where the pag...
When some users of my ASP.NET app enter the following text Je bénéficie d’un coaching I get the following value in my Request.Form: Je b�n�ficie d�un coaching At first my page had the encoding set to Latin1, and I thought that changing it to Unicode (UTF8) using the following meta tag would help: <meta http-equiv="Content-...
I want to have a user control containing a save button. I want the click event attached to the save button to be handled by the containing page not the user control Is this possible? EDIT MORE SPECIFIC Say I have a page called "Editor Page" and a user control called "Editor Buttons". On the "Editor Buttons" user control I have a sav...
Hello, I have an ASP.NET application that uses themes. Let's pretend I have a theme named "MySkin". I have a page that is in a sub-directory of my application. When I reference a page that uses "MySkin", I noticed that ASP.NET renders a link element that walks up to the root of the site and then down into the App_Themes directory. Here...
I have a fairly big asp.net website that use GridView bound to the same object in lots of places. I'm using an item template to customize each row. However to have the same template in all the pages I have to copy & paste the item template to each page. Obviously this is not the best solution. On top of this I want to be able to change t...
Hi, I wanted to ask what if there is any difference between Server.MapPath and HostingEnvironment.MapPath? Does Server.MapPath have any advantages over HostingEnvironment.MapPath? My original problem was mapping file path on a server when context is not present and I cannot pass Server variable from Global.asax to my method. I used Hos...
Is there performance difference when using say 10 user controls on a page vs a page displaying the same data, but without user controls. ...
We had some "strange" issues when using UpdatePanels and RadioButtonLists in that a PostBack was not occuring when you changed the values. I've managed to track down the issue in that it occurs when the value of the RadioButtonList is set in the PreLoad of a page and you are re-selecting this initial value. I have the full code of the ...
Is there a way to either disable Internet Explorer 8 Developer Tools, or at least change the shortcut key mapping? I'm working on an ASP.NET AJAX app that has used the F12 key for a function for years (it's actually a hold over from the original DOS app). Customers have used this key for the sam function for nearly 15 years and we'd ...
I am trying to enable a route like the following route = new Route("{w1}-{c1}-{n1},{w2}-{c2}-{n2}", new ResultRouteHandler()); route.Constraints = new RouteValueDictionary(); route.Constraints.Add("c1", "(.*)|([-])"); route.Constraints.Add("c2", "(.*)|([-])"); RouteTable.Routes.Add(route); However I run into a problem when c1 or c2 is...
ActionLinks This Image shows type-safe method of defining the Actionlinks ,how to define it in VB.NET ...