Telerik Forums
UI for ASP.NET AJAX Forum
9 answers
175 views
Hi,

I am trying to show a tool tip on resource header just like the one on appointment. I am grouping my scheduler by TechNames and would like to show  some information when a user hovers over a  technician. I have multiple resources in scheduler(TechName, TicketStaet,...).Following code executes multiple times and slows my application. Is there a way to know if a tooltip is already assigned to a tech?
 protected void rsTicketsSchedule_ResourceHeaderCreated(object sender, ResourceHeaderCreatedEventArgs e)
    {
        ((Label)e.Container.FindControl("ResourceLabel")).Text = e.Container.Resource.Text;
        
        if (e.Container.Resource.Type == "TechName")
        {
            //need to avoid duplicate items in the list
            //Register control for tooltip:
        ToolTipTargetControl tooltipTargetControl = new ToolTipTargetControl(e.Container.FindControl("ResourceLabel").ClientID, true);
        if(RadToolTipManagerUserName.TargetControls.Contains(tooltipTargetControl)  == false)
            RadToolTipManagerUserName.TargetControls.Add(e.Container.FindControl("ResourceLabel").ClientID, true);
       }
    }

}
 
Any idea?

Regards,
Prava
Plamen
Telerik team
 answered on 04 Aug 2014
1 answer
307 views
I'm checking to see if this functionality is available in the RadScheduler control.  The two images I have attached show what I have been able to accomplish, and what I wish to accomplish. 

My application has a daily note table that is date specific, not appointment or resource specific.  I can modify the CssClass attributed to the RadScheduler's TimeSlots for a date that has a note in the database but that's really unsightly, as you see in the image.

I would really like to be able to modify the CssClass for the Date Header if that date has an entry in the notes table.  Even better would be a small link so I can popup the note for viewing, or even a tooltip situation for hovering to see the note.

Thanks!
Greg
Plamen
Telerik team
 answered on 04 Aug 2014
1 answer
271 views
Hello,

1. open a hyper link manager and insert the following link: http://google.com?a=1&b=2
2. click ok and check the resulted HTML in the editor (html view)

ampersand in the href attribute is encoded:

Is there a way to make it not encode query string separator.
Ianko
Telerik team
 answered on 04 Aug 2014
1 answer
120 views
Hi,

we have some serious problems after migrating from Windows 7 to Windows 8.1. The excel export is not working the way it should anymore.

We get the following behavior:
- we trigger the export method without any error
- excel is opening from the browser
- we see an excel sheet but not the way we want it to be. It seems like the export method did a print of the whole page. We get all elements from our site in our excel sheet. all filters that where applied previously on the grid don't show any effect. We see the whole amount of possible results.

Do you have any suggestions?

Thanks in advance!
Maximilian Morlock
Daniel
Telerik team
 answered on 04 Aug 2014
5 answers
307 views
I'm trying to set up a yearly calendar and have a muti view of months 2X6, so all 12 months show, pretty simple.

 <telerik:RadCalendar ID="radCalendarYear" runat="server" MultiViewColumns="6" ShowRowHeaders="False"  MultiViewRows="2" 
         EnableNavigation="False" EnableMonthYearFastNavigation="false"
         UseColumnHeadersAsSelectors="false" ShowOtherMonthsDays="false" Width="99%">
    </telerik:RadCalendar>

Now, I want to run through the whole year and set the absent dates for the year. I want to replace the month day with an "E" for excused, and a "U" for Unexcused , and set the background color to red or yellow.

I looked at the Day render process, example, and it does what I want, but I cannot get it to work for a multiview. So, am i using the wrong method? Should I use the Special Days process instead? And if so, how would I replace the cell text in this process?

Could anyone help me with a subroutine example of looping through a datatable (or an iList), and setting the text and color of a multi-view calendar for the corresponding matching dates (calendar date to datatable date)?

Special days? or DayRender?

Thanks so much
,
~bg
Eyup
Telerik team
 answered on 04 Aug 2014
2 answers
134 views
On my site i have a page called schedule.aspx :

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="schedule.aspx.cs" Inherits="aro.Schedule" MasterPageFile="~/UI/Templates/Default.Master" Theme="Default" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

