Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
181 views
Hi Team,
 
I need to disable the calender tool tip in the rad scheduler.
whenever i place the mouse over in >next month) it display the tool tip.
so i shouldn't do that. That mouse over has to stop o that area.
Because I've implemented the rad manager tool tip for every appointment.
If i place through the next month icon of the calendar it returns the string.
It shouldn't done like that. If so,i'm getting exception like input string is not in correct format.
 
here is my code and attached image.
 
protected void RadToolTipManager1_AjaxUpdate(object sender, ToolTipUpdateEventArgs e)
{
 RadScheduler1.ToolTip = string.Empty;
 this.AdminController.State.Session.Schedule = new Schedule(userSession);
 int aptId = int.Parse((e.TargetControlID.Split('_')[3]));
 Appointment apt = RadScheduler1.Appointments[aptId];
 this.AdminController.State.Session.Schedules =        
 this.AdminController.RetrieveAllEventSchedules();
 for (int i = 0; i < this.AdminController.State.Session.Schedules.Count; i++)
  {
  if ((apt.Subject ==  
  this.AdminController.State.Session.Schedules[i].DisplayPermitName) && 
  apt.ID.ToString() ==
  this.AdminController.State.Session.Schedules[i].ID.ToString())
  {
  apt.Subject = "Permit Name : " + this.AdminController.State.Session.Schedules[i].DisplayPermitName + "<br>" + "Client Type Name : " + this.AdminController.State.Session.Schedules[i].DisplayClientTypeName + "<br>" + "Facility Name : " + this.AdminController.State.Session.Schedules[i].DisplayFacilityName + "<br>" + "Resource Name : " + this.AdminController.State.Session.Schedules[i].DisplayResourceName;
    }
  }
 AppointmentToolTip toolTip = (AppointmentToolTip)LoadControl("~/UserControls/AppointmentToolTip.ascx");
 toolTip.TargetAppointment = apt;
 e.UpdatePanel.ContentTemplateContainer.Controls.Add(toolTip);
 aptId = 0;
}
 
Awaiting for your quick reply.
 
 
Thanks,
Daniel.B
Peter
Telerik team
 answered on 22 Sep 2010
1 answer
172 views
HI,

In my radgrid, header is not displaying properly. on the right hand side. there is space coming there with a horizontal line. (see the image) How to remove this?

.rgRow td
{
    border-bottom: 1px dotted #aaaaaa !important;
    border-bottom-style: dotted !important;
    border-bottom-width: inherit !important;
}
.rgAltRow td
{
    border-bottom: 1px dotted #aaaaaa !important;
    border-bottom-style: dotted !important;
    border-bottom-width: inherit !important;
}
.rgPageFirst, .rgPagePrev, .rgPageNext, .rgPageLast
{
    display: none !important;
}
div.RadGrid_Default .rgHeader, div.RadGrid_Default th.rgResizeCol
{
    background-image: none !important;
}

i tried in this way but it didn't work....

Here is my grid

<div style="width: 100%; height: 650px; overflow: auto; overflow-y: hidden">
    <telerik:RadGrid ID="gvPjtMnt" runat="server" Height="645px" Width="99%" AutoGenerateColumns="false"
        BorderWidth="2px" BorderStyle="Solid" BackColor="White" AllowPaging="True" PagerStyle-AlwaysVisible="true"
        PageSize="20" AllowSorting="True" AllowFilteringByColumn="false" OnNeedDataSource="gvPjtMnt_OnNeedDataSource"
        OnItemCommand="gvPjtMnt_ItemCommand" OnItemCreated="gvPjtMnt_ItemCreated" OnItemDataBound="gvPjtMnt_ItemDataBound">
        <HeaderStyle Height="20px" BackColor="#004000" Font-Size="8pt" Font-Bold="True" ForeColor="White"
            HorizontalAlign="Center" BorderColor="White" BorderWidth="1px" />
        <AlternatingItemStyle Font-Size="8pt" BackColor="#F5F5E9" HorizontalAlign="Center"
            BorderWidth="1px" BorderColor="White" />
        <ItemStyle HorizontalAlign="Center" />
        <ExportSettings ExportOnlyData="true" IgnorePaging="true" FileName="Project Management">
        </ExportSettings>
        <MasterTableView GridLines="None" CommandItemDisplay="Top" DataKeyNames="ProjectId"
            HorizontalAlign="Center">
            <CommandItemTemplate>
                <table style="width: 100%">
                    <tr>
                        <td align="right">
                            Total Records found: <asp:Label ID="lblTotRecCount" runat="server" Font-Bold="True"
                                Font-Size="10pt" ForeColor="Black" Text="0"></asp:Label>
                        </td>
                        <td align="right" style="width: 2%">
                            <asp:ImageButton ID="lnkExportAll" ImageUrl="~/images/Excel.png" ToolTip="Export All"
                                runat="server" OnClick="ExportAll_Click" />
                        </td>
                        <td align="right" style="width: 1%">
                               
                            <asp:ImageButton ID="ExportToExcelButton" runat="server" ImageUrl="~/images/ExportToExcel.gif"
                                ToolTip="Export to Excel" OnClick="ExportExcel_Click" />
                        </td>
                    </tr>
                </table>
            </CommandItemTemplate>
            <Columns>
            .... few columns here ......
            </Columns>
            <ItemStyle ForeColor="#3C5F22" Font-Size="8pt" BackColor="White" BorderWidth="0px"
                BorderColor="White" />
            <PagerStyle Mode="NextPrevAndNumeric" AlwaysVisible="true" />
        </MasterTableView>
        <ClientSettings AllowColumnsReorder="true">
            <%--<ClientEvents OnGridCreated="GridCreated" />--%>
            <Scrolling AllowScroll="true" UseStaticHeaders="true" />
            <Resizing AllowColumnResize="true" EnableRealTimeResize="false" ResizeGridOnColumnResize="false"
                AllowRowResize="false" />
        </ClientSettings>
    </telerik:RadGrid>
</div>
Dimo
Telerik team
 answered on 22 Sep 2010
3 answers
427 views
Hi,
I am trying to validate rad combobox in alot of ways, even i used the simplest way but it's not working, even it was working correctly in 2009 Q3 version.

<telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server">
        <asp:DropDownList ID="ddl" runat="server">
            <asp:ListItem Text="aaaa" Value="1"></asp:ListItem>
            <asp:ListItem Text="bbbb" Value="2"></asp:ListItem>
        </asp:DropDownList>
    <asp:RequiredFieldValidator ID="ddlrfv" runat="server" Display="Dynamic"
        ControlToValidate="ddl" ErrorMessage="Please Select"
        InitialValue ="-1" Text="*" ValidationGroup="ddl_vg">
    </asp:RequiredFieldValidator>
    <telerik:RadComboBox ID="rcb" runat="server" ValidationGroup="ddl_vg" Skin="Default" Width="200px" CausesValidation="true">
        <Items>
            <telerik:RadComboBoxItem Text="aaaa" Value="1" />
            <telerik:RadComboBoxItem Text="bbbb" Value="2" />
        </Items>
    </telerik:RadComboBox>
    <asp:RequiredFieldValidator ID="rcbrfv" runat="server" Display="Dynamic"
        ControlToValidate="rcb" ErrorMessage="Please Select"
        InitialValue ="-1" Text="*" ValidationGroup="ddl_vg">
    </asp:RequiredFieldValidator>
    <br />
    <br />
    <asp:Button ID="btn" runat="server" Text="Click" ValidationGroup="ddl_vg" OnClick="btn_Click" />
     
    </telerik:RadAjaxPanel>

protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
this.rcb.Items.Insert(0, new RadComboBoxItem("select item", "-1"));
this.ddl.Items.Insert(0, new ListItem("select", "-1"));
}      
}

i think the above is the simplest example and it's not working, although i need to use it to validate rcb with autocomplete functionality or with filteration functionality.

i am using version 2010 Q1
Kalina
Telerik team
 answered on 22 Sep 2010
2 answers
93 views
Hi,

I am using Radeditor for body content for sending email  through programming.

If i made any formatting in radeditor like bold, color, fontsize etc and sending email , i am not receiving any formatting in mails.

I am able to receiving all the data in single line without any formating in mails.

Can anyone help me where the problem exists  

Need urjent help in this issue.

Regards,
Prathap

Prathap Narravula
Top achievements
Rank 1
 answered on 22 Sep 2010
1 answer
226 views
Hello All,

I have a user control inside which there is a RadGrid and I want to fetch the ID of the text-box which is inside the RadGrid in the user control in the main CS page from where the user control is being called.
Princy
Top achievements
Rank 2
 answered on 22 Sep 2010
1 answer
77 views
Hi!

I create a Skin for the RadGrid. There's nothing wrong with the skin when I input the data.
But when I click "Edit" to edit the row data, all the row borders are showed perfectly except the "Delete" row.
This problem just happens in IE, not in Firefox.
Note: I'm using VS2010, framework 4.0, IE 6.0, and the newest version of Telerik  

Thanks!
Dimo
Telerik team
 answered on 22 Sep 2010
1 answer
97 views
in my radcombobox i setup

EnableAutomaticLoadOnDemand = true

By default when i click on the radcombobox it populates the whole list when i click on the dropdown arrow.

What I want to do is: enter some random text, click on the dropdown arrow, the radcombobox then populates the list filtered by the custom text.

is this possible?

thanks in advance
Kalina
Telerik team
 answered on 22 Sep 2010
1 answer
113 views
Here i attached two files one is widgets showing as well in the first file
First row takes two widgets and second row takes three widgets , this is correct.
but in the scond file  second row takes only two wdgets this is happening while resize the browser
i need three widgets should get take in the second row

Please help me.
Pero
Telerik team
 answered on 22 Sep 2010
1 answer
87 views
hi,

like i posted before, i have a nodetemplate with three images and one label. if the image changes, the binding event in the nodetemplate fires and the new imageurl is set, but it's not visualized. after pressing f5 it changes! where is my mistake? what can i do?

thank you for your help!!!
Nikolay Tsenkov
Telerik team
 answered on 22 Sep 2010
8 answers
242 views
Hi,

how to add water mark  text to the rad editor control

regards
priya
Rumen
Telerik team
 answered on 22 Sep 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?