Weird Issue show Textboxes

6 posts, 0 answers
  1. Web Services
    Web Services avatar
    243 posts
    Member since:
    Apr 2008

    Posted 30 Mar 2011 Link to this post

    I have had this happen to me a few times now. Sometimes I'll add radtextboxes to a page and they won't show up at all. I can copy the code ver batum into a new differently named page, and they show just fine. I was just wondering if you have heard of this issue or if you think it's something with VS. I can say I have these in a page that has a masterpage with a radpanel on it. I can send some code if you like, I just don't know how much help it would be because like I said, if you copy and paste it to another page, it works fine. Any thoughts? I know this is probably the worst question to ask you to troubleshoot ever :)
  2. Martin
    Admin
    Martin avatar
    811 posts

    Posted 04 Apr 2011 Link to this post

    Hello,

    Indeed you are correct that since the problem pops up occasionally, sending sample code does not make much sense. What you can try is to verify whether the issue happens only when RadTextBox controls are used. Have you tried to repeat exactly the same steps for standard TextBox controls instead? Additionally, does the issue exists in different scenarios - for example in regular page without master page being involved?

    If the problem exists with our components only then you can consider sending some code snippets. This way I will be able to conduct some further testing locally and provide you more to the point resolution.

    Kind regards,
    Martin
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Web Services
    Web Services avatar
    243 posts
    Member since:
    Apr 2008

    Posted 04 Apr 2011 Link to this post

    It hasn't happened again lately. If it does, I'll post the code.
  5. Web Services
    Web Services avatar
    243 posts
    Member since:
    Apr 2008

    Posted 06 Apr 2011 Link to this post

    Heres a code snippet. This happens only when I have the controls in page with a master page. Here is the relevant code

    When I have just this it works fine,
    <telerik:RadTextBox ID="searchInput" runat="server">
    </telerik:RadTextBox>
    <asp:Button ID="search" runat="server" Text="Search" />
    <asp:Button ID="Reset" runat="server" Text="reset" />


    when I change it to this the rest of the form disappears
    <table><tr><td>
            <telerik:RadTextBox ID="searchInput" runat="server">
            </telerik:RadTextBox></td><td>
            <asp:Button ID="search" runat="server" Text="Search" /></td><td>
            <asp:Button ID="Reset" runat="server" Text="reset" />
            </td></tr></table>

    Here is the full code of the page followed by the full code of the master page
    <%@ Page Title="" Language="VB" MasterPageFile="~/Main.master" AutoEventWireup="false" CodeFile="BidList.aspx.vb" Inherits="Bids_BidList" %>
    <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
     
    <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    </asp:Content>
    <asp:Content ID="Content2" ContentPlaceHolderID="mainContentPlaceHolder" Runat="Server">
        <telerik:RadFormDecorator ID="decorator" Skin="Default" DecoratedControls="Buttons"
            runat="server" />
     
                    <telerik:RadTextBox ID="searchInput" runat="server">
                    </telerik:RadTextBox>
                    <asp:Button ID="search" runat="server" Text="Search" />
                    <asp:Button ID="Reset" runat="server" Text="reset" />
        <br />
    <telerik:RadGrid ID="RadGrid1" runat="server" GridLines="None" AllowPaging="True"
            AllowSorting="True" AutoGenerateColumns="false" PageSize="50" Height="420px">
            <MasterTableView DataKeyNames="LeadId" AutoGenerateColumns="false">
                <RowIndicatorColumn>
                    <HeaderStyle Width="20px"></HeaderStyle>
                </RowIndicatorColumn>
                <ExpandCollapseColumn>
                    <HeaderStyle Width="20px"></HeaderStyle>
                </ExpandCollapseColumn>
                <Columns>
                    <telerik:GridBoundColumn DataField="Edit" HeaderText="<span style='visibility: hidden;'>a</span>" SortExpression="Edit"
                    UniqueName="Edit" HeaderStyle-Width="40px">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="fullName" HeaderText="Customer" SortExpression="fullName"
                        UniqueName="fullName">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="Salesman" HeaderText="Salesman" SortExpression="Salesman"
                        UniqueName="Salesman">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="business" HeaderText="Business Name" SortExpression="business"
                        UniqueName="business">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="LeadId" HeaderText="ID" SortExpression="LeadId"
                        UniqueName="LeadId" HeaderStyle-Width="30px">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="Code" HeaderText="Code" SortExpression="Code"
                        UniqueName="Code">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="address" HeaderText="Mailing Address"
                    SortExpression="address" UniqueName="address">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="City" HeaderText="City" SortExpression="City"
                        UniqueName="City">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="State" HeaderText="State" SortExpression="State"
                        UniqueName="State">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="Zip" HeaderText="Zip" SortExpression="Zip"
                    UniqueName="Zip">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="DateBid" HeaderText="Date Bid" SortExpression="DateBid"
                        UniqueName="DateBid">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="TypeRoof" HeaderText="Type of Roof" SortExpression="TypeRoof"
                        UniqueName="TypeRoof">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="Coatings" HeaderText="Coatings" SortExpression="Coatings"
                        UniqueName="Coatings">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="Branch" HeaderText="Branch" SortExpression="Branch"
                        UniqueName="Branch">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="Warranty" HeaderText="Warranty" SortExpression="Warranty"
                        UniqueName="Warranty">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="OtherInfo" HeaderText="Other" SortExpression="OtherInfo"
                        UniqueName="OtherInfo">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="CallBack" HeaderText="CallBack" SortExpression="CallBack"
                        UniqueName="CallBack">
                    </telerik:GridBoundColumn>
                     
                </Columns>
            </MasterTableView>
            <HeaderStyle Width="100px" />
                <ClientSettings>
                    <Scrolling AllowScroll="True" UseStaticHeaders="True" SaveScrollPosition="True">
                    </Scrolling>
                </ClientSettings>
        </telerik:RadGrid>
        <asp:Label ID="output" runat="server"></asp:Label>
        <br />
        <asp:Button ID="export" Text="Export Data to Excel" runat="server" />
    </asp:Content>

    Master Page
    <%@ Master Language="VB" CodeFile="Main.master.vb" Inherits="Main" %>
     
    <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <head runat="server">
        <title></title>
        <asp:ContentPlaceHolder ID="head" runat="server">
        </asp:ContentPlaceHolder>
        <link rel="Stylesheet" type="text/css" href="Main.css" />
        <script src="http://maps.google.com/maps?file=api&;v=2&sensor=false&key=ABQIAAAANvmC5YwARPSDAHoiTGyjXRSBdRQA-1RE6Zs5QVdIam-JJTNEXBRd3XXg8iPwwSu8ceuB9qFw_ECk0A" type="text/javascript"></script>
         <!-- this one is for the https
         <script src="http://maps.google.com/maps?file=api&;v=2&sensor=false&key=ABQIAAAANvmC5YwARPSDAHoiTGyjXRT5CqG25LA8QqhhYYzIgkFQElYr7hSCxiO74tqOZugjk43atJVaiecSJQ" type="text/javascript"></script>
         -->
    </head>
    <body id="MasterBody" runat="server" style="margin: 0px; height: 100%; overflow: hidden;">
        <form id="form1" runat="server">
        <div id="header">
            <a href="~/admin/Default.aspx" runat="server">
                <img src="~/images/logo.jpg" style="border: none;" runat="server" /></a>
            <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
            </telerik:RadScriptManager>
            <div style="float: right; right: 20px; top: 10px; position: absolute;">
                <asp:LoginStatus runat="server"></asp:LoginStatus>
            </div>
        </div>
        <div id="Main">
            <telerik:RadSplitter ID="RadSplitter1" runat="server" Orientation="Vertical" Width="100%"
                LiveResize="true" Height="520px">
                <telerik:RadPane ID="LeftRadPane1" runat="server" Width="220px" Scrolling="None"
                    BorderStyle="None" BorderSize="0">
                    <telerik:RadSplitter ID="radsplitter2" runat="server" Orientation="Horizontal" LiveResize="true">
                        <telerik:RadPane ID="RadPane2" runat="server" Width="220px" Scrolling="None" BorderStyle="None"
                            bordersize="0">
                             
                            <telerik:RadPanelBar runat="server" ID="RadPanelBar1" ExpandMode="FullExpandedItem"
                                Height="100%" Width="220px">
                                <Items>
                                    <telerik:RadPanelItem Text="Customers" Expanded="True">
                                        <Items>
                                            <telerik:RadPanelItem Text="Add Customer" NavigateUrl="~/Customers/AddCustomer.aspx" />
                                            <telerik:RadPanelItem Text="Customer List" NavigateUrl="~/Customers/CustomerList.aspx" />
                                        </Items>
                                    </telerik:RadPanelItem>
                                    <telerik:RadPanelItem Text="Leads">
                                        <Items>
                                            <telerik:RadPanelItem Text="Create Lead" NavigateUrl="~/Leads/CreateLead.aspx" />
                                            <telerik:RadPanelItem Text="Lead List" NavigateUrl="~/Leads/LeadList.aspx" id="leadList" />
                                        </Items>
                                    </telerik:RadPanelItem>
                                     <telerik:RadPanelItem Text="Sales">
                                        <Items>
                                            <telerik:RadPanelItem Text="Sales List" NavigateUrl="~/Sales/SalesList.aspx" />
                                        </Items>
                                    </telerik:RadPanelItem>
                                    <telerik:RadPanelItem Text="Bids">
                                        <Items>
                                            <telerik:RadPanelItem Text="Bid List" NavigateUrl="~/Bids/BidList.aspx" />
                                        </Items>
                                    </telerik:RadPanelItem>
                                    <telerik:RadPanelItem Text="Jobs">
                                        <Items>
                                            <telerik:RadPanelItem Text="Jobs List" id="jobsList" NavigateUrl="~/Jobs/JobsList.aspx" />
                                            <telerik:RadPanelItem Text="Jobs Started" id="startList" NavigateUrl="~/Started/StartedList.aspx" />
                                            <telerik:RadPanelItem Text="Jobs Completed" id="completeList" NavigateUrl="~/Jobs/Completed.aspx" />
                                        </Items>
                                    </telerik:RadPanelItem>
                                    <telerik:RadPanelItem Text="Administration" Visible="false">
                                        <Items>
                                            <telerik:RadPanelItem Text="Add Employees" NavigateUrl="~/admin/AddEmployees.aspx" />
                                            <telerik:RadPanelItem Text="Delete Employees" NavigateUrl="~/admin/DeleteEmployees.aspx" />
                                            <telerik:RadPanelItem Text="Add Products" NavigateUrl="~/admin/AddProducts.aspx" />
                                            <telerik:RadPanelItem Text="Edit Products" NavigateUrl="~/admin/EditProducts.aspx" />
                                            <telerik:RadPanelItem Text="Delete Products" NavigateUrl="~/admin/DeleteProducts.aspx" />
                                            <telerik:RadPanelItem Text="Warranty Totals" NavigateUrl="~/admin/Warranty.aspx" />
                                            <telerik:RadPanelItem Text="Estimates" NavigateUrl="~/admin/EstimatesList.aspx" />
                                            <telerik:RadPanelItem Text="Actuals" NavigateUrl="~/admin/ActualsList.aspx" />
                                            <telerik:RadPanelItem Text="Map" NavigateUrl="~/admin/Map.aspx" />
                                        </Items>
                                    </telerik:RadPanelItem>
                                </Items>
                            </telerik:RadPanelBar>
                             
                        </telerik:RadPane>
                    </telerik:RadSplitter>
                </telerik:RadPane>
                <telerik:RadSplitBar runat="server" ID="RadSplitBar2" CollapseMode="Forward" EnableResize="true"
                    ForeColor='Green' />
                <telerik:RadPane ID="RightRadPane1" runat="server" CssClass="RightPanelPadding" Scrolling="Both"
                    BorderStyle="None" BorderSize="0">
                    <div style="margin-left: 10px;"><asp:ContentPlaceHolder ID="mainContentPlaceHolder" runat="server">
                    </asp:ContentPlaceHolder></div>
                </telerik:RadPane>
            </telerik:RadSplitter>
        </div>
        </form>
    </body>
    </html>

    Let me know if you want the vb code behind files.
  6. Martin
    Admin
    Martin avatar
    811 posts

    Posted 12 Apr 2011 Link to this post

    Hello Web Services,

    Thank you for the sample code.

    Unfortunately I am still not able to reproduce the described issue. Here is the setup I have used:
    • Visual Studio 2010
    • .NET 4.0 web site.
    • RadControls version 2011.1.315
    Attached are some screenshots that show the output that I got after I pasted your code in a newly created web site.

    If you continue to get the described issue please provide step by step instructions as well as detailed setup information that I can follow in order to replicate the problem locally.

    Please also verify whether the problem exists when standard TextBox controls are used instead of RadTextBox ones.

    Kind regards,
    Martin
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  7. Web Services
    Web Services avatar
    243 posts
    Member since:
    Apr 2008

    Posted 12 Apr 2011 Link to this post

    That must be where we differ. I'm running this in .net 3.5 2009.3.1103.35 I upgraded to 2010.1.519.35 and now it's working fine. Thanks,
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017