Rank: Advanced Member Groups: Member
Joined: 2/20/2008 Posts: 34
|
I put an EO grid and a GridView on an empty page an add a sqldatasource. I connect the DataSourceID property to both controls. I have a textbox and a button with the following code in it
protected void Button1_Click(object sender, EventArgs e) { Session["ProductGroup"] = TextBox1.Text; Grid1.DataBind(); GridView1.DataBind(); } The GridView binds. The EO Grid Does not. Why not.
This is the first time I have played with the Grid but it seems this should work. Is the EO Grid derived from the Gridview? Does the EO Grid work very differently than the GridView? I would hate to have to learn a completely different control. Thanks, Gary
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,218
|
Hi Gary,
Unfortunately they are two very different controls. Our Grid offers a lot of client side features that you won't find in the standard ASP.NET GridView, so it's not a simple replacement of ASP.NET's GridView. In order to use those features, you need to know how our Grid works. So I am not sure what else to tell you except for referring you to the documentation. :) You do need to spend some time on this one. Sorry about that!
Thanks
|