Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
85 views
Hello,

I added "AllowEdit = false" on DataBound of the RadScheduler and added an appointment. It made the appointment unresizable, but I am able to drag it (See attachment). I am attaching both ASP and SharePoint version of the example. ASP version does not have the problem, only the sharepoint version is having the problem. I do not want to make the whole calendar readonly.

*Removed download links*
Hemika
Top achievements
Rank 1
 answered on 29 Jan 2013
2 answers
171 views
Hello
I am having issues with the RadButton checkbox. 
I have this code:
<div style="width:200px;">
    <p>This div has a width of 200px only:</p>
    <dl>
        <dt>
            <telerik:RadButton runat="server" ID="MyButton1" ButtonType="ToggleButton"
             ToggleType="CheckBox" AutoPostBack="false"
             Text="This text should be long enough to create a second line and maybe a third line because the next checkbox will overlaps with this one and maybe more."  />
        </dt>
        <dt>
            <telerik:RadButton runat="server" ID="RadButton1" ButtonType="ToggleButton"
             ToggleType="CheckBox" AutoPostBack="false" Text="Might be one line." />
        </dt>
        <dt>
            <telerik:RadButton runat="server" ID="RadButton2" ButtonType="ToggleButton"
             ToggleType="CheckBox" AutoPostBack="false" Text="A word." />
        </dt>
        <dt>
            <telerik:RadButton runat="server" ID="RadButton3" ButtonType="ToggleButton"
            ToggleType="CheckBox" AutoPostBack="false"
            Text="This text should be long enough to create a second line and maybe a third line because the next checkbox will overlaps with this one and maybe more." />
        </dt>
        <dt>
            <telerik:RadButton runat="server" ID="RadButton4" ButtonType="ToggleButton"
             ToggleType="CheckBox" AutoPostBack="false"
              Text="This text should be long enough to create a second line and maybe a third line because the next checkbox will overlaps with this one and maybe more." />
        </dt>
    </dl>
</div>

And i get diferent behavior in Chrome IE and Firefox.
My problem is that when i populate those dt, it comes from the database so it might be a long phrase or a word so i can't set a fixed height property. (see the picture attached)

The ideal output i get is from firefox, but in IE and Chrome its a complete desaster....
Any way i could fix this?

Thanks!
I'm using telerik v. 2012.1.215.35
Sophie
Top achievements
Rank 2
 answered on 29 Jan 2013
2 answers
219 views
Hi, 

I have following masked textbox =>

<telerik:RadMaskedTextBox id="txtFlightNumber" runat="server" width="70px" SelectionOnFocus="SelectAll"
    Mask="<C|D|E>L ####<E|F>"  />

Mask works correctly and allow me to insert either C, D or E, but when the control is loaded, it displayes "C_ ____E" . What attribute should I set to hide those enumeration characters ? I want to display empty control. I tried EmptyMessage, DisplayMask and nothing worked. Maybe I used it wrong way... 

And there is also another thing... When those characters are displayed, during gathering the data I get txtFlightNumber.Text = "CE", but user didn't insert any data there... I want to get empty message...

Do you have any idea?

Thanks in advance

Peter
Peter
Top achievements
Rank 1
 answered on 29 Jan 2013
5 answers
286 views
Hi,

I am trying to show RadAjaxLoadingPanel on a client side event of checkbox control, What i am trying to achieve is that when i tick the checkbox value to true, using Ecmascript i update the value on a sharepoint server, since this is an async process i need to show the loading panel. I have already tried the below mentioned code but it is not working for some reason. Can you please point me in the right direction
<telerik:RadGrid ID="RadGrid" ...
  <Columns>
      <telerik:GridTemplateColumn HeaderText="ClickMe" UniqueName="ClickMe" ShowFilterIcon="false"
                                                    AllowFiltering="false" ItemStyle-HorizontalAlign="Center">
                                                    <HeaderStyle HorizontalAlign="Center" Font-Bold="true" />
                                                    <ItemTemplate>
                                                        <asp:CheckBox ID="chkClickMe" runat="server" Checked='<%# Eval("ClickMe") %>'
                                                            Visible='<%# Eval("ClickMe") %>' OnClick='<%# Eval("ID", "ClickMe(this,{0});") %>'
                                                            EnableViewState="true" />
                                                    </ItemTemplate>
                                                </telerik:GridTemplateColumn>
