iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Hi,
Why there is no reply from your side???
I have gone through those articles. But they do not seem to help much in my case.
I must be doing something wrong while definign the columns or child tables.
Please have a look at my attached file and tell me what my be possible mistake i am doing.
One question.
Do you support Auto-increments in child tables?
Thanks,
Huzefa
Is there no update yet???
Can you please guide me exactly where would i find this Article.
Thanks
I applied the WebGrid HotFix given by you and everything seemed to work great except for few things.
After Editing, deleting or adding any row in WebGrid the rows are getting updated and pending changes count is also geting reset, but for added rows when the page is rendered again i see 2 rows added, one as a normal row and second as colored row with added row mark in left most of the row.
There is still a problem with added row, please check in the sample i have attached.
What about Situation 2, I dont wanna show the Auto Increment column to user. Instead hide it from user but internally it should keep auto incrementing.
Making the Auto Increment to Visible=false is giving problem as mentioned in my earlier post. Please tell me how can i overcome it?
I am attaching a sample to demostrate the problem that i am facing.
I would give a brief understanding of what i am trying to achieve.
I have taken a Custom Object i.e. List<SysUser> and have 3 records in it at the start. Here is a outline
SysUserId LoginName Password
1 Admin 123
2 SysUser 123
3 PowerUser 123
For me when the user Clicks the AcceptChanges of Grid it goes to server and updates the Object and saves the updated object in Session variable, the updated changes are reflected back on to the grid.
Now there is a button below WebGrid on click of which the whole page data with grid data is saved into the database.
There are Couple of situation I would demonstrate them One by one.
1st Situation:
I have added columns to WebGrid and attached a DataSource to it on InitializeDataSource event. I have also made SysUserId as dataKeyField and set following property to SysUserId column, namely
IsAutoIncrement = true;
Visible = true;
When i set the DataKeyField column to be visible its fine the WebGrid understands the KeyField and sets the Text as Auto when trying to insert any new row.
Internally the id assigned to DataKeyField column starts from 0 (though i already have sysuserid of 1, 2,3).
After adding 3 new rows and post the grid data to server through the click of AcceptChanges button in WebGrid then i get the Keys as 0 , 1, 2
Q. Now this Keys already exists, why doesn't the Webgrid understand the data in the attached object for dataKeyField. It should basically assign the highest possible value to newly added row.
This newly generated keys of webGrid now conflicts with existing keys in the object.
2nd situation:
Now the properties for the dataKeyField Column is as follows,
Visible = false;
The KeyFieldColumn is now hidden so that User dont see that Auto text again nd again. Now if i add 3 new rows in the WebGrid, it will add and internally it will assign the id of 0,1,2 respectively.
Now if i delete the 1st Row in WebGrid then the 1st row wont be deleted instead the 2nd Row of newly added row is deleted. This because the 2nd row of newly added rows is given an id of 1 and the 1st row in the grid also has a id of 1.
Here it doesn't understand and deletes the 2nd record of newly added row.
Now tell me how should i handle this 2 situations.
Also can you tell me how disable/Hide the Accept All Changes button of WebGrid???
But why do i need to deploy it on IIS to solve this javascript error.
I think there is some small thing that we are over looking. All this things won't be required.
I checked this error is only on IE, Firefox working good.
Is my sample application giving error on IE at your side?
Yes, I have all the latest components.
My project is running on Asp.Net development environment so naturally it is on localhost. I have not hosted my application on IIS yet.
I don't know why i am facing this strange problem. Can you please help me in solving this problem.
What i mean is that every row would have only 1 editor but the column would be same.
e.g. I have a Column as "Value", now based on value from database i show a Combo on 1 row, then calendar combo on 2nd row same column, then textbox on 3rd row same column.
This is very common senario. I don't think this won't be possible in Web Grid. How can i achive this??
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname