Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
118 views
dear all

i have rad scheduler that contains the student schedule  in which for example
the lecture times for certain subject is spanned possibly multiple appointments.
for example\\
the course lecture times for subject cs510 is Saturday from 9 am to 10.30 am
and Wednesday 1.30 pm to 3 pm.

what i need is to count the number of subjects (that span multiple appointements ) that student inserts in the schedule to compare it with the its allowed max credits.


thanks in advance.
Peter
Telerik team
 answered on 19 Sep 2011
1 answer
127 views
Hi all
I need a image can show on the rad chart particular point .where i can set the width and height of that image according to the condition .

thanks
Sushobhit Raman
Evgenia
Telerik team
 answered on 19 Sep 2011
3 answers
445 views
First of all, I"m sorry for my not good english.
 I'm writing new post in order to asking more question.
I'm trying to control Radnotification's Interval at Client-side.
My question is.
 - If ShowInterval value is smaller than AutoCloseDelay's value, Notificaiton does not hide
   e.g)ShowInterval ="7000", AutoCloseDelay="4000"

- when i set keepOnMouseOver property to "false",showInterval was changed. ShowInterval ="7000", AutoCloseDelay="4000"
  In my opinion, notification window will show every 7000ms, but it showed every 3000ms.

 - I moved mouse cursor on the notification window before hiding.Despite AutoCloseDelay reached time, It's not hided because 
   keepOnMouseOver was activating. And immediately i turned keepOnMouseOver property to "false" by clicking checkbox. And mouse moved  outside when the time is 0.
   In that case, notification window is doesn't work. I expected that notification's _showTimer field is null.

anyone have idea? I'm not sure there are bugs or my fault.
thank you.

<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="RadControlsWebApp4._Default" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head id="Head1" runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
            <Scripts>
                <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
                <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
                <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
            </Scripts>
        </telerik:RadScriptManager>
    </div>
    <script type="text/javascript">
        var firstNotificationShowTime = 0;
        var firstNotificationHideTime = 0;
         
        var firstNotificationStatus;
 
        var timer;
 
        $(document).ready(function () {
            var firstNotification = $find("<%=RadNotificationFirst.ClientID %>");          
 
            $("#TextBoxFirstNotificationShowInterval").val(firstNotification.get_showInterval() / 1000);
            $("#TextBoxFirstNotificationHideInterval").val(firstNotification.get_autoCloseDelay() / 1000);
 
            firstNotificationShowTime = firstNotification.get_showInterval() / 1000;
 
 
            firstNotificationStatus = "show";
 
 
            setTimeout("CountInterval()", 0);
 
            timer = setInterval("CountInterval()", 1000);
 
        });
 
        function CountInterval() {
            if (firstNotificationStatus == "show") {
                if (firstNotificationShowTime > 0) {
                    firstNotificationShowTime -= 1;
                    $("#tdOutputFirst").html("Notification will show after " + firstNotificationShowTime + " seconds");
                }
            }
            else {
                if (firstNotificationHideTime > 0) {
                    firstNotificationHideTime -= 1;
                    $("#tdOutputFirst").html("Notification will hide after " + firstNotificationHideTime + " seconds");
                }
            }
        }
 
        function ChangeNotificationTimer() {
            var firstNotification = $find("<%=RadNotificationFirst.ClientID %>");
 
 
            var firstNotificationShowInterval = $("#TextBoxFirstNotificationShowInterval").val();
            var firstNotificationHideInterval = $("#TextBoxFirstNotificationHideInterval").val();
 
            firstNotification.set_showInterval(firstNotificationShowInterval * 1000);
            firstNotification.set_autoCloseDelay(firstNotificationHideInterval * 1000);
 
            firstNotificationShowTime = firstNotification.get_showInterval() / 1000;
            firstNotificationHideTime = firstNotification.get_autoCloseDelay() / 1000;
 
            return false;
        }
 
        function OnClientShown(sender, args) {
             
            firstNotificationStatus = "hide";
            firstNotificationHideTime = sender.get_autoCloseDelay() / 1000;
 
        }
 
        function OnClientHidden(sender, args) {
            firstNotificationStatus = "show";
 
            if (sender.get_keepOnMouseOver() == false) {
                firstNotificationShowTime = (sender.get_showInterval() - sender.get_autoCloseDelay()) / 1000;
            }
            else {
                firstNotificationShowTime = sender.get_showInterval() / 1000;
            }
        }
 
        function ToggleKeepOnMouseOver(args) {
            var Notification;
 
            Notification = $find("<%=RadNotificationFirst.ClientID %>");
 
            var keepOnMouseOver = Notification.get_keepOnMouseOver();
 
            if (keepOnMouseOver == true) {
                Notification.set_keepOnMouseOver(false);
            }
            else {
                Notification.set_keepOnMouseOver(true);
            }
        }
             
    </script>
    <table cellpadding="0" cellspacing="0" style="margin: 0 auto;">
        <tr>
            <td class="tdLeftContent">
                First Notification Show Interval
            </td>
            <td class="tdRightContent">
                <asp:TextBox ID="TextBoxFirstNotificationShowInterval" runat="server"></asp:TextBox>
                second
            </td>
 
        </tr>
        <tr>
            <td >
                First Notification Hide Interval
            </td>
            <td>
                <asp:TextBox ID="TextBoxFirstNotificationHideInterval" runat="server"></asp:TextBox>
                second
            </td>
        </tr>
        <tr>
            <td>
                KeepOnMouseOver
            </td>
            <td >
                <asp:CheckBox ID="CheckBoxFirstNotificationKeepOnMouseOver" Checked="true" runat="server"
                    Text="" onclick="return ToggleKeepOnMouseOver('first');" />
            </td>
        </tr>
        <tr>
            <td style="text-align: center;" colspan="4">
                <asp:Button ID="Button1" runat="server" Text="Change" OnClientClick="return ChangeNotificationTimer();" />
            </td>
        </tr>
        <tr>
            <td id="tdOutputFirst" style="text-align: center;" colspan="2">
            </td>
            <td id="tdOutputSecond" style="text-align: center;" colspan="2">
            </td>
        </tr>
    </table><div id="print"></div>
    <telerik:RadNotification ID="RadNotificationFirst" runat="server" Position="Center"
        ShowInterval="7000" AutoCloseDelay="4000" Width="300" Height="200" Title="First Notification"
        OffsetX="0" OffsetY="0" OnClientShown="OnClientShown" OnClientHidden="OnClientHidden"
        TitleIcon="" EnableRoundedCorners="true">
    </telerik:RadNotification>
    </form>
