Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
152 views

Hi All,

I have taken a Date Time Picker control. I want to change the start time of Time View on selected date changed.
Does anyone know, please tell me.
markup is as follows :

function

a() {

 

 

var b = new Date("<%= t %>");

 

 

var ctl = $find("<%=rdCallbackDate.ClientID %>");

 

 

var timeView = ctl.get_timeView();

 

 

var n = new Date("15 May 2009 15:20:20");

 

timeView.set_startTime(n)

ctl.set_timeView(timeView);

return false;

 

}

 

 

<telerik:RadDateTimePicker ID="rdCallbackDate" runat="server" Skin="Hay" DateInput-DateFormat="dd MMM yyyy HH:mm"

 

 

 

 

 

Width="220px">

 

 

 

 

 

<ClientEvents OnDateSelected="RR" />

 

 

 

 

 

</telerik:RadDateTimePicker>
<asp:Button ID="arrr" runat="server" Text="aa" OnClientClick="return a();" />



Thanks & Regards
Brijendra pandey    

 

Georgi Krustev
Telerik team
 answered on 19 May 2009
5 answers
250 views
hi everyboday
i am working with radgrid, and i using property AutoGenerateColumns="True" , and set data with DataSource,
when i edit on grid i want to add Lable have text="%" after textbox when edit.
i can't do it


please help me
thanks



Princy
Top achievements
Rank 2
 answered on 19 May 2009
1 answer
98 views
Salam,

after create columns at runtime I fill all the cells in grid  (.....cel.Text = "CELL11"),and when I try to edit the rows using EDITMODE="Inplace"
there is an error will display.

is this way to fill cells right, and if not please help me to fill cells and edit it. if its right please help me to edit the cell.

regards,
Princy
Top achievements
Rank 2
 answered on 19 May 2009
3 answers
115 views
Hi Its Shrawan from a:m tech Hyd,

I am experiencing a problem while using RadAjaxmanager and RadAjaxLoadingPanel in Mozilla 3

http://loveletters.ie/getquote.aspx 

I have placed one grid and a table id in as updated controls in radAjaxmanager on clicking an image button, Its working fine in IE wgere as when come to mozilla 3.0 its dispalying a script alert with

"

Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled.

Details: Error parsing near '

<!DOCTYPE html PUB'. "

and in both the browsers i am not getting loading panel image and also no transparency effect working,

Can u please look in to this and suggets me  a solution

Thanking you

Sravan

this my design page

 

<%

@ Page Language="C#" AutoEventWireup="true" CodeFile="getQuote.aspx.cs" Inherits="getQuote" %>

 

<%

@ Register Src="blackTable1.ascx" TagName="blackTable" TagPrefix="uc2" %>

 

<%

@ Register Src="footernav.ascx" TagName="footernav" TagPrefix="uc4" %>

 

<%

@ Register Src="topRightStrip.ascx" TagName="topRightStrip" TagPrefix="uc3" %>

 

<%

@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="radA" %>

 

 

 

<!

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>

 

<

meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

 

<

title>Welcome to Loveletters</title>

 

<

link href="includes/css/style.css" type="text/css" rel="stylesheet" />

 

<

link href="includes/css/inner_style.css" type="text/css" rel="stylesheet" />

 

<

script type="text/javascript" src="includes/scripts/rollover.js"></script>

 

<

script language="javascript">

 

 

 

 

function OnRequestStart(sender, args)

 

{

 

//alert(args.EventTarget);

 

 

 

 

if(args.EventTarget=="imgButton2")

 

{

showTab();

 

return true;

 

}

 

else if(args.EventTarget=="imgButton")

 

{

showTab();

 

return true;

 

}

}

 

 

function showTab()

 

{

window.document.getElementById(

"tblResult").style.display="";

 

window.document.getElementById(

"imgButton2").focus();

 

 

}

 

 

function chkNumeric(oSrc,args)

 

