>>I can see SqlDataSource1_Selecting executing when the form starts. However, when I put something in the textbox, this method doesn't get called. I tried putting
>>SqlDataSource1_Selecting(sender, e )
in the textbox_TextChanged method, but this results in an error about being unable to cast into System.Web.UI.WebControls.SqlDataSourceSelectingEventArgs.
>>
>>Assuming that I should be calling the Selecting event from the textbox, what arguements should I be providing? If the assumption is incorrect, how do I call the Selecting event when I exit the textbox?
>
>No, you're not calling Selecting event from the textbox. It is called automatically every time the page is Loaded.
My bad. I hadn't properly changed the control source for the parameter so the page_load wasn't being called.
I've got it working the way I want to..........maybe not the best way but this is still a training exercise........and it's off to the next topic.
Many thanks for your help and patience!!!!!!!!!!!!!
........Rich