I made both of the changes you suggested. I set the causesvalidation property on the button to true and changed the namspace name to ewSearchControl. I get the same results. Any other ideas?
Jim
>A single change will make your code work:
>cmdSearch.CausesValidation =
true;>instead of
>cmdSearch.CausesValidation = false;
>
>If you disable the round-trip to the server, then no server code will execute!
>
>BTW, I suggest giving the namespace a different name than the control class; being the same may cause problems.
>
>Hope that helps and bye.
>Jose.
Thanks
Jim