{

 

//alert(args.Value);

 

 

 

 

//args.IsValid = false;

 

 

 

 

 

var strValidChars = "0123456789";

 

 

var strChar;

 

 

var blnResult = true;

 

 

if (args.Value.length == 0)

 

blnResult=

false;

 

 

// test strString consists of valid characters listed above

 

 

 

 

for (i = 0; i < args.Value.length && blnResult == true; i++)

 

{

strChar = args.Value.charAt(i);

 

if (strValidChars.indexOf(strChar) == -1)

 

{

blnResult =

false;

 

}

}

args.IsValid=blnResult;

}

 

 

</

script>

 

</

head>

 

<

body onload="MM_preloadImages('images/order_stationery_m.gif','images/collection_m.gif')">

 

<

form runat="server" id="frmQuote">

 

 

 

 

 

<!-- ancilary div start -->

 

 

 

<

div id="ancilar_nav">

 

 

 

 

 

<!-- navagation start -->

 

 

 

 

<div id="div_navgation">

 

 

 

 

<uc3:topRightStrip runat="server" ID="strip" />

 

 

 

 

</div>

 

 

 

 

 

 

 

 

<!-- ancilary div end -->

 

 

 

</div>

 

 

 

 

 

<!-- logo_nav div start -->

 

 

 

 

<div id="logo_nav">

 

 

 

 

 

<!-- div logo start -->

 

 

 

 

<div id="logo">

 

 

 

 

<a href="index.aspx"><img src="images/logo.jpg" height="33" width="225" alt="Love Letters " border="0" /></a>

 

 

 

 

<!-- div logo end -->

 

 

 

 

</div>

 

 

 

 

 

 

<!-- div nav start -->

 

 

 

<div id="main_nav">

 

 

 

 

 

 

 

<a href="the_collection.aspx" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('the_collection','','images/collection_m.gif',1)"><img src="images/collection_n.gif" alt="The Collection" name="the_collection" width="146" height="16" border="0" id="the_collection" /></a>&nbsp;&nbsp;&nbsp;&nbsp;

 

 

 

 

<a href="order_stationery.aspx" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('order_stationery','','images/order_stationery_m.gif',1)"><img src="images/order_stationery_n.gif" alt="Order Stationery" name="order_stationery" width="163" height="16" border="0" id="order_stationery" /></a>&nbsp;&nbsp;&nbsp;&nbsp;

 

 

 

 

<a href="bride_testimonials.aspx" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('bride_testimonials','','images/bride_testimonials_m.gif',1)"><img src="images/bride_testimonials_n.gif" alt="Bride Testimonials" name="bride_testimonials" width="178" height="16" border="0" id="bride_testimonials" /></a></div>

 

 

 

 

 

<div class="div_clear"></div>

 

 

 

 

<!-- logo_nav div end -->

 

 

 

 

</div>

 

 

 

 

 

 

<!-- div inner contant start -->

 

 

 

<

div id="inner_content">

 

 

 

 

 

<!-- div inner banner start -->

 

 

 

 

<div id="inner_banner">

 

 

 

 

<img src="images/banners/banner_get_a_quote.jpg" alt="Get a Quote" border="0" />

 

 

 

 

<!-- div inner banner end -->

 

 

 

 

</div>

 

 

 

 

 

 

<!-- print_page start -->

<!-- content sec start -->

 

 

<

div id="content_sec">

 

 

 

 

 

 

<p>&nbsp;</p>

 

 

 

 

 

<radA:RadScriptManager ID="RadScriptManager1" runat="server"></radA:RadScriptManager>

 

 

 

 

<asp:ImageButton runat="server" ID="imgButton" ImageUrl="images/btn_get_a_quote.gif" alt="" align="right" OnClick="imgButton2_Click"/><br />

 

 

 

 

<br />

 

 

 

 

<table width="100%" border="0" cellpadding="0" cellspacing="0" class="tab2" >

 

 

 

 

<tr>

 

 

 

 

<td width="181" class="row3">&nbsp;</td>

 

 

 

 

<td width="149" class="row3" style="border-right: solid 1px #e3e3e3"><img src="images/t_simple.gif" /></td>

 

 

 

 

