Welcome Guest Search | Active Topics | Sign In | Register

Grid - OnDataBinding Options
Gary Michalek
Posted: Wednesday, April 6, 2011 11:43:40 AM
Rank: Advanced Member
Groups: Member

Joined: 12/5/2007
Posts: 57
Hi,

I can't find any documentation on this event and I may need to use it unless you have another soultion. I have a page I am working on that has similar requirements to your demo app: Grid / Features / Custom Column - Advanced 2.

The problem that I have is that the contents of the dropdown list I need to provide cand be different for each grid item and as such needs to be populated accordingly.

I am using the server mode and have custom paging implemented.

What would you suggest as to the best way to accomplish this task?

Regards,

Gary
eo_support
Posted: Wednesday, April 6, 2011 2:11:49 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

OnDataBinding is an ASP.NET event, so you will need to look for MS for that part. Nevertheless, you will not be able to do that with server side data binding. Our Grid reuse the same drop down for all cells in the column, so there is only a single drop down for the whole Grid. It is possible to have different list per cell by handling the CustomColumn's ClientSideBeginEdit handler. Please see CustomColumn documentation for more details.

Thanks

Gary Michalek
Posted: Wednesday, April 6, 2011 7:31:08 PM
Rank: Advanced Member
Groups: Member

Joined: 12/5/2007
Posts: 57
Hi,

I tried using the CustomColumn's ClientSideBegineEdit handler and within it I called the grid's raiseItemCommandEvent in a similar way that your sample does in the on_product_change() java script function. In my server code I load the dropdown list and select the appropriate list item (as this field will always be populated). Problem is that when I click into the column to edit it, the dropdown list appears and does have the correct item selected but then it immediately exits the edit template before I can even make a different selection.

Any idea what I might be doing wrong?

Thanks,

Gary
eo_support
Posted: Wednesday, April 6, 2011 7:36:52 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

We do not troubleshoot code for our customers. So you can compare your code with our sample, or try to explain the behavior (or expected behavior) according to the documentation. If the observed behavior does not match what's described in the documentation, you can create a test page to demonstrate the discrepancy and we will take a look. For other issues you will need to troubleshoot it yourself.

Thanks
Gary Michalek
Posted: Wednesday, April 6, 2011 10:23:30 PM
Rank: Advanced Member
Groups: Member

Joined: 12/5/2007
Posts: 57
The reason I tried what I last reported was because that is what was suggested to me by you people. Evidently it doesn't work. So simple question: can what I requested be done or not?
eo_support
Posted: Wednesday, April 6, 2011 10:45:31 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

We do not answer questions such as "can this be done" or "how to do that". We tell you what features are available on the product and explain those features to you if you have a specific question on a particular feature. In another word, we neither code for you nor advise you on implementation. So please do not ask us questions such as "I want to do this, can your product do it?". What can be done depends on both our product and your code, but we will only answer questions on our end. In your case, if your questions is strictly about the behavior of ClientSideBegineEdit (for example, when is ClientSideBegineEdit fired?), we will be happy to answer. If your question is about the behavior of your application (for example, why the list is not updated?), then we will not answer.

Hope this clarifies our position. Please keep this in mind in the future. We may delete a question without notice if we do not believe it is within the scope of our support.

Thanks
Gary Michalek
Posted: Thursday, April 7, 2011 6:57:57 AM
Rank: Advanced Member
Groups: Member

Joined: 12/5/2007
Posts: 57
Hi,

I would then strongly suggest you improve your documentation and provide non-trivial examples in order to stop receiving questions I sometimes ask. When I saw your sample application using a drop down list populated from a database nowhere did I find in the code comments or your documentation that to change the drop down list's contents on a row to row basis that it could not be done using server side code and therefore I asked. I have recommended you product to my clients and now they pretty much dont have a choice but to purchase it and I am having my regrets.

I hope this clarifies my position.

Thanks


eo_support
Posted: Thursday, April 7, 2011 8:43:06 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

This is not about documentation or examples. This is about us doing our job and you do your job. How to implement a solution for your exact requirement is your job and we can not afford to go into that for every customer.

We try our best to offer the best support and service, however at the same time we need to prevent abuse. You were expecting us to help you with OnDataBinding, which is not related to us. Should our documentation cover OnDataBinding as well? Apparently not. We felt that the only situation you will be completely satisfied is when you find completely source code that does exactly what you want to do so you can simply copy and paste. Obviously that is not possible so we can not do that. As a result, we always try to generalize our sample so that you can adapt it to fit your need.

If you believe you are being mistreated here, we would encourage you to try your luck with other vendors. Many vendors charge for tech support. We strive to it keep it for free but there is a boundary about what we will do and what we will not do. Simply put, once you step into the “no” boundary, you will not be served. If you are not satisfied not being served over the boundary, then we can not satisfy you.

Thanks
Gary Michalek
Posted: Thursday, April 7, 2011 9:01:20 AM
Rank: Advanced Member
Groups: Member

Joined: 12/5/2007
Posts: 57
You will note what it says for this forum: Have a question regarding EO products? Please post it here

Well I had a question so I did post it here. Perhaps I should have posted it in a different forum? Lastly, my questions did not only pertain to OnDataBinding as that was my suggestion to a possible solution, apparently the product is not capable of meeting my requirements in this specific case.
eo_support
Posted: Thursday, April 7, 2011 11:09:17 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

You are free to ask your question here. However we will only answer questions that are within the scope of our support. When we do not answer your question, you should seek help from other resources.

Thanks


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.