asp.net calendar extender postback

603 views Asked by At

Hello guys i been using asp.net calendars for giving the user filtering options over a grid table. Now i decided to try the ajax extender to save some room on the page. The moment the user clicks on one of the calendars the grid updates/changes ( i got some code in the SelectionChanged of the calendars that after few rows gives 2 date values that are sent to the sql and used as the allowed date range for the filter/select command ). Now my problem is that unlike the regular calendar the ajax extender got no postback and no selectionchanged event i can use code in , and i not so sure how to make it all work without those 2 options.

1

There are 1 answers

1
Louis van Tonder On BEST ANSWER

The calendar extender "extends" your control. You still use your control's events. The extender will basically "impersonate" a user typing text into the control...

Catch the events on the control that the extender is bound to, not the extender itself.