<td width="142" class="row3" style="border-right: solid 1px #e3e3e3"><img src="images/t_self-assembly.gif" /></td>

 

 

 

 

<td width="145" class="row3" style="border-right: solid 1px #e3e3e3"><img src="images/t_stylish.gif" /></td>

 

 

 

 

<td width="140" class="row3" style="border-right: solid 1px #e3e3e3"><img src="images/t_sumptuous.gif" /></td>

 

 

 

 

</tr>

 

 

 

 

</table>

 

 

 

 

<asp:DataGrid runat="server" ID="dgQuote" AutoGenerateColumns="false" CellSpacing="0" Width="780" CssClass="tab2" CellPadding="0">

 

 

 

 

<HeaderStyle CssClass="header" />

 

 

 

 

<AlternatingItemStyle CssClass="row4" />

 

 

 

 

<ItemStyle CssClass="row3" />

 

 

 

 

<Columns>

 

 

 

 

<asp:TemplateColumn HeaderText="Qty" HeaderStyle-CssClass="header" >

 

 

 

 

<ItemTemplate>

 

 

 

 

<input name="txtQty" type="text" class="text_normal1" id="txtQty" runat="server" />

 

 

 

 

<asp:CustomValidator runat="server" ID="regQty" ClientValidationFunction="chkNumeric" ControlToValidate="txtQty" ErrorMessage="Invalid" Display="dynamic" SetFocusOnError="true" ></asp:CustomValidator>

 

 

 

 

</ItemTemplate>

 

 

 

 

</asp:TemplateColumn>

 

 

 

 

<asp:BoundColumn ItemStyle-Width="15%" HeaderStyle-Width ="15%" DataField="cardtype" HeaderText="Items" HeaderStyle-CssClass="header" ></asp:BoundColumn>

 

 

 

 

<asp:TemplateColumn HeaderText="Unit Price" HeaderStyle-CssClass="header" >

 

 

 

 

<ItemTemplate>

 

 

 

 

<asp:Label Width="50" name="txtUPriceA" CssClass="text_pink" ID="txtUPriceA" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"A_Price") %>' />

 

 

 

 

</ItemTemplate>

 

 

 

 

</asp:TemplateColumn>

 

 

 

 

<asp:TemplateColumn HeaderStyle-CssClass="header" HeaderText="Total" >

 

 

 

 

<ItemTemplate>

 

 

 

 

<asp:Label Width="50" name="txtTotalA" CssClass="text_normal2" ID="txtTotalA" runat="server" Text="&nbsp;" />

 

 

 

 

</ItemTemplate>

 

 

 

 

</asp:TemplateColumn>

 

 

 

 

<asp:TemplateColumn HeaderText="Unit Price" HeaderStyle-CssClass="header" >

 

 

 

 

<ItemTemplate>

 

 

 

 

<asp:Label Width="50" name="txtUPriceSelf" CssClass="text_orange" ID="txtUPriceSelf" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"self") %>' />

 

 

 

 

</ItemTemplate>

 

 

 

 

</asp:TemplateColumn>

 

 

 

 

<asp:TemplateColumn HeaderStyle-CssClass="header" HeaderText="Total" >

 

 

 

 

<ItemTemplate>

 

 

 

 

<asp:Label Width="50" name="txtTotalSelf" CssClass="text_normal2" ID="txtTotalSelf" runat="server" Text="&nbsp;" />

 

 

 

 

</ItemTemplate>

 

 

 

 

</asp:TemplateColumn>

 

 

 

 

<asp:TemplateColumn HeaderText="Unit Price" HeaderStyle-CssClass="header" >

 

 

 

 

<ItemTemplate>

 

 

 

 

<asp:Label Width="50" name="txtUPriceB" CssClass ="text_green" ID="txtUPriceB" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"B_Price") %>' />

 

 

 

 

</ItemTemplate>

 

 

 

 

</asp:TemplateColumn>

 

 

 

 

<asp:TemplateColumn HeaderStyle-CssClass="header" HeaderText="Total" >

 

 

 

 

<ItemTemplate>

 

 

 

 

