Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
141 views

I would like to have a monthview where the rows for empty weeks are collapsed, but weeks with appointments expand their height to fit the max number of appointments in that row. I would like the appointments to have a custom height (100px).

For example: If Tuesday of a week has 3 appointments the row for that week would be (3*100px) + date header. Otherwise if a week doesn't have appointments the height would be the height of the date header. 

let me know if you need more info or screen shots.

 

thanks,

 

Peter Milchev
Telerik team
 answered on 29 May 2019
5 answers
115 views

In a web form .net application, I need to allow users to be able access a 'generic' template letter that can be viewed in Karen, Burmese, and Nepali. 

What I know is the following:

1. I know if I place the following in the html, '<?xml version="1.0" encoding="utf-8" ?>', the radeditor should be able to handle the languages listed above, correct? If not correct, would you tell me what I need to do for the languages to be recognized?

2. If I need to place something like '<?xml version="1.0" encoding="utf-8" ?>' in the html for the radiator to know foreign languages are being used, can you tell me in the html where this needs to be placed? I am assuming before the <html></html> tags.

3. I am asking the following question since I need to download specific fonts for Karen and Burmese in a Word 2016 for the words to appear in the Word editor. Thus for the radeditor, would I need to place these fonts in the readeditor? If so, can tell me how to add the Karen and/or Burmese fonts to the radeditor and how the radeditor needs to be programmed to access these fonts? 

**Note: The users only need to view the Karen, Burmese, and Nepali words. They do not need to edit the words. The words will be loaded to the radeditor for them.

 

Rumen
Telerik team
 answered on 29 May 2019
5 answers
282 views

Hello, using keyboard, tabbing thru each date but I could not see the focus, how can I set the focus on each date I tab thru? I used this " RadCalendar1.SelectedDate = DateTime.Now" but it only give me the focus of the current today date.  Thanks.

  Protected Sub PopulateCalendar(ByVal UserID As Integer)

        Dim AppointmentList As New List(Of AppointmentDTO)

        AppointmentList = AppointmentManager.GetList_ByUserIDs(UserID)      

      
        Me.AppointmentCount = AppointmentList.Count

        For Each appt As AppointmentDTO In AppointmentList
            Dim NewDay As New RadCalendarDay(RadCalendar1)
            'NewDay.Date = New DateTime(2010, 11, 12)
            NewDay.Date = New DateTime(appt.StartTime.Year, appt.StartTime.Month, appt.StartTime.Day)
            NewDay.IsSelected = False
            NewDay.ItemStyle.CssClass = "rcSelected"
            NewDay.ToolTip = "Appointment scheduled today"
            RadCalendar1.SpecialDays.Add(NewDay)

        Next
       
       RadCalendar1.SelectedDate = DateTime.Now
       
    End Sub


--

       <telerik:RadCalendar ID="RadCalendar1" runat="server" TitleFormat="MMMM yyyy"  Width="100%"
                     ShowRowHeaders="false"    UseRowHeadersAsSelectors="false" UseColumnHeadersAsSelectors="false" EnableViewSelector="false">
        <ClientEvents OnDateClick="Calendar_OnDateClick"></ClientEvents>
                     <WeekendDayStyle CssClass="rcWeekend"></WeekendDayStyle>
                     <CalendarTableStyle CssClass="rcMainTable"></CalendarTableStyle>
                     <OtherMonthDayStyle CssClass="rcOtherMonth"></OtherMonthDayStyle>
                     <OutOfRangeDayStyle CssClass="rcOutOfRange"></OutOfRangeDayStyle>
                     <DisabledDayStyle CssClass="rcDisabled"></DisabledDayStyle>
                     <SelectedDayStyle CssClass="rcSelected"></SelectedDayStyle>
                     <DayOverStyle CssClass="rcHover"></DayOverStyle>
                     <FastNavigationStyle CssClass="RadCalendarMonthView RadCalendarMonthView_Office2007"></FastNavigationStyle>
                     <ViewSelectorStyle CssClass="rcViewSel"></ViewSelectorStyle>
    </telerik:RadCalendar>















Rumen
Telerik team
 answered on 28 May 2019
3 answers
277 views

I am looking for, if it is possible, to trigger the editing of a RadEditor on load, that is in Inline Edit Mode.  The user clicking into the editable area of the RadEditor triggers the editing, showing the cursor and the toolbar.  I want to have this functionality, but on load.

I have tried several different javascript triggers/onclicks/focus of different elements within the RadEditor, and even the RadEditor itself.  I have tried putting all these things inside of timeouts, so that happen latter in the DOM lifecycle.  All without effect.

The closest thing I have been able to accomplish is showing the cursor inside the window by using the following javascript/jquery:

$(editor.get_contentArea()).focus();

This of course doesn't trigger the actual editing, as the toolbar doesn't show, nor does clicking out fire the "OnClientInlineEditCompleted" event.

I hope someone has some ideas on how I might accomplish this functionality.

