Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:827620
More Search Options
RSS Available
Matching Posts
Disable direct access of txt file on server?
Hello people, first, I'm new with ASP... I have a page that have some included txt contenet on it... I use <!--#include file="somefile.txt"--> for that, and it works fine, so that's cool. Now what I need is to disable direct opening of that somefile.txt file. So I want above code to work on page, as it is now, but I need to disable if someone types www.mysite.com/somefile.txt to open that file in the browser. So I guess I need to set something like HTTP acess for that file
Posted to
Security
(Forum)
by
crosscompiler
on 6/15/2009
On page load if cookie set, then hide div?
Hi there, I'm not very good with ASP so I need you help for page on my website... Basically what I need to do is to make a DIV shown only first time someone visits page, and then when he/she revisit it I want that same DIV hidden, and I want it hidden for next 24 hours... so in that way DIV would be shown only once a day, and only on first page load. So to make that happen I need to do fallowing, and I would need your help for that: I need a script that on a page load checks if cookie (which
Posted to
Getting Started
(Forum)
by
crosscompiler
on 6/14/2009
Re: Override Init for BasePage derived from Page object created programatically...
bump.... Any ideas?
Posted to
Web Forms
(Forum)
by
crosscompiler
on 5/14/2009
Override Init for BasePage derived from Page object created programatically...
Hi, Can anyone please help me with dynamic page object creation? For example, below is a very simple class, BasePage, that derives from the Page object, with the OnPreInit method overridden, to write some text to the output window. BasePage.cs public class BasePage : System.Web.UI. Page { protected override void OnPreInit( EventArgs e){ System.Diagnostics. Debug .WriteLine( "protected override void OnPreInit : " ); base .OnPreInit(e); } } This class is called from a HTTP handler: test.ashx
Posted to
Web Forms
(Forum)
by
crosscompiler
on 5/11/2009
Make Included File Not Found ignored, and normally show the rest of the page?
Hi there, I have this page I created.. and this is part of its code... <!--#include file="sms1.txt"--> <!--#include file="sms2.txt"--> <!--#include file="sms3.txt"--> <!--#include file="sms4.txt"--> <!--#include file="sms5.txt"--> etc... So this are just plain txt files that I want to include on my page, right.. Now the thing is, not all of these txt files are always on server, and that is ok to be... So for example I
Posted to
Getting Started
(Forum)
by
crosscompiler
on 5/8/2009
Scientific resources to show developers require quiet office space for productivity
Hi, Does anyone have any links to studies that show developers require silence / quiet time to be productive? Does anyone here believe more quiet time = greater productivity? Or the contrary? If so, whats your reasons? Our company is considering moving to an "open plan" office scenario, where the developers will be in the same room as everyone else - noise, telephone calls etc (Right now we have our own quiet room). Any info much appreicated! Edit : found this http://ieeexplore.ieee.org
Posted to
Free For All
(Forum)
by
crosscompiler
on 4/29/2009
Filed under: productivity
Re: Visual Studio Addin - add item to solution explorer context menu
Smashing - thank you for the pointer!
Posted to
Visual Studio 2008
(Forum)
by
crosscompiler
on 4/21/2009
Re: Visual Studio Addin - add item to solution explorer context menu
Hi stmarti, Sorry for the late reply. I have iterated the collection of command bars, and have also exposed them as extra menu's via the macro IDE, however I am still unable to find the context menu associated with an unloaded project. The closest match (context menu item names) was for a SVN "stub project", but sadly none for the "context menu displayed for an unloaded project" Is there something I have missed? Any help is much appreicated
Posted to
Visual Studio 2008
(Forum)
by
crosscompiler
on 4/20/2009
Visual Studio Addin - add item to solution explorer context menu
Hi, I've created a VS2008 addin project, and wish to add a context menu item for the following scenario: Right Clicking on an unloaded project within the Solution Explorer of visual studio. Currently this context menu shows "Reload project, Edit {project name}.csproj, Edit, Remove". I would like to add my own menu item here. Can anyone help with how I can reference this menu? I can add to the "Tools" menu with: Microsoft.VisualStudio.CommandBars. CommandBar menuBarCommandBar
Posted to
Visual Studio 2008
(Forum)
by
crosscompiler
on 4/6/2009
Re: Error compiling - Expecting element 'PluginSetting' from namespace 'http://schemas.datacontract.org/2004/07/Kona.Infrastructure'.. Encountered 'Element' with name 'PluginSetting', namespace 'http://schemas.datacontract.org/2004/07/Microsoft.Web.Infras
You Sir, are a star!
Posted to
ASP.NET MVC Storefront Starter Kit
(Forum)
by
crosscompiler
on 3/28/2009
Page 1 of 3 (30 items) 1
2
3
Next >
ASP.NET:
Tip#100: Did you know… How to view ASP.NET trace information?
ASP.NET:
Passing anonymous objects to MVC views and accessing them using dynamic
Channel 9:
Channel 9 Live at PDC09: Coding 4 Fun
Channel 9:
Channel 9 Live at PDC09: Stephen Toub
WindowsClient:
Mouse Gestures for Internet Explorer
Channel 9:
Controlling concurrency in Rx
Channel 9:
Dev Tools Ecosystem Summit Videos Available
WindowsClient:
Using Cerebrata's Cloud Storage Studio To Download IIS logs from Multiple Instances of Windows Azure
TechNet Edge:
TechNet Radio: Office 2007 Setup and Configuration (Part 1)
Channel 10:
How-To: Listen to Your Zune Pass Music on Your WinMo Phone
Channel 10:
Share Your Screen with SharedView
Channel 10:
Get Microsoft Tinker Game For Free
Channel 10:
LG eXpo WinMo 6.5 Unboxing Video
Channel 9:
ADFS 2.0 RC is Here!
Channel 10:
Bing Reference Updated with New Sidebar Features
Channel 10:
Look Behind SurfaceScapes
ASP.NET:
Moving your ASP.NET Application to Windows Azure – Part I
TechNet Edge:
Windows Server 2008 R2 Quick Look- Installing the Migration Tools
WindowsClient:
My latest videos – WPF, Silverlight, Sensors, and PDC09
WindowsClient:
Developing an installer for your Surface application
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online