Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
161 views
Is it possible to add a tooltip to the TitleBar icon, preferably on the server side? I know the tooltip for the TitleBar buttons can be changed thru Telerik.Web.UI.RadWindowUtils.Localization , but there isn't anything for Icon. 

My app allows the user to open multiple windows for various object (such as classes and students). These windows can be minimized, so the user may end up with numerous minimized windows. When a window is minimized I want to be able to identify through the TitleBar icon, with the help of a tooltip, the name of the student.  Note, I do not want to use the TitleBar title as that is already used to identify the class. Besides when the radwindow is minimized the TitleBar title is not fully viewable.

Thanks in advance!
Marin Bratanov
Telerik team
 answered on 29 Nov 2013
1 answer
79 views
I'm trying to make WCF binding to work on SharePoint site. Basically all code is nearly the same as it is in demo example.
After some investigation I found out that on OnClientRequestSuccess() event I see appointments array - so it looks like it manages to get appointments from the service. However on OnClientDataBound() event - there are no appointments. As a result - there are no visible appointments in the view by some reason.

I tried similar scenario with isolated Web project (outside SharePoint site) - and it works. So it's somehow related to SharePoint and related changes.. Any ideas?

Main difference related to SharePoint is in *.svc file, it looks like that:

<%@ ServiceHost Language="C#" Debug="true" Service="CustomPlannerService, $SharePoint.Project.AssemblyFullName$" Factory="Microsoft.SharePoint.Client.Services.MultipleBaseAddressWebServiceHostFactory, Microsoft.SharePoint.Client.ServerRuntime, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>

Also I had to implement some sort of authorization, because anonymous access is not supported:
protected void RadScheduler1_ResourcesPopulating(object sender, ResourcesPopulatingEventArgs e)
{
HttpCookie cookie = FormsAuthentication.GetAuthCookie(User.Identity.Name, false);
string cookieHeader = string.Format("{0}={1}", cookie.Name, cookie.Value);
e.Headers.Add(HttpRequestHeader.Cookie, cookieHeader);
}