Below tha i have 2 asp:content (headers).
After that a asp:content holding 2 dropdown lists and then a radscheduler and a raddock.

The masterpage holds a menu which is shown at the top and a footer shown at the bottom.

Now what i would like to do is when pressing a button show the radscheduler full screen.
So no more dropdowns, no menu's etc, just the radscheduler.

Would it be an idea to put the scheduler inside a dock and resize that dock when pressing a button ?
Of open a new dock and putting the scheduler in that dock ?

After this i want to do the same thing with a page holding a raddock.
In both cases it is related to mobile use, where i want to make optimal use of the room on the screen.

Any ideas would be helpfull :)

Plamen
Telerik team
 answered on 04 Aug 2014
5 answers
317 views
Hi,

I'm running into an issue where a radeditor seems to be ignoring the initial height specified, and only updates to the correct height after a post back to the page.  When I look at the page source, I notice the height is set to 286px even though in the aspx page I have it set to be 250px.

Here's the code from the aspx page:
<telerik:RadEditor ID="re1" runat="server" Skin="Office2010Silver" Width="98%" Height="200px"
                TabIndex="10" ToolsFile="~/Content/toolbarContent.xml" 
                EditModes="Design, HTML" ContentAreaCssFile="~/Content/cssEditorGray.min.css"
                ToolbarMode="Default" StripFormattingOptions="MSWordRemoveAll"  />

Here's the line from the page source when I initially access the page:
<div id="ctl00_MainContent_iContent_re1" class="RadEditor Office2010Silver reWrapper" style="height: 286px; width: 98%;" tabindex="10">

Here's the line after I click a button on the page which does a post back:
<div id="ctl00_MainContent_iContent_re1" class="RadEditor Office2010Silver reWrapper" style="height:200px;width:98%;" tabindex="10">

This issue has just started happening in the past few months and was not always like this.  

Please let me know what further information I can provide to assist in resolving this issue.
Thank you!!
Ianko
Telerik team
 answered on 04 Aug 2014
1 answer
172 views
Good Day All 

i have a masterpage and a RadWindow is opened from the content page. But when i maximize the window it only moves within the Content Page space. i will it to be able to move across the page, even on top of masterpage contents. 

Thanks 

Shinu
Top achievements
Rank 2
 answered on 04 Aug 2014
14 answers
1.0K+ views
Hello,
I am trying to Export the data from a radgrid to a pdf.  I have created the CommandItemTemplate below for what I would like to display in the header:

<

CommandItemTemplate>

 

 

    <div style="text-align:left; padding-bottom:8px; float:left;">

 

 

        <asp:Label ID="lblCompanyDetailReport" runat="server" Text="Company Detail Report" Visible="false" Font-Italic="true" Font-        Names="Verdana" Font-Size="10px"></asp:Label><br />

 

 

        <asp:Label ID="lblFilterSetting" runat="server" Visible="false" Font-Italic="true" Font-Names="Verdana" Font-         Size="8px"></asp:Label>

 

 

        <asp:Label ID="lblDateRange" runat="server" Visible="false" Font-Italic="true" Font-Names="Verdana" Font-        Size="8px"></asp:Label>

 

 

    </div>

 

 

</CommandItemTemplate>

When I export my data, it puts the CommandItemTemplate data above the first radgrid column only.  I would like it to extend as far as it needs.  Is this possible?

Also, the exported RadGrid columns are fixed widths (i.e. the total space is divided equally among all columns).  Is it possible to specify widths for each column? 

I appreciate any help you can provide!

Matt

 

Shinu
Top achievements
Rank 2
 answered on 04 Aug 2014
6 answers
102 views

Your second attempt and still totally useless..

Not sure why I wasted time sending stuff to Telerik, when obviously no one takes any notice..

Show lingdatasource get object datasource.
Objectdatasource also does not work, still locks up..

TOTALLY USELESS even as a display gnatt..
Can you please just make this work without crashing and locking up..

After 5 years of promises, I don't think this is too much to ask.


 
Bozhidar
Telerik team
 answered on 04 Aug 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?