S
SkeanDu
Ok, here is my problem.
I have an aspx page that displays a databound datagrid and in one of
the datagrid column headers I have an image that when clicked opens up
a modal web dialog (another aspx page).
dialog that will then disappear and the filtered data will be displayed
on my datagrid.
Now here is the problem: How can I force a postback on the original
aspx page containing the datagrid so that only the filtered data is
displayed? Basically I want to pass back the selected cobobox item from
the web dialog to the calling window and then use that data to filter
my dataset and rebind to the datagrid.
I've thought about using hidden input fields on the datagrid page and
populating them when the user clicks the apply button on the web
dialog. But how do I then fire a postback to rebind my datagrid? Is
there a way to fire the postback on the datagrid page when the user
clicks the apply button on the web dialog page? The way I'm going about
it just now involves mainly client side java script but I am sure there
must be a way to do this server side?
Anyway, if anyone has any pointers I would be very grateful.
Thanks,
Vincent
I have an aspx page that displays a databound datagrid and in one of
the datagrid column headers I have an image that when clicked opens up
a modal web dialog (another aspx page).
from a databound combobox and click on the apply button on the webFrom this dialog I want the users to be able to select a filter item
dialog that will then disappear and the filtered data will be displayed
on my datagrid.
Now here is the problem: How can I force a postback on the original
aspx page containing the datagrid so that only the filtered data is
displayed? Basically I want to pass back the selected cobobox item from
the web dialog to the calling window and then use that data to filter
my dataset and rebind to the datagrid.
I've thought about using hidden input fields on the datagrid page and
populating them when the user clicks the apply button on the web
dialog. But how do I then fire a postback to rebind my datagrid? Is
there a way to fire the postback on the datagrid page when the user
clicks the apply button on the web dialog page? The way I'm going about
it just now involves mainly client side java script but I am sure there
must be a way to do this server side?
Anyway, if anyone has any pointers I would be very grateful.
Thanks,
Vincent