Telerik Forums
UI for ASP.NET AJAX Forum
10 answers
517 views
Hello,

I have a problem with the tooltip positioning with some elements on my page.  I am using the TooltipManager and geting tooltip using javacript.  It is working fine with the position untill I scroll down the page.After scoll down it is showing tooltip uper side of the element.  Here is my sample code:  
<telerik:RadToolTipManager runat="server" ID="RadTaskToolTipMgr" OffsetY="-3" Width="280" Height="80" Position="BottomCenter" RelativeTo="Element" Animation="None" HideEvent="LeaveToolTip" Text="Loading..." ShowEvent="OnClick" />

<script type="text/javascript">
function
GetTootltip(element, Task_id) {
var tooltipManager = $find("<%= RadTaskToolTipMgr.ClientID %>");
if (!tooltipManager) return;
var tooltip = tooltipManager.getToolTipByElement(element);
if (!tooltip) {
tooltip = tooltipManager.createToolTip(element);
$.ajax({
type:
"POST",
url:
"Get-Members.aspx",
data:
"Id=" + Task_id + "&For=Task",
success:
function(msg) { if (msg == "1") {
window.location =
"../login.aspx";
}
else
    tooltip.set_text(msg);
    element.onclick =
null
    element.onmouseover =
null;
tooltip.show();
}
}
});
}
else {
element.onclick =
null;
element.onmouseover =
null;
tooltip.show();
}
return false;
}
</script>
Svetlina Anati
Telerik team
 answered on 06 Jan 2011
1 answer
119 views
How to identity gird cancel button click . In javascript .

I want to identitfy the cancel button is click on client side.

Shinu
Top achievements
Rank 2
 answered on 06 Jan 2011
2 answers
81 views

I have a numeric column in a grid that receives numbers from a datatable. The cell is conditionally formatted during OnItemDataBound to change color depending on the how larger the number in the cell is.

I would like to format the number in the column regardless of how larger it is so that it displays , thousands separator. However, when I use a DataFormatString (either in code or via a PreRender method) an exception is thrown because the number no long matches (1000 vs 1,000).

 

How can I properly format the data in the column while allowing it to be conditionally formated?

Radoslav
Telerik team
 answered on 06 Jan 2011
7 answers
148 views
I have created a WCF SQL provider however i can't find any examples of the code for: CreateRecurrenceException and RemoveRecurrenceExceptions.

Do you any examples detailing these methods? 

Thanks
Peter
Telerik team
 answered on 06 Jan 2011
1 answer
149 views
Hi,

I have a radscheduler which shows the occupation of meeting rooms. When an event is a "all day event" it is displayed (in the dayview) at the top of the meeting room (resource) with the note "all day". 

Is there a way to display these "all day events" really as an all day occupation? It would be more clear to our users that the meeting rooms is not available during that day?

Thank you in advance
Peter
Telerik team
 answered on 06 Jan 2011
2 answers
155 views
I have a need to set the value of the DateTimePicker control via javascript.
After a bit of research I came up with this:

function setDate() {
    var picker = $find('<%= dtStart.ClientID %>');
    var picker2 = $find('<%= dtEnd.ClientID %>');
    picker2.set_selectedDate = picker.get_selectedDate;
}

But this does not work. I think I need some help, could someoen point me in the right direction please?
Jaymie
Top achievements
Rank 1
 answered on 06 Jan 2011
3 answers
192 views
i have created dockable DIV inside raddock with controls inside DIV, after doing that i have noticed the extra space in radContent, i tried applying css but not got the result as i expected, for your reference i am attaching the output modified image.

my problem is i want radDock to fit the width with the DIV no extra space required outside the div.
check the image[i have specified background for content to silver color] its appearing right side and bottom side of the DIV
CSS applied for DOCK.
.profileBlue
        {
            width: 126px;
        }
        .profileBlue .top
        {
            width: 126px;
            height: 8px;
            background: url(/images/profileBlueTop.jpg) no-repeat top left;
        }
        .profileBlue .middle
        {
            width: 106px;
            background-color: #cde6ec;
            height: auto;
            padding: 0 10px 0 10px;
            word-wrap: break-word;
            color: #323232;
            line-height: 20px;
        }
.RadDock .rdLeft, .RadDock .rdRight, .RadDock .rdBottom, .RadDock .rdTop
        {
            display: none !important;
        }
        .RadDock .rdContent
        {
            background-color: Silver;
        }
        .RadDockZone
        {
            width: 140px;
        }
    </style>
 
    <script type="text/javascript">
        function SetHandleDock(dock, args) {
            dock.set_handle(document.getElementById("Handle_" + dock.get_id()));
        }
    </script>

aspx code
<telerik:RadDockZone ID="RadDockZone1" runat="server">
      <telerik:RadDock ID="RadDock1" runat="server" DockHandle="None" OnClientInitialize="SetHandleDock" Index="0" EnableRoundedCorners="True" DockMode="Docked"> <ContentTemplate>
 <div class="profileBlue">
    <div id="Handle_RadDock1" style="cursor: move;" class="top">
    </div>
    <div class="middle">
      - - - - - - - my code ---
    </div>
 </div>
</ContentTemplate>
</telerik:RadDock>
Dobromir
Telerik team
 answered on 06 Jan 2011
1 answer
205 views

Dear Sir,

We brought "Telerik Premium Collection for .NET" and for one of our Web Project we have used
"RadEditor for ASP.NET AJAX" and "RadUpload for ASP.NET AJAX", and we want to give source
code of our web Project to our customer

1. Can we give the source code of our web project with the Telerik DLL's (as we have used
"RadEditor for ASP.NET AJAX" and "RadUpload for ASP.NET AJAX" ) in that project.

2. If not what the minimum components we can buy to embedded in to that project.

Thanks,
Regards,

Sebastian
Telerik team
 answered on 06 Jan 2011
1 answer
109 views
Hi,
I have an radcombobox  in my aspx page or also have radcaptcha.
After select the combobox item the image of rad captcha refresing.
There is any solution of the problem so that radcaptcha image remain intact afetr select the item from combo box.
plz help me asps.
Thanks
Lini
Telerik team
 answered on 06 Jan 2011
3 answers
235 views
Hello,

I have a problem.
I recieve the following error message (View the attached screen shot):

Error: Sys.WebForms.PageRequestManagerServerErrorException: Script control '' is not a registered script control. Script controls must be registered using RegisterScriptControl() before calling RegisterScriptDescriptors().
Parameter name: scriptControl

I tried the following script manager in my page:

1)
<

 

 

asp:ScriptManager runat="server" ID="ScriptManager1">

 

 

 

 

</asp:ScriptManager>

 

2)

<

 

 

telerik:RadScriptManager runat="server" ID="RadScriptManager1">

 

 

 

 

</telerik:RadScriptManager>

 

But the result is the same (the above error)

Can you please explain to me what is the meaning of the above error message.
It is apprecited if you give me the required code which fix the above error.

Regards,
Bader
Lini
Telerik team
 answered on 06 Jan 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?