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 webcontrols > may 2005 > threads for may 8 - 14, 2005

Filter by week: 1 2 3 4 5

Utilities/Addon for Creating Tables
Posted by Amar Kapadia at 5/14/2005 10:29:58 PM
hello: Apologies if I am posting in the wrong forum. If so, please direct me to the proper forum and I will repost. Here is my question: I am slowly learning ASP .NET programming and am now doing an exercise to build a very small and simple Shopping Cart. My problem is that I am having ...more >>


Web Page Header and Menu
Posted by poifull at 5/14/2005 12:00:00 AM
Hi everyone, I would like to develop a header and HTML menu system for most of the web pages on my web site. What is the best solution for this scenerio? (HTML Control, Server Control...) Thanks for your response ...more >>

Dynamically Adding Controls
Posted by Nathan Sokalski at 5/13/2005 5:48:25 PM
I am trying to dynamically add controls to my page, but am having trouble with controls such as buttons. I have been able to add simple controls such as Label controls, because they can be placed anywhere. I have managed to add Labels using the following code: Dim extralabel As Label = New ...more >>

dropwon list question
Posted by abcd at 5/13/2005 4:43:47 PM
I want to add to dropdown list the first entry as a hard coded entry then after that I want to add the entries thru Data reader. How can I do this...when I add listitem and then datasource = dataReader then my hard coded listitem is overwritten.... any idea... ...more >>

User Controls
Posted by Paul at 5/13/2005 12:24:03 PM
I declare a UserControl called header and in that header I declare a <asp:label id=name> control. I reference this user control at the top of my HTML page. In my Page_load subroutine, I try to programatically set that "name" equal to something. I get an error saying that the "name" has n...more >>

Staggering Data using DataList, Repeater, etc...
Posted by Nathan Truhan at 5/13/2005 8:06:08 AM
All, I am trying to output data in two columns, from a datatable. However, I don't necessarily want the cells to be the same size. What I have is the Course Catalog for our university, each course description is not the same size, but I need it to diplay in two columns to look like our bo...more >>

