Click here to Skip to main content
15,909,324 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: I'm going mad Pin
Roger Wright11-May-03 12:36
professionalRoger Wright11-May-03 12:36 
GeneralRe: I'm going mad Pin
Sarvesvara (BVKS) Dasa12-May-03 2:09
Sarvesvara (BVKS) Dasa12-May-03 2:09 
GeneralGeo URL Pin
Davy Mitchell10-May-03 20:45
Davy Mitchell10-May-03 20:45 
GeneralRe: Geo URL Pin
Paul Watson26-May-03 3:40
sitebuilderPaul Watson26-May-03 3:40 
QuestionTrim() function in JavaScript? Pin
TPN10-May-03 1:01
TPN10-May-03 1:01 
GeneralSWIFT Pin
Waleed Eissa8-May-03 12:51
Waleed Eissa8-May-03 12:51 
GeneralProgrammatic Location of TextBoxes Pin
Mike L.8-May-03 12:51
Mike L.8-May-03 12:51 
GeneralRe: Programmatic Location of TextBoxes Pin
DFU2311-May-03 17:20
DFU2311-May-03 17:20 
I'm going to make a quick assumption ... you are using VS.NET, right?

First off, I would imagine that you want could dynamically make the new controls whenever you needed to make them, for example, on the click event of a button.

However, to position them programmatically you will have to play with their style attributes for this to display correctly in a web browser. First thing is to set the positition to absolute and then you can set the top and left style attributes to set their location on the page. If you are using VS.NET and have the Design Mode of a Web Form open and are using the Grid Layout for the page then you can check the HTML used for the form and see how elements are being positioned on the page that are already set through design mode. Hopefully this will give you some insight.

If you are going to be displaying information back to the users from a DB then I would suggest using the DataGrid because of its amazing flexibility. Check out the many articles on http://4guysfromrolla.com[^] for some great resources on ASP.NET.

Wally Atkins
Newport News, VA, USA

GeneralRe: Programmatic Location of TextBoxes Pin
Mike L.12-May-03 19:17
Mike L.12-May-03 19:17 
Generalconfused about CGI programming concept Pin
lnong8-May-03 8:43
lnong8-May-03 8:43 
GeneralRe: confused about CGI programming concept Pin
Davy Mitchell8-May-03 8:55
Davy Mitchell8-May-03 8:55 
GeneralRe: confused about CGI programming concept Pin
DFU238-May-03 10:26
DFU238-May-03 10:26 
GeneralRe: confused about CGI programming concept Pin
markkuk8-May-03 11:42
markkuk8-May-03 11:42 
GeneralRe: confused about CGI programming concept Pin
basementman9-May-03 5:23
basementman9-May-03 5:23 
GeneralList item with spaces Pin
Txoov8-May-03 4:32
Txoov8-May-03 4:32 
GeneralRe: List item with spaces Pin
Richard Deeming8-May-03 4:58
mveRichard Deeming8-May-03 4:58 
GeneralRe: List item with spaces Pin
Txoov8-May-03 5:06
Txoov8-May-03 5:06 
GeneralRe: List item with spaces Pin
Richard Deeming8-May-03 5:17
mveRichard Deeming8-May-03 5:17 
GeneralRe: List item with spaces Pin
Txoov8-May-03 5:21
Txoov8-May-03 5:21 
GeneralRe: List item with spaces Pin
Txoov8-May-03 6:47
Txoov8-May-03 6:47 
GeneralRe: List item with spaces Pin
Richard Deeming8-May-03 7:24
mveRichard Deeming8-May-03 7:24 
GeneralRe: List item with spaces Pin
Txoov8-May-03 7:38
Txoov8-May-03 7:38 
GeneralRe: List item with spaces Pin
Richard Deeming8-May-03 7:42
mveRichard Deeming8-May-03 7:42 
GeneralRe: List item with spaces Pin
Txoov8-May-03 7:48
Txoov8-May-03 7:48 
Generalsmall little icon next to name Pin
Brakanjan7-May-03 21:15
Brakanjan7-May-03 21:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.