Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
130
Can XamWebGrid do all this
posted

Want to know if XamWebGrid supports the Following

1) Ability to Store Hidden Values(Some Thing Like UserData) at Cell Level,Row Level and Column Level ?
    Propbably Store Light Weight Structure or clas into Cell, and be able to access it whenever cell values changes

2)  Say if a Value is changed in Cell, Can i Call webService and update other Column using data Returned by this Web Service?

3) CasCasding Combobox (Specifically which can call Web Service automatically)  as present in Ajax Toolkit ?

4) How to do CRUD using XamWebGrid ?

Will Appreciate sample that shows the above metioned functionalty.

 

Parents
No Data
Reply
  • 12631
    Verified Answer
    posted

    1) Not sure I totally understand the scenario, but can hide columns.  If you use something like a template column, inside of the DataTemplate you have full access to all of the properties of the object bound to that specific row.

    2) There are cell entry and exit events that would allow you to do this.  See this help topic which lists the Cell Edting events available:

    http://help.infragistics.com/Help/NetAdvantage/Silverlight/2009.1/CLR3.5/html/SL_xamWebGrid_Editing_Data.html

    3) Not something that is built in, but its certainly possible.  In the product samples, we have examples of emedding a combobox into a grid cell using the TemplateColumn and binding the combobox to a seperate items source

    4) The grid uses standard two-way Silverlight data binding internally, so when you make a change to a cell value it automatically updates the underlying itemsource object bound to the grid.  You would have to implement some mechanism such as a web service that would let you send the changes in that itemssource object back to your server.  You might take a look at using something like Microsofts RIA Services which is in CTP, or if you want something production ready today, I have used IdeasBlades DevForce product with our Silverlight controls before to handle the CRUD operations.

     

    I would love to know more about the application your building and the specifics around the scenarios you are looking to implement.

Children