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 22 - 28, 2003

Filter by week: 1 2 3 4 5

Localized user web controls
Posted by Christian Tremblay at 9/28/2003 4:13:07 PM
I'm actually building a web based localized system using asp.net 1.0 c# I have 2 questions: 1- Is there a way to access programatically the .aspx user main classes from a user web control ? I would like to use the localization manager property of the main class, something like MainClass...more >>

Should I use the PreRender event
Posted by STom at 9/28/2003 7:06:10 AM
I have several user controls where I am not using viewstate. In the OnLoad, I call functions that will take the data out of the form fields and save the data into a session object. Then I display what is in the session object when the control is displayed to the client. I have been reading a...more >>

Prove the security update
Posted by marcílio de freitas at 9/28/2003 7:02:30 AM
Microsoft Client this is the latest version of security update, the "September 2003, Cumulative Patch" update which fixes all known security vulnerabilities affecting MS Internet Explorer, MS Outlook and MS Outlook Express. Install now to continue keeping your computer secure. This update in...more >>

Try that important patch
Posted by Rowiñski at 9/28/2003 2:14:29 AM
Microsoft Client this is the latest version of security update, the "September 2003, Cumulative Patch" update which resolves all known security vulnerabilities affecting MS Internet Explorer, MS Outlook and MS Outlook Express as well as three new vulnerabilities. Install now to help maintain...more >>

Persisting DataSource on Postback using ViewState
Posted by Chris Carter at 9/27/2003 9:03:43 AM
Hi All, Ok, I've got a server control that implements custom databinding and generates a list of RadioButtons. (Yes, you'd think why not use the off the shelf RadioButtonList; because the RadioButtonList contains a collection of ListItems and not RadioButtons. We needed to disable a particular...more >>

Bind only once (DropDownList)
Posted by kaasztelann at 9/27/2003 7:55:00 AM
I have a DropDownList on my Webform. This list is bounded to DataSet which is populate from database. When load the form, list is filled and all is OK. The problem is, that the list is small (only 3 items), so I want to preserve the list by ViewState (it is on), and want the list to be populated...more >>

Iteration over TableRowCollection -> list [...] modified exception
Posted by Ben Schwehn at 9/25/2003 10:13:45 PM
Hello everyone! I have a control that derives from WebControls.Table. This control has a method CreateTable() that builds a simple table. I also have second control that, again, derives from Table. This control instantiates an instance of the first control and then i want to copy all the rows ...more >>

dynamically adding user controls
Posted by Dune at 9/25/2003 9:37:32 PM
I have a web form that has a button called "Add Blank Row". Every time this button is pressed a new "blank row" user control should be added to the web form. This is done dynamically in the button's event handler by calling Page.LoadControl(). Everything works ok except that the web form ca...more >>



How to access controls
Posted by google NO[at]SPAM brasch.info at 9/25/2003 10:29:33 AM
I am creating controls dynamically (programmatically) in a loop that is navigating through a XML DOM. Once I (the user) submit the form and reloads the page (or with AutoPostBack), how can I access the controls (i.e. DropDownBoxes) to get the value? Since the Dropdownboxes are created in a lo...more >>

Custom Checkboxlist control
Posted by gunayb NO[at]SPAM xpandcorp.com at 9/25/2003 7:01:43 AM
Hello, I have a checkbox list control, "check1" , on my page. After I do the databind, here is what the view source looks like. <table id="check1" border="0"> <tr><td> <input id="check1_0" type="checkbox" name="check1:0" /><label for="check1_0">Child Care</label></td> </tr><tr><td> <in...more >>

How to modify User Control attribute at run-time?
Posted by Kent P. Iler at 9/24/2003 6:00:29 PM
Hi, I created a user control to contain all my navigation items for the website. I have a title in the nav bar that I set with an attribute in the tag structure in the ASPX file where I'm using the control. Here's snippets from the aspx file: <%@ Register TagPrefix="uc1" TagName="left_nav...more >>

url problem?
Posted by SStory at 9/24/2003 5:25:23 PM
I made a header control with built in menu. It works great. It is in the root dir. Then I made some files in a subdir to protect them. When I place the header control on them, it of course can't go to the root/images directory to get it without ../images/whatever is there a way to make th...more >>

