Hi!
We have another issue. Here's the description of our current solution:
The problem is that whenever we do something in the grid (like insert, modify, sort, filter rows) AND change the dropdown values outside the grid the whole grid disappears. I debugged the problem and noticed that the exception comes from your code.
Debugging further I noticed that the code there throws an exception only with DropDownProviders - other providers slide trough the code without any problems. The problem didn't go away if I just stopped using the DropDownProviders in the Insert Row, but when I removed the dropdown providers from the code altogether, everything started to work again.
Is this some kind of known issue to you?
I am getting this same error. If I remove the dropdown provider, then the error doesn't occur. I am attaching a form (and code behind) that will demonstrate the error.
Thanks for getting involved David. Actually it doens't happen not Ajax postbacks, but normal postbacks which are triggered from controls on page. The control itself works just fine, but when a postback from outside of it is triggered we get the exception.
Unfortunately I don't think I have time to create a sample right now. The page has quite a lot of functionality and database behind of it - and I am producing code for a customer and the code is theirs, so I couldn't just send the project to you.
I solved the problem by getting rid of DropDownProviders altogether. A little less functionality, a lot less trouble.
HI AriV,
I don't believe this is a known issue. It's not something I have encountered as far as I know. I'm wondering if this is only happening over ajax postbacks? I looked at our source code and saw the same code you're pointing out. If you could get me some small sample to reproduce it (attach it to this post if you could), I could check this out and work on a fix.
regards,David Young