My web.config, which is located in ISAPI folder under SharePoint root (it's just an additional/local web.config):
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <system.web>
    <customErrors mode="Off"/>
  </system.web> 
  <system.web.extensions>
    <scripting>
      <webServices>
        <jsonSerialization maxJsonLength="5000000"/>
      </webServices>
    </scripting>
  </system.web.extensions>   
  <system.serviceModel>
    <services>
      <service name="CustomPlannerService">
        <endpoint address="" behaviorConfiguration="CustomPlannerServiceBehavior" binding="webHttpBinding" contract="CustomPlannerService"/>
      </service>
    </services>
    <behaviors>
      <endpointBehaviors>
        <behavior name="CustomPlannerServiceBehavior">
          <enableWebScript/>
        </behavior>
      </endpointBehaviors>
      <serviceBehaviors>
        <behavior name="">
          <serviceMetadata httpGetEnabled="true"/>
          <serviceDebug includeExceptionDetailInFaults="false"/>
        </behavior>
      </serviceBehaviors>
    </behaviors>
  </system.serviceModel> 
</configuration>


Update: found out that issue was coming because my webservice was returning data in slightly different format. Managed to workaround it and now events are shown in the Scheduker.
Boyan Dimitrov
Telerik team
 answered on 29 Nov 2013
1 answer
57 views
I'm trying to populate a dictionary class with opening and closing times, by date for the scheduler. This will allow me to enable and disable timeslots for specific dates. I have the logic working where it will enable and disable timeslots correctly, but the timing is off in creating the dictionary entries. I first attempted to populate the dictionary class in the page_init event, but the SelectedView of the scheduler is DayView everytime the page_init kicks off. So, I looked at the NavigationCommand event of the scheduler, but that gets kicked off AFTER the TimeSlotCreated event. I can't put the dictionary class creation into the TimeSlotCreated event, because that gets kicked off for every timeslot that gets shown.

What scheduler event is available BEFORE the TimeSlotCreated event, that has the SelectedView that is going to be shown?

In other words, the first time the page is loaded I start with SelectedView=DayView. Then I click on the Week link. Before the TimeSlotCreated event fires, I need to know where I can put my logic to populate the dictionary class where the SelectedView=WeekView. I need the SelectedView to show what the user selected, not what they had before the new selection.

I'm doing this in the Code-behind.
Plamen
Telerik team
 answered on 29 Nov 2013
4 answers
549 views
Hello all, 

Is there a way to access input control of RadAsyncUpload control from Grid ItemDataBound event?
When grid row is in edit mode, I need to display the file name that user have previously chosen.

I used findControl of RadAsyncUpload control like below. But cannot find child control.

protected void gridMembers_ItemDataBound(object sender, GridItemEventArgs e)
{
            if (e.Item.IsInEditMode)
            {
                RadAsyncUpload ascUpload = e.Item.FindControl("RadAsyncUploadFile") as RadAsyncUpload;
                Control l_Control = ascUpload.FindControl(ascUpload.ClientID.Replace(ascUpload.ID, "file1"));
// null
            }
}

Thanks in advanced,
Robin
Shinu
Top achievements
Rank 2
 answered on 29 Nov 2013
3 answers
80 views
Hi guys i want to edit the upper part of the tab strip like i've shown in this picture:

http://shrani.si/f/0/bC/JvWtwbF/tabstrip.png

I'd like to add user info and app info since its a touch app i wanna use all the space i can.

 is there a good solution for this or should i "hack" it with javascript after page load?
Shinu
Top achievements
Rank 2
 answered on 29 Nov 2013
1 answer
221 views
Hi,

I have to hide a template column on the databound event conditionally. How can I achieve this.

Thanks in Advance
Savyo
Princy
Top achievements
Rank 2
 answered on 29 Nov 2013
5 answers
101 views
I have a hierarchical grid with 3 levels (MasterTableView and 2 DetailTables).  I want to export each level separately depending on the option the user has selected.  I could not find a solution to get the levels exported.  Any help is appreciated.  Thanks
Kostadin
Telerik team
 answered on 29 Nov 2013
1 answer
113 views
Dear Telerik,

My grid is just one template column which has amongst other controls a RadTabStrip and 5 Multipages.
To reduce the page size I need to set  RenderSelectedPageOnly="true" on the MultiPage and then load each multi page with ajax as needed.

How can I access the TabClick event and control the selected tabs and multipages as normal please?

Cheers,

Jon
Eyup
Telerik team
 answered on 29 Nov 2013
1 answer
130 views

Hi Team,

I updated latest telerik version 2013.3.1114.45

 

In latest telerik Dll ,array of  RadCombobox  assingment at client site code is occurring from bottom to top.

As per given below:

var ddlPublishType = Telerik.Web.UI.RadComboBox.ComboBoxes[4];

var ddlPublishEventOnStatus = Telerik.Web.UI.RadComboBox.ComboBoxes[3];

var ddlPublishEventOnCycle = Telerik.Web.UI.RadComboBox.ComboBoxes[2];

var ddlPublishEventOnDynamic = Telerik.Web.UI.RadComboBox.ComboBoxes[1];

But In old telerik version 2009.3.1208.35 , array of RadCombobox  assingment was occurring from top to bottom.

As per given below:

var ddlPublishEventOnStatus = Telerik.Web.UI.RadComboBox.ComboBoxes[2];

var ddlPublishEventOnCycle = Telerik.Web.UI.RadComboBox.ComboBoxes[3];

var ddlPublishEventOnDynamic = Telerik.Web.UI.RadComboBox.ComboBoxes[4];


you can compare the difference between both red color + Italic font. Here apart from array index every thing is same. I just want to know why it is happening?
Nencho
Telerik team
 answered on 29 Nov 2013
0 answers
81 views
After upgrade to version 2013.3.1015 and later (including version 2013.3.1114) audio code in IE11 doesn't working. Latest functional version is  2013.2.717. Telerik has closed my support ticket and only created feedback item :-(.

Please all vote for this fix. Thank you to you all.

http://feedback.telerik.com/Project/108/Feedback/Details/65898-the-audio-code-functionality-of-radcaptcha-is-not-working-under-ie11

Kamil Zmeskal
Top achievements
Rank 1
 asked on 29 Nov 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?