Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using mmRADComboBox as a Custom Filter Column in mmRADGr
Message
 
To
29/01/2009 13:57:48
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
C# 3.0
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01376961
Message ID:
01379643
Views:
19
Al,

>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?

I'm not sure...I recommend setting breakpoints at key places in the initialization to see at what point you go from one set of items to a double set of items.

Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform