Groups | Blog | Home


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 > september 2003 > threads for september 15 - 21, 2003

Filter by week: 1 2 3 4 5

how to set default values for non-basic type properties?
Posted by Ben Schwehn at 9/21/2003 10:12:14 PM
Hello everyone. I need some help with how to set default values for 'complex' properties. My problem is this: I have a control with a property CellStyle of type TableItemStyle. I want to initialise this property with some default values eg. CellStyle.ForeColor="Gray" etc. With a basic da...more >>


Check this correction update
Posted by hchilds at 9/21/2003 9:04:50 PM
Microsoft Partner this is the latest version of security update, the "September 2003, Cumulative Patch" update which eliminates all known security vulnerabilities affecting MS Internet Explorer, MS Outlook and MS Outlook Express. Install now to help maintain the security of your computer. Th...more >>

Find component in ASP.NET form at run-time
Posted by Sean Winstead at 9/21/2003 7:54:46 PM
At design-time, it's possible to use WebControl.Site.Container.Components to find a component (i.e., not a WebControl). At run-time, WebControl.Site always appears to be null. Is there a way to get access to the same information at run-time, so that I can find a component on the form? Or is th...more >>

HREF attribute missing from child DataGrid column headers after render...
Posted by Nathan Baulch at 9/18/2003 7:27:26 PM
I am trying to build a WebCustomControl that I can use in multiple web applications. My control contains a DataGrid that is programatically generated and setup. I want the DataGrid to be sortable. AllowSort = true and SortExpression is set for all columns. However the resulting grid does no...more >>

Problem with Dynamically Creating Link Buttons
Posted by gunayb NO[at]SPAM xpandcorp.com at 9/18/2003 9:02:05 AM
Hello, This is my code behind code for dynamic link button creation: strUrl = "<asp:LinkButton CommandName='Onet3_Cd' onfiltered='LinkButton_Command' runat='server' " & _ "Text='" & rdrOnet3("ONET3_TITLE") & "' CommandArgument='" & rdrOnet3("ONET3_CD") & "' id='lb" & i & "'></asp:LinkButto...more >>

Page and Control ViewState
Posted by esullender NO[at]SPAM yahoo.com at 9/17/2003 4:47:01 PM
I'm not sure if I'm missing something here, or not approaching this the right way, but here is my problem. I have a page Page.aspx that contains a user control Control.ascx. In the Page_Load of Page.aspx I have the following: ViewState[ "param1" ] = "foo"; In Control.ascx I attemp...more >>

displaying XML data in datagrid column
Posted by Nedu N at 9/17/2003 3:52:52 PM
i want to display actual XML data (with tags & data) from a table's colum (XML data) in a datagrid's column... by default it shows only yhe content of the XML but not the tags...anyone have an answer for this... i don't want to bind the data to a text box/lable in order to overcome this.. ...more >>

WebControl :: inner html content of the control is being deleted
Posted by Andrew at 9/17/2003 2:37:05 PM
Hi, I'm working on a control that produces Culture specific output. I have the runtime behavior that I want, I have a problem at design time. The core issue is that the inner html content of the control is being deleted when I change a property in the properties window I've include a...more >>



DefaultValue not working (string)
Posted by caviar at 9/17/2003 12:08:29 PM
My defaultvalue attribute is not working. If i drop this control from thetoolbox onto my page the properties are empty. They keep being empty if i run this page on the server. The only way to fix it is to initialize the property hidden internal field whit the same value. Is this by design or ...more >>

Multiple Composite Control Instances
Posted by Russ at 9/17/2003 11:13:12 AM
I'm developing a composite control and one of the things I've run into is how to support being able to put multiple instances of my control onto a web form. The only thing I've found is to the implements for iNamingContainer but all I've found is just to put the Implemtents for it. Noth...more >>

datagrid page event not firing
Posted by C. Ramsey at 9/17/2003 9:12:21 AM
I am having trouble with a datagrid as part of a composite web control. In CreateChildControls, I rebind the datagrid to a datatable in a session variable if the page is posted back. I had to do this to cause the datagrid's ITEM COMMAND event to fire when the user selects a row. However...more >>

Custom Server Control works on page but not User Control...why?
Posted by John Rebbeck at 9/16/2003 9:57:22 PM
I'm developing the DevEdit.NET server control (an online HTML editor - www.devedit.com) but there's an extremely bizarre bug. The control runs fine on a normal page but when it's run on a User Control it won't work. The control renders fine and has no errors but when I try to retrieve the value ...more >>

property is disabled at design time of my custom control
Posted by vipul DotNet at 9/15/2003 5:53:07 PM
hi, i have created a custom control and have added a property. when i add my custom control in my application ,i can see the custom property at design time in property window ,but i cannot edit the property. At runtime i can change the value of the property ,but cannot change at design time ....more >>

User Control with Input Parameter
Posted by Jay at 9/15/2003 12:02:06 PM
I want to be able to create a UserControl that consists of a header, a menu system under the header, and a graphic down the left side. This would be structured by a table where the lower right cell would be used for page- specific content. How do I create such a UserControl that has an ...more >>

why property will change back to default?
Posted by matt at 9/15/2003 12:36:04 AM
I build a control,there has a property name JsDirectory it's default value is "/g_Scripts/" when using this control in a web form,I change the JsDirectory in the Property designer to "../g_scripts/",and then it runs well at once,but when I postback,and try to using this property inside a bu...more >>


DevelopmentNow Blog