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:793093
More Search Options
RSS Available
Matching Posts
Re: How to reference web.config elements from custom control's property builder dialog?
That's just what I needed! I didn't realize it was in the IDataEnvironment like that. Now it works, hooray! Thanks, Mehdi!
Posted to
Custom Server Controls
(Forum)
by
LKB
on 7/25/2008
Re: How to reference web.config elements from custom control's property builder dialog?
I guess I did a bad job of explaining myself in the beginning. I apologize. I have my custom control, which has a connection string property, among several other properties. I want to have a component editor for that custom control which displays ALL properties in one dialog, which I have had to build seperately. Here's an example skeleton of my control: [ ToolboxData ( "<{0}:ExampleControl runat=server></{0}:ExampleControl>" ), ParseChildren ( true , "Items"
Posted to
Custom Server Controls
(Forum)
by
LKB
on 7/25/2008
Re: How to reference web.config elements from custom control's property builder dialog?
Thanks for the suggestion, ASP.N3T. I hadn't even thought to do it that way. I added your above code to my project, but I'm having some trouble figuring out how to bind the dropdownlist in my component editor. Can I just call ConnectionStringConverter.GetStandardValues() from there? What kind of argument can that take? I've tried to look up ITypeDescriptorContext, but I'm having trouble finding details on exactly how that interface is used. Could I trouble you for another example
Posted to
Custom Server Controls
(Forum)
by
LKB
on 7/24/2008
How to reference web.config elements from custom control's property builder dialog?
I have a custom control which has a property builder. I want to be able to populate a dropdownlist in this property builder with all the ConnectionString elements from the web.config file of the project that the control was added to, the same as is done in the property builder for the SqlDataSource object. I can't seem to find a programatic way to reference that reliably. If I use ConfigurationManager.ConnectionStrings, I appear to get the configuration associated with Visual Studio itself, not
Posted to
Custom Server Controls
(Forum)
by
LKB
on 7/24/2008
Filed under: property builder, Web.config
How to make a Collection of WebControls as a property of a non-rendering control
I'm working on a suite of controls to be used for easy database communication. I've got a master control that handles all the connection properties and command building and then I have a bunch of controls which inherit from standard web controls like TextBox and Label. The master control needs to be able to refer to the controls which it needs to build its select and update commands, but I'm having trouble finding a way here that works. I've tried having a collection of the controls
Posted to
Custom Server Controls
(Forum)
by
LKB
on 4/3/2008
Re: State of items in collection does not update after PostBack
I was afraid of that. Is there any way to create a collection of control references?
Posted to
State Management
(Forum)
by
LKB
on 4/3/2008
State of items in collection does not update after PostBack
I have created some control classes which extend basic .NET webcontrols like TextBox and Label. I have also created a custom collection to hold these controls so that I can easily iterate through them later. This collection is basically just a wrapper for an ArrayList which implements the IStateManager interface. All of this seems to work just fine except across postbacks. The state of the controls themselves updates fine, but if I access them through the collection I've created, their state
Posted to
State Management
(Forum)
by
LKB
on 4/3/2008
Custom extended controls lose base control values on PostBack
I have a group of custom classes that extend standard webcontrols: TextBox, CheckBox, DropDownList and Label. These extended controls have a common group of added properties. These are implemented via an interface which the extended controls share. I have another custom class which holds a collection of these objects. Then I have a third custom class that has as one of its properties an instance of this collection class. All of these custom classes implement the IStateManager interface as well. These
Posted to
State Management
(Forum)
by
LKB
on 3/31/2008
Page 1 of 1 (8 items)
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
WindowsClient:
Track Fedex packages with Bing
Channel 9:
Marty O'Donnell - The man behind the Halo Music
Channel 10:
Twitter App for Zune Launches
WindowsClient:
Rotate your text in the WPF DataGrid Column Headers
WindowsClient:
New gameplay video with D&D on Surface
WindowsClient:
ViewModel Pattern and Speech as UI. Help me Obi Wan, where’s the View?
Channel 9:
Karsten Januszewski and Tim Aidlin: Introducing Incarnate
Channel 9:
Reactive Extensions API in depth: Retry
Channel 10:
iBing uBing: Bing iPhone App Arrives
WindowsClient:
Migrating an Outlook Client to .NET Framework 4 in Visual Studio 2010
Channel 10:
A Look Behind Mouse 2.0
WindowsClient:
Using Speech Synthesis in .NET 4 and Windows 7
Channel 10:
Office 2010 "5 Rules" Presentation
Channel 10:
30% off Expression Web 3 until Dec 28th
ASP.NET:
Live Preview jQuery Plugin
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online