Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
114 views
Hi there,

I'm currently displaying several floating docks. How do I initiate the docks so they are always in front of pre-existing docks? There doesn't appear to be an obvious method or example to do this.

Can I just say that whilst I love your controls your documentation is some of the worst I've seen. It appears to be random examples of each controls feature set. Isn't it about time you document clearly and concisely every feature of every control?

Cheers,

CW
Pero
Telerik team
 answered on 30 Oct 2009
1 answer
150 views
Hello,

I am trying to import my own CSS file into RedEditor so the classes appear in the dropdown list of 'Apply CSS Class', I would like to do it by putting the refference in the ToolsFile.xml. I tryed (I think) everything and it won't work! Can't someone tell me what I'm doing wrong? I Have read all the help topics...

This is my code:

ToolsFile.xml
<root>
other things
<cssFiles>
    <item name="~/css/test.css" />
</cssFiles>
</root>

CSS file (placed in wwwroot\css\):
.title {color:red}


Can someone help me?
Rumen
Telerik team
 answered on 30 Oct 2009
1 answer
146 views

I am using customvalidor in a radajaxpanel but clientside script not make any validation. my aspx code is:
Thsi is my user control

 

 

 

<table> 
 
<tr> 
 
<td> 
 
SampleRequired  
 
</td> 
 
<td> 
 
<asp:CheckBox id="chSampleRequired" runat="server">  
 
</asp:CheckBox> 
 
 
</td> 
 
</tr> 
 
<tr> 
 
<td> 
 
Sample Dead Line  
 
</td> 
 
<td> 
 
<telerik:RadDateTimePicker ID="deSampleDeadLine" runat="server">  
 
</telerik:RadDateTimePicker> 
 
 
<asp:CustomValidator ID="CustomValidator1" runat="server"   
 
ClientValidationFunction="SampleInfoValidation" ControlToValidate="deSampleDeadLine" 
 
 
ErrorMessage="CustomValidator"></asp:CustomValidator> 
 
 
 
 
 
</td> 
 
</tr> 
 
<tr> 
 
<td> 
 
SampleAttentionTo  
 
</td> 
 
<td> 
 
<telerik:RadTextBox ID="tbSampleAttentionTo" runat="server" Width="170px">  
 
</telerik:RadTextBox> 
 
 
</td> 
 
</tr> 
 
<tr> 
 
<td> 
 
SampleAddress  
 
</td> 
 
<td> 
 
<telerik:RadTextBox ID="tbSampleAddress" runat="server" Width="170px">  
 
</telerik:RadTextBox> 
 
</td> 
 
</tr> 
 
</table> 
 


only chSampleRequired checkbox checked validation can occur, for this reason  i want ro use a custom validtator.


My aspx page
<head runat="server">  
 
<title></title>  
 
<script language="javascript" type="text/javascript">  
 
function SampleInfoValidation(source, agruments) {  
 
 
arguments.IsValid = true;  
 
 
}  
 
</script> 
 
</head> 
 
<body> 
 
<form id="form1" runat="server">  
 
<telerik:RadScriptManager ID="RadScriptManager1" runat="server">  
 
</telerik:RadScriptManager> 
 
<div> 
 
<telerik:RadAjaxLoadingPanel runat="server" ID="LoadingPanel1" IsSticky="true" > 
 
 
</telerik:RadAjaxLoadingPanel>   
 
<telerik:RadScriptBlock ID="RadScriptBlock2" runat="server">  
 
<script type="text/javascript">  
 
// on upload button click temporarily disables ajax to perform  
 
// upload actions  
 
function conditionalPostback(sender, args) {  
 
args.set_enableAjax(false);  
 
 
}  
 
</script> 
 
</telerik:RadScriptBlock> 
 
<telerik:RadAjaxPanel ID="RadAjaxPanel1" 
 
runat="server" Width="100%" Height="200px" LoadingPanelID="LoadingPanel1">  
 
<div style="float:left;width:200px">  
 
<telerik:RadTabStrip runat="server" ID="tabNewTender" MultiPageID="mpNewTender" Orientation="VerticalLeft"/>  
 
</div> 
 
<div style="float:left;width:300px">  
 
<telerik:RadMultiPage runat="server" ID ="mpNewTender"   
 
onpageviewcreated="mpNewTender_PageViewCreated" SelectedIndex="0" > 
 
 
 
</telerik:RadMultiPage> 
 
</div> 
 
<div style="clear:both; margin-left:200px">  
 
<tw:pager runat="server" ID ="twpager" /> 
 
</div> 
 
</telerik:RadAjaxPanel> 
 
</div> 
 
</form> 
 
</body> 
 
</html> 
 
 

I load user control dynamically.

O'Man
Top achievements
Rank 1
 answered on 30 Oct 2009
2 answers
99 views
Hi,
My question:
I'm adding some all-day appointments to my WeekView. When I don't have OverflowBehavior.Expand set on my RadScheduler control its height stays constant, allday strip height is growing and you could end up with situation that calendar area becoming invisible because of these allday events. Is there a way to set max height or to enable some kind of scrollbar to allday strip?

