Browse by Tags
All Tags »
Web »
Custom Controls (
RSS)
I've come up with some preliminary design specs of the initial functionality that I want in this control. I've included some of the interactions that can happen in the control, and the basic view (once I figure out how to attach an image, I'll...
I really like some of the components you see in computer magazines. They have a visually appealing, yet functional approach to being able to schedule work items and tasks, similar to what you can do in Outlook. I haven't done this yet; it's not...
I've been writing some custom controls and I have several controls in a composite controls that have links. Take this custom CompositeControl, for example, where I define a calendar: private Calendar _calendarControl =null; // properties to expose...
http://www.codeplex.com is a great community site with many developers contributing various types of awesome applications. That is where I stored my Reminder.NET project, which was discussed on the Extreme Programming blog. One of them that I downloaded...
The gridview and detailsview controls, which support using DataControlField classes for their columns, support the addition of any DataControlField custom fields you create. For instance, I created a RowField custom field that is hidden, but highlights...
Recently, I've been seeing the value of application frameworks, like the Membership and Roles frameworks. Having the capabilities for your application, custom controls, and other objects to work together through a common API, components working together...
In ASP.NET 2.0, there is an UrlProperty attribute that can be used to link a property to a specific file type. For instance, the property: [UrlProperty("*.aspx")] public property PostBackUrl {} This property restricts the file type to .aspx files. You...
I was looking with Reflector at the GridView control the other day, realizing how it received click events for the buttons defined in the GridView. Whenever a button is clicked, it has a command associated with it. This command event argument is bubbled...
I must admit some initial flaws in my control design. I originally thought that the custom control could work by having the child control that is repeated could build its own control collection and manage its own viewstate. I think I was wrong, and I...
Previously, I posted that child controls of a composite data bound control can post back for certain events, and yet the child control can retain its viewstate. So what happens on the data bound control side? The data bound control taps into the child...
I had a problem with a composite control I was building; I tried several ways to implement it, either through the CreateChildControls and Render methods, or through Render only. Neither approach worked. What I was trying to do it output a label or textbox...
When creating custom controls, especially composite controls that can change their state from a readonly mode to an edit mode (switching controls that show the data from labels to text), the ITextControl interface comes in handy. It defines the Text property...
If you are looking to create custom data-bound controls, the Microsoft documentation has a few examples, including this walkthrough: http://msdn2.microsoft.com/en-us/library/ms366539.aspx What I have a hard time understanding is the code they recommend...
It is possible, in an assembly, to embed a javascript file. This can be useful to keep your javascript code with your .NET custom control code, which is the most frequent usage. To get a reference to it, you use the Page.ClientScript.GetWebResourceUrl...
Here's an article I wrote on Custom EditorPart controls. These editor parts are cool, because they render like any other control, and work dynamically to edit the values of a class that inherits from the WebPart class. Classes that implement IWebPart...
More Posts
Next page »