ComboBox / Multi-column ComboBox bind valur from server side

2 posts, 0 answers
  1. mohamed
    mohamed avatar
    311 posts
    Member since:
    Mar 2011

    Posted 08 Oct 2011 Link to this post

                                          <asp:Label ID="Label4" runat="server" Text="<%$ Resources:Quation, QtNo %>"></asp:Label>
                                          <asp:Label runat="server" ID="lbcaption" Visible="false"></asp:Label>
                                          <telerik:RadComboBox runat="server" ID="txt_QuotationNo" Height="190px" Width="300px"
                                              MarkFirstMatch="true" EnableLoadOnDemand="true" HighlightTemplatedItems="true"
                                              DataSourceID="SqlDataSource1" OnClientItemsRequested="UpdateItemCountField" OnItemDataBound="txt_QuotationNo_ItemDataBound"
                                              OnItemsRequested="txt_QuotationNo_ItemsRequested" OnDataBound="txt_QuotationNo_DataBound"
                                              OnSelectedIndexChanged="txt_QuotationNo_SelectedIndexChanged" AutoPostBack="true">
                                                      <li class="col1">Quation No</li>
                                                      <li class="col2">Revise No</li>
                                                      <li class="col1">
                                                          <%# DataBinder.Eval(Container.DataItem, "quotationno")%></li>
                                                      <li class="col2">
                                                          <%# DataBinder.Eval(Container.DataItem, "revnumbr")%></li>
                                                  A total of
                                                  <asp:Literal runat="server" ID="RadComboItemsCount" />
                                          <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:DBConnectionString %>"
                                              SelectCommand="select quotationno,revnumbr from DSQUOTATIONMAS where status <> 'del' order by quotationno,revnumbr asc">
                                                  <asp:Parameter Name="projectcode" Type="String" />

    Hello all,
    Here this comobobox is multi value showing combo ,
    i want to bind the value from server side ,

    here i bind from asp:SqlDataSource

    how i bind that ,
    reply as soon as possible

  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 10 Oct 2011 Link to this post

    Hello Mohamed,

    Check the following forum thread.
    Creating a multi-column combo programmatically

Back to Top