I would like to control data being displayed in two non hierarchical RadGrids using one RadDatePicker control. When the OnSelectDateChanged event occurs, I want the two grids to display content for that date only. The two grids use RadGridX_ItemDataBound to color code some of the data when the grids are refreshed.
I was hoping Telerik Rad Controls could invoke two functions or register two functions from one event handler. For example:
OnSelectedDateChanged="Raddatepicker2_SelectedDateChanged1; Raddatepicker2_SelectedDateChanged2". In this logic, Raddatepicker2_SelectedDateChanged1 would call on the server side, SqlDataSource1.SelectCommand and Raddatepicker2_SelectedDateChanged2 would call SqlDataSource2.SelectCommand which have “WHERE” clauses with the selected date. This approach failed. I will appreciate any suggestion or hint.
Thanks,
Baxis
I hope there is a way to fix this easily.
Morten
| <MonthView ReadOnly="false" /> |
| <WeekView HeaderDateFormat="dd/MM" ReadOnly="true" /> |
| <DayView ReadOnly="false" /> |
| <httpHandlers> |
| <remove verb="*" path="*.asmx" /> |
| <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> |
| <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> |
| <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false" /> |
| <add verb="*" path="*.mvc" validate="false" type="System.Web.Mvc.MvcHttpHandler, System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> |
| <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" /> |
| <add path="Telerik.RadUploadProgressHandler.axd" verb="*" type="Telerik.Web.UI.RadUploadProgressHandler, Telerik.Web.UI" validate="false" /> |
| </httpHandlers> |
| <handlers> |
| <remove name="WebServiceHandlerFactory-Integrated" /> |
| <remove name="ScriptHandlerFactory" /> |
| <remove name="ScriptHandlerFactoryAppServices" /> |
| <remove name="ScriptResource" /> |
| <remove name="MvcHttpHandler" /> |
| <remove name="UrlRoutingHandler" /> |
| <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> |
| <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> |
| <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> |
| <add name="MvcHttpHandler" preCondition="integratedMode" verb="*" path="*.mvc" type="System.Web.Mvc.MvcHttpHandler, System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> |
| <add name="UrlRoutingHandler" preCondition="integratedMode" verb="*" path="UrlRouting.axd" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> |
| <add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" /> |
| <add name="Telerik_RadUploadProgressHandler_axd" preCondition="integratedMode" path="Telerik.RadUploadProgressHandler.axd" verb="*" type="Telerik.Web.UI.RadUploadProgressHandler, Telerik.Web.UI" /> |
| </handlers> |
| <telerik:RadEditor NewLineBr="False" ID="radEditText" runat="server" EnableEmbeddedSkins="False" Skin="Default" Height="307px" Width="794px" meta:resourcekey="radEditTextResource1" ToolProviderID=""> |
| <Tools > |
| <telerik:EditorToolGroup> |
| <telerik:EditorTool Name="FontName" /> |
| <telerik:EditorTool Name="RealFontSize" Text="Size"/> |
| <telerik:EditorTool Name="ForeColor" /> |
| <telerik:EditorTool Name="Bold" ShortCut="CTRL+B" /> |
| <telerik:EditorTool Name="Italic" ShortCut="Ctrl+I" /> |
| <telerik:EditorTool Name="Underline" ShortCut="Ctrl+U" /> |
| <telerik:EditorTool Name="JustifyLeft" /> |
| <telerik:EditorTool Name="JustifyCenter" /> |
| <telerik:EditorTool Name="JustifyRight" /> |
| <telerik:EditorTool Name="InsertUnorderedList" /> |
| <telerik:EditorTool Name="InsertOrderedList" /> |
| <telerik:EditorTool Name="Indent" /> |
| <telerik:EditorTool Name="Outdent" /> |
| <telerik:EditorTool Name="SpellCheck" /> |
| </telerik:EditorToolGroup> |
| </Tools> |
| <Content></Content> |
| </telerik:RadEditor> |
T
hanks!
With Regards,
Fatima Khan

| <telerik:RadCalendar ID="Calendar1" runat="server" |
| ForeColor="Black" Font-Names="Arial,Verdana,Tahoma" |
| Width="780px" Height="376px" |
| CellAlign="Left" Style="border-color: #ececec" |
| EnableMultiSelect="False" ShowOtherMonthsDays="False" |
| ShowRowHeaders="False" UseColumnHeadersAsSelectors="False" |
| AutoPostBack="True" |
| ondayrender="Calendar1_DayRender" DayNameFormat="Short" |
| SelectedDate="" PresentationType="Preview"> |
| <WeekendDayStyle BorderWidth="1px" Height="90px" Width="90px" Wrap="False" HorizontalAlign="Left" VerticalAlign="Top" /> |
| <DayStyle Width="90px" Height="90px" BorderWidth="1px" Wrap="False" HorizontalAlign="Left" VerticalAlign="Top" /> |
| <telerik:RadCalendar> |