| Thread | Last Post | Replies |
|
| Inherit ListItem? | 28 Mar 2007 08:16 GMT | 1 |
I am interested in creating a ListItem like control that has the ability to persist its AttributeCollection in ViewState, in addition to the Text and Value properties. However, ListItem is not Inheritable, so what am I do to create such control?
|
| CompositeDataBoundControl and "Failed to load viewstate" | 27 Mar 2007 11:02 GMT | 4 |
I am new to this CompositeDataBoundControl, and I have an issue with loading viewstate on Postback. The error message is as follows: "failed to load viewstate. The control tree into which viewstate is being loaded must match the control tree that was used to save viewstate during ...
|
| Data binding to a CompositeControl | 26 Mar 2007 02:39 GMT | 1 |
I am very new at using the CompositeControl or CompositeDataBoundControl and at DataBinding in general My requirement is that I would like to declaratively tell my control to bind to a specific instance of a class; the control then looks at the
|
| TreeView in server control throws errors... | 19 Mar 2007 20:20 GMT | 1 |
What is the proper way to add a TreeView, with child nodes, to a server control? I was getting two errors. The first was quickly resolved by setting the SkipLinkText = String.Empty;
|
| Can't find other Controls from my own Control | 19 Mar 2007 19:56 GMT | 3 |
I'm creating a "PopUpDatePicker" control, inheriting from Hyperlink. The goal is to click on that control, select a value from a Calendar and set this date value to a target control, usually a TextBox. Problem is on the OnPreRender event, where I try to find the target control.
|
| how to show multiple fields in a listbox? | 19 Mar 2007 10:58 GMT | 5 |
I have a listbox that is filled with data from a database, but only one field shows. Is it possible to show more fields in a listbox? regards,
|
| Adjusting the Design Time output of control derived from a TextBox | 19 Mar 2007 08:32 GMT | 4 |
I have developed a custom control that derives from a TextBox, During the controls OnInit method I have hard coded the TextMode to MultiLine, however when the control is rendered at design time it only ever renders as a single line Text Box, Is there a simple solution to this or ...
|
| multiple selection in listbox | 16 Mar 2007 09:38 GMT | 2 |
I would like to select and use multiple records in a listbox . Is this possible? I use ASP.NET 2.0, VS2005
|
| [AJAX] custom control implementing IScriptControl : no key events notification in firefox | 15 Mar 2007 15:18 GMT | 5 |
I have written a very simple custom control that renders itself as a DIV. This custom control implements the System.Web.Extensions.IScriptControl interface. Here is an extract of the server code:
|
| Can you set a "required attribute" on control property? | 14 Mar 2007 22:17 GMT | 1 |
When creating a property for a server control can you set some sort of "required attribute", so that the developer sees the browser message you see when you leave off an attribute on a Microsoft control: Parser Error
|
| web.config servercontrol binding problem | 14 Mar 2007 21:39 GMT | 2 |
I created a very simple server control, but i cant bind it in web.config, i keep getting this error message: Parser Error Message: Could not load file or assembly 'LaberImage, Version=1.0.0.0, Culture=neutral, PublicKeyToken=d757f12d29dc4c83' or one of
|
| Why can't user controls be compiled into DLL and shared with other web applications | 13 Mar 2007 02:34 GMT | 3 |
Guys, Does anyone know the technical reason why user controls couldn't be compiled into an assembly and shared with other web applications. If the ASP.NET compiler can compile the user control pages at runtime into
|
| Removing Assembly Page Directive Attribute | 13 Mar 2007 02:16 GMT | 1 |
I was trying to create a very basic custom control that simply outputs a literal string and the and date. After creating the custom control class, I referenced the custom control in a webpage. When I added the following an attribute "Assembly" in the page directive which I
|
| Removing a property from a custom control derived from TextBox | 12 Mar 2007 11:29 GMT | 3 |
I have created a Custom control which automatically grows a TextBox to fit the text that is being entered, consequently this control must be a MultiLine TextBox. I would like to remove the "TextMode" Property, the closest I have achieved so far is to change the property to a Get ...
|
| Decorating Derived Page Classes with Custom Attributes | 07 Mar 2007 02:53 GMT | 5 |
I've created a couple of custom class attributes to decorate derived Page classes in my ASPNET application. To access them, I use the following pattern: [CustomAttribute(some stuff)] public partial class DerivedPage : BasePage
|