473,591 Members | 2,842 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Fieldset

73 New Member
hi all,
am working on a project in asp.net
in designing means in source code i used fieldsets. while design time it is appering normally, but in run time the positions of that fildsets were changing. sometimes one fieldset is overlaping with other fieldset, some times the controls which are in that fieldset were not appearing, and the positions of the controls also changing. some times fieldsets were disappearing.
please solve why this is happening.

Thank You
Naren
Jan 19 '08 #1
2 3729
kenobewan
4,871 Recognized Expert Specialist
The simpliest exlanation is that you have inserted the tags incorrectly, please show us. Thanks.
Jan 19 '08 #2
Vajrala Narendra
73 New Member
hi all,
am working on a project in asp.net
in designing means in source code i used fieldsets. while design time it is appering normally, but in run time the positions of that fildsets were changing. sometimes one fieldset is overlaping with other fieldset, some times the controls which are in that fieldset were not appearing, and the positions of the controls also changing. some times fieldsets were disappearing.
please solve why this is happening.
the folloeing code i wrote in script in runtime fieldset3, fieldset4 were not appearing
<fieldset id="Fieldset1" language="javas cript" onclick="return FIELDSET1_oncli ck()"
style="height: 466px; border-bottom: darkgray 1px solid; position:absolu te ; left: 16px;
width: 885px; top: 134px;">
<FIELDSET style="Z-INDEX: 103; LEFT: 22px; WIDTH: 705px; BORDER-BOTTOM: darkgray 1px solid;
POSITION: absolute; TOP: 29px; HEIGHT: 171px" id="Fieldset2" language="javas cript"
onclick="return FIELDSET2_oncli ck()">
<LEGEND style="COLOR: black"><B><U>Br anch Master</U></B></LEGEND>
<DIV style="BORDER-TOP-WIDTH: thick; OVERFLOW-Y: scroll; LEFT: 0px; BORDER-BOTTOM-WIDTH: thick;
WIDTH: 687px; POSITION: absolute; TOP: 26px; HEIGHT: 147px" id="Div1" class="FixedHea der"
onclick="return Div1_onclick()" >
<TABLE style="BORDER-COLLAPSE: collapse" id="Table1" cellSpacing=0 rules=all border=1>
<asp:GridView id="Gridview1" runat="server" Height="1px" Width="690px" CellSpacing="1"
CellPadding="1" BorderWidth="1p x" AutoGenerateCol umns="False">
<Columns>
<asp:CommandFie ld HeaderText="Sel ect" ShowSelectButto n="True" />
<asp:TemplateFi eld HeaderText="Tra n No" Visible="False" >
<ItemTemplate >
<asp:Label ID="LabelTno" runat="server" Text='<%# DataBinder.Eval (Container.Data Item, "ID") %>'></asp:Label>
</ItemTemplate>
<ControlStyle Width="10px" />
</asp:TemplateFie ld>
<asp:TemplateFi eld HeaderText="Bra nch Name">
<ItemTemplate >
<asp:Label ID="LabelBrName " runat="server" Text='<%# DataBinder.Eval (Container.Data Item, "br_name") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateFie ld>
<asp:TemplateFi eld HeaderText="Bra nch Address">
<ItemTemplate >
<asp:Label ID="labelAdd" runat="server" Text='<%# DataBinder.Eval (Container.Data Item, "Address") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateFie ld>
<asp:TemplateFi eld HeaderText="Pho ne">
<ItemTemplate >
<asp:Label ID="LabelPhNo" runat="server" Text='<%# DataBinder.eval (container.data item,"Phone_No" ) %>'></asp:Label>
</ItemTemplate>
</asp:TemplateFie ld>
</Columns>

</asp:GridView>
</TABLE>
</DIV>
</FIELDSET>

<FIELDSET style="LEFT: 19px; WIDTH: 653px; BORDER-BOTTOM: darkgray 1px solid; POSITION: absolute;
TOP: 215px; HEIGHT: 187px" id="Fieldset3" lang="jv" onclick="return Fieldset3_oncli ck()">
<DIV style="BORDER-TOP-WIDTH: thick; LEFT: 0px; BORDER-BOTTOM-WIDTH: thick; WIDTH: 653px;
POSITION: absolute; TOP: 0px; HEIGHT: 187px" id="Div2" onclick="return Div1_onclick()" >

