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:131952
More Search Options
RSS Available
Matching Posts
Re: How to avoid hard coding ID values?
Cheers all. I'll have a play, and if I come up with anything ground breaking (!) I'll post back!
Posted to
Web Forms
(Forum)
by
NicButler
on 4/22/2008
Re: How to avoid hard coding ID values?
Cheers for your reply. I get the idea, but would this not add to to the problem in terms of typos, changed descriptions, etc? After all, the description of a record is usually deemed safe to edit, it's the ID that is sacred...
Posted to
Web Forms
(Forum)
by
NicButler
on 4/22/2008
How to avoid hard coding ID values?
Hi, I've got a general issue that I'm hoping someone will have a view on. In my app, I've got a Status table with and ID and a Description, e.g. Open = 1, Closed = 2, Disabled = 3, Deleted = 4 Eventually, some where in the business logic I need to say "get all data from this place where staus is not deleted", or "get all data from this place where staus is not deleted and is open", etc. The problem I have is that the system does not understand what "Open"
Posted to
Web Forms
(Forum)
by
NicButler
on 4/22/2008
Forms authentication on a virtual directory
Hi, I've got two websites INT and EXT. These are on two different servers, INT is inside the firewall, EXT is in the DMZ. I'm using Windows authentication on INT with no anonymous access set on the IIS website. This allows internal active directory users to use the INT website. In the DMZ, I'm using Forms authentication and ASP Membership with anonymous access on the IIS site. This allows external users to login to the EXT. What I want to do is this: INT has a sub folder called CONTENT
Posted to
Security
(Forum)
by
NicButler
on 11/16/2007
Administer Membership on Standalone Server
Hi, I've got a dev site with a SQL Express database storing the site Membership tables. I can use the ASP.NET Configuration tool on my local dev site no problem, but because the live production server is behind a firewall, I can't administer the membership using the tool. The site is a CMS and the same database holds the page text as well as the membership tables. This prevents me from over writing the database from dev to live to update passwords, etc. Is there a way I can update passwords, create
Posted to
Security
(Forum)
by
NicButler
on 4/30/2007
Re: Declaratively set properties on MasterPage controls from Content Page
Cheers, but what I have in mind is something like: in the Content Page HTML: < %@ Page Language= "C#" MasterPageFile= "M.master" AutoEventWireup= "true" CodeFile= "Content1.aspx.cs" Inherits= "Content1" PageID= "1" %> Note the PageID attribute (which I've made up!) Now, in the Master code behind, I'd like to get a reference to the PageID attribute and do work on it, e.g. update a control using Page.PageID or something.. I know you can do this sort of thing with UserControls and Public properties
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
NicButler
on 4/27/2007
Declaratively set properties on MasterPage controls from Content Page
Hi, I've got a Master Page with a control on it that shows some help text from an XML keyed from a page ref ID. I want to add content pages to the project using the Master but be able to set the Page Ref on the content page declaratively (in an XML island?), rather than in the Code Behind. Is it possible to get the Master to read some declarative value from a content page and act on it, i.e. update the "Help Text" contol? Cheers, Nic
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
NicButler
on 4/25/2007
Filed under: .NET 2.0, Content, control, master
Re: Exception from HRESULT: 0x81071003 on SPFile.Item.Update()
I've not found a solution, but a workaround I found is to open then save the file on the server 'fixing' any faults within the Office document before saving to Sharepoint.
Posted to
Windows SharePoint Services Hosting
(Forum)
by
NicButler
on 9/18/2006
Exception from HRESULT: 0x81071003 on SPFile.Item.Update()
I have an Excel file is created using SQL Server Reporting Services 2000. When the file is saved to a library and the Sharepoint items are updated, the following exception is thrown: SPFolder libraryFolder = GetFolder(); SPFile newFile=libraryFolder.Files.Add("Test.xls", fileContents, true); newFile.Item["Title"]="Test Title"; newFile.Item.Update(); // <- This line causes the following exception : /* Microsoft.SharePoint.SPException: Exception from HRESULT: 0x81071003. ---> System.Runtime.InteropServices
Posted to
Windows SharePoint Services Hosting
(Forum)
by
NicButler
on 7/10/2006
Re: Return the maxRequestLength value from a Web Service
I'm well aware of what this page says: http://support.microsoft.com/default.aspx?kbid=832878 as are you it seems. Unfortunately it completely fails to answer my question.
Posted to
Web Forms
(Forum)
by
NicButler
on 2/24/2006
Page 1 of 39 (382 items) 1
2
3
4
5
Next >
...
Last »
WindowsClient:
Developing an installer for your Surface application
ASP.NET:
Visual Studio 2010 and .NET 4 Update
WindowsClient:
Microsoft’s product placements in The Big Bang Theory
Channel 9:
Channel 9 Live at PDC09: Martin Cron
Channel 9:
Channel 9 Live at PDC09: Erik Meijer and Thomas Lewis
WindowsClient:
Download Data Services Update for .NET 3.5 SP1
Silverlight:
Extending the SMF for the HVP
Silverlight:
Extending the SMF for the HVP
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 12 of 13
Channel 10:
Bing Maps Update: Map Embeds and Draggable Routes
WindowsClient:
New WPF Showcase: WEB Touch
ASP.NET:
ASP.NET MVC 2 RC Released
WindowsClient:
Very exciting Microsoft Pivot from Live Labs
WindowsClient:
XAML for UI & .rc files
TechNet Edge:
DNS Security (DNSSec) Overview
Silverlight:
Silverlight 4 demos from my PDC Keynote now available
Channel 9:
Channel 9 Live at PDC09: Dave Campbell
Channel 9:
Channel 9 Live at PDC09: Yousef Khalidi
Channel 9:
Twitter App for Zune Launches
WindowsClient:
Incarnate
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online