Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
115 views
I am radchart in that if theri is no record coming from database then a message is displayed:
"there is no or empty series"

I want to customize this message. How can i do it from code-behind.
Princy
Top achievements
Rank 2
 answered on 11 Jun 2012
1 answer
478 views
Hi,
I have a page where I use RadComboBox.
I tried to set an event for SelectedIndexChanged, but ASP show me that error message.
Here my ASPX part:
<telerik:RadComboBox ID="ComboBox1" runat="server" Filter="StartsWith" Width="500"
        HighlightTemplatedItems="true" Height="300" ShowMoreResultsBox="True" SortCaseSensitive="False"
        ExpandAnimation-Type="OutQuart" AutoPostBack="true"
        onselectedindexchanged="ComboBox1_SelectedIndexChanged1">
        <HeaderTemplate>
            <table style="width: 400px" cellspacing="0" cellpadding="0">
                <tr>
                    <td style="width: 300px;">
                        Name
                    </td>
                    <td style="width: 60px;">
                        Number
                    </td>
                </tr>
            </table>
        </HeaderTemplate>
        <ItemTemplate>
            <table style="width: 400px" cellspacing="0" cellpadding="0">
                <tr>
                    <td style="width: 300px;">
                        <%# Eval("Name")%>
                    </td>
                    <td style="width: 60px;">
                        <%# Eval("Id")%>
                    </td>
                </tr>
            </table>
        </ItemTemplate>
    </telerik:RadComboBox>

Here my C# code:
protected void ComboBox1_SelectedIndexChanged1(object sender, RadComboBoxSelectedIndexChangedEventArgs e)
       {
 
       }

And the error message is:
Compiler Error Message: CS1061: 'ASP.builderform_aspx' does not contain a definition for
'ComboBox1_SelectedIndexChanged1' and no extension method 'ComboBox1_SelectedIndexChanged1'
accepting a first argument of type
 'ASP.builderform_aspx' could be found (are you missing a using directive or an assembly reference?)
 
Source Error:
 
Line 26:             VerticalPadding="0px" />
Line 27:     </asp:TreeView>
Line 28:     <telerik:RadComboBox ID="ComboBox1" runat="server" Filter="StartsWith" Width="500"
Line 29:         HighlightTemplatedItems="true" Height="300" ShowMoreResultsBox="True" SortCaseSensitive="False"
Line 30:         ExpandAnimation-Type="OutQuart" AutoPostBack="true"

TIA
Ivana
Telerik team
 answered on 11 Jun 2012
1 answer
106 views
Hi , Everybody i have a problem i am  using a datetimepicker of the telerik control now i want the changing time from the raddatetimepicker ............
Shinu
Top achievements
Rank 2
 answered on 11 Jun 2012
2 answers
139 views
I have two the same select tags in my html that generate different results after rendering;

selectbox 1:

original html:

<select id="ctl00_ctrlLocaleList" name="ctl00$ctrlLocaleList" onchange="javascript:setTimeout('__doPostBack(\'ctl00$ctrlLocaleList\')') ">
<option value="nl-NL" selected="selected">Nederlands</option>
<option value="de-DE">Deutsch</option>
<option value="en-US">United Kingdom</option>
</select>




output:


 <a style="width: 122px;" class="rfdSelect rfdSelect_mt" tabindex="-1" unselectable="on" id="Skinnedctl00_ctrlLocaleList" href="javascript:void(0)">
 <span class="rfdSelectOuter">
 <span class="rfdSelectText">Nederlands</span>
 </span>
 </a>
 <select _rfddecoratedid="Skinnedctl00_ctrlLocaleList" class="rfdRealInput" id="ctl00_ctrlLocaleList" name="ctl00$ctrlLocaleList" onchange="javascript:setTimeout('__doPostBack(\'ctl00$ctrlLocaleList\')') ">
 <option value="nl-NL" selected="selected">Nederlands</option>
 <option value="de-DE">Deutsch</option><option value="en-US">United Kingdom</option>
 </select>




Selectbox 2

original html:

<select size="1" id="Color_3185_3234" name="Color_3185_3234" onchange="">
<option value="-,-">Kleur</option>
<option value="Blauw,Blauw">Blauw</option>
<option value="Geel,Geel">Geel</option>
<option value="Groen,Groen">Groen</option>
<option value="Oranje,Oranje">Oranje</option>
<option value="Roze,Roze">Roze</option>
<option value="Wit,Wit">Wit</option>
</select>




output:

