Hi,
I updated to the latest telerik controls (2008).
After this update, the page is showing this error:
The base class includes the field 'RadAjaxManager1', but its type (Telerik.Web.UI.RadAjaxManager) is not compatible with the type of control (Telerik.Web.UI.RadAjaxManager).
pls advise
thanks
<asp:Button ID="AllianceDelete" runat="server" Text="Delete"
OnClientClick="return radconfirm('Delete Item?', event);" OnClick="AllianceDelete_Click" />
No problem so far ..Expected result received....
Now When I inlcude Ajax portion ...I get the the RadWindow, but clicking yes button on the RadWindow doesn't do a postBack ..why?
Ajax Portion
<
telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy2" runat="server">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="AllianceDelete">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="AllianceGrid" /
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManagerProxy>
Thanks,
DIP
ObjectDataSource_Inserting right after the RadGrid_InsertCommand event. Any ideas? Is their a boolean flag I should or could check?
/* RadWindow 2 Common Css */CSS file, although it does not send the skin specific CSS file.
<%
@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<%
@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!
DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<
html xmlns="http://www.w3.org/1999/xhtml">
<
head runat="server">
<title>Untitled Page</title>
</
head>
<
body>
<
script type="text/javascript">
function clientShow(sender, eventArgs)
{
var textbox2 = (document.getElementById("TextBox2"));
textbox2.focus();
var textbox1 = (document.getElementById("TextBox1")).value;
(document.getElementById(
"TextBox2")).value = textbox1;
}
function PopTB()
{
var textbox2 = (document.getElementById("TextBox2")).value;
(document.getElementById(
"TextBox1")).value = textbox2;
// var tooltip1 = $find("RadToolTip1");
var tooltip1 = getElementById("RadToolTip1");
tooltip1.hide();
}
</
script>
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server" />
<div>
<asp:TextBox ID="TextBox1" Text="This is my text" runat="server" Height="75px" TextMode="MultiLine" Width="372px" ></asp:TextBox>
<telerik:RadToolTip ID="RadToolTip1" runat="server" Height="300px"
RelativeTo="Element" ShowEvent="OnClick" Skin="Forest" Width="557px" Animation="Resize" ManualClose="True" TargetControlID="TextBox1" OnClientShow="clientShow" >
<asp:TextBox ID="TextBox2" runat="server" Height="265px" TextMode="MultiLine" Width="550px"></asp:TextBox>
<asp:Button ID="Button1" runat="server" Text="Insert" OnClientClick="PopTB(); return false;" /></telerik:RadToolTip>
</div>
</form>
</
body>
</
html>
I have tried the following but the popup panel (the one that pops up) is always contained and restrained within the rotator.
Meaning that when it popsup, as you can see the popup panel contains 9 lines "this is a testof it!!!<br />" but when it pops up because the rotaotr is only 75px high it opnly can display the first 4 lines... and then nothing.
Also if I put it to popup on top then it popsup on top and only shows you the last line, the 8 other ones are above but outside the rotator so it is hidden...
<
telerik:RadRotator ID="RadRotator1" runat="server"
DataSourceID="ObjectDataSource1" FrameDuration="0" width="100%"
ScrollDuration="3000" ItemWidth="100" ItemHeight="75" Height="75" Font-Size="5pt">
<ItemTemplate>
<asp:Panel CssClass="UserPhotoStripUserName" ID="Panel3" runat="server" BackColor="#6699FF" Width="200"
Height="100" style="position:absolute; display:none;" Font-Size="XX-Small">
this is a testof it!!!
<br />
this is a testof it!!!
<br />
this is a testof it!!!
<br />
this is a testof it!!!
<br />
this is a testof it!!!
<br />
this is a testof it!!!
<br />
this is a testof it!!!
<br />
this is a testof it!!!
<br />
this is a testof it!!!
<br />
</asp:Panel>
<cc1:HoverMenuExtender ID="HoverMenuExtender1" runat="server"
PopupControlID="Panel3" TargetControlID="Label1" PopupPosition="Bottom"
OffsetX="0" OffsetY="0">
</cc1:HoverMenuExtender>
<asp:Panel ID="Panel2" SkinID="UserPhotoStripPan" runat="server">
<small><asp:Label ID="Label1" runat="server" Text='<%# Eval("UserName")%>'></asp:Label></small>
<table border="0" cellpadding="0" cellspacing="0" class="photo-frame">
<tr>
<td class="topx--"></td>
<td class="top-x-"></td>
<td class="top--x"></td>
</tr>
<tr>
<td class="midx--"></td>
<td>
<asp:Image ID="Image1" runat="server" Width="25" ImageUrl='<%#Eval("ProfileImageURL")%>' />
<td class="mid--x"></td>
</tr>
<tr>
<td class="botx--"></td>
<td class="bot-x-"></td>
<td class="bot--x"></td>
</tr>
</table>
</asp:Panel>
</ItemTemplate>
</telerik:RadRotator>
