Can you please suggest how can I make that work?
9 Answers, 1 is accepted
I am trying to have 2 datePickers in second tab and when the second datepicker date is selected, then load the grid based on the 2 date values?
Style="vertical-align: middle;" MinDate="1900-1-1"
SelectedDate="<%# DateTime.Today.AddMonths(-2) %>" runat="server"
Skin="WebBlue" Width="106px" >
<Calendar UseRowHeadersAsSelectors="False" UseColumnHeadersAsSelectors="False" ViewSelectorText="x"></Calendar>
<DateInput onclick="ToggleFirstPopup2()" Width="106px" >
"<%= RadDatePicker2.ClientID %>").showPopup();
$find("<%= RadDatePicker2.ClientID %>") always returns null, so I am not able to use Calendar Control in second tab. For first tab, Calendar control works fine.
I am having one more problem with Load On Demand Tab example. When first tab is clicked, autogenerated grid loads fine, when second tab is clicked , second tab is loaded properly too. Now when I click on first tab again, the grid formatting changes and the column data for which the length is more, is shown with ... and the width of shorter column increases. The formatting looks like when we set the Table Layout to Fixed in which all columns have same width and column are spread over all the available width.
As I understand, when the first tab is clicked second time, then that tab is not loaded so nothing should happen to the format of that grid. Can you please suggest what can I do differently to remove that error.
I have a grid in second tab, for which filter is enabled for DateTime column, the Calendar control works fine for that filter. Am I missing something very simple, please let me know how can I use RadDatePicker in second tab?
You should use RadScriptBlock, but not RadCodeBlock. These are two different controls.
the Telerik team
I looked at the link http://www.telerik.com/help/aspnet-ajax/ajxradscriptblockradcodeblock.html
to know the difference between the two.
Thanks once again.