Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
121 views
I am using a calendar to display a selected date or range of consecutive dates, and I am allowing users to change the date(s) by clicking on the calendar. The calendar remains visible all the time and two datepickers are updated when the date on the calendar is changed. The two datepicker controls represent the "start day" and the "end day". If only a single day is selected, then both have the same date. The problem is that the calendar image for a popup is visible.

What I'd like to do is have a up/down button on the datepicker and allow the user to click the button to adjust the date. I can develop it if I need to, but I was hoping there was some kind of built in functionality.

I would also like to do the same thing for a timepicker.
Keith
Top achievements
Rank 2
 answered on 14 May 2013
5 answers
836 views
I would like to have the TabClick event of the tabstrip invoked programmatically on button click. The button is in the first tab. When you click on the button in the first tab, it should enable the second tab, focus on the tab and do the actions outlined in tabclick like data binding. (All serverside)
Genady Sergeev
Telerik team
 answered on 14 May 2013
2 answers
298 views
I have a question on functionality inside the Radgrid's EditForm Template. I want to be able to Edit a record, and based on whether a check box is checked or not, a text box and a Radupload control will appear. When I input something in the text box, I also want to upload a file onto the record, and once I hit update, it sends out an email with the uploaded file as an attachment. I was able to make the email part work with the text box value as the body of the email. The thing I am having difficulty uploading a file and sending it as an attachment in the email. Is this possible? Here is a screenshot of my current EditForm Template.
Tsvetoslav
Telerik team
 answered on 14 May 2013
1 answer
138 views
Hi,

Presently I am investigating integration of the ASP.NET Ajax suite into SharePoint 2013. I am mainly concerned with the development of web parts, allowing for full DML operations (add/amend/remove).

Does the ASP.NET Ajax Rad Grid cover native binding from WCF Data Services out of the box that could be integrated into SharePoint 2013?
Also will a separate suite of SharePoint web parts by Telerik be available for SharePoint 2013?

Kind regards,

Jean-Paul
Tsvetoslav
Telerik team
 answered on 14 May 2013
4 answers
370 views
I want to create an e-mail that the user can edit and then send. The e-mail has a defaut body, which can be edited in a RadEditor. When the user clicks a button, the e-mail is created like this:

function OnClientButtonClicking(sender, args) {
        var button = args.get_item();
        if (button.get_commandName() == "SendEmail") {           
            var emailaddress = document.getElementById("EmailAddress").value;
            var subject = document.getElementById("EmailSubject").value;
            var editor = $find("<%=RadEditorEmailBody.ClientID%>");
            var body = editor.get_html();
             
            window.location = "mailto:" + emailaddress  + "?subject=" + subject  + "&body=" + body;
  
        }
    }


I enter a text into the RadEditor like this:
string body = string.Empty;
body += string.Format("This is the message to send.<br />");
body += string.Format("It contains various information<br />");
body += string.Format("<br />");
 
 
RadEditorEmailBody.Content =body;
 
The problem is that the formatting is displays as text in the e-mail.
If I use var body = editor.get_html(true);   in the javascript the result is the same, but the text is clipped if I enter a special character like §, ø, etc.


Any suggestions?



Regards, Jill-Connie 
Jill-Connie Lorentsen
Top achievements
Rank 1
 answered on 14 May 2013
1 answer
94 views

When browsing to a page with disabled telerik controls, their fonts are grayed out, but readable, as expected. This is when browsing from a Windows machine, even if using Safari.

However, on the iPad, the fonts are all  bleached out, making them impossible to read. Is this a Telerik or an iPad bug? In any case, we need to get around it.