<asp:Label Width="50" name="txtTotalB" CssClass="text_normal2" ID="txtTotalB" runat="server" Text="&nbsp;" />

 

 

 

 

</ItemTemplate>

 

 

 

 

</asp:TemplateColumn>

 

 

 

 

<asp:TemplateColumn HeaderText="Unit Price" HeaderStyle-CssClass="header" >

 

 

 

 

<ItemTemplate>

 

 

 

 

<asp:Label Width="50" name="txtUPriceC" CssClass="text_blue" ID="txtUPriceC" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"C_Price") %>' />

 

 

 

 

</ItemTemplate>

 

 

 

 

</asp:TemplateColumn>

 

 

 

 

<asp:TemplateColumn HeaderStyle-CssClass="header" HeaderText="Total" >

 

 

 

 

<ItemTemplate>

 

 

 

 

<asp:Label Width="50" name="txtTotalC" CssClass="text_normal2" ID="txtTotalC" runat="server" Text="&nbsp;" />

 

 

 

 

</ItemTemplate>

 

 

 

 

</asp:TemplateColumn>

 

 

 

 

</Columns>

 

 

 

 

</asp:DataGrid>

 

 

 

 

<table width="780" border="0" cellpadding="0" cellspacing="0" class="tab2" style="display:none;" id="tblResult">

 

 

 

 

<tr class="row5">

 

 

 

 

<td width="30%" colspan="2" ><strong>Total in Euro</strong></td>

 

 

 

 

<td >Simple</td>

 

 

 

 

<td ><strong><asp:Label runat="server" ID="simpleTotal"></asp:Label></strong></td>

 

 

 

 

<td >Self-

 

 

<br />

 

 

 

assembly

<br /></td>

 

 

 

 

<td ><strong><asp:Label runat="server" id="selfTotal"/></strong></td>

 

 

 

 

<td >Stylish</td>

 

 

 

 

<td ><strong><asp:Label runat="server" id="stylishTotal"/></strong></td>

 

 

 

 

<td >Sumptuous</td>

 

 

 

 

<td ><strong><asp:Label runat="server" id="sumptuousTotal"/></strong></td>

 

 

 

 

</tr>

 

 

 

 

</table>

 

 

 

 

<p>

 

 

 

 

<asp:ImageButton runat="server" ID="imgButton2" ImageUrl="images/btn_get_a_quote.gif" alt="" align="right" OnClick="imgButton2_Click" />

 

 

 

 

</p><br />

 

<

br /><!--style="width:320px;padding-top:2px;"-->

 

 

 

<

radA:RadAjaxLoadingPanel ID="AjaxLoadingPanel1" runat="server" Transparency="0">

 

 

 

 

<asp:Image ID="Image2" runat="server" AlternateText="Loading..." ImageUrl="~/RadControls/Ajax/Skins/Default/Loading3.gif" />

 

</

radA:RadAjaxLoadingPanel>

 

<

radA:RadAjaxManager ID="radMngr1" runat="server">

 

 

 

 

<ClientEvents OnRequestStart="OnRequestStart" />

 

 

<AjaxSettings>

 

 

 

 

<radA:AjaxSetting AjaxControlID="imgButton">

 

 

 

 

<UpdatedControls>

 

 

 

 

<radA:AjaxUpdatedControl ControlID="tblResult" LoadingPanelID="AjaxLoadingPanel1" />

 

 

 

 

<radA:AjaxUpdatedControl ControlID="dgQuote" />

 

 

 

 

<radA:AjaxUpdatedControl ControlID="simpleTotal" />

 

 

 

 

<radA:AjaxUpdatedControl ControlID="selfTotal" />

 

 

 

 

<radA:AjaxUpdatedControl ControlID="stylishTotal" />

 

 

 

 

<radA:AjaxUpdatedControl ControlID="sumptuousTotal" />

 

 

 

 

</UpdatedControls>

 

 

 

 

</radA:AjaxSetting>

 

 

 

 

<radA:AjaxSetting AjaxControlID="imgButton2">

 

 

 

 

<UpdatedControls>

 

 

 

 

<radA:AjaxUpdatedControl ControlID="tblResult" LoadingPanelID="AjaxLoadingPanel1" />

 

 

 

 

<radA:AjaxUpdatedControl ControlID="dgQuote" />

 

 

 

 

<radA:AjaxUpdatedControl ControlID="simpleTotal" />

 

 

 

 

<radA:AjaxUpdatedControl ControlID="selfTotal" />

 

 

 

 

<radA:AjaxUpdatedControl ControlID="stylishTotal" />

 

 

 

 

<radA:AjaxUpdatedControl ControlID="sumptuousTotal" />

 

 

 

 

</UpdatedControls>

 

 

 

 

</radA:AjaxSetting>

 

 

 

 

</AjaxSettings>

 

</

radA:RadAjaxManager>

 

 

 

 

</div>

 

 

 

 

 

<div class="div_clear"></div>

 

 

 

 

<!-- div inner contant end -->

 

 

 

</

div>

 

 

 

 

 

<!-- footer div start -->

 

 

 

 

<uc2:blackTable ID="BlackTable1" runat="server" />

 

 

 

 

 

<!-- div credit start -->

 

 

 

 

<div id="credit">

 

 

 

 

<a href="about_us.htm">About Us</a> &nbsp;|&nbsp; <a href="price_list.htm">Price List</a> &nbsp;|&nbsp; <a href="recommended_suppliers.htm">Recommended Suppliers</a> &nbsp;|&nbsp; <a href="#">Press</a> &nbsp;|&nbsp; <a href="events.htm">News &amp; Events</a> &nbsp;|&nbsp; <a href="privacy.htm">Privacy</a> &nbsp;|&nbsp; <a href="terms_conditions.htm">Terms & Conditions</a><br />

 

 

 

 

&copy; LOVE LETTERS</div>

 

 

 

 

 

<div id="amweb"><a href="http://www.amweb.ie" target="_blank">Web design</a> &amp; <a href="http://www.amweb.ie" target="_blank">development</a> by <a href="http://www.amweb.ie" target="_blank"><em>am web</em></a> </div>

 

 

 

 

</form>

 

</

body>

 

</

html>

 

 

 

 

and coding page

 

 

using

System;

 

 

 

 

using

System.Data;

 

 

 

 

using

System.Configuration;

 

 

 

 

using

System.Collections;

 

 

 

 

using

System.Web;

 

 

 

 

using

System.Web.Security;

 

 

 

 

using

System.Web.UI;

 

 

 

 

using

System.Web.UI.WebControls;

 

 

 

 

using

System.Web.UI.WebControls.WebParts;

 

 

 

 

using

System.Web.UI.HtmlControls;

 

 

 

 

//public partial class getQuote : System.Web.UI.Page

 

 

 

public

partial class getQuote : Telerik.Web.UI.RadAjaxPage

 

 

 

 

{

 

DataTable myTab;

 

 

Functions objFun = new Functions();

 

 

Double dblsimpleTotal, dblselfTotal, dblstylishTotal, dblsumptuousTotal;

 

 

protected void Page_Load(object sender, EventArgs e)

 

{

 

if (!IsPostBack)

 

displayGrid();

 

}

 

void displayGrid()

 

{

myTab = objFun.GetRecords(

"select cardtype,'A_price'=convert(decimal(10,2),a_price),'b_price'=convert(decimal(10,2),b_price),'c_price'=convert(decimal(10,2),c_price),'self'=convert(decimal(10,2),self) from cardprice order by cardtype");

 

dgQuote.DataSource = myTab;

dgQuote.DataBind();

}

 

protected void imgButton2_Click(object sender, ImageClickEventArgs e)

 

{

 

Label txtUPriceA,txtTotalA, txtUPriceSelf, txtTotalSelf, txtUPriceB, txtTotalB, txtUPriceC, txtTotalC;

 

 

HtmlInputText txtQty;

 

 

 

 

for (int i = 0; i <= dgQuote.Items.Count - 1;i++ )

 

{

txtQty = dgQuote.Items[i].FindControl(

"txtQty") as HtmlInputText;

 

txtUPriceA = dgQuote.Items[i].FindControl(

"txtUPriceA") as Label;

 

txtTotalA = dgQuote.Items[i].FindControl(

"txtTotalA") as Label;

 

txtUPriceSelf = dgQuote.Items[i].FindControl(

"txtUPriceSelf") as Label;

 

txtTotalSelf = dgQuote.Items[i].FindControl(

"txtTotalSelf") as Label;

 

txtUPriceB = dgQuote.Items[i].FindControl(

"txtUPriceB") as Label;

 

txtTotalB = dgQuote.Items[i].FindControl(

"txtTotalB") as Label;

 

txtUPriceC = dgQuote.Items[i].FindControl(

"txtUPriceC") as Label;

 

txtTotalC = dgQuote.Items[i].FindControl(

"txtTotalC") as Label;

 

 

if (txtQty.Value == "")

 

{

 

//txtQty.Value = "0";

 

 

 

 

txtTotalA.Text =

"&nbsp;";

 

txtTotalSelf.Text =

"&nbsp;";

 

txtTotalB.Text =

"&nbsp;";

 

txtTotalC.Text =

"&nbsp;";

 

}

 

else

 

 

 

 

{

txtTotalA.Text =

Convert.ToDouble(Convert.ToDouble(txtUPriceA.Text) * Convert.ToInt16(txtQty.Value)).ToString();

 

dblsimpleTotal +=

Convert.ToDouble(txtTotalA.Text);

 

txtTotalSelf.Text =

Convert.ToDouble(Convert.ToDouble(txtUPriceSelf.Text) * Convert.ToInt16(txtQty.Value)).ToString();

 

dblselfTotal +=

Convert.ToDouble(txtTotalSelf.Text);

 

txtTotalB.Text =

Convert.ToDouble(Convert.ToDouble(txtUPriceB.Text) * Convert.ToInt16(txtQty.Value)).ToString();

 

dblstylishTotal +=

Convert.ToDouble(txtTotalB.Text);

 

txtTotalC.Text =

Convert.ToDouble(Convert.ToDouble(txtUPriceC.Text) * Convert.ToInt16(txtQty.Value)).ToString();

 

dblsumptuousTotal +=

Convert.ToDouble(txtTotalC.Text);

 

}

}

simpleTotal.Text =

String.Format("{0:0.00}", dblsimpleTotal); //dblsimpleTotal.ToString();

 

 

 

 

stylishTotal.Text =

String.Format("{0:0.00}", dblstylishTotal); //dblstylishTotal.ToString();

 

 

 

 

selfTotal.Text =

String.Format("{0:0.00}", dblselfTotal); //dblselfTotal.ToString();

 

 

 

 

sumptuousTotal.Text =

String.Format("{0:0.00}", dblsumptuousTotal); //dblsumptuousTotal.ToString();

 

 

 

 

}

}

 


Iana Tsolova
Telerik team
 answered on 19 May 2009
6 answers
173 views
Hi

I am having a Rad treeview and I am dragging and dropping a radwindow from the treeview nodes. Its working fine. What I need is that I need the control of dropping my window i.e. if I drop the radwindow in left side it should come in left or else if I drop in right side, its hould in right. how shall i do that?

Please find below the codes I am using..
<telerik:RadSlidingPane ID="RadSlidingPane1" runat="server" Title=">>" EnableDock="true" Width="200px">
                    <telerik:RadTreeView ID="RadTreeView1" runat="server" OnClientMouseOver= "OnClientMouseOver"
                    OnClientNodeDragStart = "openDashboards" EnableDragAndDrop="true">
</telerik:RadTreeView>

Below is the javascript:-

function openDashboards(sender, eventArgs)
        {
                var nodeElem = eventArgs.get_node();
                
                    var title = eventArgs.get_node(sender, eventArgs).get_text();
                    var link = eventArgs.get_node(sender, eventArgs).get_value();
                    var oWnd = radopen(link,"RadWindow" + counter);
                    oWnd.set_title(title);
         }

