VS.NET, TextBox, overlay, DataGrid

This is a discussion on "VS.NET, TextBox, overlay, DataGrid" within the ASP.NET Forum section. This forum, and the thread "VS.NET, TextBox, overlay, DataGrid are both part of the Program Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Program Your Website > ASP.NET Forum

Notices




Closed Thread
 
LinkBack Thread Tools
  #1  
Old Jul 23rd, 2004, 11:15
Highly Reputable Member
Join Date: Jul 2003
Location: Ipswich, UK
Posts: 690
Thanks: 0
Thanked 0 Times in 0 Posts
VS.NET, TextBox, overlay, DataGrid

Ive got a datagrid on my page and i want to put a multiline textbox under it, im using grid layout.

The problem is that when i view the page in my browser, the datagrid is full of data and it goes right down the page and the textbox just floats on top of it.

How do i tell VS.NET not to put things in DIV's or SPAN's so that they dont float on top of stuff?

Am I making sense??!?!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!

  #2  
Old Jul 23rd, 2004, 13:41
Reputable Member
Join Date: Aug 2003
Location: United Kingdom
Posts: 158
Thanks: 0
Thanked 0 Times in 0 Posts
You tried using a placeholder to pump your textbox to?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #3  
Old Jul 23rd, 2004, 13:53
Highly Reputable Member
Join Date: Jul 2003
Location: Ipswich, UK
Posts: 690
Thanks: 0
Thanked 0 Times in 0 Posts
No i havent. How do i do that?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #4  
Old Jul 23rd, 2004, 15:27
Reputable Member
Join Date: Aug 2003
Location: United Kingdom
Posts: 158
Thanks: 0
Thanked 0 Times in 0 Posts
Like this:
Code: Select all
<%@ Page Language="VB" ContentType="text/html" ResponseEncoding="iso-8859-1" %>
<script runat="server">

sub page_load
	Dim myTextBox as TextBox = new Textbox
	
	myTextBox.id = "txt_myTextBox"
	myTextBox.text = "Hello"
	myPlaceholder.controls.add(myTextBox)
end sub

</script>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
</head>
<body>
<form runat="server">
	<asp:PlaceHolder id="myPlaceholder" runat="server" />
</form>
</body>
</html>
HTH
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #5  
Old Jul 23rd, 2004, 18:25
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
Yeah, that was one of the things I hated about vs.net and why I'm happy about the 2005 stuff.

Anyway, you'd need to use flow layout instead of grid or try u2's suggestion.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #6  
Old Jul 26th, 2004, 09:13
Highly Reputable Member
Join Date: Jul 2003
Location: Ipswich, UK
Posts: 690
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks u2, will try that.

@Cat, cant see where i change to flow layout?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #7  
Old Jul 27th, 2004, 04:32
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
I think it's under the page properties, but I'm not 100% sure. It's not installed on this comp so I can't check.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #8  
Old Jul 27th, 2004, 10:46
Reputable Member
Join Date: Aug 2003
Location: United Kingdom
Posts: 158
Thanks: 0
Thanked 0 Times in 0 Posts
I think you talking about repeatlayout?

If so, the difference is in the rendered output to the browser. 'Flow' will output data using <span> tags and 'Table' will render html <table> output.

I dont know of any other method that you can apply the 'Flow' to outside of the normal controls, datalist, etc.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #9  
Old Jul 27th, 2004, 10:54
Highly Reputable Member
Join Date: Jul 2003
Location: Ipswich, UK
Posts: 690
Thanks: 0
Thanked 0 Times in 0 Posts
u2, i only see 2 layout options, flow and grid.

Just changed to flow and now i cant drag and drop things where i want them, the page doesnt scroll, and my CommandText keep getting deleted everytime i change the page properties.... :sad:
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #10  
Old Jul 27th, 2004, 11:10
Highly Reputable Member
Join Date: Jul 2003
Location: Ipswich, UK
Posts: 690
Thanks: 0
Thanked 0 Times in 0 Posts
Sorry, forget that... just discovered i needed to use tables in conjunction with flowlayout. Im still losing my commandtext every time tho...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #11  
Old Jul 27th, 2004, 12:17
Reputable Member
Join Date: Aug 2003
Location: United Kingdom
Posts: 158
Thanks: 0
Thanked 0 Times in 0 Posts
I am not much of a VS user. I do all my .net development in Homesite, so as to why you are losing data.. I am not sure.

Sorry I cant be of more help.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Closed Thread

Tags
vsnet, textbox, overlay, datagrid

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
(flash) Texture Overlay joshlindem Flash & Multimedia Forum 3 May 27th, 2008 20:59
'Sample' image overlay advice needed Demon Templates Graphics and 3D 5 Mar 9th, 2007 11:49
text overlay saltedm8 Flash & Multimedia Forum 2 Aug 26th, 2006 05:22
Overlay two borders Gwayn Web Page Design 4 Feb 1st, 2006 18:19
Help - Flash overlay (Errm I think thats what it's called) Micky-D Flash & Multimedia Forum 5 Jun 17th, 2005 17:51


All times are GMT. The time now is 10:58.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42