Hello everyone,
I am trying to get a webpart that implements an ICellConsumer and Provider interface to work.
The idea is that a webpart sends a value using the ICellProvider interface to a webpart that implements both the Consumer and Provider interfaces this webpart uses this value to set the datasource of the datagrid, now when a button is selected in this datagrid it sends in turn a value to a 3th webpart.
If i specify the Datagrid in the CreateChildControls i can't get the value that was send to this webpart in time, so no data is showed, i can however (if i hardcode this value) get the eventhandler for the datagrid row to work, and it sends its value to the 3th webpart succesfully.
Now if i specify the datagrid in the RenderWebpart section i can get the value of the 1th webpart so i can bind the correct datasource, but now the event of clicking a button in the datagrid doesn't work anymore i only get a postback but it never hits the eventhandler...
Anyone knows what couses this, and better yet know the sollution!
Greetings Paul.
I am trying to get a webpart that implements an ICellConsumer and Provider interface to work.
The idea is that a webpart sends a value using the ICellProvider interface to a webpart that implements both the Consumer and Provider interfaces this webpart uses this value to set the datasource of the datagrid, now when a button is selected in this datagrid it sends in turn a value to a 3th webpart.
If i specify the Datagrid in the CreateChildControls i can't get the value that was send to this webpart in time, so no data is showed, i can however (if i hardcode this value) get the eventhandler for the datagrid row to work, and it sends its value to the 3th webpart succesfully.
Now if i specify the datagrid in the RenderWebpart section i can get the value of the 1th webpart so i can bind the correct datasource, but now the event of clicking a button in the datagrid doesn't work anymore i only get a postback but it never hits the eventhandler...
Anyone knows what couses this, and better yet know the sollution!
Greetings Paul.