Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using mmRADComboBox as a Custom Filter Column in mmRADGr
Message
De
29/01/2009 13:57:48
 
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
C# 3.0
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01376961
Message ID:
01378213
Vues:
20
Kevin,

It's almost working. I needed to get an instance of the mmRADComboBox to pass in to the this.BindData() method. I was able to do this in the following code
    protected void grdOddDaysRequest_ItemCreated(object sender, GridItemEventArgs e)
    {
        if (e.Item is GridFilteringItem)
        {
            mmRADComboBox filterCombo = e.Item.FindControl("uiFilterRounding") as mmRADComboBox;
            this.BindControl(filterCombo);           
        }  

    }
However, for some reason it seems to be binding twice or something because my list of items in the combo box are duplicated. Do you know what could be causing this?

Al
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform