Telerik Forums
UI for ASP.NET AJAX Forum
19 answers
344 views
Hello,

I am having a problem with both the RadToolTip or the RadToolTipManager not working on a page that inherits from a master page.  Nothing happens on mouseover or onclick on the element in this scenario (i.e. the RadToolTip fails to appear).  I have created a test project to illustrate and have attached the code.  The problem is independent of where the ScriptManager resides (Master page versus child page).

When I have a single page, the tooltip shows.  How do I get this to work for the case of a master page?

Thanks,

Master Page:
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="Tool.master.cs" Inherits="Tool" %> 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" 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></title>  
    <asp:ContentPlaceHolder id="head" runat="server">  
    </asp:ContentPlaceHolder> 
</head> 
<body> 
    <form id="form1" runat="server">  
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server" /> 
    <asp:ContentPlaceHolder id="ContentPlaceHolder1" runat="server">  
      
    </asp:ContentPlaceHolder> 
    </form> 
</body> 
</html> 

Child Page:
<%@ Page Title="" Language="C#" MasterPageFile="~/Tool.master" AutoEventWireup="true" CodeFile="ToolTip1.aspx.cs" Inherits="ToolTip1" %> 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
 
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">  
</asp:Content> 
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">  
    <table> 
        <tr> 
            <td><asp:Image ID="img" runat="server" ImageUrl="~/images/button_i_blue.gif" /></td>  
        </tr> 
    </table> 
    <telerik:RadToolTip ID="RadToolTip1" runat="server" TargetControlID="img"   
        ManualClose="True" IsClientID="True"   
            Height="300px" Width="300px" Text="test123" ShowEvent="OnClick"   
        HideEvent="ManualClose" /> 
</asp:Content> 
 
 


Marin Bratanov
Telerik team
 answered on 10 Oct 2012
2 answers
65 views
Hi Guys,

I was hoping someone might be able to point me in the right direction with a grid edit issue. I need to use a grid where all rows are always in edit mode, and then be able to retrieve the values within each rows columns.

I tried setting all rows to edit within the pre render event but this would only ever set the last row to edit mode. I managed to get all rows into edit mode as follows:

Dim i As Integer
For i = 0 To rgDbValues.PageSize - 1
    rgDbValues.EditIndexes.Add(i)
Next i

When I then need to retrieve the values in each row I am having trouble accessing the edit items.

I've tried the following code, however the editItem always returns nothing. Any ideas in what I'm doing wrong in trying to obtain the values?

For Each item As GridDataItem In rgDbValues.EditItems
       Dim editItem As GridEditFormItem = DirectCast(item.EditFormItem, GridEditFormItem)
       If editItem.IsInEditMode Then
           Dim str1 As String = TryCast(editItem("dbValue").Controls(0), TextBox).Text
 
       End If
   Next


Thanks
Jibber4568
Top achievements
Rank 1
 answered on 10 Oct 2012
14 answers
816 views
Hello i have a rad grid insert edit form popup with a asp.net upload in it. I have made it so that on the button click it makes postback but when the postback returns back the temporary data is lost. How can i from codebehind close all insert/edit forms so i can open the popup from the prerender event? with this code:

            RadGridCardDetails.MasterTableView.FindItemByKeyValue("CardDetailsID", new Guid(HiddenShowCardDetailID.Value)).Edit = true;
            RadGridCardDetails.Rebind();
Rohan
Top achievements
Rank 1
 answered on 10 Oct 2012
1 answer
95 views
Hi,
     I have a requirement to cancel the edit/insert mode on an external button click. How can I fulfill this. Can anybody suggest something helpful
Thanks
Savyo
Shinu
Top achievements
Rank 2
 answered on 10 Oct 2012
2 answers
99 views
Hi,

I'm trying desperately to find a way to change the template of the row that is being dragged (drag clue). In my application, the user will drag a row from a RadGrid and drop it into a RadScheduler. I want the row that is being dragged to appear like it is when it's dropped  in the scheduler.

I know that the RadGrid doesn't provide any DragItemTemplates, so I will have to do it manually but I can't find the css class that is used by the dragged item. I'm guessing the css of the drag clue item is made in javascript (as every row is different), is there a master div that I can use?

Thanks in advance
Marin
Telerik team
 answered on 10 Oct 2012
1 answer
229 views
hi!!

i have this code in my aspx:

<telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" LoadingPanelID="RadAjaxLoadingPanel1">
            <asp:Table runat="server" CellPadding="0" CellSpacing="0" HorizontalAlign="Center">
                <asp:TableRow runat="server">
                    <asp:TableCell runat="server">
                        <asp:Table runat="server" CellPadding="0" CellSpacing="0">
                            <asp:TableRow runat="server">
                                <asp:TableCell runat="server">
                                    <telerik:RadBarcode runat="server"
                                                        ID="radcodigos"
                                                        Width="100"
                                                        Height="30"
                                                        Font-Size="10px"
                                                        ShowChecksum="false"
                                                        RenderChecksum="false"
                                                        ShowText="true"></telerik:RadBarcode>

                                </asp:TableCell>
                            </asp:TableRow>
                        </asp:Table>
                    </asp:TableCell>
                </asp:TableRow>
            </asp:Table>      
        </telerik:RadAjaxPanel>
        <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" BackgroundPosition="None">
        </telerik:RadAjaxLoadingPanel>


this barcode i'm load in the follow function:

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        If Not IsPostBack Then
            lbltipocodigoID.Text = Request.Params("tipocodigoID")
            lblcodigo.Text = Request.Params("codigo")

            radcodigos.Text = Val(lblcodigo.Text)

            Select Case lbltipocodigoID.Text
                Case "1"
                    radcodigos.Type = BarcodeType.EAN13
                Case "2"
                    radcodigos.Type = BarcodeType.EAN8
            End Select
        End If
    End Sub


in the file "img_barcode.png" you can see my problem better.
plase i need implements this barcode for my aplication. thanks.
Kostadin
Telerik team
 answered on 10 Oct 2012
1 answer
102 views
as I can lift a pop-up with a key combination, after selecting edit in a column, an item RaGrid??
Andrey
Telerik team
 answered on 10 Oct 2012
1 answer
51 views

Hello all,

While executing the application i am getting Script Error in user Control Page.What i am doing in my ASPX.Cs page i have used User Control and again in that user control i have used another user control which is opened through Rad Window.Is it correct thing to use user control in an another user control.

script Error : Object Undefined :

actually process ---> aspx.Cs---> usercontrol1---->(Rad window)user control2

unable to find the solution for the last few hours.Suggest me the best way to get over it

Thanks in advance

Marin Bratanov
Telerik team
 answered on 10 Oct 2012
1 answer
101 views
Hello all,

While executing the application i am getting Script Error in user Control Page.What i am doing in my ASPX.Cs page i have used User Control and again in that user control i have used another user control which is opened through Rad Window.Is it correct thing to use user control in an another user control.

script Error : Object Undefined :

actually process ---> aspx.Cs---> usercontrol1---->(Rad window)user control2

unable to find the solution for the last few hours.Suggest me the best way to get over it

Thanks in advance

Marin Bratanov
Telerik team
 answered on 10 Oct 2012
5 answers
70 views
Hello,

Id like to have the built in "Add new record" at the top of my grid, but instead of opening an input form in the grid id like to link to a form of my own instead.

How can i do this?

Thanks
Robert
Top achievements
Rank 1
 answered on 10 Oct 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?