.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

How to count the download done through a html link

Posted By:      Posted Date: September 22, 2010    Points: 0   Category :ASP.Net

I have two types of downloads at our site. One is from our server and rendered using server side code, which I record the number of downloads whenever the code is executed. Another is from our parterner's site and offerred with a regular html link, like <a href="http://www.partnersite.com/download/filename.zip>download</a>. How can I count the number of downloads for this link?

View Complete Post

More Related Resource Links

Html Link Button


Hi All,

I would like to create a html link button(in aspx page) so that the page could not post back and some controls to display on clicking link button.

Can any one of you help me regarding this issue?

Let me know if you have any queries.



Clicking on "Shared Documents" gives link to download instead of opening document library

Hi, I hope someone can help! All of a sudden (I don't know if someone has changed something!), whenever anone clicks on a link to open the "shared documents" document library in a specific site within our sharepoint site, instead of opening the document library, it instead gives a download dialog for a zip "AllItems.aspx" as a zip file. Anyone got any iteas what could have gone wrong and how to correct the issue?   Many thanks for any help!

AJAX Toolkit version 1.0.20229 download link

Hi,Because I have VS 2005, I need to download and install AJAX Toolkit version 1.0.20229, but I an't find it anywhere.  Does anyone have a link I could use for this download?Thanks,Mike

open pdf from html link

 Hiiii Coders, I want that  whenever user click on html link of my website, it will open my pdf file. How can i achieve this? plz rep as soon as poss thanx znd regards  

Ajax - literal not updated after adding a regular html link

Hi,Took me a while to track this down and a number of hours trying to figure it out, but at this point I just do not get it. I have a master page and a content placeholder in it encompassed in UpdatePanel like this:...<aspUpdatePanel...>    <asp:ContentPlaceHolder...>    </asp:ContentPlaceHolder...></asp:UpdatePanel>...<asp:UpdateProgress...>...</asp:UpdateProgress>And then a page like this:...<asp:Register ... MyControl...><asp:Content...>    ...        <ctl:MyControl ID="myControl"... />    ...        <asp:Literal ID="literalError"... />        <asp:Button ID="ButtonSubmit" OnClick="ButtonSubmit_Click"... /></asp:Content>Now, the control's .aspx is like this:...some .net controls here...And the code-behind is like this:protected override void ValidateForm(){     ... some validation here ... this.error = "some error"...}The control inherits from a custom control that looks like this:public abstract class MyCustomControl : UserControl{    ...    private string error;    ...    protected abstract void ValidateForm(

Trigger UpdateProgress by clicking on HTML link


I have a UpdateProgress that trigger fine when I click on stuff inside my UpdatePanel.  However I have some regular HTML link ("<a href>") outside of the panel.  How can I reuse the UpdateProgress so when I click on those link, it will show my loading screen?

Download without showing the real link


I want people to download files, EXE & DOCs from my website but I want to track the download, therefore I don't want them to now the real url so they won't be able to go there directly to download
how can I do hat?

I want people to download files, EXE & DOCs from my website but I want to track the download, therefore I don't want them to now the real url so they won't be able to go there directly to download

how can I do hat?

URGENT : how to create link www.mywebsite.com/download on asp.net website without .aspx in end?


on my website i want to create a page on this location www.mywebsite/download

i don't want .aspx in the end,

i have already tried creating a folder named as "request" on my root directory, and adding a page default.aspx but when i re-built my project i get an error saying "The namespace "Solutions.Commerce.Web" already contains a definetion for "Default"

i think it is coinciding with the default.aspx homepage of the website, is this the problem ?

is there any other way to solve this problem ? if i add webconfig in the folder and if somebody visit www/mywebsite/request the user gets into the page exists in the folder ? how to do that ?

Please HELP!!!

SQL server Download link for Windows XP



I want to install a trail version of SQL server in Windows XP SP2. please suggest me the free download links.




ASP.NET, HTML, JavaScript Snippet Support (VS 2010 and .NET 4.0 Series)

This post covers another useful improvement in VS 2010 - HTML/ASP.NET/JavaScript snippet support. Snippets allow you to be more productive within source view by allowing you to create chunks of code and markup that you can quickly apply and use in your application with a minimum of character typing.

Visual Studio has supported the concept of "snippets" for VB and C# in previous releases - but not for HTML, ASP.NET markup and JavaScript. With VS 2010 we now support snippets for these content types as well.

Maintain HTML Radio Button Selection Inside GridView After Postback

Long time ago I wrote an article about getting the value of the selected RadioButtons inside the GridView control. The code did not addresssed the postback issue which means that the selected radio button was cleared after the postback occurs.

Rendering ASP.NET Script References into the Html Header

One thing that I've come to appreciate in control development in ASP.NET that use JavaScript is the ability to have more control over script and script include placement than ASP.NET provides natively. Specifically in ASP.NET you can use either the ClientScriptManager or ScriptManager to embed scripts and script references into pages via code.

Download and Share Visual Studio Color Schemes

The good news is that Visual Studio allows you to completely customize the editor background and text colors to whatever you want - allowing you to tweak them to create the experience that is "just right" for your eyes and personality. You can then optionally export/import your color scheme preferences to an XML file via the Tools->Import and Export Settings menu command.

MSDN Abstract Classes Link

MSDN Reference For Abstract Clases

Free e-books Download

This is the link where we have get free e-books for downloading

Getting value of Html.TextBoxFor(m => m.name)


Hi All,

I am new to Asp.net MVC 2. I am unable to get value for Html.TextBoxFor(m = > m.name) in view. I can get this value in Controller.

How to get this value in view.

Please help.

Embed Youtube inside Ajax Html Editor- problem



When inserting a simple embed of youtube inside the ajax editor, on firefox and chrome problems occur. On the other hand on internet explorer 8 everything works fine. I found this solution http://www.nopcommerce.com/boards/t/4228/bug-in-ajax-html-editor.aspx . 

My question is where do I find the DesignPanel.pre.js ?


Roderick Vella

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend