Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to reload page when user enters info in textbox?
Message
From
29/04/2008 13:18:52
 
 
To
29/04/2008 13:06:09
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01313951
Message ID:
01313958
Views:
9
Well, I got lucky again...

All I did was add a button to the table and set the Text to "Search" and WOW it updates the form when I click it, AND it updates the page if I just hit ENTER. It's magic.
                <td>
                    <asp:Button ID="Button1" runat="server" Text="Search" />
                </td>
Now I've gotta go figure out WHY this worked, and if this is the right way to depend on it working...





>I have stumbled through my first ASP page with two textboxes that will query an Access data table and show matching records.
>
>When it first runs, it shows the data fine (becuase of DefaultValues on the asp:ControlParameter). But when I enter a new search criteria in one of the text boxes, how do I get the form to re-execute and show the matching results?
>
>It can get it to update if I click on one of the Column Headers, but I want to add a button for the user to click re-search, or do it when they hit enter.
>
>Here is the code (don't laugh, this is a total newbie effort. I don't have a clue what I am doing, but I know I'm kinda close):
>
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform