<telerik:RadEditor ID="editorPageContent" runat="server" EditModes="HTML"
Width="1000px" Height="550px" BorderStyle="None" Content='<%# Eval("PageContent") %>' ToolsFile="~/Forms/EditorToolBar/SynopsisTools.xml" ContentFilters="None"> <ImageManager ViewPaths="~/PublicImages" UploadPaths="~/PublicImages" DeletePaths="~/PublicImages" EnableImageEditor="true" MaxUploadFileSize="20971520" /> <MediaManager ViewPaths="~/PublicImages" UploadPaths="~/PublicImages" DeletePaths="~/PublicImages" MaxUploadFileSize="20971520"/> </telerik:RadEditor><div class="hidden"> <!-- Header --> <div id="header"> <div class="area"> <ul class="language"> <li><a href="javascript:LoadPageContent('Home');"><img src="http://elenco.napp.co.uk/PublicImages/MITSLaunch/UK.gif" alt="UK"/></a></li> <li><a href="javascript:LoadPageContent('HomeDE');"><img src="http://elenco.napp.co.uk/PublicImages/MITSLaunch/germany.gif" alt="Germany"/></a></li> </ul> </div> <div class="relax"> </div> <div class="box"> <div class="area"> <div class="title"> <span class="gotham-bold">Mundipharma IT Services, Company launch</span> <span class="gotham-black">Winter 2011 | Wednesday 30 November to Friday 2 December</span> </div> <a href="#" class="logotype"><img src="http://elenco.napp.co.uk/PublicImages/MITSLaunch/logotype.gif" alt="MITS Lauch"/></a> </div> </div> </div> <!-- Content --> <div id="content"> <div class="area"> <div class="main-pic"> <div class="sidebar "> <div class="pos-top"><h1><span>One vision.</span>Be a part of it.</h1></div> <a href="#" class="pos-bottom"><img src="http://elenco.napp.co.uk/PublicImages/MITSLaunch/mundi-pharma.png" alt="mundi pharma"/></a> </div> <div class="relax"> </div> </div> <div class="main-content"> <div class="quote"> <img src="http://elenco.napp.co.uk/PublicImages/MITSLaunch/left-quote.gif" alt="left quote"/> <span>From outdoor<br/>adventure to glitz and<br/>glamour, hold on tight<br/>as we take you on a<br/>winter wonderland<br/>journey through<br/>Switzerland</span> <img src="http://elenco.napp.co.uk/PublicImages/MITSLaunch/right-quote.gif" alt="right-quote"/> <div class="relax"> </div> </div> <div class="relax"> </div> <ul class="list"> <li><a href="javascript:LoadPageContent('FAQ');">Find out more about the event<span class="arrow"> </span></a></li> <li><a href="javascript:openRadWinRegistration();">Register online now to attend the event<span class="arrow"> </span></a></li> <li><a href="javascript:openRadWinDeclineInvite();">I cannot attend the event<span class="arrow"> </span></a></li> </ul> </div> </div> </div> </div><DIV class=hidden><!-- Header --><DIV id=header> <DIV class=area> <UL class=language> <LI><A href="javascript:LoadPageContent('Home');"><IMG alt=UK src="http://elenco.napp.co.uk/PublicImages/MITSLaunch/UK.gif"></A> <LI><A href="javascript:LoadPageContent('HomeDE');"><IMG alt=Germany src="http://elenco.napp.co.uk/PublicImages/MITSLaunch/germany.gif"></A> </LI></UL></DIV> <DIV class=relax> </DIV> <DIV class=box> <DIV class=area> <DIV class=title><SPAN class=gotham-bold>Mundipharma IT Services, Company launch</SPAN> <SPAN class=gotham-black>Winter 2011 | Wednesday 30 November to Friday 2 December</SPAN> </DIV><A class=logotype href="#"><IMG alt="MITS Lauch" src="http://elenco.napp.co.uk/PublicImages/MITSLaunch/logotype.gif"></A> </DIV></DIV></DIV><!-- Content --><DIV id=content> <DIV class=area> <DIV class=main-pic> <DIV class="sidebar "> <DIV class=pos-top> <H1><SPAN>One vision.</SPAN>Be a part of it.</H1></DIV><A class=pos-bottom href="#"><IMG alt="mundi pharma" src="http://elenco.napp.co.uk/PublicImages/MITSLaunch/mundi-pharma.png"></A> </DIV> <DIV class=relax> </DIV></DIV> <DIV class=main-content> <DIV class=quote><IMG alt="left quote" src="http://elenco.napp.co.uk/PublicImages/MITSLaunch/left-quote.gif"> <SPAN>From outdoor<BR>adventure to glitz and<BR>glamour, hold on tight<BR>as we take you on a<BR>winter wonderland<BR>journey through<BR>Switzerland</SPAN> <IMG alt=right-quote src="http://elenco.napp.co.uk/PublicImages/MITSLaunch/right-quote.gif"> <DIV class=relax> </DIV></DIV> <DIV class=relax> </DIV> <UL class=list> <LI><A href="javascript:LoadPageContent('FAQ');">Find out more about the event<SPAN class=arrow> </SPAN></A> <LI><A href="javascript:openRadWinRegistration();">Register online now to attend the event<SPAN class=arrow> </SPAN></A> <LI><A href="javascript:openRadWinDeclineInvite();">I cannot attend the event<SPAN class=arrow> </SPAN></A> </LI></UL></DIV></DIV></DIV></DIV>
I have a radgrid with all columns at template columns and grid is in editmode all the time.
I need to capture row index changed event for each row so whenever user navigates from one row through other
I can validate existing row data before going to new row.
When I click through controls, onActiveRowChanged or onRowSelecting does not seem fire. How can I do that. Is there any client event to validate row
or something else like that.
Here is my client event markup on the grid.
<ClientSettings Selecting-AllowRowSelect="true" KeyboardNavigationSettings-AllowActiveRowCycle="true"> <ClientEvents OnActiveRowChanged="RowChanged" OnRowSelected="RowChanged" /> </ClientSettings>
<
body>
<form id="form1" runat="server">
<telerik:RadScriptManager ID="RadScriptManager1" runat="server" />
<div>
<telerik:RadComboBox ID="ddlReportUserViews" runat="server" AutoPostBack="true" AllowCustomText="false"
AccessibilityMode="true" Skin="Outlook">
<Items>
<telerik:RadComboBoxItem Text="1" Value="1" />
<telerik:RadComboBoxItem Text="2" Value="2" />
</Items>
</telerik:RadComboBox>
<asp:Button ID="btn1" runat="server" Text="Click" OnClientClick="alert('hi');" />
<script type="text/javascript" language="javascript">
alert(
'hi');
</script>
</div>
</form>
</
body>
Thanks
Dim dataTableBubbleData = New DataTable() dataTableBubbleData.Columns.Add("Year") dataTableBubbleData.Columns.Add("Budget") dataTableBubbleData.Columns.Add("Profit") dataTableBubbleData.Rows.Add(New Object() {"2008", "7", "2"}) dataTableBubbleData.Rows.Add(New Object() {"2009", "9", "4"}) dataTableBubbleData.Rows.Add(New Object() {"2010", "7", "3"}) GetBubbleData = dataTableBubbleData
End Function <telerik:RadChart ID="RadChartBubbleChart" SkinsOverrideStyles="true" runat="server" Width="800" Height="400"> <ChartTitle> <TextBlock Text="Bubble Chart"> </TextBlock> </ChartTitle> <PlotArea> <XAxis DataLabelsColumn="Year"> <AxisLabel Visible="true"> <Appearance Visible="True"> </Appearance> <TextBlock Text="Year"> </TextBlock> </AxisLabel> </XAxis> <YAxis AxisMode="Normal" MaxValue="12" AutoScale="false"> <Appearance MinorTick-Visible="false" MinorGridLines-Visible="false"> <MinorGridLines Visible="False"></MinorGridLines> </Appearance> <AxisLabel Visible="true"> <Appearance Visible="True"> </Appearance> <TextBlock Text="Budget"> </TextBlock> </AxisLabel> </YAxis> </PlotArea> <Series> <telerik:ChartSeries DataYColumn="Budget" Type="Bubble" Name="money flow" Appearance-LabelAppearance-Visible="false"> <Appearance> <LabelAppearance Visible="False"> </LabelAppearance> </Appearance> </telerik:ChartSeries> </Series> </telerik:RadChart>
Thanks & Regards,
A Ravi Kumar
I am having a RadButton control placed outside the grid ,to delete the multiple selected rows from the grid ,
i have written Client side and Server Side Validation Functions to show Pop-Up if User clicks on Delete Button
without selecting any row from the grid saying "Please select item(s) to delete.!!" using Alert().
on doing so ,my Javascript Function gets executed and gives me the desired Alert PopUp ,on clicking ok button of the PopUp it does PostBack which causes Server Side Validation to fire,
Due to which i am getting 2 PopUps one from Client Side and another From Server Side Code one after the other.
Javascript Function is given below :-
function DeleteSelectedItems(sender, args) { var Count=0; var grid = $find("<%=grdSearchResults.ClientID %>"); var masterTable = grid.get_masterTableView(); for (var i = 0; i < masterTable.get_dataItems().length; i++) { var gridStatementElement = masterTable.get_dataItems()[i].findElement("chkSelect"); if (gridStatementElement != null && gridStatementElement.checked==true) { Count = Count + 1; } } if (Count == 0) { //This part is not working fine alert("Please select item(s) to delete.!!") ; return false; } else if(Count>0){ //This is working Fine ConfirmDeletion(sender, args); }<telerik:RadButton ID="btnDelete" runat="server" Visible="false" Text="Delete" OnClick="btnDelete_Click" OnClientClicking ="DeleteSelectedItems" > <Icon PrimaryIconUrl="../Images/Common/Delete-icon.png" /> </telerik:RadButton>