RadToolBar Corruption

3 posts, 0 answers
  1. Omlac
    Omlac avatar
    64 posts
    Member since:
    Jul 2008

    Posted 07 Nov 2008 Link to this post

    Hi all
    I have a toolbar which constantly gets corrupted/distorted when ever the page gets refreshed a number of times AND the computer load has increased

    does anyone know whats causing this.

    Regards
  2. Serrin
    Serrin avatar
    286 posts
    Member since:
    Sep 2008

    Posted 11 Nov 2008 Link to this post

    Hey Omlac,

    That sounds pretty strange indeed!  Would you be able to post some code as far as how you are creating your toolbar?  Various things can have an effect if you're creating it dynamically, populating from a query request, etc, etc...  Just curious to see how it's made to see if we can figure out where the problem is. :)
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Omlac
    Omlac avatar
    64 posts
    Member since:
    Jul 2008

    Posted 13 Nov 2008 Link to this post

    I removed everythinh out of the Update panel and its working fine but i need the Update panel to be working as well.
    here is the code. Im creating all the controls at design time but populating them at runtime.


    <

     

    table style=" width:100%; height: 100%; padding-top: 0px;">

     

     

    <tr>

     

     

    <td style="background-color: white; width: 85px;">

     

     

    <telerik:RadTreeView ID="twvContacts" runat="server" Height="100%" Skin="Office2007" OnNodeClick="twvContacts_NodeClick" style="font-size: 11px; font-family: tahoma">

     

     

    <Nodes>

     

     

    <telerik:RadTreeNode runat="server" Text="Contact" Value="Contact" ImageUrl="../Images/Collab.png">

     

     

    </telerik:RadTreeNode>

     

     

    <telerik:RadTreeNode runat="server" Text="Accounts" Value="Accounts" ImageUrl="~/Images/oledb32r.png">

     

     

    </telerik:RadTreeNode>

     

     

    <telerik:RadTreeNode runat="server" Text="Sites" Value="Sites" ImageUrl="../Images/Site.png">

     

     

    </telerik:RadTreeNode>

     

     

    <telerik:RadTreeNode runat="server" Text="Laboratory" Value="Laboratory" ImageUrl="../Images/Variable.png">

     

     

    </telerik:RadTreeNode>

     

     

    </Nodes>

     

     

    <CollapseAnimation Duration="100" Type="OutQuint" />

     

     

    <ExpandAnimation Duration="100" />

     

     

    </telerik:RadTreeView>

     

     

    </td>

     

     

    <td style="height:100%; padding-top: 0px;">

     

     

    <telerik:RadToolBar ID="tlbContacts" runat="server" AutoPostBack="True" Width="578px" Visible="False" style="background-color: black" OnButtonClick="tlbContacts_ButtonClick" Skin="Default">

     

     

    <CollapseAnimation Duration="200" Type="OutQuint" />

     

     

    <Items>

     

     

    <telerik:RadToolBarButton runat="server" Text="Add New">

     

     

    </telerik:RadToolBarButton>

     

     

    <telerik:RadToolBarButton runat="server" Text="Add Existing">

     

     

    </telerik:RadToolBarButton>

     

     

    </Items>

     

     

    </telerik:RadToolBar>

     

     

    <asp:Panel ID="Panel1" runat="server">

     

     

    <table frame="void" style="width: 100%; height: 100%; padding-right: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px; background-color: #eef0f6; border-right: silver 1px solid; border-top: silver 1px solid; border-left: silver 1px solid; border-bottom: silver 1px solid;" cellpadding="0" cellspacing="0" class="table">

     

     

    <tr>

     

     

    <td style="font-size: 11px;">

     

     

    <asp:Label ID="lblTitle" runat="server" Text="Title (Mr/Mrs):" Width="116px"></asp:Label></td>

     

     

    <td style="padding-right: 0px; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px; font-size: 11px;">

     

     

    <asp:Label ID="Label16" runat="server" ForeColor="Red" Text="*"></asp:Label></td>

     

     

    <td style="font-size: 11px; font-family: Tahoma; padding-right: 0px; padding-left: 0px; padding-bottom: 0px; margin: 0px; width: 100%; padding-top: 0px; height: 44px;">

     

     

    <telerik:RadTextBox ID="tboContact" runat="server" Width="168px">

     

     

    </telerik:RadTextBox></td>

     

     

    <td style="font-size: 11px; font-family: Tahoma;">

     

     

    <asp:Label ID="lblFirstName" runat="server" Text="First Name:"></asp:Label></td>

     

     

    <td style="font-size: 11px; padding-right: 0px; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px;">

     

     

    <asp:Label ID="Label18" runat="server" ForeColor="Red" Text="*"></asp:Label>&nbsp;

     

     

    </td>

     

     

    <td style="font-size: 11px; padding-right: 0px; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px; font-family: Tahoma; height: 44px;">

     

     

    <telerik:RadTextBox ID="tboFirstName" runat="server" Width="168px">

     

     

    </telerik:RadTextBox></td>

     

     

    </tr>

     

     

    <tr>

     

     

    <td style="font-size: 11px;">

     

     

    <asp:Label ID="lblSurname" runat="server" Text="Last Name:"></asp:Label></td>

     

     

    <td style="padding-right: 0px; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px; font-size: 11px;">

     

     

    <asp:Label ID="Label17" runat="server" ForeColor="Red" Text="*"></asp:Label></td>

     

     

    <td style="font-size: 11px; font-family: Tahoma; padding-right: 0px; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px;" class="table">

     

     

    <telerik:RadTextBox ID="tboSurname" runat="server" Width="168px">

     

     

    </telerik:RadTextBox></td>

     

     

    <td style="font-size: 11px; font-family: Tahoma;">

     

     

    <asp:Label ID="lblRole" runat="server" Text="Role:"></asp:Label></td>

     

     

    <td style="font-size: 11px; padding-right: 0px; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px;">

     

     

    &nbsp;

     

     

    <asp:TextBox ID="tboRoleID" runat="server" Visible="False" Width="0px"></asp:TextBox>&nbsp;&nbsp;&nbsp;</td>

     

     

    <td style="font-size: 11px; padding-right: 0px; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px; font-family: Tahoma; clip: rect(0px 0px 0px 0px);">

     

     

    <table border="0" cellpadding="0" cellspacing="0">

     

     

    <tr>

     

     

    <td>

     

     

    <telerik:RadTextBox ID="tboRole" runat="server" Width="155px">

     

     

    </telerik:RadTextBox></td>

     

     

    <td>

     

     

    <asp:ImageButton ID="btnResponsible1" runat="server" Height="21px" ImageAlign="AbsMiddle"

     

     

    ImageUrl="~/Images/icon_magnifying.gif" OnClientClick="OpenWindow()"

     

     

    Style="border-top-width: 1px; border-left-width: 1px; border-left-color: silver;

     

    border-bottom-width: 1px; border-bottom-color: silver; border-top-color: silver;

    border-right-width: 1px; border-right-color: silver"

     

    Width="25px" /></td>

     

     

    </tr>

     

     

    <tr>

     

     

    <td style="padding-right: 0px; padding-left: 0px; padding-bottom: 0px; margin: 0px;

     

    width: 0px; clip: rect(0px 0px 0px 0px); padding-top: 0px; height: 0px">

     

    </td>

     

     

    <td>

     

     

    <asp:Button ID="btnResponsible" runat="server" OnClientClick = "OpenWindow()" Text="..." Visible="False" /></td>

     

     

    </tr>

     

     

    </table>

     

     

    </td>

     

     

    </tr>

     

     

    <tr>

     

     

    <td style="font-size: 11px;" valign="top">

     

     

    <br />

     

     

    <asp:Label ID="lblJobTitle" runat="server" Text="Job Title:"></asp:Label></td>

     

     

    <td style="padding-right: 0px; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px; font-size: 11px;">

     

     

    <asp:Label ID="Label2" runat="server" ForeColor="Red" Text="*"></asp:Label></td>

     

     

    <td style=" font-size: 11px; font-family: Tahoma; padding-right: 0px; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px;">

     

     

    <telerik:RadTextBox ID="tboTitle" runat="server" Width="168px">

     

     

    </telerik:RadTextBox></td>

     

     

    <td style=" font-size: 11px;">

     

     

    <asp:Label ID="lblEmail" runat="server" Text="Email: "></asp:Label></td>

     

     

    <td style="font-size: 11px; padding-right: 0px; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px;" valign="middle">

     

     

    </td>

     

     

    <td style="font-size: 11px; font-family: Tahoma; height: 42px; padding-right: 0px; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px;" valign="middle">

     

     

    <telerik:RadTextBox ID="tboEmail" runat="server" Width="168px">

     

     

    </telerik:RadTextBox></td>

     

     

    </tr>

     

     

    <tr>

     

     

    <td style="font-size: 11px;">

     

     

    <asp:Label ID="lblTelephone" runat="server" Text="Telephone: "></asp:Label></td>

     

     

    <td style=" padding-right: 0px; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px; font-size: 11px;">

     

     

    </td>

     

     

    <td style="font-size: 11px; font-family: Tahoma; padding-right: 0px; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px;">

     

     

    <telerik:RadTextBox ID="tboTelephone" runat="server" Width="168px">

     

     

    </telerik:RadTextBox></td>

     

     

    <td style="font-size: 11px;">

     

     

    <asp:Label ID="lblFax" runat="server" Text="Fax:"></asp:Label></td>

     

     

    <td style="font-size: 11px; padding-right: 0px; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px;">

     

     

    </td>

     

     

    <td style="font-size: 11px; font-family: Tahoma; padding-right: 0px; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px;">

     

     

    <telerik:RadTextBox ID="tboFax" runat="server" Width="168px">

     

     

    </telerik:RadTextBox></td>

     

     

    </tr>

     

     

    <tr>

     

     

    <td style="font-size: 11px;">

     

     

    <asp:Label ID="lblMobile" runat="server" Text="Mobile:"></asp:Label></td>

     

     

    <td style=" padding-right: 0px; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px; font-size: 11px;">

     

     

    </td>

     

     

    <td style="font-size: 11px; font-family: Tahoma; padding-right: 0px; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px;">

     

     

    <telerik:RadTextBox ID="tboMobile" runat="server" Width="168px">

     

     

    </telerik:RadTextBox></td>

     

     

    <td style=" font-size: 11px;">

     

     

    </td>

     

     

    <td style="font-size: 11px; padding-right: 0px; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px;">

     

     

    </td>

     

     

    <td style="font-size: 11px; font-family: Tahoma; padding-right: 0px; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px;">

     

     

    <asp:TextBox ID="tboAddRecord" runat="server" Width="0px"></asp:TextBox></td>

     

     

    </tr>

     

     

    <tr>

     

     

    <td style="font-size: 11px; padding-right: 0px; padding-left: 10px; padding-bottom: 0px; margin: 0px; padding-top: 0px;" colspan="6">

     

     

    <asp:Label ID="lblAddress" runat="server" Text="Address:"></asp:Label>

     

     

    <hr style="border-right: #000000 thin solid; border-top: #000000 thin solid; border-left: #000000 thin solid;

     

    border-bottom: #000000 thin solid"

     

    />

     

     

    </td>

     

     

    </tr>

     

     

    <tr>

     

     

    <td style="font-size: 11px; padding-right: 0px; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px;">

     

     

    </td>

     

     

    <td style="padding-right: 0px; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px; font-size: 11px;">

     

     

    </td>

     

     

    <td style="font-size: 11px; padding-right: 0px; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px;">

     

     

    <asp:CheckBox ID="chkAddress" runat="server" AutoPostBack="True" OnCheckedChanged="chkAddress_CheckedChanged" style="font-size: 11px" Text="Same As Account" />

     

     

    </td>

     

     

    <td style="font-size: 11px; padding-right: 0px; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px;">

     

     

    &nbsp;</td>

     

     

    <td style="font-size: 11px; padding-right: 0px; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px;">

     

     

    </td>

     

     

    <td style="font-size: 11px; padding-right: 0px; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px;">

     

     

    <asp:TextBox ID="tboID" runat="server" Width="1px">0</asp:TextBox></td>

     

     

    </tr>

     

     

    <tr>

     

     

    <td style="font-size: 11px;">

     

     

    <asp:Label ID="Label3" runat="server" Text="Address 1:"></asp:Label></td>

     

     

    <td style="padding-right: 0px; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px; font-size: 11px;">

     

     

    <asp:Label ID="Label19" runat="server" ForeColor="Red" Text="*"></asp:Label></td>

     

     

    <td style="font-size: 11px; font-family: Tahoma; padding-right: 0px; padding-left: 0px; padding-bottom: 0px; margin: 0px; width: 100%; padding-top: 0px;">

     

     

    <telerik:RadTextBox ID="tboAddress1" runat="server" Width="168px">

     

     

    </telerik:RadTextBox></td>

     

     

    <td style="font-size: 11px; font-family: Tahoma;">

     

     

    <asp:Label ID="Label5" runat="server" Text="Address 2:" Width="60px"></asp:Label></td>

     

     

    <td style="font-size: 11px; padding-right: 0px; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px;">

     

     

    &nbsp;<asp:Label ID="Label20" runat="server" ForeColor="Red" Text="*"></asp:Label></td>

     

     

    <td style="font-size: 11px; padding-right: 0px; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px; font-family: Tahoma;">

     

     

    <telerik:RadTextBox ID="tboAddress2" runat="server" Width="168px">

     

     

    </telerik:RadTextBox></td>

     

     

    </tr>

     

     

    <tr>

     

     

    <td style="font-size: 11px; ">

     

     

    <asp:Label ID="Label4" runat="server" Text="Address 3:"></asp:Label></td>

     

     

    <td style="padding-right: 0px; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px; font-size: 11px;">

     

     

    </td>

     

     

    <td style="font-size: 11px; font-family: Tahoma; padding-right: 0px; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px;">

     

     

    <telerik:RadTextBox ID="tboAddress3" runat="server" Width="168px">

     

     

    </telerik:RadTextBox></td>

     

     

    <td style="font-size: 11px;">

     

     

    <asp:Label ID="Label6" runat="server" Text="Address 4:" Width="60px"></asp:Label></td>

     

     

    <td style="font-size: 11px; padding-right: 0px; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px;">

     

     

    </td>

     

     

    <td style="font-size: 11px; padding-right: 0px; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px; font-family: Tahoma;">

     

     

    <telerik:RadTextBox ID="tboAddress4" runat="server" Width="168px">

     

     

    </telerik:RadTextBox></td>

     

     

    </tr>

     

     

    <tr>

     

     

    <td style="font-size: 11px; ">

     

     

    <asp:Label ID="lblPostCode" runat="server" Text="Post Code:"></asp:Label></td>

     

     

    <td style="padding-right: 0px; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px; font-size: 11px;">

     

     

    </td>

     

     

    <td style="font-size: 11px; font-family: Tahoma; padding-right: 0px; padding-left: 0px; padding-bottom: 0px; margin: 0px; width: 100%; padding-top: 0px;">

     

     

    <telerik:RadTextBox ID="tboCode" runat="server" Width="168px">

     

     

    </telerik:RadTextBox></td>

     

     

    <td style="font-size: 11px; font-family: Tahoma;">

     

     

    </td>

     

     

    <td style="font-size: 11px; padding-right: 0px; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px;">

     

     

    </td>

     

     

    <td style="font-size: 11px; padding-right: 0px; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px; font-family: Tahoma;">

     

     

    <asp:CheckBox ID="chkActive" runat="server" style="font-size: 11pt" Checked="True" Visible="False" />

     

     

    <asp:Label ID="lblActive" runat="server" Text="Active" style="font-size: 11px; font-family: tahoma" Visible="False"></asp:Label></td>

     

     

    </tr>

     

     

    </table>

     

     

    </asp:Panel>

     

     

    <asp:Panel ID="Panel2" runat="server" Width="100%">

     

     

    <table style="width:100%; clip: rect(0px 0px 0px 0px);">

     

     

    <tr>

     

     

    <td style="width:100%; padding-right: 0px; padding-left: 0px; padding-bottom: 0px; margin: 0px; clip: rect(0px 0px 0px 0px); padding-top: 0px; height: 100%;">

     

     

    <telerik:RadGrid ID="rdgContacts" runat="server" AutoGenerateColumns="False" OnItemDataBound="rdgContacts_ItemDataBound"

     

     

    ShowStatusBar="True" Skin="Office2007" GridLines="None" Width="578px">

     

     

    <MasterTableView>

     

     

    <Columns>

     

     

    <telerik:GridBoundColumn DataField="ID" HeaderText="ID" Visible="False" UniqueName="ID">

     

     

    <HeaderStyle Font-Names="Tahoma" Font-Size="X-Small" />

     

     

    </telerik:GridBoundColumn>

     

     

    <telerik:GridBoundColumn DataField="Name" HeaderText="Name" UniqueName="Name">

     

     

    <HeaderStyle Font-Names="Tahoma" width = "50%" Font-Size="X-Small" />

     

     

    </telerik:GridBoundColumn>

     

     

    <telerik:GridBoundColumn DataField="Tel" HeaderText="Telephone" UniqueName="Tel">

     

     

    <HeaderStyle Font-Names="Tahoma" width = "50%" Font-Size="X-Small" />

     

     

    </telerik:GridBoundColumn>

     

     

    </Columns>

     

     

    <EditItemStyle Font-Bold="True" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"

     

     

    Font-Underline="False" Wrap="True" />

     

     

    <RowIndicatorColumn>

     

     

    <HeaderStyle Width="20px" />

     

     

    </RowIndicatorColumn>

     

     

    <ExpandCollapseColumn>

     

     

    <HeaderStyle Width="20px" />

     

     

    </ExpandCollapseColumn>

     

     

    </MasterTableView>

     

     

    <ClientSettings AllowExpandCollapse="False" EnableRowHoverStyle="True">

     

     

    <Selecting AllowRowSelect="True" EnableDragToSelectRows="False" />

     

     

    <Resizing AllowColumnResize="True" />

     

     

    <Scrolling AllowScroll="True" UseStaticHeaders="True" ScrollHeight="280px" />

     

     

    </ClientSettings>

     

     

    </telerik:RadGrid></td>

     

     

    </tr>

     

     

    </table>

     

     

    </asp:Panel>

     

     

     

    </td>

     

     

    </tr>

     

     

    </table>

     

Back to Top