| <script type="text/javascript"> |
| //<![CDATA[ |
| function hideActiveToolTip() |
| { |
| var controller = Telerik.Web.UI.RadToolTipController.getInstance(); |
| var tooltip = controller.get_ActiveToolTip(); |
| if (tooltip) |
| { |
| tooltip.hide(); |
| } |
| } |
| Sys.WebForms.PageRequestManager.getInstance().add_beginRequest(beginRequestHandler); |
| function beginRequestHandler(sender, args) |
| { |
| var prm = Sys.WebForms.PageRequestManager.getInstance(); |
| if (args.get_postBackElement().id.indexOf('RadScheduler1') != -1) |
| { |
| hideActiveToolTip(); |
| } |
| } |
| //]]> |
| </script> |
but when i launch my page i get a javascript error saying
Microsoft JScript runtime error: 'Telerik.Web.UI.RadToolTipController' is null or not an object
As of yet i have no idea whether it's something i'm missing or a problem with the build i'm using (Version Q3 2007 released 12/18/2007 taken from live example page).
I know this isn't the latest release but we have had to make a decision to continue development until a problem with the build stops us or the final production version is released.
Any help greatly appreciated
Thanks in advance
OneSHOT
hi,
i have added
btnSave.Attributes.Add("OnClick", "javascript:showAlert();"); in the load event of my page and checking on the button click if the session is empty then showing the alert.
but on the button click it is not showing the the alert window.
can i do it alert on server side.
i have used asp .net button server control (<asp:button/>)
is that the problem
what might be wrong?
function
showAlert()
{
var Ses = '<%=(string)Session["objOrganizationHierarchyAccessList"]%>';
if(Ses == null)
{
radalert('Please Add Role to the user!', 330, 100);
}
}
grdPerson.MasterTableView.SelfHierarchySettings.MaximumDepth = 1
<radG:RadGrid ID="grdPerson" runat="server" Skin="" Width= "1000px" GridLines="None" ShowHeader="true">
<MasterTableView HierarchyDefaultExpanded="False" HierarchyLoadMode="Client" DataKeyNames= "PersonID,SupervisorID" Width="100%" AutoGenerateColumns="False" HorizontalAlign="Right">
<SelfHierarchySettings ParentKeyName="SupervisorID" KeyName="PersonID" MaximumDepth="1"/>