<div style="overflow-y: auto; width: 67px; height: 20px;" class="rfdSelectBox rfdSelectBox_mt" id="SkinnedColor_3185_3234">
<ul>
<li class="rfdSelect_selected" unselectable="on">Kleur</li>
<li unselectable="on">Blauw</li>
<li unselectable="on">Geel</li>
<li unselectable="on">Groen</li>
<li unselectable="on">Oranje</li>
<li unselectable="on">Roze</li>
<li unselectable="on">Wit</li>
</ul>
</div>
<select _rfddecoratedid="SkinnedColor_3185_3234" class="rfdRealInput" size="1" id="Color_3185_3234" name="Color_3185_3234" onchange="">
<option value="-,-">Kleur</option>
<option value="Blauw,Blauw">Blauw</option>
<option value="Geel,Geel">Geel</option>
<option value="Groen,Groen">Groen</option>
<option value="Oranje,Oranje">Oranje</option>
<option value="Roze,Roze">Roze</option>
<option value="Wit,Wit">Wit</option>
</select>



Any idea why this renders different results? Option 1 seems to be correct, the second one fails (visually).
Using IE9 and 2012-1.411.35.
Fit2Page
Top achievements
Rank 2
Bronze
Iron
Iron
 answered on 11 Jun 2012
4 answers
267 views
I've just implemented a timezone drop down for my scheduler like your online demo shows. That works fine. When I select the timezone from the drop down, I'm able to create appointments according to the timezone selected.

The problem I'm running into is exporting the appointment to ICal. I've used the code from the online example 'How to preserve the time of the appointment when exporting to iCalendar' It works fine locally on my development machine. The file exports to outlook with the same time/date shown on the scheduler. However, when I run the page from our web server, which is in the Central Time Zone, when I export the appointment from my machine in the eastern time zone, the times on the export file are an hour ahead of the appointment time shown on the scheduler.

Any ideas on what could be causing this issue?
Plamen
Telerik team
 answered on 11 Jun 2012
1 answer
70 views
Hi Team,

We are currently migrating an application developed as sharepoint farm solution to sandboxed solution. I have used update panels to avoid the postbacks in my farm solution. Knowing that ajax/telerik controls are not supported in sandboxed solution, do i have any alternative to replace the update panels functionality in sandboxed environment. I want to avoid un necessary post backs.

Thanks,
Bhanu.
Marin
Telerik team
 answered on 11 Jun 2012
6 answers
134 views

Find enclosed an example website where the autopostback of a RadComboBox isn’t fired anymore after a couple of times. Most of the time it works, but when you follow this scenario it stops working:

 

Select items 1, 2 and 3 of the first ComboBox and wait for postback

Deselect items 2 and 3 and wait for postback

Select items 2 and 3 again => No postback anymore

 

Could anyone explain me why this is, if it can be solved by us, or if it is a bug ?

 

We’re using Telerik version 2011.2.915.40

Link to demo project:
http://www.gildebt.nl/ComboBox.rar

Frank
Top achievements
Rank 1
 answered on 11 Jun 2012
3 answers
200 views
Dear Telerik Team,
I'm implemeting 2 Radlistboxes for item transfer.if i select 1 item in source listbox then transfer to Destination listbox that time the scroll bar position occupying randomly some where and recently transferred item is not able to view.but i want to view recently just transferred items at destination list box.Also if user transfer all items then scroll bar position will be on top of list box.

Please support.

Thanks & Regards,
Santhosh Naik


Bozhidar
Telerik team
 answered on 11 Jun 2012
1 answer
71 views
I have an nHibernate object returning 225 objects, when I bind it nothing is displayed.

EmployeeSupervisor.cs
    public class EmployeeSupervisor
    {
        public virtual int EmployeeId { getset; }
        public virtual string Employee { getset; }
        public virtual int ManagerId { getset; }
        public virtual string Manager { getset; }
      
        public EmployeeSupervisor()
        {
           
        }
    }
OrgChart.aspx
    <telerik:RadOrgChart ID="RadOrgChart1" runat="server" DataFieldID="EmployeeId" 
        DataFieldParentID="ManagerId" DataTextField="Employee" 
        DisableDefaultImage="False" MaxDataBindDepth="5">
    </telerik:RadOrgChart>

OrgChart.aspx.cs
        UserDAO dao = new UserDAO();
        List<EmployeeSupervisor> coList = dao.GetOrgChart();
        RadOrgChart1.DataSource = coList;
        RadOrgChart1.DataBind();
thank you in advance. Jeff
Peter Filipov
Telerik team
 answered on 11 Jun 2012
1 answer
124 views
Hello Support,

I have a RadGrid that manually exports to Excel via ItemCommand (RadGrid1.MasterTableView.ExportToExcel()). The RadGrid has a RadComboBox in every row. When I export (using ExportOnlyData = True), the RadComboBox columns are ignored and do not show in the exported Excel file.

How do you suggest to print each combo SelectedText to the excel sheet? In which event shoudl I handle it?


Thanks for your help.
Mosart
Princy
Top achievements
Rank 2
 answered on 11 Jun 2012
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?