Hello,
When I do the following:
- create a layout grid by going 'Layout' 'Insert Table';
- accept the default settings (3 x 3 grid);
- drag a text box from the toolbox on the centre cell of the grid (i.e. at
row 2, column 2);
instead of the edit box to be placed in the centre cell, it is placed in the
top left row (row 1, column 1).
What's more, when I look at the source code for the page, it *does* tell me
that the control *is* in the centre. The reason it appears not to display
correctly is that it is css position attribute is *absolute*, not
*relative*.
Is there any way I can make the attribute relative by default when I drag
and drop controls into layouts?
Thanks in advance,
Akin
--
akyak at aksoto dot idps dot co dot uk 1 1465
Yes, this is done in Visual Studio's "Tools|Opti ons" dialog box.
It's under the HTML Designer, CSS Positioning option.
--
I hope this helps,
Steve C. Orr,
MCSD, MVP, CSM, ASPInsider http://SteveOrr.net
"Silicon Strawberry" <no****@blackho le.comwrote in message
news:zW******** **********@news fet01.ams...
Hello,
When I do the following:
- create a layout grid by going 'Layout' 'Insert Table';
- accept the default settings (3 x 3 grid);
- drag a text box from the toolbox on the centre cell of the grid (i.e. at
row 2, column 2);
instead of the edit box to be placed in the centre cell, it is placed in
the top left row (row 1, column 1).
What's more, when I look at the source code for the page, it *does* tell
me that the control *is* in the centre. The reason it appears not to
display correctly is that it is css position attribute is *absolute*, not
*relative*.
Is there any way I can make the attribute relative by default when I drag
and drop controls into layouts?
Thanks in advance,
Akin
--
akyak at aksoto dot idps dot co dot uk This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Joe Au |
last post by:
How to place the web user controls on the web form freely the location I
want? Especially, if I get more than one web user controls.
Thanks.
Joe.
|
by: John Dalberg |
last post by:
I have a datagrid plus a button to save the contents of the grid to the
database. My code gets blanks in the textbox field. I am not sure why.
Also I don't know why dgi.Cells.Controls & dgi.Cells.Controls
are Literal Controls. The html shows only a textbox in the second table
cell.
This is the code and below is the grid.
Code:
private...
|
by: mystical_potato |
last post by:
From VS.NET 03 AND VB.NET
I added a dropdown list to a data grid control in response to the
EditCommand event to force users to pick values from a list and not
type them in. I used the following code:
'Hide the existing txt box
Dim txt As TextBox
txt = CType(e.Item.Cells(0).Controls(0), TextBox)
txt.Visible = False
|
by: Dave |
last post by:
I am designing a web page using VS2003 ASP.NET. The page contains various
DIVs (panels), one of which is in grid layout. The controls in this DIV
render correctly in IE, but when using Firefox they are incorrectly
positioned. VS sets the positioning of the controls to absolute, and because
the DIV is to the right of another DIV Firefox...
|
by: keithb |
last post by:
My code dynamically adds template fields to a GridView control. Everything
seems to work OK, except when updating, because I haven't found a way to
reference the dynamically added textboxes. FindControl doesn't work, and the
textboxes cannot be accessed using
grid.Rows.Cells.Control. Can someone help?
Thanks,
Keith
| |
by: Arpan |
last post by:
Consider the following code which retrieves data from a SQL Server 2005
DB table & displays it in a DataGrid:
<script runat="server">
Sub Page_Load(ByVal obj As Object, ByVal ea As EventArgs)
Dim dSet As DataSet
Dim sqlConn As SqlConnection
Dim sqlDapter As SqlDataAdapter
sqlConn = New SqlConnection("Data Source=AD\SQLEXPRESS;Initial
|
by: Silicon Strawberry |
last post by:
Hello,
I posted this a while ago, but I haven't got a response yet.
When I do the following:
- create a layout grid by going 'Layout' 'Insert Table';
- accept the default settings (3 x 3 grid);
|
by: lawpoop |
last post by:
On Mar 11, 6:58 pm, Bergamot <berga...@visi.comwrote:
Berg, thanks for taking the time to look at this. Here is the URL
( sorry for the delay in response):
http://nerdcraft.net/survey.html
I have the grid of 1-5 questions and radio button answers layed out in
a table. I couldn't find a tutorial for a css grid, so I hacked it for
now....
|
by: abhi83 |
last post by:
Hi ,
I have a problem hope someone can help.
I have created a dynamic view which contains a gridview. This gridview contains a check box column in the Template Field with the help of ITemplate interface.
Now the prblm is I'm not able to access this check box . I am using
CheckBox chkSel = (CheckBox)gvRows.Cells.FindControl("ckh");
...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it. ...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |