Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Web   (RSS)

SYSK 364: AJAX Extensions 1.0 Source Code and Debug Symbols

Did you know that AJAX Extensions source code and debugging symbols are available to everybody at http://www.microsoft.com/downloads/details.aspx?FamilyID=ef2c1acc-051a-4fe6-ad72-f3bed8623b43&DisplayLang=en ?
Posted by irenak | 0 Comments
Filed under: ,

SYSK 354: How To Determine If The Page_Load Event Is Triggered by a Standard Page Postback or by the UpdatePanel?

Ok, so you’re in a Page_Load code block, and the this.Page.IsPostBack returns true . How do you know if the request is due to a “standard” page postback or as a result of an UpdatePanel triggered postback resulting in a partial page update? The answer
Posted by irenak | 4 Comments
Filed under: ,

SYSK 339: Menus and Other Popups Without Any JavaScript

The other day I came across the following article by Eric Meyer -- http://meyerweb.com/eric/css/edge/popups/demo.html . Basically, instead of using JavaScript, you use CSS to change an element style that results in some other element(s) appearing (e.g.
Posted by irenak | 3 Comments

SYSK 337: JavaScript – Should You Define Functions Inside a Prototype or Outside?

Yesterday’s post described three ways to extend an existing type. It occurred to me that there is one more, slightly different mechanism, for defining a prototype function… you can think of it as Method 2-b. Consider the following: function TestClass(param1)
Posted by irenak | 2 Comments

SYSK 336: Three Ways to Extend a Existing JavaScript Type

Since I haven’t seen a clear and a relatively concise explanation on this topic, I decided to create this blog post… If you want to add a function (i.e. extend) to an existing type, there are three ways that I know of to accomplish this. For example,
Posted by irenak | 0 Comments

SYSK 332: How To Register Custom Controls Once For All Web Pages

Did you know that since .NET 2.0 you can define register directives in the <pages> element in your configuration instead of using @Register directive on every page? It’s especially useful if you’re using a custom control(s) in multiple web pages.
Posted by irenak | 0 Comments

SYSK 331: How To Expose A Client-Side Event From Your ASP.NET Control

Consider the following scenario – you create your own calendar control and you’d like to raise an event when a date is selected (e.g. OnDateClicked)… and you’d like for the users of your calendar control to process the event using JavaScript on the client
Posted by irenak | 1 Comments

SYSK 330: How To Use An Embedded Resource From A Sub-Folder

If you’re creating a custom client-side control by deriving from System.Web.UI.IScriptControl, you may want to embed the .js files into your assembly instead of having to deploy them to every web site that uses those controls (this is especially valuable
Posted by irenak | 3 Comments

SYSK 327: The Cost of RoundedCornersExtender From AjaxControlToolkit

More and more web sites are using rounded corners on spans (labels) and panels. And since AjaxControlToolkit makes it sinfully easy to do, before I start using it extensively, I decided to do some profiling to see the cost of that extender. Here is what
Posted by irenak | 4 Comments

SYSK 326: How to Measure AJAX Control Initialization Time on the Client Side

Say, you’ve added a few extender controls to make your AJAX-enabled web site look very ecstatically appealing to the end users. And now you’d like to evaluate the cost of beautifying your site in such manner. Measuring the additional page size bytes is
Posted by irenak | 1 Comments

SYSK 325: How To Tell Which UpdatePanel Issued a Page PostBack

If you have multiple UpdatePanel controls on a page, and your Page_Load has a lot of data retrieval and rendering logic, you may want to know exactly which UpdatePanel is being updated, and execute only relevant code segments to optimize performance.
Posted by irenak | 5 Comments

SYSK 313: Search Engine Ranking Rules

If you’re interested in how search engines rank web pages, read these four articles: · “SSW Rules to Better Google Rankings” -- http://www.ssw.com.au/SSW/Standards/Rules/RulesToBetterGoogleRankings.aspx · “How URLs Can Affect Top Search Engine Rankings”
Posted by irenak | 0 Comments
Filed under:

SYSK 310: The Difference Between setInterval and setTimeout

In JavaScript, you have two options to execute a specific function in the future, i.e. after a specified time interval: window.setInterval and window.setTimeout Both functions have similar signatures, e.g.: var timeout = window.setTimeout("javascript
Posted by irenak | 0 Comments

SYSK 309: How To Cancel a Web Service Request

AJAX makes asynchronous invocation of web service methods very easy. For example, the line below instantiates a web service proxy (MyService) and calls a method (MethodX): var request = new MyService().MethodX(param1, param2, OnRequestComplete, OnError);
Posted by irenak | 1 Comments

SYSK 305: What is a MITM attack?

MITM stands for man-in-the-middle… A MITM attack is where an attacker is able to read, insert and modify messages between two parties without either party knowing that the link between them has been compromised. For following picture from http://www.arcot.com/mitm/index.html
Posted by irenak | 3 Comments
Filed under:
More Posts Next page »
 
Page view tracker