Hello,
I'm using RadGrid to view results from an sql table results function.
In order to do so i'm using the NeedDataSource event, where I call the Linq method mapping the function,
and setting the resulting into the datasource property.
A few more background notes which might be helpful:
The form itself is a search form:
First block of data is a few search options and a button. The button fires the Rebind method of the RadGrid (Located in the second data block).
In the NeedDataSource i collect all the relevent parameters, execute the linq method and set the data source.
From the search results displayed in the second block, the user is required to select 1. after he selects, the page should display
another ResultSet (a different linq method mapped to an sql table function) in a third block.
But, when i try to get the item the user selected, i can't access it's data-item.
That's the point that i can't get past...
Another foot-note:
If first search returns only one result, i immediatly select it and display the second ResultSet in the third block. in this simple case it works easily, probebly because the page hasn't been sent to the client-side yet, and everything happens in the server-side at the same postback...
What can I do to fix this problem?
I'm using RadGrid to view results from an sql table results function.
In order to do so i'm using the NeedDataSource event, where I call the Linq method mapping the function,
and setting the resulting into the datasource property.
A few more background notes which might be helpful:
The form itself is a search form:
First block of data is a few search options and a button. The button fires the Rebind method of the RadGrid (Located in the second data block).
In the NeedDataSource i collect all the relevent parameters, execute the linq method and set the data source.
From the search results displayed in the second block, the user is required to select 1. after he selects, the page should display
another ResultSet (a different linq method mapped to an sql table function) in a third block.
But, when i try to get the item the user selected, i can't access it's data-item.
That's the point that i can't get past...
Another foot-note:
If first search returns only one result, i immediatly select it and display the second ResultSet in the third block. in this simple case it works easily, probebly because the page hasn't been sent to the client-side yet, and everything happens in the server-side at the same postback...
What can I do to fix this problem?