This is a migrated thread and some comments may be shown as answers.

Q3 2008 DLL problems

5 Answers 106 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Adam
Top achievements
Rank 1
Adam asked on 14 Nov 2008, 07:14 PM

Hey everyone.  My team and I were excited to implement the new Q3 release into our application, but we're experiencing strange UI problems.  Since the problems are crippling, I haven't investigated the extent of the damage yet, but the main one we're experiencing is as follows.  Any page with RadComboBox controls, at least inside of a RadPanelBar, fail to render any data and fail to include any skinning, ie triangle image, hover behavior, etc.  However, after collapsing and re-expanding the panel item, the controls render fine. 

We do not have any RadComboBox controls outside of a RadPanelBar control to my knowledge, so I'm not sure if the problem is directly related to the RadComboBox, the RadPanelBar, or elsewhere.  We haven't had any other trouble like this in the past.  I've done some researching of problems related to the Q3 release, and haven't found any, so hopefully this is not an actual bug with the controls.  If you've gotten any reports or ideas as to the source of this problem, help would be appreciated.

Thanks,

Adam.g

5 Answers, 1 is accepted

Sort by
0
Kevin Babcock
Top achievements
Rank 1
answered on 16 Nov 2008, 04:44 AM
Hi Adam,

First of all, I am sorry to hear you are having a problem upgrading to the new version of the controls. Would you mind providing more specific details as to how you are implementing your RadComboBox and RadPanelBar controls?

I created a simple example of a RadPanelBar containing two RadComboBox controls and it worked perfectly. Here is the source for my example:

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="_Q3._08._0__RadComboBox_Inside_a_RadPanelBar._Default" %> 
 
<%@ 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"> 
 
<html xmlns="http://www.w3.org/1999/xhtml" > 
<head runat="server"
    <title>Example - RadComboBox Inside a RadPanelBar</title> 
</head> 
<body> 
    <form id="form1" runat="server"
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server" /> 
     
        <telerik:RadPanelBar ID="RadPanelBar1" runat="server" 
            Skin="WebBlue"
            <Items> 
                <telerik:RadPanelItem Text="Companies"
                    <ItemTemplate> 
                        <telerik:RadComboBox ID="RadComboBox1" runat="server" 
                            DataSourceID="SqlDataSource1" 
                            DataTextField="CompanyName" 
                            DataValueField="CustomerID"
                        </telerik:RadComboBox> 
                    </ItemTemplate> 
                </telerik:RadPanelItem> 
                <telerik:RadPanelItem Text="Products"
                    <ItemTemplate> 
                        <telerik:RadComboBox ID="RadComboBox2" runat="server" 
                            DataSourceID="SqlDataSource2" 
                            DataTextField="ProductName" 
                            DataValueField="ProductID"
                        </telerik:RadComboBox> 
                    </ItemTemplate> 
                </telerik:RadPanelItem> 
            </Items> 
        </telerik:RadPanelBar> 
         
        <asp:SqlDataSource ID="SqlDataSource1" runat="server"  
            ConnectionString="<%$ ConnectionStrings:NorthwindConnectionString %>"  
            SelectCommand="SELECT [CustomerID], [CompanyName] FROM [Customers]"
        </asp:SqlDataSource> 
         
        <asp:SqlDataSource ID="SqlDataSource2" runat="server"  
            ConnectionString="<%$ ConnectionStrings:NorthwindConnectionString %>"  
            SelectCommand="SELECT [ProductID], [ProductName] FROM [Products]"
        </asp:SqlDataSource> 
    </form> 
</body> 
</html> 
 

Perhaps if you could provide further details about your project or maybe even some source code that would help me figure out what is causing the problem in your application.

Regards,
Kevin Babcock
0
Adam
Top achievements
Rank 1
answered on 17 Nov 2008, 01:30 PM
Sure.  The only real difference that I can see between the way we implement the panelbar is in the nesting of items, which you have shown one deep.  To my knowledge, the way to get collapsible panels is to nest two deep, thusly:

