| Thread | Last Post | Replies |
|
| Control doesn't respond to Postback | 14 Oct 2003 16:11 GMT | 2 |
I have a Custom Control which is used for searching on my site. I've made it a child of a PlaceHolder, which is contained within the server form tag. This uses client and server-side validation and both of these work correctly. The Page_Load event handles fine in my custom control ...
|
| How can I use working Linkbuttons within a Web Custom Control? | 14 Oct 2003 15:21 GMT | 3 |
I've got a Web Custom Control within which I'd like to use LinkButtons. This looks more ore less like this... protected override void Render(HtmlTextWriter output) {
|
| .ascx UserControl Properties are set after Page_Load only on PostBacks | 14 Oct 2003 14:51 GMT | 3 |
I wanted to have a hierarchical DataGrid so I created a User Control that has a DataGrid to act as the Child Grid. I put it inside a pageable Parent Grid with a page size of one as below in Parent.aspx. <%@ Register Tagprefix="ABC" Tagname="ChildDataGrid" Src="ucChild.ascx" %>
|
| Persisting Design-time generated value | 13 Oct 2003 22:52 GMT | 2 |
I want to add a property to a control that will contain a GUID. This GUID. Should be generated at design time, when the control is dropped onto a WebForm. After the control has been dropped, the GUID should always be of the same value. The problem is, that I cannot seem to get ...
|
| Custom collection design time support | 13 Oct 2003 15:50 GMT | 2 |
I'm having problems implementing design time support for a custom collection in a custom web control. I have managed to get it to display the collection editor and persist the collection items into the code of my code behind file.
|
| Problem with LoadViewState | 13 Oct 2003 14:01 GMT | 9 |
Hallo NG, I have problem with the methode LoadViewState. I develop a custom DataBound control, which create other DataBound Controls.
|
| Accessing UserControls programmatically | 13 Oct 2003 13:42 GMT | 3 |
I'm not using Visual Studio.NET so I'm not able to find anything on how to do this by hand. Basically I want to reference a UserControl in my aspx page's .CS class file. Whenever I do this though I keep getting a compilation error that the type or namespace name cannot be found. I ...
|
| Codegeneration in custom webcontrols | 13 Oct 2003 13:39 GMT | 5 |
I'm fiddling around with CodeDom and codegenration. I've looked at some samples which adds comments and a methodcall but I want to do more. I?ve created a control with a linkbuttoncollection where
|
| Possible? Different .ascx to share same codebehind | 12 Oct 2003 16:06 GMT | 2 |
Is it posible to have differet GUI .ascx file to "use" the same code behind? I have many ascx which have the same number of conrols in it and the same business logic to handle the control events. The only difference among
|
| Custom Control with Child Controls | 12 Oct 2003 11:43 GMT | 4 |
I have created 2 custom control : MyControl and C1 I have following tags in my aspx file : <myCtrl:MyControl runat=server> <myCtrl:C1 Text="A" runat=server />
|
| retrieving values from dynamically created controls | 11 Oct 2003 15:14 GMT | 2 |
Someone please clear this for me! I display a bunch of button controls on a page dynamically, adding them to a placeholder control in my .aspx. I have a button with a on_click event that is suppose to grab the values from those dynamic controls.
|
| Multiple Collection Properties in a Custom Control | 11 Oct 2003 14:33 GMT | 1 |
I am attempting to create control with 2 collection properties that are persisted with mode PersistenceMode.InnerProperty. When I create the control I get an error message '' could not be set. I can create and use the custom control if it contains only 1 collection
|
| Add labels to custom control | 11 Oct 2003 08:56 GMT | 3 |
I am trying to add a label in my custom control based on a condition but could not find how to do it. I have the following code at my Render event: Protected Overrides Sub Render(ByVal output As System.Web.UI.HtmlTextWriter) 'Get the values to display from a datareader
|
| Licensing controls? | 11 Oct 2003 08:47 GMT | 1 |
I have a custom control that I have created and compiled into a DLL. I've had a number of clients tell me that they'd like to purchase the control. For clients, I have no problem giving them the DLL, as I'm sure they're not going to give it away. But if I want to sell the control in ...
|
| Problem with web user control loaded programatically | 10 Oct 2003 23:14 GMT | 1 |
I am loading web user controls into a web page programitically using the cone below: private void Page_Load(object sender, System.EventArgs e) {
|