</Columns>
</telerik:RadGrid>


<script type="text/javascript">
 
 
        var currentLoadingPanel = null;
        var currentControl = null;
 
        function ShowLoading() {
            currentLoadingPanel = $find('<%= loadingPanel.ClientID %>');
            currentControl = $find("<%= RadGrid.ClientID %>");
            currentLoadingPanel.show(currentControl);
        }
 
        function HideLoading() {
            if (currentLoadingPanel != null) {
                currentLoadingPanel.hide(currentUpdatedControl);
            }
            currentUpdatedControl = null;
            currentLoadingPanel = null;
        }
 
var sender_id;
        function ClickMe(sender, id) {
            ShowLoading();
}
</script>

Thanks and Regards,
Abhijit Narvekar
Kostadin
Telerik team
 answered on 29 Jan 2013
1 answer
82 views
Hi,
On an Advanced Form I have a RadComboBox that holds a list of Contact records which is populated using a SqlDataSource. The problem is that this list contains thousands of records, each of which are supposed to be displayed in the RadComboBox - but this crashes the application with a JSON error (because this list is probably too long for the RadComboBox).

Is there a way that a more graceful solution be implemented such as the following:

1. User double-clicks an empty slot in Scheduler to create new appointment
2. This opens up a special popup form (like the advanced form) where they can search and select the Contact record they want (using search text box, RadGrid, checkboxes). Click a 'Select' button
3. This then opens the Advanced Form with the selected Contact record details in it.

Please let me know if there is a way to do this or some examples that may point me in the right direction.

Many thanks.
Plamen
Telerik team
 answered on 29 Jan 2013
1 answer
131 views
Hi,

The following is not working:

<telerik:RadTab runat="server" Text="Attendees" Visible='<%#Request["id"]!=null%>'>

<telerik:RadTab runat="server" Text="Action Plans" Visible='<%#this.MeetingFV.CurrentMode != FormViewMode.Insert%>'>

Regards,

Madani
Princy
Top achievements
Rank 2
 answered on 29 Jan 2013
1 answer
143 views
Hi

I have a radgrid containing some boundcolumns.. I have set headertext to them. But depending upon the value of the boundcolumn in edit mode I want to change the headertext in the edit form. How can I accomplish this.
thanks
Allen
Shinu
Top achievements
Rank 2
 answered on 29 Jan 2013
3 answers
444 views
Hey great advance with the new Checkboxes functionality in the RadComboBox.

I am trying to use a combo box with the new checkboxes="true" functionality and an itemtemplate because I need to have an icon with some text, but the checkboxes don't show up.
I really don't want to use the old way with the checkbox in the template, it is much nicer to use the new CheckedItems and other functionality.

Is it possible to do this (have Checkboxes="true" with a template of some sort)?
Cat Cheshire
Top achievements
Rank 1
 answered on 29 Jan 2013
1 answer
47 views
I have a requirement to display the Day and Week view of the RadScheduler from 2:00am to 1:59am the next day.  This would sort of be like how you can see last month and next month dates on the Month view.  

I am trying to use this control for managing Radio and TV advertising days which are not actual calendar days.

Is there any way to accomplish this?
Plamen
Telerik team
 answered on 29 Jan 2013
7 answers
176 views
Hi, is there a way to load the AsyncUpload control with a list of files?

Your sample http://demos.telerik.com/aspnet-ajax/asyncupload/examples/overview/defaultcs.aspx is ok for a new mail, but when you forward a mail you should keep the attachments..
max
Top achievements
Rank 1
 answered on 29 Jan 2013
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?