</body>
</html>
Marin Bratanov
Telerik team
 answered on 19 Sep 2011
2 answers
252 views
First of all - Congratulations

Having the option to set an aspect ratio is a super cool feature. Unfortunately I did not find where I can set my own ratios like 16:9 or 4:3 for example.

It would also be nice if I could reset the first image

Any ideas

Markus
Markus
Top achievements
Rank 2
 answered on 19 Sep 2011
0 answers
102 views
Hi

In my grid I have two text box controls.
And two text boxes have text Changed events.
Whenver text change event is performing whole grid is moving.
Could some one please help me how to stop this.


Thanks
Prathyusha
prathyusha
Top achievements
Rank 1
 asked on 19 Sep 2011
5 answers
236 views
I'm trying to make my RadRotator item vertical scrollable in case the div overflow but it seem to render as hidden.
How should I style the div in my ItemTemplate?
See page snipplet below:

<telerik:RadRotator ID="radRotator1" runat="server" EnableViewState="true"
    Width="940px" Height="550px"
    ItemWidth="900px" 
    BorderStyle="None" BorderWidth="0" BorderColor="Transparent"  
    WrapFrames="true"
    ScrollDirection="Left, Right" RotatorType="SlideShowButtons"
    OnItemDataBound="radRotator1_ItemDataBound" >
    <ItemTemplate>
    <div style="overflow:scroll;">
       <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="false" 
            ShowHeader="true" ShowFooter="false">             
        <Columns>
        ...
        </Columns>
</asp:GridView>
    <asp:Panel ID="pnlTest1" runat="server" Visible="false"> Panel content test. </asp:Panel>     </div>     </ItemTemplate> </telerik:RadRotator>
Gibson Wong
Top achievements
Rank 1
 answered on 19 Sep 2011
2 answers
131 views
Hi,

I have a custom Dropdown tool (telerik:EditorDropDown)in my RadEditor. I know how to get the selected value/text from client side using Javascript. But how can I get the selected value from Server side (C#)?

Thanks
Ning
Ning
Top achievements
Rank 1
 answered on 19 Sep 2011
4 answers
91 views

Hi,

When I click on addNewItem Of  rad Frid.
How to place the Focus on First Control of inserted
If column  is GridBound Column like as follows

 

<telerik:GridBoundColumn DataField="Address1" UniqueName="Address1" HeaderText="<%$ Resources:lbl_Employee_Address1 %> " ShowFilterIcon="false"

 

 

EditFormColumnIndex="0" Visible="false" >

 

 

</telerik:GridBoundColumn>

 



Could some one please help me regarding this.

I really appreciate it.
Thanks in advance

--Prathyusha
prathyusha
Top achievements
Rank 1
 answered on 19 Sep 2011
5 answers
493 views
I have this layout:

<RadGrid>
   <MasterTableView>
      <CommandItemTemplate>
         <RadToolBar>

How can I "find" the radtoolbar to disable buttons?  I can do a "myControl.FindControl("myGrid")... but i cannot find the toolbar do enable/disable it.  I can also do a grid.MasterTableView.GetColumn("myButton").Visible = false but again, can't seem to "find" the toolbar or it's buttons.
Jayesh Goyani
Top achievements
Rank 2
 answered on 19 Sep 2011
1 answer
107 views
Hello,

I'm trying to move the page of my grid when my page loads. At the moment I'm able to load the correspondent data to the page I want to move, however the pagination control remains always in the page number one.

Any help?

Thanks
Amaro Barros
Princy
Top achievements
Rank 2
 answered on 19 Sep 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?