Search - Articles
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Tuesday, March 03, 2009
Dev Articles
Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 


Home >Search > Articles & Samples > ASP.Net > Browsers


Search:
What's New - What's Hot
Detect the browser using ASP.NET and C#  Version: 0.00     Price: $0.00  
Total Hits: 29  |  Today: 0Author: Agus Kurniawan      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article intends to show how to detect the browser on the clients side. I use the HttpBrowserCapabilities class using the C# language. The HttpBrowserCapabilities class gives information on the capabilities of the browser that is running on the client. It needs the System.Web namespace. HttpBrowserCapabilities properties are accessible through the Browser property of ASP.NET's intrinsic Request object. Here's the HttpBrowserCapabilities members:...

Restrict User to access site when Js is disabled in browser.  Version: 0.00     Price: $0.00  
Total Hits: 26  |  Today: 0Author: SurajRane      Rating:  
Read Reviews | Write Review |  Your Rating: 

In this article I have provided some trick for not allowing user to aceess your site when javascript is disabled in browser. It’s very simple and can be implemented with Html tags META and noscript. Just like script there is noscript tag. This tag runs when there is no script enabled for the browser....

Window Close Event of Browser  Version: 0.00     Price: $0.00  
Total Hits: 25  |  Today: 0Author: R. M. Masudur      Rating:  
Read Reviews | Write Review |  Your Rating: 

"Window close event of browser"... people are searching for this key sentence for long and have found some solutions too. But sorry to admit that there is no direct support for detecting the window close event of browser or perhaps browser's tab in HTML or JavaScript. All we have are a few nice tricks of HTML DOM (document object model) event which are used to simulate the browsers close event. Not all the codes work fine, or we can say that not all code works in all conditions....

HOW TO: Close Browser Window From Button Web Control  Version: 0.00     Price: $0.00  
Total Hits: 23  |  Today: 0Author: Bipin Joshi      Rating:  
Read Reviews | Write Review |  Your Rating: 

Generally we want to perform tasks like closing browser window from client side JavaScript itself. However, there might be cases when we should perform some another processing - may be logging or usage tracking - when user explicitly closes the application. This How To will tell you how to code server side Button click event that also closes browser window....

Find Out If JavaScript Is Enabled On User's Browser  Version: 0.00     Price: $0.00  
Total Hits: 19  |  Today: 0Author: AzamSharp      Rating:  
Read Reviews | Write Review |  Your Rating: 

JavaScript has always been popular but with the boom in Ajax web development it has given JavaScript a new meaning. Most of the websites today relies heavily on JavaScript. This means you need to make sure that if your users can support JavaScript. In this article we are going to tackle the problem of finding out if the JavaScript is enabled on the user’s browser or not....

Browser Sniffing in ASP.NET     
Total Hits: 81  |  Today: 0Author: Doug Seven      Rating:  
Read Reviews | Write Review |  Your Rating: 

Sniffing browser capabilities is nothing new to an experienced web developer. Over time many different approaches have come around...using InStr() to see if a particular value, such as MSIE was in the HTTP_User_Agent value of the Request.ServerVariables collection, or using the Browser Capabilities component in ASP 3.0 to compare against. In ASP.NET you get the HttpBrowserCapabilities class, a new and improved Browser Capabilities component....

A Thorough Examination of "Disabling the Back Button."     
Total Hits: 238  |  Today: 0Author: Akhilesh Reddy      Rating:  
Read Reviews | Write Review |  Your Rating: 

I have had a lot of people ask, "How to I ‘disable’ the back button?" or, "How do I prevent a user from clicking the back button and going back to the previous screen?" In fact, this is one of the most commonly asked questions on the ASPMessageboard and, sadly, the answer is quite simple: You CANNOT disable the back button of the browser....

Browser Compatible Drag And Drop Shopping Cart  Version: 0.00     Price: $0.00  
Total Hits: 35  |  Today: 0Author: AzamSharp      Rating:  
Read Reviews | Write Review |  Your Rating: 

Sometime back I visited a website that had the drag and drop shopping cart feature. Users can simply drag and drop the items they wish to buy in the basket and the basket is updated with the new results. I was extremely impressed with this feature and decided to create a small application that does the same. In this article I will implement a page which enables the users to drag and drop the items they wish to buy into the shopping basket. The shopping basket items and the price will be updated....

Browser Compatible Drag And Drop Shopping Cart     
Total Hits: 386  |  Today: 0Author: AzamSharp      Rating:  
Read Reviews | Write Review |  Your Rating: 

Sometime back I visited a website that had the drag and drop shopping cart feature. Users can simply drag and drop the items they wish to buy in the basket and the basket is updated with the new results. I was extremely impressed with this feature and decided to create a small application that does the same. In this article I will implement a page which enables the users to drag and drop the items they wish to buy into the shopping basket. The shopping basket items and the price will be updated....

Determining Browser Capabilities in ASP.NET     
Total Hits: 103  |  Today: 0Author: George Shepherd      Rating:  
Read Reviews | Write Review |  Your Rating: 

Web applications are different from applications that run in homogenous environments because they send their output to all kinds of platforms and Web browsers. Some browsers support client-side scripting, some support XHTML, and still others have limited screen real estate. So how will your Web app deliver content to browsers with limited capabilities or special requirements?...

Dynamic Style Sheets with Request.Browser and User Controls     
Total Hits: 150  |  Today: 0Author: G. Andrew Duthie      Rating:  
Read Reviews | Write Review |  Your Rating: 

