Hi All,
Iam using 2008.3.1314.35 version of RadControls for my application.
I want to make RadGrids AJAX enabled so that for every postback event it will work asynchronously.
But in this version RadGrid is not showing any property to do the same.
Right now it is showing one property 'EnableAjaxSkinRendering'.
I tried with setting this property to True,but still it is not giving me proper result.
I also tried with by setting properties,
EnableAJAX="True" EnableAJAXLoadingTemplate="True"
But RadGrid is not accepting these properties for this version.
Is there any way to do the same...?
| <telerik:RadGrid...> |
| <EditFormSettings ColumnNumber="3" CaptionFormatString="Edit Person ({0}) Details" |
| CaptionDataField="id" EditFormType="Template"> |
| <EditColumn ButtonType="ImageButton" UniqueName="EditCommandColumn1"> |
| </EditColumn> |
| <FormTemplate> |
| <table style="width:100%;"> |
| <tr> |
| <td class="style1"> |
| id</td> |
| <td> |
| <telerik:RadTextBox ID="tbId" Runat="server" EmptyMessage="id" |
| Width="125px" OnTextChanged="tbId_TextChanged" AutoPostBack="true"> |
| </telerik:RadTextBox> |
| </td> |
| </tr> |
| <tr> |
| <td class="style1"> |
| name</td> |
| <td> |
| <asp:Label runat="server" ID="lblName"></asp:Label> |
| </td> |
| </tr> |
| </table> |
| </FormTemplate> |
| <PopUpSettings Modal="True" ScrollBars="Auto" /> |
| </EditFormSettings> |
| </telerik:RadGrid> |
<telerik:RadTabStrip runat="server" ID="ProcessViewTabs" Skin="Vista" SelectedIndex="0" MultiPageID="ProcessMultiView">
<Tabs>
<telerik:RadTab Text="Tab 1" runat="server" Enabled="true" PageViewID="Tab1View"></telerik:RadTab>
<telerik:RadTab Text="Tab 2" runat="server" Enabled="true" PageViewID="Tab2View"></telerik:RadTab>
</Tabs>
</telerik:RadTabStrip>
<telerik:RadMultiPage runat="server" ID="ProcessMultiView" SelectedIndex="0">
<telerik:RadPageView ID="Tab1View" runat="server"> </telerik:RadPageView>
<telerik:RadPageView ID="Tab2View" runat="server">
<telerik:RadEditor runat="server" id="RadEditor1" EditModes="Html"></telerik:RadEditor>
</telerik:RadPageView>
</
telerik:RadMultiPage>
Code behind:
RadEditor1.Content = "Test Content!";

| <telerik:RadWindowManager ID="WinManager" Skin="Vista" DestroyOnClose="false" Width="400" |
| Height="320" VisibleStatusbar="false" Behaviors="Close, Move" runat="server"> |
| <Windows> |
| <telerik:RadWindow runat="server" ID="WinContact" NavigateUrl="../Pages/Contact.aspx"> |
| </telerik:RadWindow> |
| <telerik:RadWindow runat="server" ID="WinVersion" NavigateUrl="../Pages/EngineVersion.aspx"> |
| </telerik:RadWindow> |
| </Windows> |
| </telerik:RadWindowManager> |
| <script type="text/javascript" language="javascript"> |
| radalert('test'); |
| </script> |
| Protected Sub RadGrid1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles RadGrid1.SelectedIndexChanged |
| LabelCart.Text = RadGrid1.SelectedValue("Name").Text + " was added to your request list." |
| End Sub |
| System.NullReferenceException: Object variable or With block variable not set |

You can find more information about the skin modifications in this blog post: http://blogs.telerik.com/blogs/09-02-23/RadControls_for_ASP_NET_AJAX_receive_a_major_face-lift.aspx. Since there are major changes in the skins we will gladly assist anyone who experience problems to update its old skins to the new ones. We will also publish detailed instructions how the skins works and how to create new ones.
Best regards,
Rumen
The Telerik team
I have SearchPage which has a View button. On the click event of it I open a new WebPage (FormViewer) using the RadWindow. The other page which has alertWindow button. I have written a simple funtion on the click event. When i click the button nothing happens. Its suppose to show a alert.
This is the page which gets open as a modal pop up.
<%
@ Page Language="C#" AutoEventWireup="true" Codebehind="FormViewer.aspx.cs" Inherits="CFS.CSES.Web.UI.WebPages.Forms.FormViewer" %>
<!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 id="Head1" runat="server">
<title>Untitled Page</title>
</head>
<
body id="formViewerBody" bgcolor="white">
<script language="javascript" type="text/javascript">
function VerifyControl()
{
alert('
hello');
}
</script>
<form id="form1" runat="server" >
<div>
<input type="button" id="alertWindow" value="Alert" onclick="VerifyControl();"/>
</div>
</form>
</
body>
</
html>
