Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MmUltraWebGrid Sample fails
Message
From
12/10/2006 03:07:02
 
 
To
All
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
MmUltraWebGrid Sample fails
Miscellaneous
Thread ID:
01161391
Message ID:
01161391
Views:
57
Hello,

I working with mm2.2 and the corresponding Infragistics Web Controls. I have tried the 'Updating in Batch Mode' Example, which does not work.

Here are the changes to get it working:
- for c# the
protected bool BindBackSucceeded
need to be changed to
protected bool BindBackSucceeded = true;
(Bug in documentation)
- The Binding Source needs to be empty
- In the !this.IsPostBack of the Page_Load call
            this.grdRegions.DataBind();
- Double Click the DataBinding Event and add the following code
    protected void grdRegions_DataBinding(object sender, EventArgs e)
    {
        this.LoadUpdatableDataSet();
        this.grdRegions.DataSource = this.dsRegions.Tables[0];
    }
Without that changes and only with the BindingSource = Regions the e.Cell.Column is always null. And with that its not possible to update the data.

With kindly regards
Thomas Wetterer
Next
Reply
Map
View

Click here to load this message in the networking platform