Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
173 views

I have created a custom css-style for RadDocks. The only thing I cannot style at the moment is the border around the dropzone when RadDoscks are dragged. I used HighlightedCssClass to get a hatch pattern like this:

 

<style type="text/css">
.DockZoneSelectie {
background-color: #FFC272 !important;
}
.rdPlaceHolder {
background-color: #FFD7A3 !important;
background: url(images/hatch.gif) repeat;
}
</style> 
 
That works fine, however I cannot control the border around the dropzone, this dropzone is 2 pixels too wide so the border will be clipped when DockZones are next too each other. A screendump can be seen here here. I based my custom style on the default RadDock style but there is no style to be found there that sets the border. Also I used radDock.EnableEmbeddedBaseStylesheet = false; radDock.EnableEmbeddedSkins = false; to disable embedded skins. How do I get access to the border style of the highlighted area when docks are dragged?

Petio Petkov
Telerik team
 answered on 05 May 2009
1 answer
117 views
Hi, I'm having an issue with the filtering feature of the RadGrid.  I'm working on a project that acts as an interface for a legacy system.  I'm using the Grid control to display the data retrieved from this system.

I'm also using the filter control, which works great.  The problem that I'm having is that users are allowed to type date values as numbers only (e.g., "043009") and the legacy system process it and retrieves data for that date (the results for the date column come back as "4/30/09").  The RadGrid however doesn't display any records and displays "No Records to display" instead even though I can see that records are being bound to it.  I'm thinking this is because what was entered in the search field doesn't match what is being displayed on the column.  Is there any way I can have the RadGrid display the data even if the filtering column TextBox content doesn't match the content of the grid for that column? 

Thank you in advance.

Yavor
Telerik team
 answered on 05 May 2009
1 answer
110 views
hi

I try to implement this exampl please check this link
http://demos.telerik.com/aspnet-ajax/slider/examples/customscrollbar/defaultcs.aspx
but i given runat="server" for div tag.. its through java script error..

i have to load value in server side.. how can i implement please help me...
i give my code here Please check it..
asp code here..

 <script type="text/javascript" language ="javascript">
    var initialValue;
    var initialValue2;

    function HandleClientLoaded2(sender, eventArgs)
    {
        initialValue2 = sender.get_minimumValue();
        HandleClientValueChange2(sender, null);
    }

    function HandleClientValueChange2(sender, eventArgs)
    {
        var wrapperDiv = document.getElementById('boxes_wrapper');
        var contentDiv = document.getElementById('boxes_content');
        
        var oldValue = (eventArgs) ? eventArgs.get_oldValue() : sender.get_minimumValue();
        var change = sender.get_value() - oldValue;
        
        var contentDivWidth = contentDiv.scrollWidth - wrapperDiv.offsetWidth;
        var calculatedChangeStep = contentDivWidth / ((sender.get_maximumValue() - sender.get_minimumValue()) / sender.get_slideStep());
        
        initialValue2 = initialValue2 - change * calculatedChangeStep;
        if (sender.get_value() == sender.get_minimumValue())
        {
            contentDiv.style.left = 0 + 'px';
            initialValue2 = sender.get_minimumValue();
        }
        else
        {
            contentDiv.style.left = initialValue2 + 'px';
        }
    }
    
    </script>

 <div >
                                            <div class="Boxes">
                                                <div id="boxes_wrapper" class="Boxes_Wrapper">
                                                <div id="boxes_content" class="Boxes_Content" runat="server"> ! Note here
                                                    <%--<img src="../../Objects/Images/Arrow.gif" alt="Telerik products" />--%>
                                                    <%--<img src="../../Objects/Images/Arrow1.gif" alt="Telerik products" />
                                                    <img src="../../Objects/Images/flag_eng.jpg" alt="Telerik products" />--%>
                                                </div>
                                                </div>
                                                </div>
                                                
                                                <div class="BoxesSlider">
                                                <telerik:RadSlider ID="RadSlider2" runat="server"
                                                    SmallChange="1"
                                                    Width="224"
                                                    Value="0"
                                                    Orientation="Horizontal"
                                                    OnClientValueChange="HandleClientValueChange2"
                                                    OnClientLoaded="HandleClientLoaded2"
                                                    Skin="WebBlue" />
                                                </div>
                                         </div>

