Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008
all groups > asp.net building controls > november 2004 > threads for november 1 - 7, 2004

Filter by week: 1 2 3 4 5

Error: Webcontrol must have items of type X. SubLinks is of type Y
Posted by ~~~ .NET Ed ~~~ at 11/7/2004 5:16:42 PM
Hi, I have made a web control that has two sorts of items. The first is the Links property that has a persistence attribute of InnerProperty, the other is SubLinks with the same attribute. Both are of the same collection type. The control has its own designer class (although it doesn't render...more >>


maintain viewstate in listboxes
Posted by DC Gringo at 11/6/2004 7:49:56 PM
I have an asp.net vb page with two web user controls on it. The first user control, uc1.ascx has a series of list boxes that are populated in series by each other with ONSELECTEDINDEXCHANGED. In the second control, uc2.ascx, lower down on the page, there is an imagebutton. When the imagebutt...more >>

How to access values entered in User control in the main page.
Posted by vineetbatta at 11/6/2004 3:30:02 PM
Hi Guys, i have a user control which allows the user to enter Name& Address in text boxes. I use the same user control in the main page... Is there a simple way of accessing the Name & address entered in the text boxes of the user control in the main page(Page hosting the user control ...more >>

Control and Parent
Posted by Zürcher See at 11/5/2004 4:07:25 PM
The Control class has the Parent property that is readonly. When the control is added to a controls collection of another control the Parent property refers to that control. "Who" set the Parent property? How to implement this "mechanism"? public abstract class MyControl { private MyCont...more >>

Editcommancolumn in datagrind in asp.net
Posted by venkat_chellam NO[at]SPAM yahoo.com at 11/4/2004 7:19:12 AM
I have a question. I have datagrid in asp.net page. grid will be loaded some information on page load. One column of the grid is editcommandcolumn type with edit, update and cancel options. I don't want the edit button(linktype) to be enabled for all the rows. Bases on some information, ed...more >>

Configuration
Posted by Paul Ledger at 11/4/2004 1:52:07 AM
I've written a control and I want to be able to pass certain information to it via a configuration file. I've created the config using the namespace + dll + config and I've placed it in the bin directory on the website. But when it comes to reading the information from the file using... str...more >>

HowTo: Dynamically Add Custom Controls?
Posted by David Freeman at 11/4/2004 12:54:41 AM
Hi There! I'm having trouble dynamically adding custom controls. My custom controls does not use code-behind but only <script /> block for programming. So as a result, I don't need to compile my custom controls to dll for them to work. But I wonder, if I don't compile to dll, can I still d...more >>

Page Load vs Page PreRender
Posted by mhancock NO[at]SPAM jcpenney.com at 11/3/2004 5:03:33 AM
We have a custom control that is a dropdown list extended. We have put code in the SelectedIndexChanged Event to run a query against a database to load a new list. This control is used to move up/down a hierarchy data structure. We are using this control on a Web Form to tell us which data to...more >>



2 onlick events?
Posted by DC Gringo at 11/2/2004 5:08:29 PM
I have a clickable image that I would like to convert into a server control imagebutton accessing a server-side onClick event and a client-side javascript onclick event as well. Is this possible? How can I invoke both the client side javascript event and the server side VB? Here's what I sta...more >>

Custom Control that accepts Inline Code
Posted by JWhitted at 11/1/2004 11:54:08 AM
I created a control which parses its sub objects and wraps the code in an HTML wrapper. For example: <abc:Section ID="Section1" Runat="server" Title="Example"> <p>This is an example.</p> <p>This is an example.</p> </abc:Section> When the above example is rendered to HTML it appears as fo...more >>

collapsible panel?
Posted by ColinRobinson at 11/1/2004 7:52:23 AM
anyone done a collapsible panel in VB by inheriting the ASP:panel control I need to create one. A server side collapse would be fine but obviously i prefer client side collapse I have no idea how to do this and time as always is not on my side. Some code in Vb would be great but I'll readil...more >>

How can a control inject a style (or javascript reference) in the page HEADer?
Posted by ~~~ .NET Ed ~~~ at 11/1/2004 2:09:07 AM
That is the question indeed!. It is not the first time I make some sort of web control that depends on some CSS styles. Usually one would go around using the CssStyle property of the HTML markup to do some inline styles. But my situation is that these styles I need: a) are a little too big to...more >>


DevelopmentNow Blog