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:89369
More Search Options
RSS Available
Matching Posts
Re: Accessing User Controls from the code-behind
Just to answer my own question... Having reolised that I was over complicating matters I found this approach did the trick. Here is my outline: User Cotrol: In the code behind create a public Property eg Value Asosiated the Property to a web control's property eg lable1.text = Value.ToString(); having cheched that a value was passed. Web page: Drag and drop the User Conlrol on to the design window. This will create the Control directive: <%@ Register TagPrefix="uc1" TagName="LeftNavigation"
Posted to
Getting Started
(Forum)
by
sion.lewis
on 3/25/2004
Accessing User Controls from the code-behind
Has anyone done this in C# (see link below)? As I'm have problems converting it from VB. Cheers, Siôn Artical found @: http://www.123aspx.com/redir.aspx?res=30051 ---- When you add a user control to an ASP.NET page, Visual Studio .NET does not add a control declaration as it does when you add standard ASP.NET web controls. The result is that you can't directly access the user control from the code-behind and programmatically change its properties and call its methods. Well, you can, but you
Posted to
Getting Started
(Forum)
by
sion.lewis
on 3/24/2004
Device detection: standard & mobile web applications
Background: I would like to host standard web pages as well as mobile web pages on a single website/virtual directory. Questions: Is there a simple way of sniffing out the machine type and then presenting either web or mobile application depending on the device? Or is there a better solution other than creating separate website? Many thanks
Posted to
Mobile and Handheld Devices
(Forum)
by
sion.lewis
on 12/22/2003
Page 1 of 1 (3 items)
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
ASP.NET:
Visual Studio 2010 and .NET 4 Update
WindowsClient:
Microsoft’s product placements in The Big Bang Theory
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online