Click here to Skip to main content
15,919,613 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: Page_Load Pin
Mazdak6-Sep-02 23:36
Mazdak6-Sep-02 23:36 
GeneralRe: Page_Load Pin
Not Active7-Sep-02 2:50
mentorNot Active7-Sep-02 2:50 
GeneralRe: Page_Load Pin
Mazdak7-Sep-02 4:26
Mazdak7-Sep-02 4:26 
GeneralRe: Page_Load Pin
Paul Riley6-Sep-02 9:33
Paul Riley6-Sep-02 9:33 
GeneralRe: Page_Load Pin
Paul Riley7-Sep-02 2:20
Paul Riley7-Sep-02 2:20 
GeneralHTML Help WorkShop problem Pin
Black ghost6-Sep-02 3:58
Black ghost6-Sep-02 3:58 
GeneralRe: HTML Help WorkShop problem Pin
Philip Patrick10-Sep-02 22:59
professionalPhilip Patrick10-Sep-02 22:59 
GeneralDataGrid subclass with auto-filter functionality Pin
D.D. de Kerf6-Sep-02 3:27
D.D. de Kerf6-Sep-02 3:27 
I'm trying to construct a subclass of the ASP.NET DataGrid with
automatical filter functionality. The idea is as follows:

The page that uses the DataGrid uses the SetQuery function to tell the
grid what It's main query is. This happens in the Page_Load and it
splits the query in 2 to seperatie the SELECT ... WHERE clause and the
ORDER BY clause...

The Grid subclass adds an empty row at the top of the row and puts
dynamically created comboboxes in them with all unique values from that
column that come from the query. When the user selects an item form one
of those comboboxes, the grid refreshes itsself by binding the old query
with some self-constructed restrictions...


The PROBLEM is that I can't find the right place to do this 'requery'.
If I put my code in the OnLoad function it's to early, because the
selected value of the combobox isn't known yet. And if I put my code
in the selectedIndexChanged event handler of the dynamically created
combobox, it's to late to bind the grid, because when I do a DataBind
with the new dataset (the dataset is OK!), the old data is still shown
on the screen...


I've been trying to fix this for about 2 days now, but can't get it to
work. It is really important to me that this works, because if it
doesn't, I'm going to have to place filters on every page manually
instead of using this generic solution.

Structured programming vs. chaotic mind boggling
GeneralStop and Start Web Server running COM Component Pin
Kevin McFarlane6-Sep-02 1:52
Kevin McFarlane6-Sep-02 1:52 
GeneralRe: Stop and Start Web Server running COM Component Pin
jungle10-Sep-02 3:22
jungle10-Sep-02 3:22 
GeneralAdding tree control to a web form (ASP.NET) Pin
Kareemsoom5-Sep-02 1:30
Kareemsoom5-Sep-02 1:30 
GeneralRe: Adding tree control to a web form (ASP.NET) Pin
Not Active5-Sep-02 7:57
mentorNot Active5-Sep-02 7:57 
GeneralChange language Pin
Mazdak4-Sep-02 20:17
Mazdak4-Sep-02 20:17 
GeneralEvent with javascript in .NET Pin
Mazdak4-Sep-02 9:25
Mazdak4-Sep-02 9:25 
GeneralRe: Event with javascript in .NET Pin
Paul Riley4-Sep-02 10:33
Paul Riley4-Sep-02 10:33 
GeneralRe: Event with javascript in .NET Pin
Mazdak4-Sep-02 18:52
Mazdak4-Sep-02 18:52 
Generaltwo question Pin
Mazdak4-Sep-02 7:54
Mazdak4-Sep-02 7:54 
GeneralRe: two question Pin
alex.barylski4-Sep-02 12:22
alex.barylski4-Sep-02 12:22 
GeneralRe: two question Pin
Mazdak4-Sep-02 18:52
Mazdak4-Sep-02 18:52 
GeneralRe: two question Pin
Jeremy Falcon5-Sep-02 3:48
professionalJeremy Falcon5-Sep-02 3:48 
GeneralRe: two question Pin
Mazdak5-Sep-02 20:57
Mazdak5-Sep-02 20:57 
Generalhave a string value, need its related integer value Pin
mcm4-Sep-02 1:18
mcm4-Sep-02 1:18 
GeneralRe: have a string value, need its related integer value Pin
Paul Riley4-Sep-02 1:26
Paul Riley4-Sep-02 1:26 
GeneralRe: have a string value, need its related integer value Pin
mcm4-Sep-02 5:53
mcm4-Sep-02 5:53 
GeneralRe: have a string value, need its related integer value Pin
Paul Riley4-Sep-02 6:53
Paul Riley4-Sep-02 6:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.