|
Rank: Advanced Member Groups: Member
Joined: 10/31/2007 Posts: 51
|
Hi
I have a page which has a a gridview inside a callbackpanel.
On the callbackpanel I have a client script set for ClientSideBeforeExecute, as well as the server side execute method.
When the callback is triggered by the gridview on a row select, the ClientSideBeforeExecute script is executed.
However when the gridview sort is triggered by clicking a header column a full postabck is fired and scripts form the Masterpage are run before performing the callback ClientSideBeforeExecute script.
Can you tell me how to ensure the gridview sort is captured by the callbackpanel first as in a row select .
Thanks
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
Can you post a test page that demonstrates this problem? We will try to run it here and see if we can see the same problem.
Thanks!
|
|
Rank: Advanced Member Groups: Member
Joined: 10/31/2007 Posts: 51
|
Hi
I've applied a work around by building a custom sort procedure within the callbackpanel.
In the databind of the grid header row I have applied an eo_callback to the click attribute of each column of the header row, passing the sort expression for the column. Then apply the sort in the callback execute. Full postback on a hyperlink avoided.
Thanks Anyway
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Great that it worked out for you. Thanks for the update!
|
|