I think I am missing some property in treeview to have contril over my dropping window. Please help

Thanks
Arindam
Georgi Tunev
Telerik team
 answered on 19 May 2009
3 answers
166 views
Here is a simple description of my setup: Inside an UpdatePanel there is a RadGrid and RadToolTipManager using AjaxUpdate and this update loads a user control to display as the tip. It loads for each row item in the grid on a ShowEvent=OnMouseOver with a hide event of LeaveTargetOrTooltip and a very long AutoCloseDelay (required in my situation).

The user control used as the tooltip content contains uses RadWindows for certain functions inappropriate for the tooltip itself. When a RadWindow is triggered in the tooltip, the RadWindow is always displayed below the tooltip. When I try to call javascript to manually close the tooltip from the RadWindow it is ignored. When I try to use javascript to set the RadWindow to active it is ignored. When I set the z-index of the HTML in the RadWindow to a very high number it still appears under the tooltip.

So far the only thing that kind of works is doing a full postback which forces the tooltip closed but that's not what I'm going for.

Is there a way to have a modal or non-modal RadWindow display on top of a Tooltip being displayed in this manner? That is, that there would be three layers of content:

PAGE WITH GRID
+++TOOLTIP
++++++RADWINDOW

Thanks in advance!

Neil
Tervel
Telerik team
 answered on 19 May 2009
2 answers
210 views
On my site www.theplaygrounds.co.uk (unfinished design) if you click a link such as Compiler, the RAD Window open as a popup and briefly displays the content until it throws a 404 server error.

I have deployed the site as is on local (which is the environment which works fine).

Can someone explain the error? All the files are existant.

My first possible thought is the navigateurl property in each button (it may be just "abc.aspx" in which case ASP.NET looks at the root?).

Thanks
Tervel
Telerik team
 answered on 19 May 2009
1 answer
256 views
Hi telerik team,

In my application telerik controls loading time very slow .so while searching  for improvement i found to overcome by RadCompression. i m using 2008 Q2 Original version.one of the forum suggested to use 2008 q3 or later to implement RadCompression so to try i downloaded ASP.NET_AJAX_2009_1_402_trial   and replace new dlls with existing .even though i m getting same problem like
Could not load type 'Telerik.Web.UI.RadCompression'  .  i search in net i found this url
 http://www.telerik.com/community/forums/aspnet-ajax/general-discussions/could-not-load-type-telerik-web-ui-recompression.aspx
but it couldn't solve . and also pls provide good articles for fine tuning and rapid speed up application.

For any help appreciable
Thanks &Regards
sudheer







Sebastian
Telerik team
 answered on 19 May 2009
5 answers
180 views
Hi. I have a RadTabStrip that displays a RadGrid when a particular tab is selected. So, the grid binds at pageload and is hidden until it is needed. The grid appears okay, but when I click on the edit button the grid disappers and leaves a line. I have OnNeedDataSource set and this still doesn't fix the problem. I have some code to return if the OnNeedDataSource event fires and it doesn't seem like it does. The grid does show up if I click on other tabs in the tabstrip and then back to the to the one that is suppose to show the grid. Any thoughts?

Daniel
Yavor
Telerik team
 answered on 19 May 2009
4 answers
158 views
Hi, Telerik.
I´m using radalert control of radcontrol for asp.net ajax and it works fine in IE, but not in Chrome with the following issue:

I have a template as a user control (ascx) for the radalert with:

<img id='AlertIcon' align='absmiddle' style='vertical-align:middle;border:0' /> {1}

 

 

 

 

Now I´m using this to get the image and then set the SRC attribute:

var

 

oWindow = radalert('message', 300, 100, 'title');

 

 

 

 

var imgicono = oWindow.GetContentFrame().document.getElementById('AlertIcon');

 

 

imgicono.src = "my picture";

 

 


It works with IE, but this does not work with Chrome: 
var imgicono = oWindow.GetContentFrame().document.getElementById('AlertIcon');

Can you help me?
thanks a lot,
Daniel.

Georgi Tunev
Telerik team
 answered on 19 May 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?