Repeater and RadioButton
Posted by Patrice at 5/13/2005 12:00:00 AM
I would like to create radiobuttons in a repeater. Unfortunately as the repeater will make each radiobutton having a distinct name, they are not considered as being part of the same group. I also having other columns int the repeater (ie. I'm likely unable to use a radibutton list in this case...more >>

Best free/cheap Menu Control for 1.1
Posted by Martin at 5/13/2005 12:00:00 AM
I am looking for a nice webcontrol for displaying menus: - good looking - userroles - vertical and horzontical - fast Which one is the best? Martin ...more >>



Get state of Dynamically generated controls on post back
Posted by Amelyan at 5/12/2005 1:38:59 PM
How can I get state of dynamically generated controls (RadioButton, CheckBox, TextBox.Text) on post back when I click submit button? The only way I know is by traversing Response.Form enumberator; Response.Form.GetEnumerator(), etc. However, I am not sure if that is the proper way. Than...more >>

DropDownlist and sorting
Posted by abcd at 5/12/2005 11:39:20 AM
I am using DropdownList control and it is popued up by my datareader How can I sort the items...neither DropDownlist non data reader has sort method lstTitleList.DataSource = myReader; lstTitleList.DataTextField = "Title"; lstTitleList.DataValueField = "Value"; lstTitleList.DataBind(); ...more >>

HELP!! Dynamically created webcontrol not accessible on postback
Posted by Tim Greenwood at 5/12/2005 9:26:07 AM
I am using the calendar control provided for ASP.NET. I am adding a checkbox during the DayRender event as follows: System.Web.UI.WebControls.CheckBox cb = new System.Web.UI.WebControls.CheckBox(); cb = new System.Web.UI.WebControls.CheckBox(); cb.EnableViewState = true; cb.ID="p" +...more >>

set top and left on web control?
Posted by ENathan at 5/12/2005 9:15:11 AM
We generate pages dynamically. Our pages are constructed with web controls in a "flow layout" manner facilitated by heavy use of the literal control. We would like to change that to a "grid layout" manner. Is this possible? We all know that web controls don't support the top and left properties, ...more >>

Starting question: picture location.
Posted by Qwert at 5/12/2005 12:00:00 AM
Hello, I have a Webcontrol ( Inherits System.Web.UI.WebControls.WebControl, Visual Basic ). In this control I create and save a picture: Dim objImgResult As Image .... objImgResult.Save(strFilename) It works fine, but when I don't specify the full path in 'strFilename', the resulting...more >>

GridView Control
Posted by Machi at 5/11/2005 8:51:02 PM
I am very new to ASP.NET 2.0. I tried to use GridView control and its built-in SqlDataSource object. Where there is data for a particular table which i bind my GridView to, the GridView can show successfully. However, when there is no record in my table which i bind my GridView to, the whole ...more >>

Datalist layout
Posted by silverfox_1188 at 5/11/2005 4:08:03 PM
Hi , I've been stuck with a Datalist layout question I need help on. I would appreciate if someone can give some insight. I'm trying to Display this in a DataList. Game 1 2 Team1 Logo 116 120 Team2 Logo 103 101 The data table I use to b...more >>

ListBox event
Posted by abcd at 5/11/2005 4:06:54 PM
On Server side code I am programatically selecting something usinng "lstBox.SelectedValue = some value". Now I want to fire selection change event when I set/select some value How can I fire the selection change event from the server side code thanks ...more >>

Datagrid ... is this the control from hell?
Posted by Bill at 5/11/2005 1:00:03 PM
I am trying to programatically alter the style of x column headings on a datagrid. can someone point me in the direction of anything that could help me determine how this is done? I have: - retreived my data - processed my data - displayed my data My desired result would be something a...more >>

What is .Net equivilent of Fieldset/Legend
Posted by Harry Keck at 5/11/2005 11:56:04 AM
I want to set up my UI to display a titled box around a group of controls, like an html Fieldset with a Legend does, but I would like to do it entirely with a ASP.Net controls. Is there a way to do this? I can put a panel around a group of controls, but I do not know how to get text to disp...more >>

Loading html file into panel
Posted by jack-b NO[at]SPAM humlog.com at 5/10/2005 4:07:33 PM
Hi, I'm wanting to load a html file into a panel (?) control because I want to keep my page header on the aspx page. First, is this the right approach to take? Second, how do I accomplish this? Cheers, Jack ...more >>

Looking for an Autocomplete DropDownList
Posted by Wayne Wengert at 5/10/2005 3:40:16 PM
I need a dropdownlist that supports autocomplete. I have been googling and I found a couple that look promising (e.g. http://www.dotnetjohn.com/articles.aspx?articleid=132) but frankly, I don't know what to do with that sample code? (I thought custom controls came as DLLs?) Anywy, if anyo...more >>

looking for tab control / tabstrip in VS 2005 beta2
Posted by KevinRug at 5/10/2005 10:02:56 AM
I believe I had previously read somewhere that visual studio 05 had a tab control. I have installed it but I am unable to find this. Can someone point me to it, or invalidate my belief that it exists. thanks ...more >>

About CreateChildControls()
Posted by mugurel at 5/10/2005 8:43:21 AM
Trying to implement an composite control, I OverRide CreateChildControls(), where I add my controls, dinamicaly. I try to ad an System.Web.UI.WebControls.LinkButton Control, and I have the following , error : Control '_ctl0' of type 'LinkButton' must be placed inside a form tag with ru...more >>

control type for a newbie
Posted by Mike D at 5/10/2005 8:14:03 AM
I want to write an app that can connect to a client side comm port. This port will be connected to a balance, I will need to send commands to and receive data from the balance. I would like this portion of the app to be ran in IE because this is part of a larger app that will be all asp.ne...more >>

Multiple Label tags with same ID
Posted by Paul at 5/10/2005 8:11:11 AM
Sorry for a very newbie question but... I make a database call to get a label called X. I then try the same label tag twice on the same page such as: <asp:label id="X" runat="server" /> <asp:label id="X" runat="server" /> I get an error saying "The ID 'X' is already used by another cont...more >>

Why don't child control events trigger OnBubbleEvent?
Posted by lisa NO[at]SPAM starways.net at 5/10/2005 6:56:17 AM
I have a control which contains a collection of another control. The members of the collection can contain child controls themselves, but these aren't coded. They are merely added between the start and end tags of the child controls in the HTML view. If I put a button (for instance) inside o...more >>

Validation on dynamic fields
Posted by gary.smith NO[at]SPAM primeexalia.com at 5/9/2005 10:18:51 PM
Hello, I am building an table out of dynamic data for the purposes of editing rows. The scope of the project didn't allow for an elegant way of doing this with forms. Basically I add a control a cell to a row to the table. That control has a validation associated with it. The problem is ...more >>

Datalist - Image loads on localhost but not on server
Posted by Angie at 5/9/2005 11:28:33 AM
I have a datalist that displays images from a folder. It works on my local host but I just get the boxed red x online. Right below the image is the file name and that is displaying correctly both locally and online. I called my host to make sure permissions were okay - they said yes. When I righ...more >>

Valid values for properties
Posted by STech at 5/9/2005 9:51:04 AM
I would like to add *designtime* and *runtime* checks to two properties in a custom webcontrol 1) I would like to check the value of the property (int) and make sure it is in a certain range. 2) I would like to compare two properties on the control anytime one property is changed and make su...more >>

Object reference not set to an instance of an object - newpost
Posted by
at 5/9/2005 12:00:00 AM
Hi Any idea what's happening, please?! TIA, details..... I have a formA.aspx page and a corresponding class file formA.cs compiled into a library. User is to fill out some information and click a submit button to trigger a click event. Here is what I have in formA.cs { public...more >>

Distributing OWC11
Posted by JohnFol at 5/9/2005 12:00:00 AM
I have an ASP.Net page that creates an instance of an OWC chart object. Once created I use the .ExportPicture method to give me the image. I then use the file as the ImageURL of an Image control. So far, all this works in Dev. The key thing is the chart is not interactive on the client, mearl...more >>


DevelopmentNow Blog