User Profile & Activity

Huzefa Katwarawala Member
Page
of 6
Posted: June 19, 2010 1:43 AM

Hi,

 

I will look into this and get back to you later.

 

So when is the next release going to be out? Can i have the bug fixes in existing control and additon of new features in Asp.Net controls?

 

Thanks,

Huzefa

Posted: June 15, 2010 9:48 AM

Hi,

 

I request you to add this feature in the latest release that is scheduled to release end of this month.

This is very important feature and will give a lot of value to your control.

I have seen this feature in almost all controls i have used. Was almost shocked when heard a no from your side.

 

Thanks,

Huzefa

Hi,

Is there no way i can manually handle the Auto-Increment of DatKeyField through javascript??

 

Thanks,

Huzefa

Hi Handy,

 

I will explain my application archtecture a bit first:

In my application UI is seperated from Business Components. The UI contains dispay related logic whereas the Business Component contains Business related logic. So the UI doesn't know anything about the database except that it recieves data in form of DTO (data transfer object) which is like a set of class containing subclasses to show dependencies.

Now i cannot use your DataSource controls as i don't directly connect to database. Thats why I directly bind List<> object to WebGrid.

 

Now to use the batch update feature i need to have an Id field which should always Auto-Increment(as asking user to put in Id wouldn't be great).

 

Once the user has added, updated or deleted any row in the WebGrid and wants to save the changes to database then on batchupdate event i again make a List<> object to be passed to Business Component.

 

The user should be able to Add, Update or Delete in Bulk for which the Auto-Increment of DataKeyField is very important.

But you say that Auto-Increment for List<> object Field is not properly supported in WebGrid.

So will it be never be supported or you guys working on resolving it?

 

Can i have an Auto-Increment field which won't be bound to List<> but is seperate and work as DataKeyField? In this case it doesn't have to understand the List<> object.

 

Thanks,

Huzefa

Posted: June 10, 2010 1:59 AM

Hi Handy,

 

Doing this won't cause any other problem right???

 

Thanks,

Huzefa

Posted: June 9, 2010 2:10 AM

Hi,

I have removed intersoft assemblies and have attached the files.


Please add your assemblies for successful compilation.


Thanks,

Huzefa

Hi Handy,

 

In our sample, we used the code below to handle it.

 int? identity = this.SelectIdentityQuery();
 OrderID = identity;

The above mentioned will be called when user has added few rows into the grid and then click the AcceptAllChanges button on WebGrid.

 

But in case i am not able to add more then one row into the ChildTables of webGrid.

 

I am handling the update of Identity key once the user submits the Grid for Update.

 

I will also create a sample and send it to you..

 

Thanks,

Huzefa

Posted: June 8, 2010 10:12 AM

No the files aren't broken... Ihave just nto included the intersoft controls dll's. The was getting too big and not uploading due to it... so i just removed the dll's.

 

Please add those dll's from your side and it should be gr8...

 

I have again added the sample after removing few unwanted assemblies...

Posted: June 8, 2010 1:26 AM

Sorry forgot to attach the file in my earlier post...

 

Here is the structure and settings i have used...

 

 

Thanks,

Huzefa

Hi handy,

 

Did u see the attached image file? The Auto-Increment is not happening at client side..

I am trying to do a batch update. The key is not getting incremented that's why its doesn't allow me to add more then one row..

 

We have a sample in WebGrid sample called BatchUpdate_Enterprise.aspx. In child table (orders), we hanlde insert and select the identity with DoInsert method.

This sample is not so useful in my case as i am doing batch update using strongly typed custom objects and this sample use DataSource controls.

 

I want a sample where there is a batch update in Hierarchical Mode using Strongly Typed Custom Objects??

 

Please help me out...

 

Thanks,

Huzefa

All times are GMT -5. The time now is 10:42 PM.
Previous Next