Would you recommend a CSS setting that sets all font colors on all disabled telerik controls? If so, how is that done? (For now, if it can't be applied to all telerik controls, we at least need it to work for RadComboBox, RadNumericTextBox, and RadDatePicker.)

Marin
Telerik team
 answered on 14 May 2013
12 answers
398 views
I have a number of RadDropDownLists on a page inside a RadAjaxPanel.  I populate them in the code-behind.

However, when I select an item, the list won't close.  It stays open until I click somewhere outside of the RadDropDownList.

Any ideas?  I'm running the latest install of the ASP.Net AJAX tools.

Thanks!

Kevin F
Top achievements
Rank 1
 answered on 14 May 2013
1 answer
82 views
In my combo box I am using the grid like implentaion. I have two columns in the combo box. I am using the OnItemRequested event to do virtual loading since the dataset is huge and causes major performance issues other wise. The problem is when I use virtual loading the data is not visible. It is there as I can click in what looks like an empty box and the value populates as expected but it is not visible otherwise. Please see screenshot attached for details on that. Now my code

RadComboBox implementation code:
<telerik:RadComboBox ID="d1ConDDL" Width="275px" Height="150px" DropDownWidth="275px" OnItemsRequested="contactItemsRequested"
                                runat="server" EmptyMessage="Please choose a contact..." HighlightTemplatedItems="True" EnableVirtualScrolling="True"
                                ShowMoreResultsBox="True" EnableLoadOnDemand="True">
                                <HeaderTemplate>
                                    <table style="width: 250px; text-align: left">
                                        <tr>
                                            <td style="width: 125px;">
                                                Contact Name
                                            </td>
                                            <td style="width: 125px;">
                                                Contact ID
                                            </td>
                                        </tr>
                                    </table>
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <table style="width: 250px; text-align: left;">
                                        <tr>
                                            <td style="width: 125px;">
                                                <%# DataBinder.Eval(Container,"Attributes['CONTACT_ORG']") %>
                                            </td>
                                            <td style="width: 125px; text-align: left">
                                                <%# DataBinder.Eval(Container, "Attributes['CONTACT_ID']")%>
                                            </td>
                                        </tr>
                                    </table>
                                </ItemTemplate>
                            </telerik:RadComboBox>

OnItemRequested Event Code:
protected void contactItemsRequested(object sender, RadComboBoxItemsRequestedEventArgs e)
        {
            var ds = new DataSet();
            var factory = new QueryFactory(new Configuration().DataConfigurationFile);
            var query = factory.GetQuery("P_GET_ALL_CONTACTS");
            query.Fill(ds);
            var dt = ds.Tables[0];
 
            var itemOffset = e.NumberOfItems;
            var endOffset = Math.Min(itemOffset + ItemsPerRequest, dt.Rows.Count);
            e.EndOfItems = endOffset == dt.Rows.Count;
 
            for (var i = itemOffset; i < endOffset; i++)
            {
                d1ConDDL.Items.Add(new RadComboBoxItem(dt.Rows[i]["CONTACT_ORG"].ToString(), dt.Rows[i]["CONTACT_ID"].ToString()));
                d2ConDDL.Items.Add(new RadComboBoxItem(dt.Rows[i]["CONTACT_ORG"].ToString(), dt.Rows[i]["CONTACT_ID"].ToString()));
            }
            d1ConDDL.DataBind();
            e.Message = GetStatusMessage(endOffset, dt.Rows.Count);
        }


Any ideas why the data is in the box but cannot be seen?
Nencho
Telerik team
 answered on 14 May 2013
1 answer
162 views
hi,
my page has a radAjaxPanel (outer) on it. inside of this is a radGrid. the radGrid's editForm is a user control, and inside of this user control is another radAjaxPanel (inner).
there is a button inside of the user control's ajaxPanel that gets enabled/disabled server-side depending on selections made in other controls in the ajaxPanel. that works fine.

my problem is that i would like the button to update the outer ajaxPanel. i do not want to do a full page postback.

how can this be done?
Viktor Tachev
Telerik team
 answered on 14 May 2013
3 answers
233 views
I wonder if you will eventually add a feature to allow node selecting only on leaf elements? Or if you have a quick way to implement it in the current version of the control.

Thank you!
Kate
Telerik team
 answered on 14 May 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?