Server side code...
 '======================== new slider ==========================
                'AvaliableContent = (vbTab & " <table  cellpadding=""0"" cellspacing=""0"" border=""0"">" & vbNewLine) & _
                '                    (vbTab & " <tr><td colspan=""3"" style=""height:24px;""></td></tr>" & vbNewLine) & _
                '                    (vbTab & vbTab & "<tr>" & vbNewLine)
                'For Each odrC In odtC.Rows
                '    AvaliableContent &= (vbTab & vbTab & "<td style=""height:50px; background-color:" & odrC.Item("ColorId") & ";""><img src=""../../Objects/Images/space.gif"" width=""80"" height=""1""/></td>" & vbNewLine)
                'Next
                'AvaliableContent &= (vbTab & "</tr></table>" & vbNewLine)

boxes_content.InnerHtml =avaliablecontent

Tsvetie
Telerik team
 answered on 05 May 2009
5 answers
135 views
I need to display Rotator (fixed width) on multiple Panels (RadPanelItem) within PanelBar (can be fixed with but 100% width preferred). For some reason each time Panel containing Rotator is expanded/collapsed the widht of Rotator is decreased (I belive by 20px, but I might be mistaken). Is this a Bug or Configuration issue? How can I resolve this?

Thank you,
a.
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebApplication1._Default" %> 
 
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %> 
 
<!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></title> 
</head> 
<body> 
    <form id="form1" runat="server"> 
    <telerik:RadScriptManager runat="server"> 
    </telerik:RadScriptManager> 
    <div> 
     
        <telerik:RadPanelBar ID="RadPanelBar1" runat="server"  
            ExpandMode="FullExpandedItem" Height="400px"  
            Width="460px" Skin="Gray"> 
            <CollapseAnimation Duration="100" Type="Linear" /> 
            <ExpandAnimation Duration="100" Type="Linear" /> 
            <Items> 
                <telerik:RadPanelItem Expanded="true" Text="CHOOSE SET"> 
                    <Items> 
                        <telerik:RadPanelItem> 
                            <ItemTemplate> 
                                <telerik:RadRotator ID="rotSet" runat="server"   
                                    Height="108px" ItemHeight="100px" ItemWidth="150px" RotatorType="Buttons"  
                                    Width="450px"> 
                                    <ItemTemplate> 
                                        <asp:HiddenField ID="hdnSetId" runat="server" Value="" /> 
                                        <asp:Image ID="imgSet" runat="server" ImageUrl="" /> 
                                    </ItemTemplate> 
                                </telerik:RadRotator> 
                            </ItemTemplate> 
                        </telerik:RadPanelItem> 
                    </Items> 
                </telerik:RadPanelItem> 
                <telerik:RadPanelItem Text="CHOOSE PACKAGE"> 
                    <Items> 
                        <telerik:RadPanelItem> 
                            <ItemTemplate> 
                                <telerik:RadRotator ID="rotPackage" runat="server"  
                                    Height="108px" ItemHeight="100px" ItemWidth="150px"  
                                    RotatorType="Buttons" Width="450px"> 
                                    <ItemTemplate> 
                                        <asp:HiddenField ID="hdnPackageId" runat="server" Value="" /> 
                                        <asp:Image ID="imgPackage" runat="server" ImageUrl="" /> 
                                    </ItemTemplate> 
                                </telerik:RadRotator> 
                            </ItemTemplate> 
                        </telerik:RadPanelItem> 
                    </Items> 
                </telerik:RadPanelItem> 
            </Items> 
        </telerik:RadPanelBar> 
     
    </div> 
    </form> 
</body> 
</html> 
 

