Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
64 views
Is there a way to modify what elements can be added in this dropdown?

Thank you


Never mind - found out how to do it
Rumen
Telerik team
 answered on 10 May 2010
1 answer
59 views
Hi,

It has been reported to us that there is a spelling mistake in the RAD Editor "Spell Checking Complete" dialog.

It reads "Spellchecking complete!" when it should read "Spell checking complete!"

Regards
Rumen
Telerik team
 answered on 10 May 2010
1 answer
100 views
Hello

I want referent only scripts that run with specific control like RadTreeView not the whole Telerik.js that is almost 1MB. In my case I want to use RadTreeView and RadAjaxManagerProxy to refresh some controls on the page. What .js files to reference in my page?
Genady Sergeev
Telerik team
 answered on 10 May 2010
3 answers
112 views
Hello,

I'm creating the whole page dynamically in code-behind. There is a bunch of subsequent dynamic pages containing ComboBoxes. The problem is this: the RadComboBox Items get propagated/copied to subsequent ComboBox Items for unknown reason and overwrite the items that should actually be there.

Example:
a page1 contains a new RadComboBox() with dynamically added Items "A" and "B".
a page2 contains a new RadComboBox() with dynamically added Items "X", "Y" and "Z".

User visits page1, then goes to page2.

The page2's combo box is rendered with items "A", "B" and "Z" instead of proper "X", "Y", "Z".

The combo boxes do have different IDs, the Items do have different texts and values. The container (Panel) of the combo box has a different ID. There is no reason I could think of why the rendering is so messed.

When tracing the code with a debugger one can see it does the RIGHT THING, i.e. adds the right items (X, Y, Z) yet the resulting rendered page contains DIFFERENT items (old A, B from previous combo box with added third new item).

I am using the latest Q1 2010 Telerik Ajax but colleagues are seeing this problem with older releases as well (Q2 2009).

I have no idea how to debug this as it happens inside the Telerik toolkit... Please help, this is so frustrating.


Petr
Top achievements
Rank 2
 answered on 10 May 2010
1 answer
169 views
I amd having two issues.

I have a Header above the Splitter and cant seem to get the Splitter to fill the rest of the Page. I even set it to 100% but what it does it sets itself to 100% of the Page without adjusting for a Header or Footer

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Home.aspx.cs" Inherits="Home" %> 
 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
<%@ Register Src="~/UserControls/MainMenu.ascx" TagPrefix="BEX" TagName="Menu" %> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml">  
<head runat="server">  
    <title>Bex Express Secure Transfer</title> 
    <meta name="Description" content="BEST, Bex Express Secure Transfer, is a Secure alternative to File Transfer Protocol (FTP) and is easy to use and web-based." /> 
    <meta name="Keywords" content="FTP, File Transfer Protocol, FTPS, SFTP, Secure File Transfer, Secure File Email, Secure File Send, BEST, Bex Express" /> 
    <link href="css/main.css" rel="stylesheet" type="text/css" /> 
</head> 
<body> 
    <form id="form1" runat="server">  
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">  
    </telerik:RadScriptManager> 
    <div class="mainHeader">  
        <div class="mainLogo">  
            <img src="images/header.gif" alt="BEX Express" height="70" /> 
        </div> 
        <div class="mainMenu">  
            <BEX:Menu runat="server" /> 
        </div> 
    </div> 
    <div class="mainContent">  
        <telerik:RadSplitter ID="MainSplitter" runat="server" Skin="Vista" Width="100%" Height="100%" BorderSize="0">  
            <telerik:RadPane ID="LeftPane" runat="server" Width="25%">  
                left  
            </telerik:RadPane> 
            <%--<telerik:RadSplitBar ID="RadSplitBar1" runat="server" CollapseMode="Both">  
            </telerik:RadSplitBar>--%> 
            <telerik:RadPane ID="RightPane" runat="server" ContentUrl="http://www.google.com">  
                right  
            </telerik:RadPane> 
        </telerik:RadSplitter> 
    </div> 
    </form> 
</body> 
</html> 
 
body, form, html  
{  
    height:100%;  
    width:100%;  
    background-color#6b89af;  
    padding0px 0px 0px 0px;  
    margin0px 0px 0px 0px;  
}  
 
.mainBody  
{  
    width:800px;  
    margin-leftauto;   
    margin-right:auto;   
}  
 
.mainHeader  
{  
    margin-leftauto;   
    margin-right:auto;   
    width:800px;  
    border-spacing0px;  
    padding0px 0px 0px 0px;  
}  
 
.mainLogo  
{  
    height70px;  
}  
 
.mainMenu  
{   
}  
 
.mainContent  
{  
    marginauto;   
    width:800px;  
    heightauto !important;  
    border-spacing0px;  
    padding0px 0px 0px 0px;  
}  
 
 


I have attached a screenshot. As you can see the Splitter forces IE to have a Scroll bar.
Svetlina Anati
Telerik team
 answered on 10 May 2010
1 answer
143 views
Hi

How to sort the TreevIew nodes using client side API. ?
Princy
Top achievements
Rank 2
 answered on 10 May 2010