<telerik:RadPanelBar ID="CreateUsesPanelBar" runat="server" Skin="Office2007" CssClass="collapsible" Width="100%"
       
        <CollapseAnimation Duration="100" Type="None" /> 
          <Items> 
            <telerik:RadPanelItem runat="server" Text="Use Identification" Expanded="True"
              <Items>                 
                <telerik:RadPanelItem runat="server"
                  <ItemTemplate>  
                       
      <telerik:RadAjaxPanel ID="UseIDRadAjaxPanel" runat="server">   
     
  <asp:FormView ID="UseIDFormView" DataSourceID="Use_UseID_DS" runat="server" DefaultMode="Edit" >     
    <InsertItemTemplate>  
        <asp:Panel id="UseIdentificationContentPanel" runat="server"
          <name="useidentification"></a>                               
          <table style="MARGIN-TOP: 20px; width: 699px;" border="0" id="TABLE1"
            <tr> 
              <td style="WIDTH: 167px" align="right" valign="top"
              <asp:Label id="lblUseName" runat="server" Text="*Name:"></asp:Label>  
            </td> 
            <td style="width: 240px"
              <telerik:RadTextBox ID="radtxtUseName" runat="server" Skin="Office2007" Width="500px" Text='<%# Bind("Name") %>' FocusedStyle-BackColor="LightBlue" ValidationGroup="UseIDForm"
                  <FocusedStyle BackColor="LightBlue" /> 
              </telerik:RadTextBox><br /> 
              <asp:RequiredFieldValidator ID="radtxtName_Req" runat="server" ErrorMessage="A Use Name is required." ControlToValidate="radtxtUseName" Display="Dynamic" ValidationGroup="UseIDForm"></asp:RequiredFieldValidator>  
            </td> 
          </tr> 
          <tr> 
            <td align="right" valign="top" style="width: 167px; height: 52px;"
              <asp:Label id="lblDescription" runat="server" Text="Description:" ></asp:Label>  
            </td> 
            <td style="width: 240px; height: 52px;"
              <telerik:RadTextBox ID="radtxtDescription" runat="server" Skin="Office2007" 
                         Width="500px" Text='<%# Bind("Description") %>' 
                         TextMode="MultiLine" FocusedStyle-BackColor="LightBlue" Height="77px"
                  <FocusedStyle BackColor="LightBlue" /> 
              </telerik:RadTextBox> 
            </td> 
          </tr> 
          <tr> 
            <td style="WIDTH: 167px;" align="right"
              <asp:Label id="lblProcessCat" runat="server" Text="*Process Category:"></asp:Label>  
            </td> 
            <td style="width: 240px"
              <telerik:RadComboBox ID="radddlProcessCat" runat="server" Skin="Outlook" Width="400px" 
                 DataSourceID="Process_Cat_DS" DataTextField="Combined" DataValueField="MasterId" 
                  SelectedValue='<%# Bind("ProcessCategory") %>' HighlightTemplatedItems="true" 
                  AppendDataBoundItems="true"
                <Items> 
                  <telerik:RadComboBoxItem runat="server" Text="" Value="" /> 
                </Items> 
                <HeaderTemplate> 
                  <table> 
                    <tr> 
                      <td width="20">Code</td> 
                      <td>Description</td> 
                    </tr> 
                  </table> 
                </HeaderTemplate> 
                <ItemTemplate> 
                  <table> 
                    <tr> 
                      <td valign="top" width="20"><%# DataBinder.Eval(Container.DataItem, "RefCode") %></td
                      <td><%# DataBinder.Eval(Container.DataItem, "ShortName") %></td
                    </tr> 
                  </table> 
                </ItemTemplate> 
              </telerik:RadComboBox> 
            </td> 
          </tr> 
          <tr> 
            <td align="right"
              <asp:Label id="lblProductCat" runat="server" Text="*Product Category:"></asp:Label>  
            </td> 
            <td> 
              <telerik:RadComboBox ID="radddlProductCat" runat="server" Skin="Outlook" Width="400px" 
                     DataSourceID="Product_Cat_DS" DataTextField="Combined" DataValueField="MasterId" 
                     SelectedValue='<%# Bind("ProductCategory") %>' HighlightTemplatedItems="true" 
                     AppendDataBoundItems="true"
                <Items> 
                  <telerik:RadComboBoxItem runat="server" Text="" Value="" /> 
                </Items> 
                <HeaderTemplate> 
                  <table> 
                    <tr> 
                      <td width="20px">Code</td> 
                      <td>Description</td> 
                    </tr> 
                  </table> 
                </HeaderTemplate> 
                <ItemTemplate> 
                  <table> 
                    <tr> 
                      <td valign="top" width="20px"><%# DataBinder.Eval( Container.DataItem, "RefCode" ) %></td
                      <td><%# DataBinder.Eval(Container.DataItem, "ShortName" ) %></td
                    </tr> 
                  </table> 
                </ItemTemplate> 
                  <CollapseAnimation Duration="200" Type="OutQuint" /> 
              </telerik:RadComboBox> 
            </td> 
          </tr> 
          <tr> 
            <td style="WIDTH: 167px" align="right"
              <asp:Label ID="lblERC" runat="server" Text="ERC:"></asp:Label> 
            </td> 
            <td style="width: 240px"
              <telerik:RadComboBox ID="radDDLERC" runat="server" Skin="Outlook" Width="400px" 
                            HighlightTemplatedItems="true" DataSourceID="ERC_DS" DataTextField="Combined" 
                            DataValueField="MasterId" SelectedValue='<%# Bind("ErcId") %>' 
                            AppendDataBoundItems="true"
                <Items> 
                  <telerik:RadComboBoxItem runat="server" Text="" Value="" /> 
                </Items> 
                <HeaderTemplate> 
                  <table> 
                    <tr> 
                      <td width="20px">Code</td> 
                      <td>Description</td> 
                    </tr> 
                  </table> 
                </HeaderTemplate> 
                <ItemTemplate> 
                  <table> 
                    <tr> 
                      <td valign="top" width="20px"><%# DataBinder.Eval( Container.DataItem, "RefCode" ) %></td
                      <td><%# DataBinder.Eval(Container.DataItem, "ShortName" ) %></td
                    </tr> 
                  </table> 
                </ItemTemplate>               
              </telerik:RadComboBox> 
            </td> 
          </tr> 
          <tr> 
            <td align="right" style="width: 167px"
              <asp:Label id="lblProprietaryFlag" runat="server" Text="Proprietary Flag:"></asp:Label>  
            </td> 
            <td style="width: 240px"
              <asp:CheckBox ID="chkProprietaryFlag" runat="server" /> 
            </td> 
          </tr> 
          <tr> 
            <td align="right" style="width: 167px"
              <asp:Label id="lblStatus" runat="server" Visible="false" Text="*Work Completion Status:" Width="163px"></asp:Label>  
            </td> 
            <td style="width: 240px"
              <telerik:RadComboBox ID="radddlStatus" runat="server" Visible="false" Skin="Outlook" Width="84px" DataSourceID="Status_DS" DataTextField="ShortName" DataValueField="MasterId" SelectedValue='<%# Bind("Status") %>'/> 
            </td> 
          </tr> 
          <tr> 
            <td style="width: 167px"><br /></td
          </tr> 
          <tr> 
            <td style="width: 167px"></td> 
            <td style="width: 240px"
              <asp:Button ID="btnCreateUseSave" runat="server" CommandName="insert" CssClass="gridButton" Text="Create" CausesValidation="true" ValidationGroup="UseIDForm" OnClick="btnCreateUseSave_Click" /> 
              <asp:Button ID="btnCreateUseCancel" runat="server" CommandName="Cancel" CssClass="gridButton" Text="Cancel" CausesValidation="false" OnClick="btnCreateUseCancel_Click" /> 
            </td> 
          </tr> 
        </TABLE> 
        <br />            
        <cc1:ConfirmButtonExtender ID="btnCreateUseSave_Confirm_Ex" runat="server" ConfirmText="Are you sure you want to save?" TargetControlID="btnCreateUseSave" /> 
        <cc1:ConfirmButtonExtender ID="btnCreateUseCancel_Confirm_Ex" runat="server" ConfirmText="Are you sure you want to cancel? Any changes to the form will be lost." TargetControlID="btnCreateUseCancel" />         
      </asp:Panel>        
  </InsertItemTemplate>  
  </asp:FormView>  
