Home All Groups Group Topic Archive Search About

Infragistics Ultra Web Grid Updating Problem

Author
28 Jun 2005 5:56 PM
Paul W
I was recently assigned to build a database administration tool with an
infragistics web grid UI. I am able to pull the data into a dataSet and
bind it fine. However, when I attempted to use the UpdateCell or
UpdateCellBatch events to transfer updated data to the data set, the
event arguements (Infragistics.WebUI.UltraWebGrid.CellEventArgs e) are
missing critical information such as the row and column of the cell
being updated, and most of the CellEventArgs are either null or -1. I
tried copying directly from a sample on the Infragistics website but
again, the CellEventArgs are missing the data even their tutorial needs
to run properly.

Any help would be appreciated,
- Paul

Author
28 Jun 2005 6:49 PM
Marina
This is a question for Infragistics support.

Show quoteHide quote
"Paul W" <Paul.Wonde***@medcere.com> wrote in message
news:1119981375.116310.20950@g14g2000cwa.googlegroups.com...
>I was recently assigned to build a database administration tool with an
> infragistics web grid UI. I am able to pull the data into a dataSet and
> bind it fine. However, when I attempted to use the UpdateCell or
> UpdateCellBatch events to transfer updated data to the data set, the
> event arguements (Infragistics.WebUI.UltraWebGrid.CellEventArgs e) are
> missing critical information such as the row and column of the cell
> being updated, and most of the CellEventArgs are either null or -1. I
> tried copying directly from a sample on the Infragistics website but
> again, the CellEventArgs are missing the data even their tutorial needs
> to run properly.
>
> Any help would be appreciated,
> - Paul
>
Author
28 Jun 2005 7:12 PM
Juan T. Llibre
This looks like a question you
should ask at the Infragistics forums :

http://devcenter.infragistics.com/DevCom/NewsGroups.Aspx

In particular at :
news://news.infragistics.com/Infragistics.dotnet.WebGrid



Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

Show quoteHide quote
"Paul W" <Paul.Wonde***@medcere.com> wrote in message
news:1119981375.116310.20950@g14g2000cwa.googlegroups.com...
>I was recently assigned to build a database administration tool with an
> infragistics web grid UI. I am able to pull the data into a dataSet and
> bind it fine. However, when I attempted to use the UpdateCell or
> UpdateCellBatch events to transfer updated data to the data set, the
> event arguements (Infragistics.WebUI.UltraWebGrid.CellEventArgs e) are
> missing critical information such as the row and column of the cell
> being updated, and most of the CellEventArgs are either null or -1. I
> tried copying directly from a sample on the Infragistics website but
> again, the CellEventArgs are missing the data even their tutorial needs
> to run properly.
>
> Any help would be appreciated,
> - Paul
>
Author
29 Jun 2005 6:37 PM
Michael Baltic
Did you do a databind on the grid?  This is usally the cause of a lot of the
problems.
--
Staff Consultant II - Enterprise Web Services - Cardinal Solutions Group

Future Business Model - National City Mortgage


Show quoteHide quote
"Paul W" wrote:

> I was recently assigned to build a database administration tool with an
> infragistics web grid UI. I am able to pull the data into a dataSet and
> bind it fine. However, when I attempted to use the UpdateCell or
> UpdateCellBatch events to transfer updated data to the data set, the
> event arguements (Infragistics.WebUI.UltraWebGrid.CellEventArgs e) are
> missing critical information such as the row and column of the cell
> being updated, and most of the CellEventArgs are either null or -1. I
> tried copying directly from a sample on the Infragistics website but
> again, the CellEventArgs are missing the data even their tutorial needs
> to run properly.
>
> Any help would be appreciated,
> - Paul
>
>
Author
30 Jun 2005 2:17 PM
Paul W
Yeah, I bound my dataset to the grid using the DataBind function. Is
this a problem and if so, how do I get the data from my data set onto
the grid if I don't bind it?

Thanks,
- Paul
Author
1 Jul 2005 1:07 PM
Ron Allen
Paul,
    You should set the DataSource of the grid to the appropriate
DataTable/DataView.  If there are relations in the DataSet to this table
this will create a multiband(level) grid.  Make sure to code
InitializeLayout to set the grid layout after the DataSource changes.  Also
if you ever want to clear the grid by setting the DataSource to null make
sure that your InitializeLayout code handles this appropriately.

    As others have said Infragistics provide newsgroup support on
news.infragistics.com.  The appropriate newsgroup for UltraWinGrid questions
would be infragistics.dotnet.wingrid.

Ron Allen
Show quoteHide quote
"Paul W" <Paul.Wonde***@medcere.com> wrote in message
news:1120141076.197618.6830@z14g2000cwz.googlegroups.com...
> Yeah, I bound my dataset to the grid using the DataBind function. Is
> this a problem and if so, how do I get the data from my data set onto
> the grid if I don't bind it?
>
> Thanks,
> - Paul
>