<asp:Label style="Z-INDEX: 100; LEFT: 136px; POSITION: absolute; TOP: 33px" id="Label10" runat="server" ForeColor="blac k" Text="Branch Name"></asp:Label>
<asp:TextBox style="Z-INDEX: 101; LEFT: 256px; POSITION: absolute; TOP: 33px" id="TxtBranchNa me" tabIndex=2 onkeypress="Val idateaplhabet() " runat="server" Width="155px" BackColor="#FFF FC0"></asp:TextBox>
<asp:Label style="Z-INDEX: 102; LEFT: 136px; POSITION: absolute; TOP: 8px" id="Label4" runat="server" Text="Branch Code"></asp:Label>
<asp:TextBox style="Z-INDEX: 103; LEFT: 256px; POSITION: absolute; TOP: 8px" id="TxtBr_Code " runat="server" Width="155px" TabIndex="1" BackColor="Gain sboro" ReadOnly="True" ></asp:TextBox>
<asp:Label style="Z-INDEX: 104; LEFT: 136px; POSITION: absolute; TOP: 148px" id="Label5" runat="server" Text="Contact Person"></asp:Label>
<asp:Label style="Z-INDEX: 105; LEFT: 136px; POSITION: absolute; TOP: 123px" id="Label6" runat="server" Text="Phone"></asp:Label>
<asp:Label style="Z-INDEX: 106; LEFT: 136px; POSITION: absolute; TOP: 58px" id="Label7" runat="server" Text="Address"> </asp:Label>
<asp:TextBox style="Z-INDEX: 107; LEFT: 256px; POSITION: absolute; TOP: 148px" id="TxtContactP erson" runat="server" Width="155px" TabIndex="5"></asp:TextBox>
<asp:TextBox style="Z-INDEX: 108; LEFT: 256px; POSITION: absolute; TOP: 123px" id="TxtPhone" runat="server" Width="155px" TabIndex="4" BackColor="#FFF FC0"></asp:TextBox>
<asp:TextBox style="Z-INDEX: 109; LEFT: 256px; POSITION: absolute; TOP: 58px" id="TxtAddress " runat="server" Height="56px" Width="155px" TextMode="Multi Line" TabIndex="3"></asp:TextBox>
<asp:TextBox style="Z-INDEX: 110; LEFT: 18px; POSITION: absolute; TOP: 1px" id="TxtID" runat="server" Width="16px" Visible="False" ></asp:TextBox>
<asp:TextBox style="Z-INDEX: 111; LEFT: 18px; POSITION: absolute; TOP: 22px" id="TxtCreatedB y" runat="server" Width="16px" Visible="False" ></asp:TextBox>
<asp:TextBox style="Z-INDEX: 112; LEFT: 18px; POSITION: absolute; TOP: 73px" id="TxtModified By" runat="server" Width="16px" Visible="False" ></asp:TextBox>
<asp:TextBox style="Z-INDEX: 113; LEFT: 18px; POSITION: absolute; TOP: 48px" id="TxtCreatedD ate" runat="server" Width="16px" Visible="False" ></asp:TextBox>
<asp:TextBox style="Z-INDEX: 115; LEFT: 18px; POSITION: absolute; TOP: 100px" id="TxtModified Date" runat="server" Width="16px" Visible="False" ></asp:TextBox>
</DIV>
</FIELDSET>

<fieldset style="left: 750px; width: 90px; position: absolute; top: 37px; height: 127px"
id="FIELDSET4" onclick="return FIELDSET4_oncli ck()">
<asp:ImageButto n ID="ImageButton 5" runat="server" BorderColor="Ta n" BorderStyle="Ou tset"
BorderWidth="2p x" Height="21px" ImageUrl="~/add.gif" Style="left: 2px;
position: absolute; top: 8px" Width="26px" />
<asp:Button ID="btnadd" runat="server" Enabled="False" Font-Bold="True" Height="27px"
Style="left: 34px; position: absolute; top: 6px" TabIndex="3" Text="Add" Width="64px" />
<asp:Button ID="btnchange" runat="server" Enabled="False" Font-Bold="True" Height="27px"
Style="left: 36px; position: absolute; top: 37px" TabIndex="4" Text="Change"
Width="62px" />
<asp:Button ID="btndelete" runat="server" CausesValidatio n="False" Enabled="False"
Font-Bold="True" Height="27px" Style="left: 38px; position: absolute; top: 70px"
TabIndex="5" Text="Delete" Width="60px" />
<asp:ImageButto n ID="ImageButton 7" runat="server" BorderColor="Ta n" BorderStyle="Ou tset"
BorderWidth="2p x" Height="21px" ImageUrl="~/delete.gif" Style="left: 3px;
position: absolute; top: 72px" Width="26px" />
<asp:ImageButto n ID="ImageButton 9" runat="server" BorderColor="Ta n" BorderStyle="Ou tset"
BorderWidth="2p x" Height="21px" ImageUrl="~/modify.gif" Style="left: 3px;
position: absolute; top: 40px" Width="26px" />
<asp:ImageButto n ID="ImageButton 10" runat="server" BorderColor="Ta n" BorderStyle="Ou tset"
BorderWidth="2p x" Height="20px" ImageUrl="~/exit.gif" Style="left: 3px;
position: absolute; top: 104px" Width="26px" />
<asp:Button ID="BtnExit" runat="server" CausesValidatio n="False" Font-Bold="True"
Height="27px" Style="left: 36px; position: absolute; top: 101px" TabIndex="6"
Text="Exit" Width="61px" />
</fieldset>