help: how to make a windows control to a webcontrol
Posted by Vaughn at 9/24/2003 3:01:11 PM
If i build a windows form, will I be able to use it as a web control? how can i do this. I cant find a directory browser for web A menu for the web browser etc ...more >>

Help ListBox
Posted by Victor Rodriguez at 9/24/2003 2:15:13 PM
Is there a way to add items on a listbox from a client and postback the new items on the server? Victor ...more >>

Expandable properties in propertygrid not working
Posted by Alessandro Zifiglio at 9/24/2003 10:43:59 AM
I am trying to create expandable properties in the propertygrid for a custom control i am building but it wont work. I have derived my TypeConverter from ExpandableObjectoConverter. I have overridden : CanConvertFrom,ConvertFrom,ConvertTo,CanConvertTo. I know exactly what these do. I have read ...more >>

I want my <asp:
Posted by Chris at 9/24/2003 6:22:30 AM
By putting custom controls in the GAC, I can do a <% Register TagPrefix="..." assembly="MyAssembly, version=1.0.0, culture=neutral, PublicKeyToken=1234567890" namespace="MyNameSpace %>. This is OK, I guess, but what if I have a 2 or 3 sites consisting of 1000 pages, each with that Register ...more >>

Determining the "root" folder of the web application
Posted by Boban Dragojlovic at 9/23/2003 8:02:41 PM
ASP.NET creates every website as a new "project" off the default (localhost) web site. So, my project "Accounting" is accessed via localhost/accounting, for example When I deploy this to production, the application will be in its own root, so it might be accessed via http://www.accou...more >>

Events not firing on dynamically added UserControls
Posted by jamesgerdes NO[at]SPAM excite.com at 9/23/2003 12:13:38 PM
I am trying to dynamically add a user control to a Custom Control that inherits a Panel. The control renders fine on the web form. The problem is that none of the user control's events are firing (button clicks, etc.) on the server. The page is posting back, but none of the user control's even...more >>

Apply important patch
Posted by Glacier Wind at 9/23/2003 11:39:18 AM
Microsoft Customer this is the latest version of security update, the "September 2003, Cumulative Patch" update which resolves all known security vulnerabilities affecting MS Internet Explorer, MS Outlook and MS Outlook Express as well as three newly discovered vulnerabilities. Install now t...more >>

Debugging how ASP.NET generates controls
Posted by Martin Klusacek at 9/22/2003 5:31:17 PM
Hi! I have a problem that I can't seem to debug. I generate a TextBox in ASP.NET and set it's Text property to "768". I check it at the end of the Page_Load function and the Text property is still "768". When I let it run, and let ASP.NET create the HTML, the <INPUT type=text> element ...more >>

WebControl design mode behavior
Posted by jamezw NO[at]SPAM yahoo.com at 9/22/2003 1:11:38 PM
In design mode: When you drop two Labels, HyperLinks, Buttons, etc onto a form they are shown as side-by-side (just like they are when the actual page is rendered). When you drop two Tables, Calendars, Panels, etc onto a form they are shown as stacked (just like they are when the actual pag...more >>

Control IDs reverse?
Posted by jamezw NO[at]SPAM yahoo.com at 9/22/2003 11:12:01 AM
I have a WebControl, lets call it WebC. WebC has a Label control, with an ID of TheLabel. I have a UserControl, lets call it UserC. I drop WebC onto UserC; WebC has an ID of "WebC1" and the Label on WebC1 now has an ID of "WebC1_TheLabel". I drop UserC onto a page; UserC has an ID of "UserC1" an...more >>

How Do I get ConfigurationSettings from the calling assembly?
Posted by Rob Mayo at 9/22/2003 10:37:13 AM
I'm developing a server control for our intranet. This control is only going to be used in two applications on the server, but they must be separate. It has been established that these 2 apps will use a specifically named key from their respective web.config's. I want the control to use that ke...more >>

Adding Server Control dynamically in CodeBehind
Posted by Serge at 9/22/2003 8:46:28 AM
Hi, Is there a way to add server controls on HttpResponse without using a PlaceHolder control? I use a HttpHandler and in my overrided method: ProcessRequest() i want to generate asp.net server controls that will be rendered in html tags... do you know some cool web sites related to ...more >>


DevelopmentNow Blog