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 Bernard,I read your article. Unfortunately the attached code-sample is not accessible any more. However from that article I read that the only thing I had to do was to change the first parameter of my Insert method to be a ref-value:
[System.ComponentModel.DataObjectMethodAttribute(System.ComponentModel.DataObjectMethodType.Insert, true)] public object IsDsInsertComment(ref int idComment, string userId, int idPointGroup,....) { : idComment = Convert.ToInt32(cmd.ExecuteScalar()); : return idComment; }
The insert to the database works fine as before, however the new value of idComment does not appear in the WebGrid. You can se the webgrid table column defination above. Here is the ISDataSource defination:
<ISDataSource:ISDataSourceTable ConflictDetection="OverwriteChanges" ParameterOption="FromFields" SelectMethod="IsDsGetComments" UpdateMethod="IsDsUpdateComment" InsertMethod="IsDsInsertComment" DeleteMethod="IsDsDeleteComment" TableName="tblComments" TypeName="C2Net.Common.Lbo.LboComment" OldValuesParameterFormatString="original_{0}"> <SelectParameters> <asp:Parameter Name="idPointGroup" Type="Int32" DefaultValue="-1" /> <asp:Parameter Name="idBuilding" Type="Int32" DefaultValue = "-1"/> <asp:Parameter Name="idOpcGroup" Type="Int32" DefaultValue="-1" /> <asp:Parameter Name="from" Type="DateTime" /> <asp:Parameter Name="to" Type="DateTime" /> </SelectParameters> </ISDataSource:ISDataSourceTable>
Regards TJ
Just to add to this. Safari 5.1.7 and Google Chrome 21.0.1180.89 m have the same symptom. So I changed your script to:
function WebTreeView1_OnInitialize(controlId) { var WebTreeView1 = ISGetObject(controlId); if (!IS.ie) { window.setTimeout(function () { WebTreeView1.FrameObj.style.height = "100%"; }, 5000); } return true; }
This works sometimes, but sometimes not for those browsers depeinding on wich order you resize the browser window versus the splitter. I realy can't figure out the rule here ... and maybe it is totaly random.But anyway the script helps for those browsers.
Hans, Thank you for your effort.
The workaround solved the problem for now. But I had to set the timeout to 5 sec instead of 1 seconds. Then it worked.But anyway, I hope the dev-team comes with some solution, so I can remove this workaround.
Regards
TJ
Hi Hans,
I already had your version of WebTreeview.dll, WebTreeView.Resources.dll and the *.js files you sent. Regarding upgrading, the Update manager says: "No new updates where found" so I assume I also have the newest version of the Framework.
I attach screenshots running your example where you can se in the lower screenshot that the treeview does not expand with the pane. To regenerate this problem, you jut resize the browser window verticaly and then you se that the lower border of the treeview is not moving with the parent Pane.
If this does not happen your site, what in the world could be causing it on my dev. computer.
NB! I'm running this with IIS7 web server, not a local dev. web server, if thtat matters. The computer I'm running this on (both browser and server) is Windows 7.
Your attached files seem to have fixed the problem. Thank you. Throstur
I have the same problem with 2009 R2. I have tested your example and it does not work, as you state.Regards TJ
Handy,Sorry for my late replay. I had somehow missed your reply. Becuse web.config holds all the keys etc, can I send it to you directly somehow via email to you. What email address should I use?PS: I tried to wipe out the temporary stuff as you suggested, but it did not help.
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