Fiko
Telerik team
 answered on 05 May 2009
7 answers
277 views
I want to highlight particular row once it is updated.  The row need to be highlighted with some different back color once it is updated. In which event i will do it and how?
Princy
Top achievements
Rank 2
 answered on 05 May 2009
1 answer
119 views
Hi,
Is it possible to set a node's checked state to indeterminate even if it doesn't have child nodes?
And I want to do it on server side this time.
I tried to use your previous reply but it couldnt find the node :

ScriptManager.RegisterStartupScript(Page, typeof(Page), "aa", RadTreeView1.Nodes[i].ClientID+".get_checkBoxElement().className = 'rtIndeterminate';", true);

Regards.
Shinu
Top achievements
Rank 2
 answered on 05 May 2009
1 answer
121 views
Hello,

I have disabled the grouping function in my radgrod with:

"GroupingEnabled" =

False 

 

 

"AllowDragToGroup" = false

but the mouse cross and the tooltip  "Drag out of the bar to ungroup" will be shown when I move with the mouse to the Header.

Which Property have I forgotten?

Thanks
Christian
Yavor
Telerik team
 answered on 05 May 2009
0 answers
199 views
Dear TT team

    i have a user control that have a raid upload control which is placed inside a RadGrid's item template
  
    i am trying to get the files full path i.e. c:\downloaded\temp\abc.pdf

     apparently its returning nothing when i trigger the button that has a update command tag

 Dim RadUpload1 As RadUpload = DirectCast(insertItem.FindControl("RadUpload1"), RadUpload) 
Dim bb As String = RadUpload1.UploadedFiles(0).FileName 
 

     as for the file byte i don't know how to get it

     any idea please help
 
Kenneth Ng
Kenneth
Top achievements
Rank 1
 asked on 05 May 2009
1 answer
141 views
Greetings,

We have a client system that uses a QA web application and a Production web application. Due to an administrative error, the Rad Editor solution was retracted from both web applications and then redeployed to both web applications. The page we are having issues with functions properly in the QA web app and throws an error in the Production web app.

I verfied the the DLLs are in the GAC and that the tags are registered as safe in the web.config file. I am new to the setup of this solution and everything appears to be OK with the setup. Any and all help is appreciated. Please see error message below. Thank you!
 

Server Error in '/' Application.

Parser Error

Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Tried to add NamedPermissionSet with non-unique name.

Source Error:

Line 1:  <%@ Register TagPrefix="WpNs1" Namespace="Microsoft.SharePoint.Portal.WebControls" Assembly="Microsoft.SharePoint.Portal, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>
Line 2: <%@ Register TagPrefix="WpNs0" Namespace="Telerik.SharePoint" Assembly="RadEditorSharePoint, Version=4.5.4.0, Culture=neutral, PublicKeyToken=1f131a624888eeed"%>Line 3:  <%@ Page language="C#" MasterPageFile="~masterurl/default.master"    Inherits="Microsoft.SharePoint.WebPartPages.WebPartPage,Microsoft.SharePoint,Version=12.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c" meta:progid="SharePoint.WebPartPage.Document" %>
Line 4:  <%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Import Namespace="Microsoft.SharePoint" %> <%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>

Source File: /default.aspx    Line: 2


Version Information: Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET Version:2.0.50727.3082
Lini
Telerik team
 answered on 05 May 2009
3 answers
142 views

  I found telrik Doc very late

I was playing with .net web part for 3 days.

 

now I have 4 questions

1) How can I configure Doc to store personalization data in sqlserverdfatabase.

Can I use the genuine table I created by running aspnetregsql.exe

2)Or what is the easy way of providing personalization per user irrespective of with computer or browser he use

 

3) How can I create a WebPartcatalog using telerik control?

(WebPartcatalog is a technical tem in classical web part.)

4)is doc personalization is achieved across all famous browsers

Obi-Wan Kenobi
Top achievements
Rank 1
 answered on 05 May 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?