</telerik:RadAjaxPanel> 
                  </ItemTemplate> 
                </telerik:RadPanelItem> 
              </Items> 
            </telerik:RadPanelItem> 
        <ExpandAnimation Duration="100" Type="None" /> 
      </telerik:RadPanelBar> 

This code has worked fine against all previous DLL releases.  I also see you don't do any server value binding on the ComboBoxes, which we do throughout the application, but I'm pretty sure that I have tested this as well.  Again, this code would be inside the sliding pane of a RadSplitter, and that may be the only set of differences I can see between these two samples.

Thanks a lot,
Adam.g
0
Paul
Telerik team
answered on 18 Nov 2008, 09:35 AM
Hi Adam,

I think it will be best if you can open a support ticket and send us a simple running project (incl. CSS, images, skins, DB backup if needed and so on) demonstrating the problem (and step-by-step instructions on doing so). In that way we can reproduce and pinpoint the problems you're facing on our side, understand the logic of your application and provide a solution.

Thanks beforehand for your patience and cooperation,
Paul
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Adam
Top achievements
Rank 1
answered on 18 Nov 2008, 02:01 PM

I have indeed done that, and my ticket number is 174777.

As an aside, it didn't take much code to recreate this problem.  I see that the above code sample does work; just the PanelBar alone.
However, stick the same scenario inside of a RadSplitter, and that's when it fails.  The code below was tested without styles, so you can ignore any css class settings.

