Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
130 views
hi all,

demo address is:
http://demos.telerik.com/aspnet-ajax/rotator/examples/carouselmode/defaultcs.aspx

in that rotator control with Carousel Mode , can i add click event for each image to send visitors to specific links...
suppose that, there will be 10 product images in rotator  and if the visitor will click any of these pictures, he will go product page.

is it possible ?
Rumen
Telerik team
 answered on 02 Aug 2010
4 answers
167 views
Why this don't work? The set_width and set_height has Size Limitation in RestrictionZone?

I Use Assembly Telerik.Web.UI Version 2010.2.722.40

Anybody can help me?

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="RadWindowXRestrictionZoneProblem.WebForm1" %>
<%@ 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">
<head runat="server">
    <title></title>
    <style type="text/css">
        #RestrictionZone
        {
            position: absolute;
            width: 950px;            
            height: 550px;
            background-color: Gray;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    </telerik:RadScriptManager>
    <div id="RestrictionZone">
        <input id="Button1" type="button" value="Open Window" onclick="javascript:OpenWindow('http://www.telerik.com','Telerik WebSite',600,400);" />
       
    <input id="Button2" type="button" value="Open Window (Erro Set Size Width Height)" onclick="javascript:OpenWindow('http://www.telerik.com','Telerik WebSite',650,450);" /></p>
  
    </div>
    <telerik:RadWindowManager ID="RadWindowManager1" runat="server" RestrictionZoneID="RestrictionZone">
    </telerik:RadWindowManager>
    <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
        <script type='text/javascript'>
  
            function OpenWindow(navigateUrl, title, width, height) {
  
                var oWnd = radopen(null, null);
                oWnd.setUrl(navigateUrl);
                oWnd.set_title(title);
                oWnd.set_width(width);
                oWnd.set_height(height);
                oWnd.center();
  
            } 
  
        </script>
    </telerik:RadCodeBlock>
    </form>
</body>
</html>

 

 

 

 

Christiano
Top achievements
Rank 1
 answered on 02 Aug 2010
2 answers
166 views
I have an application with a radSplitter and one of the radPane has is contentUrl set to a pdf document. It is loading correctly in the page but I get an error when I exit it. The browser used to reproduce this error is the .Net WebBrowser Component of a winform application. Here is the code of those application :

<%@ Page Language="VB" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="RadControlsWebApp1._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">
 
<head id="Head1" runat="server">
    <title>Éditeur d'aide en ligne</title>
    <style type="text/css">
    /*
        CSS qui permet au radSplitter d'occuper toute la hauteur
        de la page
    */
    html, body, form
    {
        height: 100%;
        margin: 0px;
        padding: 0px;
        overflow: hidden;
    }
    </style>
     
</head>
<body>
    <form id="form2" runat="server">
        <telerik:RadScriptManager ID="ScriptManager" runat="server"
            EnableTheming="True">
        </telerik:RadScriptManager>
        <div id="ParentDivElement" style="height: 100%;">
            <telerik:RadSplitter ID="splitterPage" runat="server" Height="100%" Width="100%"
                Orientation="Horizontal" Skin="Office2007" >
                <telerik:RadPane ID="panePage" runat="server" Height="65%" ContentUrl="http://localhost:80/doc.pdf">
                </telerik:RadPane>
                <telerik:radsplitbar ID="RadsplitbarTop" runat="server" />
                <telerik:RadPane ID="paneEditor" runat="server" height="35%">
                </telerik:RadPane>
            </telerik:RadSplitter>
        </div>
         
    </form>
</body>
</html>

A simple winform application :
Public Class frmSimpleWinApp
 
    Private Sub frmEditeurAideLigne_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        webbrowser1.Navigate("http://localhost:49646/Default.aspx")
        Me.WindowState = FormWindowState.Maximized
    End Sub
End Class

I have attached the error message I get (It's in french). Any idea on this error??
Dobromir
Telerik team
 answered on 02 Aug 2010
3 answers
198 views
Hi,

I am trying to create a login panel for my website. I need to add a bar at that will stay always at the bottom, even when scrolling down the page. So the panel will open/slide up on click.

This is what I have so far. the problem is that the panel is 100% of the Height even when I set it to 42px.

        
<style type="text/css">
            .login-badge{ width:100%; height:42px; display:block; position:absolute; bottom:0; left:0; background-color:Black; z-index:9999; }
</style>
<
telerik:RadSplitter ID="RadSplitter1" runat="server" FullScreenMode="true" CssClass="login-badge" >       
            <telerik:RadPane ID="RadPane1" runat="server">       
                <telerik:RadSlidingZone ID="RadSlidingZone1" runat="server" SlideDirection="top" > 
                    <telerik:RadSlidingPane ID="RadSlidingPane1" runat="server" EnableDock="false">
                    </telerik:RadSlidingPane>               
                </telerik:RadSlidingZone>
            </telerik:RadPane>
</
telerik:RadSplitter>

See attachments to have a better idea of what I'm trying to create.

Thank you.
Dobromir
Telerik team
 answered on 02 Aug 2010
11 answers
232 views
I want to know if it's possible to exclude resources when doing a group by if there are no appointments present for a particular resource.  Please see the attched file where resource user John Pieratt has no appointments scheduled for the week.  I do not want to see him when I group by users unless he has appointments for the given view. 
T. Tsonev
Telerik team
 answered on 02 Aug 2010
1 answer
105 views
I have had a terrible experience when install Teleriks Demo of the Asp.net AJAX demo and RadFormDecorator Free Edition on my Windows 7 x64 system. I get an error during the install and it did not completely install and now I get the same error when i try to uninstall. Do Teleriks controls have issues being developed on x64/Windows 7 systems?
Andrey
Telerik team
 answered on 02 Aug 2010
3 answers
76 views
I have a radgrid with an entity datasource as datasource.

    <telerik:RadGrid ID="rgInmuebles" runat="server" AllowPaging="true" ShowHeader="false" 
    EnableViewState="false" OnItemDataBound="rgInmuebles_ItemDataBound" OnInit="rgInmuebles_Init">   
         ...... 
         ...... 
        <PagerStyle Mode="NumericPages" EnableSEOPaging="false" />         
    </telerik:RadGrid> 

The problem is when I have more than 10 pages. I click the "..." to go to the next block of pages and it places in page #11 but but after that when I click page #12 it goes to page #3. If I click the page #13 it goes to page #4 and so on.

What am I doint wrong?
Pavlina
Telerik team
 answered on 02 Aug 2010
5 answers
244 views
Hi!

I have a grid with a detailtable, which contains a detailtable.

I wants to localize the Pager tooltips (FirstPageToolTip, LastPageToolTip etc) and the Pager texts (PageSizeLabelText, PageTextFormat).

But it doesn't work on all tables.

I've tried to set it in Pre_Render
protected void RadGrid1_PreRender(object sender, EventArgs e) 
{ 
            RadGrid grd = (RadGrid)sender; 
            grd.PagerStyle.FirstPageToolTip = "Första sidan"; 
            grd.PagerStyle.AlwaysVisible = true; 
} 
 

I've also tried to set PagerStyle-FirstPageToolTip="Första sidan" in <telerik:RadGrid> and <telerik:GridTableView>

Also tried to set <PagerStyle FirstPageToolTip="Första sidan" /> within the <mastertableview> and <telerik:GridTableView>

Independent on the settings above, I get English tooptips and texts.

Telerik version used is "2010.1.519.35"
Pavlina
Telerik team
 answered on 02 Aug 2010
10 answers
222 views

Hello all,

i am using rad grid with contextmenu to show and hide columns

when i hide all columns the contextmenu disapear and i am not able to add columns again

i am using javascript function to restore all columns
 function RestoreColumns() {
                    var grid = $find("<%=RadGrid1.ClientID %>");

                    for (i = 0; i < grid.get_masterTableView().get_columns().length; i++) {
                        grid.get_masterTableView().showColumn(i);
                    }
                }

how can i use my script or check if number of radgrid columns equal to 0 (no columns) so i can display the context menu again
or use a visible button to show all columns
Any suggestions or help will be appreciated !
sam
Top achievements
Rank 1
 answered on 02 Aug 2010
1 answer
60 views
I have custom user control that contains a radgrid.
I have placed the user control inside page1.aspx.
I want the radgrid to show the loading effect when it changed to insert mode or edit mode.
I would do it like that:

telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" DefaultLoadingPanelID="RadAjaxLoadingPanel1">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="RadGrid1">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="RadGrid1" />
                <telerik:AjaxUpdatedControl ControlID="RadInputManager1" />
                <telerik:AjaxUpdatedControl ControlID="ReportBox1" />
            </UpdatedControls>
        </telerik:AjaxSetting>
  
    </AjaxSettings>
</telerik:RadAjaxManager>
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Outlook" />

The problem is that i cannot have access to the radgrid inside the user control from page1.aspx, plus there is only one radajaxmanager allowed per page so i cannot include one in the user control.

Does anyone knows if there is a way to resolve this?
Thanks in advance!
Maria Ilieva
Telerik team
 answered on 02 Aug 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?