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

[Solved] RadCombo not functioning properly

0 Answers 126 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Pinkey
Top achievements
Rank 1
Pinkey asked on 01 Jul 2009, 03:01 PM

 

 

<telerik:GridTemplateColumn HeaderText="Product" UniqueName="ProductInfo" ItemStyle-VerticalAlign="Middle" ItemStyle-HorizontalAlign="Left">  
                                        <ItemTemplate>  
                                            <asp:Label ID="Label2" runat="server" Text='<%# Eval("Prod_Name")%>'></asp:Label>  
                                            <asp:HiddenField ID="hidTreat_ID" runat="server" Value='<%# eval("ID")%>' />  
                                            <asp:HiddenField ID="hidSeq" runat="server" Value='<%# bind("Seq")%>' />  
                                        </ItemTemplate>  
                                        <EditItemTemplate>  
                                            <asp:Panel ID="pnlTreat_TN" runat="server">  
                                                <table cellpadding="0" cellspacing="0" border="0">  
                                                    <tr>  
                                                        <td style="padding: 0px">  
                                                            <telerik:RadComboBox ID="ComboBox_CompProdTN" runat="server" AutoPostBack="True" 
                                                                EnableLoadOnDemand="True" Height="120px" ShowMoreResultsBox="true" Skin="Web20" 
                                                                Width="200" OnSelectedIndexChanged="ComboBox_CompProdTN_SelectedIndexChanged" 
                                                                EnableVirtualScrolling="true" EmptyMessage="Select a Product"   
                                                                OnItemsRequested="ComboBox_ItemsRequested"  ValidationGroup="SelectProduct"   
                                                                ShowDropDownOnTextboxClick="False">  
                                                            </telerik:RadComboBox>  
                                                            <asp:RequiredFieldValidator ID="rfvProduct" runat="server" ErrorMessage="&larr; Select Product!" 
                                                                ControlToValidate="ComboBox_CompProdTN" Display="Dynamic" SetFocusOnError="True" 
                                                                Font-Bold="True" Font-Names="Arial" ValidationGroup="SelectProduct"></asp:RequiredFieldValidator>  
                                                        </td>                                                          
                                                        <td align="left" >  
                                                        <asp:Label ID="lblError" runat="server" ForeColor="Red" Visible="false"  ></asp:Label>  
                                                        </td>  
                                                          
                                                         
                                                        <td align="center" valign="middle">  
                                                        &nbsp;  
                                                            <asp:ImageButton ID="imgbtnAdvSearch" runat="server" ImageUrl="~/images/buttons/findIcon2.gif" 
                                                                Style="padding: 1px 0px 0px 0px;" ToolTip="Advanced Search" CommandName="FindAI" 
                                                                Visible="false"  Height="23px" OnClick="imgbtnAdvSearch_Click" ImageAlign="Middle" 
                                                                Width="22px" />  
                                                                                                                   </td>  
                                                        <td align="center" valign="middle">  
                                                        &nbsp;  
                                                            <asp:ImageButton ID="imgbtnAddNewCompProd" runat="server" ImageUrl="~/images/buttons/AddProd.png" 
                                                                Style="padding: 1px 0px 0px 0px;" ToolTip="Add New Comparative Product" CommandName="AddCompProd" 
                                                                Visible="false"  OnClick="imgbtnAddNewCompProd_Click" Height="23px" ImageAlign="Middle" />  
                                                                                                                    </td >  
                                                                                                          </tr>  
                                                </table>  
                                                <asp:HiddenField ID="hidTreat_ID" runat="server" Value='<%# bind("ID")%>' />  
                                                <asp:HiddenField ID="hidSeq" runat="server" Value='<%# bind("Seq")%>' />  
                                                <asp:HiddenField ID="hidProdTN_ID" runat="server" Value='<%# bind("Prod_ID")%>' />  
                                                <asp:HiddenField ID="hidRecType" runat="server" Value='<%# bind("Type")%>' />  
                                            </asp:Panel>  
                                            <asp:Label ID="lblSpecialType" runat="server" Text="" Visible="false" ForeColor="#663300"></asp:Label>  
                                        </EditItemTemplate>  
                                        <ItemStyle HorizontalAlign="Left" VerticalAlign="Middle"  />  
                                    </telerik:GridTemplateColumn> 


 

Please help me out with the solution.
Thanks
Pinkey

No answers yet. Maybe you can help?

Tags
ComboBox
Asked by
Pinkey
Top achievements
Rank 1
Share this question
or