Thanks
Marek Witczak
Marek Witczak
Top achievements
Rank 1
 answered on 30 Oct 2009
2 answers
175 views
Bonjour,
    I'm trying to use the blockconfirm function in an Hyperlink but it doesn't work in FirewFox.
Is there any solution or idea?
here my c#code:
protected void Page_Load(object sender, EventArgs e) 
    { 
        LinkLogout.Attributes.Add("onclick", "return blockConfirm('" + Resources.Labels.MasterPageLblConfirmDisconnecting.Replace("'", "''") + "', event, 330, 100,'','Prescrire');"); 
//.................... 
} 

here the asp.net code:
 <asp:HyperLink ID="LinkLogout" Text="<%$ Resources:Labels, MasterPageLinkLogout %>" 

Mounir Maghraoui
Top achievements
Rank 1
 answered on 30 Oct 2009
5 answers
163 views
Hi,
 I have created combox  as below.
 <div> 
    <asp:scriptmanager ID="Scriptmanager1" runat="server"></asp:scriptmanager> 
        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">  
        </telerik:RadAjaxManager> 
        <div id="s" runat="server">  
            <telerik:RadComboBox ID="RadComboBox4" EnableViewState="false" EnableItemCaching="true"   
            EnableLoadOnDemand="true" runat="server"   
            onitemsrequested="RadComboBox4_ItemsRequested">  
            </telerik:RadComboBox> 
               </div> 
               <asp:Button ID="Button1" runat="server" Text="Ajax" onclick="Button1_Click" /> 
         <asp:SqlDataSource ID="SqlDataSource1"   
ConnectionString="<%$ ConnectionStrings:NorthwindConnectionString %>" 
            ProviderName="System.Data.SqlClient" 
            SelectCommand="SELECT * FROM Customers" runat="server"></asp:SqlDataSource> 
          
    </div> 

 protected void Page_Load(object sender, EventArgs e)  
    {  
        RadAjaxManager1.AjaxSettings.AddAjaxSetting(Button1, s, null);  
    }  
 
    protected void RadComboBox4_ItemsRequested(object o, Telerik.Web.UI.RadComboBoxItemsRequestedEventArgs e)  
    {  
 
        RadComboBox4.DataSourceID = "SqlDataSource1";  
        string selectCommand = "SELECT * FROM CUSTOMERS WHERE CompanyName LIKE '" +  
        e.Text + "%'";  
        SqlDataSource1.SelectCommand = selectCommand;  
        RadComboBox4.DataTextField = "CompanyName";  
        RadComboBox4.DataValueField="CustomerID";  
        RadComboBox4.DataBind();  
    }  
 
 protected void Button1_Click(object sender, EventArgs e)  
    {  
       RadComboBox4.Text = RadComboBox4.EmptyMessage;  
        
          
    } 

I am unable to select the same value from the combo box which I have selected previously.

Scenario: First I have selected a value from the combobox and then  I clicked the button (ajax implemented) which will empty the combobox. Again I want to select the same value from the combobox but unfortunately I am not able to select it. Is there is a problem in my code.

Am using telerik version:2009.2.701.35. Please help me at the earliest

Regards,
Sathies
sathies
Top achievements
Rank 1
 answered on 30 Oct 2009
3 answers
109 views
Hello!

when i load some pictures in RadRotator everything goes right until i step over the right button
the pictures disappear, but if i step over the left button again it runs normally


Please help

Thanks

Fiko
Telerik team
 answered on 30 Oct 2009
2 answers
133 views
hi,

is there any easy way to highlight today in monthview?

thanks for help.
ashish
Top achievements
Rank 1
 answered on 30 Oct 2009
1 answer
74 views
I'm using visual studio 2005 .net 2.0
When i run it on win XP, its ok, but when I run on win 7, controls can not display .... (I attach image below)
What's error ? How I fix it ?
Dimo
Telerik team
 answered on 30 Oct 2009
7 answers
197 views
I am trying to create a custom skin for a context menu and am having some trouble.  I like the Telerik skin but need to change the green hover color to a light blue.  I followed the tutorial and took the following steps.

1:Copied the Menu.Telerik.css and all the images in the Telerik Menu directory to my project.
2:Set EnabledEmbeddedSkins to false
3:Added a link to Menu.Telerik.css
4:Set Skin to 'Telerik'

The ContextMenu sees the css but it does not look like the embedded Telerik skin.  It is similar to the embedded skin but there are several things missing, Mostly padding or margins. For instance, I have images for two of the items and they are bunched towards the left side.  I noticed the class name for the image is 'rmLeftImage'.  This does not exists the Menu.Telerik.css.  I assume there are several other classes missing and that this is causing the problem. I am using version 2008.02.0826.35.  Any idea to what might be causing this or am I missing something?

Thanks,
Michael
Paul
Telerik team
 answered on 30 Oct 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?