Click here to Skip to main content
15,900,907 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionAjax app with tabs Pin
Haim Nachum9-Oct-10 9:34
Haim Nachum9-Oct-10 9:34 
AnswerRe: Ajax app with tabs Pin
Not Active9-Oct-10 19:37
mentorNot Active9-Oct-10 19:37 
QuestionResponse.Redirect(url, bool) Pin
Tamimi - Code9-Oct-10 6:11
Tamimi - Code9-Oct-10 6:11 
AnswerRe: Response.Redirect(url, bool) PinPopular
Brij9-Oct-10 7:53
mentorBrij9-Oct-10 7:53 
Generalthank you Pin
Tamimi - Code9-Oct-10 22:36
Tamimi - Code9-Oct-10 22:36 
QuestionDownload without showing the real link Pin
Jassim Rahma9-Oct-10 5:15
Jassim Rahma9-Oct-10 5:15 
AnswerRe: Download without showing the real link Pin
Brij9-Oct-10 5:46
mentorBrij9-Oct-10 5:46 
AnswerRe: Download without showing the real link [modified] Pin
Karthik. A9-Oct-10 12:27
Karthik. A9-Oct-10 12:27 
Instead of having <asp:hyperlink> or a <a href="" /> with the download file's path, have a <asp:linkbutton>. In the OnClick event of the <asp:linkbutton> first update the table that tracks the number of times this file was downloaded, and then do a Response.Redirect(...) with the executable's file name.

In this case (using LinkButton), you should be generating those links dynamically, say in a GridView so that you could identify the file to be downloaded, else if it's just 1/ 2 downloads you could probably use the LinkButton's Text to identify the file to be downloaded. In this way you will be able to track the number of downloads and the user won't be able to identify the link. A View Source also just shows a __doPostBack for the LinkButton's.

Hope this helps...
Cheers,
Karthik
modified on Saturday, October 9, 2010 6:34 PM

Questionview external websites in a panel Pin
Jassim Rahma9-Oct-10 4:53
Jassim Rahma9-Oct-10 4:53 
AnswerRe: view external websites in a panel Pin
Abdulhafeezo9-Oct-10 7:45
Abdulhafeezo9-Oct-10 7:45 
AnswerRe: view external websites in a panel Pin
Anurag Gandhi9-Oct-10 19:59
professionalAnurag Gandhi9-Oct-10 19:59 
AnswerRe: view external websites in a panel Pin
Ravi Sant3-May-11 0:22
Ravi Sant3-May-11 0:22 
Questionajax Pin
Thanusree Duth8-Oct-10 23:21
Thanusree Duth8-Oct-10 23:21 
AnswerRe: ajax Pin
Ankur\m/9-Oct-10 0:47
professionalAnkur\m/9-Oct-10 0:47 
AnswerRe: ajax Pin
Abhijit Jana9-Oct-10 1:01
professionalAbhijit Jana9-Oct-10 1:01 
Questionhow to get data from xml? Pin
srisairam7-Oct-10 23:46
srisairam7-Oct-10 23:46 
AnswerRe: how to get data from xml? Pin
Murugesan G8-Oct-10 1:35
Murugesan G8-Oct-10 1:35 
AnswerRe: how to get data from xml? Pin
Not Active8-Oct-10 2:18
mentorNot Active8-Oct-10 2:18 
AnswerRe: how to get data from xml? Pin
T M Gray8-Oct-10 12:14
T M Gray8-Oct-10 12:14 
AnswerRe: how to get data from xml? Pin
raghuv92468-Oct-10 20:46
raghuv92468-Oct-10 20:46 
QuestionCalender Pin
future38397-Oct-10 17:59
future38397-Oct-10 17:59 
AnswerRe: Calender Pin
sashidhar7-Oct-10 19:55
sashidhar7-Oct-10 19:55 
AnswerRe: Calender Pin
T M Gray8-Oct-10 12:30
T M Gray8-Oct-10 12:30 
AnswerMasterPage & WebContent page Pin
future38397-Oct-10 14:32
future38397-Oct-10 14:32 
GeneralRe: MasterPage & WebContent page Pin
Brij7-Oct-10 19:53
mentorBrij7-Oct-10 19:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.