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
In my WebGrid, I have a column defined as a DropDownList. It retrieves rows from a table that has an ID and a description. I display the description, but store the ID. When I copy and paste a row, it tries to store the description and not the ID. Is there a trick to this?
Thanks,
Conrad
Hi Conrad,
Unfortunately we do not have a sample to create a new customize row context menu, but here is the sinppet that might helpful for you. You will need a client side event called "OnRowContextMenu" to trigger and add the new RowContextMenu.
function WebGrid1_OnRowContextMenu(controlId, rowType, rowElement, menuObject) { var WebGrid1 = ISGetObject(controlId); var New_Function = new WebMenuItem(); New_Function.Text = "<asp:Literal runat="server" Text="New Function" />"; New_Function.Name = "New_Function"; New_Function.OnClick = "New_Function_"; New_Function.CustomElement = controlId; menuObject.Items.Add(New_Function); return true; } function New_Function_(){ alert("New Function has been called"); }
I hope it helps and please, do not hesitate to ask if you have any other questions. Thank you.
Best Regards,
Andi Santoso
Andi,
Apparently this issue has been resolved in version 7.0.7200.305 with a LayoutSettings parameter PersistValueListOnCopy. It works exactly the way I would expect.
I am disappointed that I received no notification from my feature request and stumbled on this accidentally.
Thanks
Actually, the bulid in of WebGrid is set like that regading to the privacy issue. So when you copy a row, it will restore the data based on what is shown. In a matter of fact, there is a workaround for this issue. You can try to create and add your own context menu and store each data(value or text) in each column by your on demand. Or perhaps, for the conveniences, you can request for this particular feature at Developer Network -> Community Center -> Product Support -> Feature Request.
I hope it helps and please, let me know if you have any other questions. Thank you.
Developer Network is Read-only and does not allow new posts. Where should I post a feature request?
Forgiveness for the mistaken, You can request for new feature at Developer Network -> CommunityCenter -> Product Feedback -> Feature Request. I hope it helps and please, do not hesitate to ask if you have any other questions, thank you.
Apparently, you misunderstood me. Developer Network is no longer usable. The message when you try to post states that it doesn't allow new posts and all new posts be done here. Is there a Feature Request forum here that I can't find?
I have this same problem. I need to know how to request this feature as well. It is very important for us.
Hi Conrad & Jocelyn,
Yes, for some part in Developer Network is set to be Read-Only for some purpose. However, for the Feature Request, it should be still working. Perhaps, you had choose the wrong path. To be precisely, I attached you a screenshot to guide you on how to ask for feature request in Developer Network.
I hope it helps and please, do not hesitate to ask if you have any other questions, thank you.
I apologize. I was in the wrong section as you pointed out. I have made the feature request per your suggestion.
Is there samples of code showing a custom context menu so that I may attempt a work-around?
Thanks again,
** Double Post
Glad to hear that the issue is solved. Apologies for not notifying you earlier. Thank you and have a nice day.
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