2 answers
101 views

 

Hi,

I am using telerik grid with search boxes in header. When I type some text in any search box an ajax loading panel appears and grid shows all filtered records. But the cursor remains in the search box and when I type anything in there and hit Enter it doesn't filters the record. I have to click out side the search box and then cilck in it again and it works fine.  I am referring your example
http://demos.telerik.com/aspnet-ajax/grid/examples/generalfeatures/filtering/defaultcs.aspx

In your example the cursor doesn't stay in the search box.
I dont want the cursor to stay in the search box. Am I missing something in my code.
Following is my code

<
telerik:RadGrid AutoGenerateColumns="false" ID="RadGrid1" DataSourceID="dsUserList"

 

 

Width="760px" AllowFilteringByColumn="True" AllowSorting="True"

 

 

PageSize="15" ShowFooter="True" AllowPaging="True" runat="server"

 

 

GridLines="None" EnableLinqExpressions="false" >

 

 

<PagerStyle Mode="NextPrevAndNumeric" />

 

 

<GroupingSettings CaseSensitive="false" />

 

 

<MasterTableView AutoGenerateColumns="false" EditMode="InPlace" AllowFilteringByColumn="True"

 

 

ShowFooter="True" TableLayout="Auto">

 

 

<Columns>

 

 

<telerik:GridNumericColumn DataField="UIN" HeaderText="UIN" SortExpression="UIN"

 

 

UniqueName="UIN" FilterControlWidth="40px" AutoPostBackOnFilter="true" CurrentFilterFunction="equalto" FilterDelay="4000" ShowFilterIcon="false">

 

 

</telerik:GridNumericColumn>

 

 

 

 

 

<telerik:GridBoundColumn FilterControlWidth="105px" DataField="Email" HeaderText="Email" SortExpression="Email"

 

 

UniqueName="Email" AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" ShowFilterIcon="false">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn FilterControlWidth="50px" DataField="Name" HeaderText="Name" SortExpression="Name"

 

 

UniqueName="Name" AutoPostBackOnFilter="true" CurrentFilterFunction="StartsWith" ShowFilterIcon="false">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridDateTimeColumn FilterControlWidth="120px" DataField="Date_Entered" HeaderText="Date_Entered" SortExpression="Date_Entered"

 

 

UniqueName="Date_Entered" PickerType="DatePicker" DataFormatString="{0:d}">

 

 

<HeaderStyle Width="160px" />

 

 

</telerik:GridDateTimeColumn>

 

 

 

 

</Columns>

 

 

</MasterTableView>

 

 

<ClientSettings>

 

 

<Scrolling AllowScroll="false" />

 

 

</ClientSettings>

 

 

</telerik:RadGrid>

Regards,
Lubna.

 

Lubna Ansari
Top achievements
Rank 1
 answered on 10 May 2010
1 answer
214 views
I am trying to use a standard asp:RequiredFieldValidator with the control, but keep getting an error message "Control [rating] referenced by the ControlToValidate property of  [validator] cannot be validated."  I have other validators on the form that work fine.  Can this type of control not be validated this way?

Thanks.
Tsvetie
Telerik team
 answered on 10 May 2010
2 answers
118 views
I use this code to delete:

 protected void RadScheduler1_AppointmentDelete(object sender, Telerik.Web.UI.SchedulerCancelEventArgs e)
    {
        SchedulerTask task = SchedulerTask.GetByID(Convert.ToInt32(e.Appointment.ID));
        task.Delete();             
     }

And I get next error message:

Server Error in '/src' Application.

No parameterless constructor defined for this object.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.MissingMethodException: No parameterless constructor defined for this object.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[MissingMethodException: No parameterless constructor defined for this object.]
   Telerik.Web.UI.Scheduling.DataSourceViewSchedulerProvider.OnDataSourceOperationComplete(Int32 count, Exception e) +39
   System.Web.UI.DataSourceView.Delete(IDictionary keys, IDictionary oldValues, DataSourceViewOperationCallback callback) +83
   Telerik.Web.UI.Scheduling.DataSourceViewSchedulerProvider.Delete(RadScheduler owner, Appointment appointmentToDelete) +262
   Telerik.Web.UI.Scheduling.AppointmentController.DeleteAppointmentThroughProvider(Appointment appointmentToDelete) +170
   Telerik.Web.UI.Scheduling.AppointmentController.DeleteAppointment(Appointment appointmentToDelete, Boolean deleteSeries) +1833
   Telerik.Web.UI.RadScheduler.DeleteAppointment(Appointment appointmentToDelete) +109
   Telerik.Web.UI.RadScheduler.ProcessPostBackCommand(SchedulerPostBackEvent postBack) +2427
   Telerik.Web.UI.RadScheduler.RaisePostBackEvent(String eventArgument) +108
   Telerik.Web.UI.RadScheduler.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +42
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +176
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5563

Veronica
Telerik team
 answered on 10 May 2010
2 answers
110 views
Good Day All

i have a problem, my Weekview and my Day View is not visible clearly. i have a screen-shot of it

Thanks
Vuyiswa
Top achievements
Rank 2
 answered on 10 May 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?