Fieldset

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Vajrala Narendra
    New Member
    • Jun 2007
    • 73

    Fieldset

    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
  • kenobewan
    Recognized Expert Specialist
    • Dec 2006
    • 4871

    #2
    The simpliest exlanation is that you have inserted the tags incorrectly, please show us. Thanks.

    Comment

    • Vajrala Narendra
      New Member
      • Jun 2007
      • 73

      #3
      Fieldset

      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

      Comment

      Working...