<
rada:RadAjaxManager id="cntrlAjaxManager" runat="server">
<AjaxSettings>
<rada:AjaxSetting AjaxControlID="divTestCodeContainer">
<UpdatedControls>
<rada:AjaxUpdatedControl ControlID="divTestCodeContainer" />
</UpdatedControls>
</rada:AjaxSetting>
</AjaxSettings>
</
rada:RadAjaxManager>
The "divTestCodeContainer" contains the Grid and all other controls.| <tr> |
| <td class="label">*First Name:</td> |
| <td class="field"> |
| <telerik:RadTextBox runat="server" ID="FirstName" TextMode="SingleLine" Columns="8" MaxLength="20" InvalidStyleDuration="100" Width="145px"/> |
| </td> |
| <td class="validation"> |
| <asp:RequiredFieldValidator ID="RequireFirstName" runat="server" ControlToValidate="FirstName" ErrorMessage="First Name is Required" SetFocusOnError="true" Display="Dynamic"></asp:RequiredFieldValidator> |
| </td> |
| </tr> |
double startTime = DateTime.Parse(Request.QueryString["stichtag"]).AddDays(-1).ToOADate();
double endTime = DateTime.Parse(Request.QueryString["stichtagbis"]).AddDays(1).ToOADate();
RadChart1.PlotArea.XAxis.AddRange(startTime, endTime, 1);
| <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> |
| <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> |
| <%@ Register Assembly="Telerik.Charting, Version=2.0.2.0, Culture=neutral, PublicKeyToken=d14f3dcc8e3e8763" |
| Namespace="Telerik.Charting" TagPrefix="telerik" %> |
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html xmlns="http://www.w3.org/1999/xhtml"> |
| <head runat="server"> |
| <title>Untitled Page</title> |
| <script language="javascript" type="text/javascript"> |
| // <!CDATA[ |
| function Button2_onclick() { |
| var service = new MyService(); |
| service.DoWork(MyCallback, null, null); |
| } |
| function MyCallback(stam) |
| { |
| var txt1 = document.getElementById('txt1'); |
| txt1.value = stam.StringValue; |
| } |
| // ]]> |
| </script> |
| </head> |
| <body> |
| <form id="form1" runat="server"> |
| <div> |
| </div> |
| <input id="txt1" type="text" /> |
| <asp:ScriptManager ID="ScriptManager1" runat="server"> |
| <Services> |
| <asp:ServiceReference Path="MyService.svc" /> |
| </Services> |
| </asp:ScriptManager> |
| <input id="Button2" type="button" value="button" onclick="return Button2_onclick()" /> |
| <br /> |
| <br /> |
| <telerik:RadChart ID="RadChart1" runat="server" Skin="Web20" Width="250px" Height="250px" |
| AutoLayout="true" IntelligentLabelsEnabled="true"> |
| <Appearance Border-Visible="false" Dimensions-Margins="0"> |
| <FillStyle MainColor="blue"> |
| <FillSettings> |
| </FillSettings> |
| </FillStyle> |
| </Appearance> |
| <Legend Visible="false"></Legend> |
| <PlotArea Appearance-Border-Visible="false"> |
| <XAxis MaxValue="5" MinValue="1" Step="1"> |
| </XAxis> |
| <YAxis MaxValue="25" Step="5"> |
| </YAxis> |
| <YAxis2 MaxValue="5" MinValue="1" Step="1"> |
| </YAxis2> |
| </PlotArea> |
| <ChartTitle Visible="false"> |
| </ChartTitle> |
| <Legend Visible="false"></Legend> |
| <Series> |
| <telerik:ChartSeries Name="Series 1" Type="Pie"> |
| <Appearance ExplodePercent="5" Border-Width="2" Border-Color="#f8f9fb" ShowLabelConnectors="false" |
| ShowLabels="true" StartAngle="-90"> |
| </Appearance> |
| <Items> |
| <telerik:ChartSeriesItem YValue="4" Name="Item 1"> |
| <PointAppearance Visible="true"></PointAppearance> |
| <Label> |
| <TextBlock Text="4%"> |
| </TextBlock> |
| </Label> |
| <Appearance Exploded="true"> |
| <FillStyle MainColor="#b5e379" SecondColor="#b5e379"> |
| <FillSettings> |
| </FillSettings> |
| </FillStyle> |
| </Appearance> |
| </telerik:ChartSeriesItem> |
| <telerik:ChartSeriesItem YValue="10" Name="Item 1"> |
| <Appearance Exploded="true"> |
| <FillStyle MainColor="#b5e379" SecondColor="#b5e379"> |
| <FillSettings> |
| </FillSettings> |
| </FillStyle> |
| </Appearance> |
| </telerik:ChartSeriesItem> |
| <telerik:ChartSeriesItem YValue="4" Name="Item 1"> |
| <Appearance Exploded="true"> |
| <FillStyle MainColor="#b5e379" SecondColor="#b5e379"> |
| <FillSettings> |
| </FillSettings> |
| </FillStyle> |
| </Appearance> |
| </telerik:ChartSeriesItem> |
| <telerik:ChartSeriesItem YValue="4" Name="Item 1"> |
| <Appearance Exploded="true"> |
| <FillStyle MainColor="#b5e379" SecondColor="#b5e379"> |
| <FillSettings> |
| </FillSettings> |
| </FillStyle> |
| </Appearance> |
| </telerik:ChartSeriesItem> |
| <telerik:ChartSeriesItem YValue="30" Name="Item 2"> |
| <Appearance> |
| <FillStyle MainColor="#fc6c58" SecondColor="#fc6c58"> |
| <FillSettings GradientMode="BackwardDiagonal"> |
| </FillSettings> |
| </FillStyle> |
| </Appearance> |
| </telerik:ChartSeriesItem> |
| <telerik:ChartSeriesItem YValue="48" Name="Item 3"> |
| <Appearance> |
| <FillStyle MainColor="#e0e8f1" SecondColor="#e0e8f1"> |
| <FillSettings GradientMode="ForwardDiagonal"> |
| </FillSettings> |
| </FillStyle> |
| </Appearance> |
| </telerik:ChartSeriesItem> |
| </Items> |
| </telerik:ChartSeries> |
| </Series> |
| </telerik:RadChart> |
| </form> |
| </body> |
| </html> |
var xmldoc = XmlHttp.responseXML.documentElement;
var text = XmlHttp.responseText;
//Use DOM to get the div and display the XML data in the div
var div1 = document.getElementById("Div1");
div1.innerText = text;
alert(
"Done.");
I want to display catalog.xml data which displays but as i click "done" it refreshes and data disappears from webbrowser
Regards & Thanks in Advance,
Uday Kumar Lazurus.
Dears,
Please note that we are trying to place content or controls with right alignment inside a RadDock control, as shown below, and unfortunately we could not make it happen.
Thus, we would appreciate your assistance in this case.
Thanks in advance and we are keen to hear from you,
JValley Software Solutions
The Essence of Quality !!
<
td style="padding-right:5px; border-style: groove; border-width: thin; " colspan="2" valign="top"
dir="rtl">
<telerik:RadDockLayout ID="RadDockLayout1" Runat="server" Skin="Vista">
<telerik:RadDockZone ID="RadDockZone1" Runat="server" dir="rtl">
<telerik:RadDock ID="RadDock1" Runat="server" Skin="Vista"
DefaultCommands="All" dir="rtl">
<ContentTemplate>
<p dir="rtl">This paragraph should be right aligned !!</p>
</ContentTemplate>
</telerik:RadDock>
</telerik:RadDockZone>
</telerik:RadDockLayout>
</td>