WebGrid loads before parameters are set

5 replies. Last post: December 13, 2009 8:13 PM by Yudi
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback

I'm using WebGrid with LinqDatasource that uses On_Selecting with a stored procedure. I've noticed that that the On_selecting method is called before the user can set the parameters.


What i want is the screen to load, the user sets the search parameter fields using WebInputs, WebCombos, checkboxes etc and then clicks a WebButton. If I put a breakpoint at the On_selecting method i can see that it is called before any button is clicked. Also, the value of the checkbox is not picked up. It is always false.

George

All times are GMT -5. The time now is 2:22 AM.
Previous Next