</fieldset>

Thankyou
Narendra
Jan 19 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

14
10770
by: Ian Rastall | last post by:
I'm curious as to the group's feelings about using the <fieldset> and <legend> tags around elements other than <form> elements ... I wrote a small test file: <http://www.learnsomethingnew.us/fieldset.html> to illustrate this, and it validated at both the W3C and WDG sites. (It's a <fieldset> around a <table> and <p>). I'm able to view it on Opera 7.23, Mozilla 1.6, and IE 6. (Moz 1.6 renders it in Standards Compliance Mode as well.)
3
20223
by: Trent | last post by:
Hello, I have a <fieldset> in a <TD>. I want the fieldset to be as high as the TD. Setting the fieldset's height to 100% works in IE. Opera ignores it. Firefox & Netscape 7.1 give it the height of the whole page. Any suggestions? Here is my code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
0
2998
by: Anne van Kesteren | last post by:
Ok, here it goes. Originally I submitted this proposal to www-style. Since I don't get feedback there, I think I missed a few (maybe a lot) of points. Proposal: <http://lists.w3.org/Archives/Public/www-style/2003Nov/0096.html> (for some strange reason I can't post to that list myself) The first point I missed was of course that CSS3UI is not planning to do anything with FIELDSET and LEGEND
2
14147
by: Marek Mänd | last post by:
Can the legend element in fieldset be placed automatically by Mozilla horizontally in the middle of fieldset?
2
7423
by: luke | last post by:
I'm trying to use an image as a background for a text input box. <form> <fieldset><input type="text" name ="blah" class="cheese"></fieldset> </form> I'm using this code as part of my css to overcome a background repeat bug in IE 5/6. fieldset>input.textfield {
4
26077
by: Adam Smith | last post by:
Hello, Can I use <fieldset><legend><tr><tr> </tr></tr></fieldset></legend> to select multiple rows in a Table such that I can demarcate several rows containing form elements in a table? Thanks
6
8364
kestrel
by: kestrel | last post by:
i cant get my fieldset to work properly i have a form with two fieldsets, separating the required forms and optional but the one around the optional isnt working heres what i have: <fieldset style="border: 2px solid red;"><legend><font style="background-color: red; color: black; font-weight: bold; font-size: 13px; font-family: Lucida Console;">&nbsp;Contact Us&nbsp;</font></legend> <font class="regular"> Name:<br />
1
7411
by: Nate12o6 | last post by:
Hey guys, i am having trouble with getting the heights corrected on my fieldset. Right now i have 2 table cells side by side. And inside of each there is a field set. The fieldset to the right is longer then the one to the left. So the one to the left centers itself virticaly to the cell. Is there any way i can eather raise it all the way to the top or make the height 100% of the cell? I have tried height=100% and a few other things...
3
3190
by: shapper | last post by:
Hello, I am creating a form. It has a few labels, inputs and a submit button. Should I place the button inside the same fieldset as the inputs and labels? Or in a different fieldset? Or maybe I should use the following approach: 1. If the form has only one fieldset then the submit button would be inside the same fieldset has the inputs and labels.
1
16388
by: BlueG | last post by:
I wrote simple code for expandable/collapsable fieldsets. You can try it yourselves: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Test</title> <style type="text/css">
0
7934
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8236
Oralloy
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8225
tracyyun
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6639
agi2029
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
3850
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
3891
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2378
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
1
1465
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1199
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.