<html xmlns="http://www.w3.org/1999/xhtml" > 
<head runat="server">  
    <title>Untitled Page</title> 
</head> 
<body> 
    <form id="form1" runat="server">  
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">  
        </telerik:RadScriptManager> 
    <div> 
      <telerik:RadSplitter id="RadSplitter1" runat="server" Height="100%" Width="1500px" VisibleDuringInit="false" ResizeMode="EndPane" ResizeWithParentPane="true" ResizeWithBrowserWindow="true" Skin="Office2007">              
            <telerik:RadPane id="Radpane1" runat="server" Width="22px" Scrolling="None" Height="800px">  
                <telerik:RadSlidingZone id="SlidingZone1" runat="server" width="22px" DockedPaneId="Nav" ExpandedPaneId="Nav" SlideDirection="Right">  
                    <telerik:RadSlidingPane id="Nav" Height="800px" title="Navigation" runat="server" Width="176px" Scrolling="X" CssClass="slideContainer">  
                      <telerik:RadAjaxPanel ID="NavRadAjaxPanel" runat="server">  
                      </telerik:RadAjaxPanel>   
                    </telerik:RadSlidingPane>                         
                </telerik:RadSlidingZone> 
            </telerik:RadPane> 
            <telerik:RadSplitBar id="Radsplitbar3" runat="server" CollapseMode="Forward" /> 
            <telerik:RadPane ID="MasterPageRadContentPane" runat="server" MinHeight="1000" MinWidth="800" CssClass="MasterPageRadContentPane">                    
              <div id="master_contenttitle">  
                <asp:Label ID="lblContentTitle" runat="server" Font-Bold="True" Font-Size="12pt"></asp:Label> 
              </div> 
              <telerik:RadPanelBar ID="RadPanelBar1" runat="server" AllowCollapseAllItems="true" Skin="Office2007">  
                <Items> 
                  <telerik:RadPanelItem runat="server" Text="Sample PanelBar Section" Expanded="true">  
                    <Items> 
                      <telerik:RadPanelItem runat="server">  
                        <ItemTemplate> 
                          <telerik:RadComboBox ID="RadComboBox1" runat="server" Skin="Outlook" DataSourceID="AccessDataSource1" 
                                    DataTextField="Name" DataValueField="ItemID">  
                          </telerik:RadComboBox> 
                        </ItemTemplate> 
                      </telerik:RadPanelItem> 
                    </Items> 
                  </telerik:RadPanelItem> 
                </Items> 
              </telerik:RadPanelBar>          
        </telerik:RadPane>               
      </telerik:RadSplitter> 
    </div> 
      <asp:AccessDataSource ID="AccessDataSource1" runat="server" DataFile="~/App_Data/database.mdb" SelectCommand="SELECT [ItemID], [Name] FROM [Items]"></asp:AccessDataSource> 
    </form> 
</body> 
</html> 

Admittedly, our team is a little busy to look to deeply into this problem at the moment, but unless it's something simple like a misplaced or missing attribute, or broken tags, the Q2 release DLL is working fine for us for the time being.

Thanks for the help,
Adam.g
0
Accepted
Paul
Telerik team
answered on 18 Nov 2008, 02:45 PM
Hello Adam,

Actually, the problem is caused due to a bug in RadSplitter control. For details on the matter please refer to this sticky forum post. The bug will be addressed in SP1 due to be released later next week.

Sincerely yours,
Paul
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
General Discussions
Asked by
Adam
Top achievements
Rank 1
Answers by
Kevin Babcock
Top achievements
Rank 1
Adam
Top achievements
Rank 1
Paul
Telerik team
Share this question
or