to access this RadCombobox inside javascript for some client side validation.I wanted to know if there is a solution to a radgrid issue with the shift key in multiselection. When i do a multiselection of rows with shift key pressed, the radgrid doesn't throw a postback when the shift key is released.
I was testing some alternatives with the onkeyup event over radgrid but doesnt work well with shift key (dont throw event until ctrl key is pressed) , instead the event it works better with the ctrl key.
However i would appreciate a better solution that doesn't imply handling the key events.
I been follow this issue in this threads
Thanks in advance.
<telerik:RadScriptManager ID="RadScriptManager1" runat="server"> </telerik:RadScriptManager> <telerik:RadRotator ID="RadRotator1" runat="server" DataSourceID="xmlDataSource1" FrameDuration="360000000" Width="675" ItemWidth="675" Height="265" ScrollDirection="Up" ItemHeight="265"> <ItemTemplate> <div class="itemTemplate"> <img src="Images/<%# XPath("filename") %>" style="border: 0px;" alt="banner" /> </div> </ItemTemplate> </telerik:RadRotator> <asp:XmlDataSource ID="xmlDataSource1" runat="server" DataFile="banners.xml"></asp:XmlDataSource> <div class="nav"> <a href="#" onclick="javascript:setNewContent(0);">Banner 1</a> <a href="#" onclick="javascript:setNewContent(1);">Banner 2</a> <a href="#" onclick="javascript:setNewContent(2);">Banner 3</a> <a href="#" onclick="javascript:setNewContent(3);">Banner 4</a> <a href="#" onclick="javascript:setNewContent(4);">Banner 5</a> </div>here the js:But doesn't work. What I have to do? //EDIT: What does not work? -> The animation does not work... the banner changes but without animationfunction setNewContent(selectedContentIndex) {// finding the radRotatorvar rotator = $find('<%= RadRotator1.ClientID %>');rotator.set_currentItemIndex(selectedRotatorItem, true);}
<div class="labels"><asp:Label ID="lblStartDate" runat="server" Text="Start Date:"></asp:Label></div>
<div class="textlabel"><telerik:RadDatePicker ID="dtStartDate" runat="server" Skin="DMID" EnableEmbeddedSkins="false"
OnSelectedDateChanged="dtStartDate_SelectedDateChanged" AutoPostBack="True" ToolTip="start date">
<Calendar UseRowHeadersAsSelectors="False" UseColumnHeadersAsSelectors="False" ViewSelectorText="x"
Skin="DMID" EnableEmbeddedSkins="False">
</Calendar>
<DatePopupButton ImageUrl="" HoverImageUrl=""></DatePopupButton>
<DateInput DisplayDateFormat="MM/dd/yyyy" DateFormat="MM/dd/yyyy" EnableEmbeddedSkins="False"
AutoPostBack="True">
</DateInput>
</telerik:RadDatePicker>
<asp:RequiredFieldValidator ID="rfvStartDate" runat="server" ControlToValidate="dtStartDate"
ErrorMessage="<label for='dtStartDate'>Start Date</label>" Text="*" Display="Dynamic"
ValidationGroup="vRequired"></asp:RequiredFieldValidator>
</div>
<div class="labels">
<asp:Label ID="lblEndDate" runat="server" Text="End Date:"></asp:Label>
</div>
<div class="textlabel">
<telerik:RadDatePicker ID="dtEndDate" runat="server" Skin="DMID" EnableEmbeddedSkins="false">
</telerik:RadDatePicker>
<asp:RequiredFieldValidator ID="rfvEndDate" runat="server" ControlToValidate="dtEndDate"
ErrorMessage="<label for='dtEndDate'>End Date</label>" Text="*" Display="Dynamic"
ValidationGroup="vRequired"></asp:RequiredFieldValidator>
</div>