Thanks,

Josh

Rumen
Telerik team
 answered on 28 May 2019
5 answers
777 views
hi, i have problem to find Telerik.Web.Device.Detection in my reference. i cannot use this function. I try to add reference but not listed in my VS. So how i can add Telerik.Web.Device.Detection in my VS
Jan
Top achievements
Rank 2
 answered on 28 May 2019
1 answer
448 views

I have a spreadsheet in an ASPX page with a custom provider. I've built out the GetSheets and SaveWorkbook methods to retrieve data from and save data to a SQL database table. Since an ID is assigned to the record when inserted into the database (to determine whether to update or insert on next save), I'd like to reload the spreadsheet with current data after the save completes. So far I've tried the following:

-adding a spreadsheet.get_kendoWidget().refresh() to the end of Telerik.Web.UI.RadSpreadsheet.prototype._onCallbackResponse

-forcing a PostBack with _doPostBack() so I get Page_Init and Page_Load again

I've also looked through the forums and scanned through the javascript in the page itself, but I can't seem to find a way to force the control to reload itself after the Save completes. Any assistance or direction would be appreciated. Thanks!

Peter Milchev
Telerik team
 answered on 28 May 2019
9 answers
292 views
Hello,

could you please provide more examples, how to save or persist control's state ? Some simple examples for ComboBox, Grid and PanelBar ? I use C# in combination with master page...

Thank you.

Best regards

Vasssek
Alex
Top achievements
Rank 1
 answered on 27 May 2019
1 answer
121 views
Is there any way to check whether the editform of a radgird is opened outside the radgrids ItemBound event?
Vessy
Telerik team
 answered on 27 May 2019
7 answers
200 views

Hi,

I integrated a dynamic tooltip in a web site that use masterpage, RadMenu, RadPanel, sitemap, etc.

My pages Title are feed by the sitemap in the MasterPage see code below.

Each time RadToolTip do a request (ajax), my page title is reset to "Untitled Page".

Erik

<script runat="server">  
    public string GetShortCulture()
    { return (CultureInfo.CurrentCulture.ToString()).Substring(0, 2); }
    public bool ShowPnlSearch
    { get { return pnlSearch.Visible; } set { pnlSearch.Visible = value; } }
    public bool ShowpnlBreadCrumb
    { get { return pnlBreadCrumb.Visible; } set { pnlBreadCrumb.Visible = value; } }
    public bool ShowPnlTopOfPage
    { get { return pnlTopOfPage.Visible; } set { pnlTopOfPage.Visible = value; } }
    public bool ShowHlnkAccueil
    { get { return RoImgAccueil.Visible; } set { RoImgAccueil.Visible = value; } }
    public bool ShowSepAccueil
    { get { return lblSep.Visible; } set { lblSep.Visible = value; } }
    public bool ShowPnlMenuSec
    { get { return pnlMenuSec.Visible; } set { pnlMenuSec.Visible = value; } }

    public string GetPageTitle()
    {
        if (SiteMapDataSource1.Provider.CurrentNode != null)
        { return ConfigurationManager.AppSettings["pageTitlePrefixe"].ToString() + SiteMapDataSource1.Provider.CurrentNode.Title.ToString(); }
        else { return Page.Title; }
    }

</script>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>
        <%=GetPageTitle()%>
    </title>
    <meta name="abstract" content="<%$ Resources:rscAbstract %>" />
    <meta name="author" content="Erik Paquet" />
    <meta name="distribution" content="global" />
    <meta name="revisit-after" content="5 days" />
    <meta name="copyright" content="<%$ Resources:rscCopyright%>" />
    <meta name="robots" content="follow,index" />
    <link href="favicon.ico" rel="shortcut icon" type="image/x-icon" />
    <asp:contentplaceholder id="head" runat="server">
    </asp:contentplaceholder>

Dmitrii
Top achievements
Rank 1
 answered on 27 May 2019
4 answers
451 views
Hi,

I have a datagrid with a CheckBox column. I need this column to only have 1 check box check at any one time. I guess this would be possible through a javascript function? Please can you give me a tip on how to implement this. I have tried using OnCheckedChanged="CheckedChanged" 
but this is server side. THat is ok, but a client side function would be preferable.

thanks


                  <telerik:GridTemplateColumn UniqueName="chkEmailAddrField" HeaderText="Email Address Field" HeaderStyle-HorizontalAlign="Center"
                         ItemStyle-HorizontalAlign="Center">
                    <ItemTemplate>
                        <asp:CheckBox id="chkEmailAddrField" runat="server" OnCheckedChanged="CheckedChanged"  AutoPostBack="True" Checked='<%# DataBinder.Eval( Container, "DataItem.EmailAddrField") %>'></asp:CheckBox>
                    </ItemTemplate>
                 </telerik:GridTemplateColumn>

thanks
David (new to controls)
reza
Top achievements
Rank 1
 answered on 26 May 2019
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?