Does your site use Cascading Style Sheets (CSS) to format text and/or provide a consistent look and feel for your Web site? If not, why not? Probably because you need to support multiple browser types, each of which has differing levels of support for CSS. This means that it's very difficult to create a .css file (used for creating linked style sheets...for more on CSS, see http://www.w3.org/Style/CSS/) that will provide a consistent look and feel across multiple browsers such as IE 5.5+, Naviga...

Using the WebBrowser as an extention possibility     
Total Hits: 151  |  Today: 0Author: Filip van der Meeren.      Rating:  
Read Reviews | Write Review |  Your Rating: 

We have all seen the nice little features of the Microsoft MSN Messenger Activity SDK (well, I have ;-). MSN provides us with the SDK, messengeractivitySDK.zip. With this SDK, the developer has the power to create little applications. Data can now easily be sent from one application to the other. I have seen a nice example on the Code Project. However, this article isn't about the implementation of the Messenger Activity SDK. Rather, it discusses taking advantage of the System.Windows.Forms.WebB...

Transparency and Opacity Experiments with .NET's Web Browser Control     
Total Hits: 175  |  Today: 0Author: ashish_patil++.      Rating:  
Read Reviews | Write Review |  Your Rating: 

First, let me accept that .NET is really cool. It certainly accelerates development time multifold. Also, it has very powerful features that can be used very easily. Microsoft has started to give 'Express Edition' of its development tool free of cost, which I believe is the best thing that can ever happen to .NET. I just happened to get my hands on the Visual C# 2005 Express Edition (Beta) and was amazed !!...

Dynamically browse Active Directory Objects     
Total Hits: 371  |  Today: 0Author: Sibster.      Rating:  
Read Reviews | Write Review |  Your Rating: 

This guide shows how to create an application in C#, for browsing Active Directory objects. On the left navigate objects/containers with an TreeView control. Only AD root will be read in, after successful authentication. The "children" of the containers will be dynamically loaded after the user clicks on an object. If no "children" exists no, action will be performed. Attributes and their values, of marked containers on the TreeView control, will be displayed on the right ListView control. Both ...

Directory Browsing the .NET Way     
Total Hits: 305  |  Today: 0Author: Christoph Wille      Rating:  
Read Reviews | Write Review |  Your Rating: 

From the 'Good Old Times' of ASP programming, many should remember the FileSystemObject object. It allows access to the file system for reading, writing and directory browsing. However, the object model is anything but perfect and as for binary files, the end of the tether is reached before we even start - it just can't be done.
And there are some other functions and properties which I would have liked to have. It looks as if these wishes would be fulfilled by the .NET Framework classes in th...

Save Changes on Close of Browser or when exiting the page.     
Total Hits: 266  |  Today: 0Author: Abishek R Srikaanth.      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article describes on how you can implement the functionality of saving changes on close of the browser. It also discusses on varios ways that the user can exit the page and can data be saved on those events also. Thanks a lot merlin981 for your comment. I am currently working on the adding more functionality to the code by detecting changes on the page and then prompting the user to save data if changes have been made. Added support for Firefox also....

Inline Redirections in ASP.NET     
Total Hits: 225  |  Today: 0Author: Vasudevan Deepak Kumar.      Rating:  
Read Reviews | Write Review |  Your Rating: 

We normally use Response.Redirect in our ASP scripts to redirect the user from one page to another. But Response.Redirect normally sends a 302 Redirect Request to the client browser which then initiates a next HTTP Request to the server with the correct URL that the webserver might have put in the HttpHeader in the Location value. Though this gives a nice way to jump between the URLs, the catch is that it incurs a (costly) roundtrip between the HttpServer and the client browser. The simple and d...

Browser Detection using ASP.NET     
Total Hits: 321  |  Today: 0Author: Chris Maunder      Rating:  
Read Reviews | Write Review |  Your Rating: 

In web development it is often important to know which browser is viewing the page you are serving. Traditional ASP applications used the Browser Capabilities object that resides in the \system32\inetsrv\browscap.dll DLL. This object takes the User Agent string that a browser sends to a website and compares it to a list of simple wildcard expressions in the browscap.ini file to determine the type of browser currently requesting a page....

Design ASP.NET Pages and Controls That Take Advantage of the DHTML Object Model     
Total Hits: 177  |  Today: 0Author: Dino Esposito      Rating:  
Read Reviews | Write Review |  Your Rating: 

Most Microsoft® ASP.NET controls are designed to be browser independent; they generate plain HTML markup that the majority of browsers easily understand and process. As a page developer, you can control to some extent the version of the HTML language used to generate the browser response. Some of the ASP.NET controls (for example, validation server controls) detect the capabilities of the underlying browser and adapt their response accordingly. In many cases, this means that the markup is enrich...

Export your Crystal Report contents directly into a browser (IE) window     
Total Hits: 393  |  Today: 0Author: codeproject      Rating:  
Read Reviews | Write Review |  Your Rating: 

How to display Crystal Report in PDF format in a browser window.
In this article Author describes a piece of code may help you to display the crystal report in a popup window in its exported format (like PDF, Word, HTML etc.).
The function can be called in Page_Load event of aspx file, in which your are planning to display the report content in its exported format (Eg: PDF)....


1  2  3  4  Next >> 


Disclaimer - Privacy
© 2002-2017 DevASP.net