Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
99 views
Hi,
I have a custom edit template for a gird, that has two RadDatePicker. The problem Im facing, is that the two controls are being display with wiered styling, It looks like if the Date Input text box displayed inside a div section that the padding is set to 1, and for some reason there is a black line showing in the left side and the bottom of the DateInput. I noticed that happen only when the RadDatePicker or RadTimePicker or both, are used to in the edit template of the grid. How Can I fix it this issue and make DateInput to look like simple text box with no borders or padding?

Thanks
Vlad
Telerik team
 answered on 12 Aug 2008
1 answer
210 views
The .NET Framework 3.5 SP1 and Visual Studio 2008 SP1 have been released today. Do these releases affect RadControls for ASP.NET AJAX Q2? Has Telerik tested on SP1 yet? I'd like to know if there are any known risks before taking the plunge. Thanks!
Daniel
Telerik team
 answered on 12 Aug 2008
8 answers
225 views
Hello.  It looks like when ussing the "Apply CSS class" drop down, the editor surronds the text with a span element and applies that class to the span.

In most situations that works just fine.

However I have a situation where I need to apply a css class to an Ordered List and an Unordered List and to an HR tag.

Is there a way to do this without going into html mode?


LeBear
Top achievements
Rank 1
 answered on 12 Aug 2008
2 answers
115 views
Unlike in the classic version of RadEditor, the classes dropdown always creates a span around the selected objects and applies the class to that.

I have tried selecting the content with the mouse, keyboard, and the editor's DOM inspector, but it always creates a span.

Even selecting a UL adds a span around the content of each LI.

Why?
David
Top achievements
Rank 1
 answered on 12 Aug 2008
4 answers
213 views
Hi guys, hopefully this is an easy one.

I am performing 'lazy loading' on my tree view control, so only the highest level nodes are loaded at any given time.  However, we may already have a selected node somewhere deep in the tree when our page loads, so I want to go ahead and select it for the user programmatically.  The following code does just that but throws exceptions when there are '/' characters in some of the nodes display values.

private void OpenTreeToNode(string nodeValue) 
{ 
    if (nodeValue.Length > 0) 
    { 
        FacilityBE facility = new FacilityBE(int.Parse(nodeValue)); 
        string valuePath = ""; 
 
        List<FacilityBE> ancestorFacilities = facility.GetAncestors(true); 
 
        foreach (FacilityBE ancestorFacility in ancestorFacilities) 
        { 
            if (ancestorFacility != ancestorFacilities[0]) 
            { 
                valuePath += "/"; 
            } 
            valuePath += ancestorFacility.ID.ToString(); 
            RadTreeNode node = Tree.FindNodeByValue(ancestorFacility.ID.ToString()); 
            node.Expanded = true; 
            this.FillChildNodes(node); 
        } 
        Tree.FindNodeByValue(nodeValue).Selected = true; 
    } 
} 
 

So the question is, how can I change my ValuePathSeparator, or perform this same functionality without using it.

Thanks for your time.


Jim
Top achievements
Rank 1
 answered on 11 Aug 2008
2 answers
81 views
Hi

Since adding a RadDockLayout to my masterform my page displays in a strange way.

It gathers in the top left hand corner of the screen and then "explodes" into the full page.

Please see an example at http://daresoft.no-ip.co.uk/dare-it.co.uk

You will have to wait for the splash screen to finish before you can see the problem.

Kind Regards

David
hkdave95
Top achievements
Rank 2
Iron
 answered on 11 Aug 2008
4 answers
130 views
Hello all,

Just tried added the RadEditor for the 1st time and I can't enter text. The editor renders correctly, but is not editible.

<%

@ Page Language="C#" AutoEventWireup="true" CodeFile="ftb_test.aspx.cs" Inherits="Community_Forums_ftb_test" %>

<!

DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<%

@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>

<

html xmlns="http://www.w3.org/1999/xhtml" >

<

head runat="server">

<title>Untitled Page</title>

</

head>

<

body>

<form id="form1" runat="server">

<asp:ScriptManager ID="ScriptManager1" runat="server" />

<telerik:RadEditor ID="RadEditor" runat="server"></telerik:RadEditor>

</form>

</

body>

</

html>

Kevin Babcock
Top achievements
Rank 1
 answered on 11 Aug 2008
4 answers
197 views
Support,

How can I get control over the size of the Toolbarbutton ? Below code is not working it seems. Whatever font size I give, it is not changing.

<telerik:RadToolBar ID="RadToolBar1" Runat="server" Skin="Office2007"

Width="100px" Font-Size="Smaller">

<

CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>

<Items>

<telerik:RadToolBarSplitButton runat="server"

Text="SplitButton 0" ImagePosition="Right" Width="100%">

<Buttons>

<telerik:RadToolBarButton runat="server" Text="a" >

</telerik:RadToolBarButton>

<telerik:RadToolBarButton runat="server" Text="abc" >

</telerik:RadToolBarButton>

<telerik:RadToolBarButton runat="server" Text="abcdef" >

</telerik:RadToolBarButton>

<telerik:RadToolBarButton runat="server" Text="abcdefgh" >

</telerik:RadToolBarButton>

</Buttons>

</telerik:RadToolBarSplitButton>

</Items>

</telerik:RadToolBar>


Also, if you see the code, space after the down arrow (one used to expand the button) is more, can we have this down-arrow at the end ?
And, Can I reduce the size of the rad toolbar button ? Which is not in the code but it is not working if I give Style="height:90%".

Thanks in advance for your help.

 

Het
Top achievements
Rank 1
 answered on 11 Aug 2008
1 answer
107 views
Hi

I have used the sample application and then split the BlackPearl Reservation application as new webapplication. I have used the given SQL Server Database. It's retrives and working fine. But Insert or Edit of schedule is works only in the session, It doesn't Insert or update in the database. I don't know where to do or what to check.

I'm new to this. Please Help me what I'm Missing. Pls Help

Thanks in Advance
Murad Ajani
Top achievements
Rank 1
 answered on 11 Aug 2008
1 answer
121 views
I'm attempting to use a RadGrid that will allow a user to enter a new row. I have the CommandItemTemplate created, and I have everything wired up so that the proper server side method is being run when I click the insert button. The problem is I'm not getting any of the data I'm trying to add. The row has one editable column, and in that column's EditItemTemplate is a RadComboBox. When I run through the InsertCommand method, no matter what I selected in that combo box, the selected index I get is -1.

To grab the combo box, I'm using:

protected void TrackGrid_InsertCommand(object source, GridCommandEventArgs e) {   
GridEditableItem editedItem = e.Item as GridEditableItem;
RadComboBox titleBox = editedItem["Title"].FindControl("RadComboBox1") as RadComboBox;       
}

Is there some other way I should be trying to grab this data?
MatFindlay
Top achievements
Rank 1
 answered on 11 Aug 2008
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?