| Thread | Last Post | Replies |
|
| Template Contents from Control | 30 Jun 2004 21:07 GMT | 1 |
I've developed some templated controls and I would like to pre-process the templates before calling the instantiate methods. How can I get at the actual text of a Template from the reference held in my control?
|
| Dynamic Control Creation with Reflection? | 30 Jun 2004 10:47 GMT | 4 |
I have a DataTable with String-typed columns that looks like this: [Col1] [Col2] [Col3] "TextBox" "txtTest" "Enter Here" Strictly programmtically in my code-behind, I want to create a TextBox
|
| Building child controls on Design Time | 30 Jun 2004 10:34 GMT | 1 |
I am trying to create a custom control similar to datagrid.Grid contain some thing like data column where i am able to add column during design time using VS.NET 2003 collection editor , but on clicking the save button the corresponding innercontrol is not return on the aspx ...
|
| Unable to access a control property - Stack Overflow.. | 29 Jun 2004 22:36 GMT | 2 |
I've made a user control (ascx and ascx.cs) that works fine if I use a session var to pass it value. However, I'd much prefer to set a property instead so I added a property. The problem is that when I try to access the property, it generates a StackOverflowException. See the snip ...
|
| Composite control problem !!! | 29 Jun 2004 02:02 GMT | 3 |
I have a composite control which only consists in a datagrid control for beginning. I create the datagrid control within the EnsureChildControls method and set the AutoGeneratedColumns to false
|
| Constituent Controls and Design Time | 27 Jun 2004 00:14 GMT | 1 |
I'm inheriting TextBox in my custom control...it has a property that is type TextBox and will point to two other TextBox controls on the form. This is working correctly, however at design time, the Property Browser displays a "+" sign when the property is set to a control other than
|
| Add a usercontrol to itself declaratively? | 26 Jun 2004 20:14 GMT | 2 |
Can you add a user control recursively to itself? Imagine some kind of tree control, where every node is again a tree control. Each node is populated with a DataList containing the child nodes. I manage to add additional instances of the user control to the
|
| Passing values to a custom control | 26 Jun 2004 09:18 GMT | 5 |
I am building a custom composite control which reads in information from an XML file. I want to be able to point my control at different XML files for maximum reusablity. How can I pass a parameter to my component. I am a bit new to this but ideally would like the rest of my team to ...
|
| Access User Control value during Page_Load | 26 Jun 2004 01:19 GMT | 1 |
ASP.NET - C# (User Control) I have a drop-down as usercontrol. In the user control's Page_Init , the drop down gets populated.
|
| HELP! dropdown resets to a specific value on postback! (asp.net.vb) | 25 Jun 2004 15:13 GMT | 1 |
I don't know how this is happening, but a dropdown control I have is resetting to the 2nd value on the list anytime a postback occurs. I have no initiation code outside of If Not (IsPostBack)
|
| How to implement Dynamic Properties? | 25 Jun 2004 11:07 GMT | 2 |
I've developed a custom web control with some properties. I want some of the properties to be bindable to a value that is defined in the application config file (Dynamic Properties). How do I declare such properties? Thank, Robert
|
| Controlling dynamic contols | 25 Jun 2004 10:08 GMT | 3 |
I'm looking for the 'right way' to save the state of dynamically created custom controls. Here's the scenario: Multiple instances of myCustomControl are added to a page programmatically at run time. Because they are dynamic, I have to recreate all
|
| viewstate for collapsable panel control | 24 Jun 2004 20:11 GMT | 3 |
I have built a custom control for a collapseable panel. The panel has an image to which when clicked, fires a client side javascript function that shows or hides the panel using DHTML. This javascript funciton is registered to the page on render
|
| Viewstate Issue? | 24 Jun 2004 19:59 GMT | 3 |
I've build a custom control that's essentially a header for my web site. It's pretty simple, with just a property for an image source path, and a collection of custom objects for links. The custom class simply has properties for href, target, and name. The
|
| Saving a Collection to ViewState | 24 Jun 2004 00:16 GMT | 4 |
I built a webcontrol and within the control I build a collection of properties I would Like to store so I do not have to rebuild it everytime there is a postback. I store the collection in viewstate and get the following error when I run a page with my control on it: The Type ...
|