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,
cells.GetNamedItem("SomeName").Value
when cell holds date value, Value is NaN, which in WebGrid 7 worked fine.
Apologize for the delay in sending this.
I will have this forwarded to WebGrid development team to be investigated further. Should I hear any news regarding this, I will let you know.
Edited on March 12, 2014 03:45Reason: Update information
I created a simple sample of one-row WebGrid and an HTML button. It has four columns: EmployeeID; FirstName; LastName; and HireDate. When user clicks the button, it invokes following JavaScript function.
... var selectedRow = selectedObject.ToRowObject(); // return WebGridRow object var cells = selectedRow.GetCells(); alert(cells.GetNamedItem("HireDate").Value); ...
The sample worked smoothly and the datetime cell was accessed without any issues.
The sample is enclosed as attachment, DateTimeColumnSample.zip. Please have the sample evaluated on your end and let us know if you have different result. For your information, I’m using WebGrid 8 build 258 and WebUI.NET Framework build 911.
Hi, can you send me your entire sample project.
Since WebGrid 8 you are you are not copying text of cell directly to value, but if its date you are goin Value= new Date(cellText).
And that doesnt works well with hr-hr culture.
The entire sample project is uploaded in here.
Please kindly have the sample downloaded and evaluated on your end and let us know if you have different result.
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