Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
270 views
HI, I'm using your radwindowmanager, and it throws this error, radopen is not defined,

I;ve tried everything the code is really simple so why I have this error?

I'm sending you the aspx file to see what I'm doing is really really simple. weird thing I have a very similar code on a running application and it works fine,

thanks
Rapitoloco
Top achievements
Rank 1
 asked on 07 Sep 2012
0 answers
146 views
Hi,

I have a RadAsyncUpload in a Jquery dialog.

When I click on the control no action is performed in Chrome and Firefox but it is working in IE.

I have added the below code snippet and tried but no success.

        Telerik.Web.UI.RadAsyncUpload.prototype._updateFormProperties = function (form)
    {
        if (form)
        {
            form.enctype = form.encoding = "multipart/form-data";
        }
    }

Is there a workaround for this?

Thanks,
Srini


Sri
Top achievements
Rank 1
 asked on 07 Sep 2012
3 answers
324 views
Hi

Can anyone tell me if it is possible to save the org chart to a PDF document?

Cheers
Cliff
Peter Filipov
Telerik team
 answered on 07 Sep 2012
2 answers
84 views
Hi all,

The WPF Rad TreeView has a property called 'IsSingleExpandPath' to force a treeview to only open one path at a time. If you open a node on a new path, all the other nodes that are on a different path will be closed.
Is there a similar feature for the ASP TreeView without doing messy things in javascript?

Erik
Erik
Top achievements
Rank 2
 answered on 07 Sep 2012
3 answers
271 views
Hi,
I found rad window manager "Alert, Prompt, Confirm" windows are very useful.
I read the below features of rad window manager : 
Here are the main RadWindowManager's dialogs advantages:
  • Full customization of the window look to blend into the design of the site, thus increasing usability.
  • Control the initial size of the popup by providing width and height as extra parameters.
  • Richer user experience by using HTML content for the dialogs.

I wonder how I can customize the radalert content for example. 

I want the OK button be at the center of the window and I want to change the background and the text color and so on.

kindly help me to do that and suggest any useful articles.

regards,
Mohammed
Top achievements
Rank 2
 answered on 07 Sep 2012
4 answers
243 views
Dear Team,

I've a custom validator that showing a rad alert using window manager.
the problem is the custom validator is fired twice some times so it make two rad alert.
how can i detect if the rad window is already opened or closed ? 

when i use rad window i can do that by using this method isClosed()

regards,
Mohammed
Top achievements
Rank 2
 answered on 07 Sep 2012
4 answers
84 views

Hello
I am new to telerik controls and new to the company I am working for. I have asked to fix some telerik control updates

  1. First one is tooltip is needed to be clicked twice to open for the first time
  2. and the second one is It always points to the previously selected row.

I am attaching the pics to be more clear

On .aspx
  
 <telerik:RadToolTip runat="server" ID="plRadToolTip" Skin="AlSkin" EnableEmbeddedSkins="false" EnableShadow="false"
        Position="MiddleLeft" ShowEvent="OnClick" HideEvent="ManualClose" RelativeTo="Element">
        <div id="divPLToolTipDiv1" runat="server">
            <div class="plToolTipDiv2">
                <div class="plToolTipTitleDiv" id="divPLToolTipTitle">
                </div>
                <div class="plToolTipLinkDiv" id="divPLToolTipSearchKB">
                    <a id="aPLToolTipSearchKB" runat="server"><span id="spnPLToolTipSearchKBText" runat="server">
                    </span></a>
                </div>
                <div class="plToolTipLinkDiv" id="divPLToolTipDocumentation">
                    <a id="aPLToolTipDocumentation" runat="server"><span id="spnPLToolTipDocumentationText"
                        runat="server"></span></a>
                </div>
                <div class="plToolTipLinkDiv" id="divPLToolTipAddIncident">
                    <a id="aPLToolTipAddIncident" runat="server"><span id="spnPLToolTipAddAnIncidentText"
                        runat="server"></span></a>
                </div>
                <div class="plToolTipLinkDiv" id="divPLToolTipDownloadPatches">
                    <a id="aPLToolTipDownloadPatches" runat="server"><span id="spnPLToolTipDownloadPatchesText"
                        runat="server"></span></a>
                </div>
                <div class="plToolTipLinkDiv" id="divPLToolTipUpdateMyProductLine">
                    <a id="aPLToolTipUpdateMyProductLine" runat="server"><span id="spnPLToolTipUpdateMyProductLineText"
                        runat="server"></span></a>
                </div>
                <div class="plToolTipLinkDiv" id="divPLToolTipUpdateMyProductLines">
                    <a id="aPLToolTipUpdateMyProductLines" runat="server"><span id="spnPLToolTipUpdateMyProductLinesText"
                        runat="server"></span></a>
                </div>
            </div>
        </div>
    </telerik:RadToolTip>
Javascipt used
  
 function ShowProductLineToolTip(target_id, title, product_line_id, category_id, doc_page_to_show, show_kb, show_doc, show_ai, show_dlp, show_umpl, show_umpls) {
      var toolTip = $find("plRadToolTip");
I really appreciate any kind of help.. I am totally lost here.

Thanks
Newbie
Top achievements
Rank 1
 answered on 07 Sep 2012
5 answers
512 views
I am struggling to figure out how to open a radwindow from my vb codebehind... I was able to get my window to open correctly by setting up an onclientclick event for a hyperlink but this is not what I want to do.  I want to handle the serverside onclick event for a link button so that I can do some server side validation and then if the validation passes I will open the popup.  Currently the code below is generating a jscript error "Object doesn't support this property or method".  The weird thing is that this exact same javascript executed successfully when it was called from a hyperlink onclientclick event and that is why I am confused?  Any thoughts?

    Protected Sub lbSchedApt_Click(ByVal sender As ObjectByVal e As System.EventArgs) Handles lbSchedApt.Click 
 
        Dim jScript As String = [String].Format("openNewWindow('{0}', '{1}');", schedQID, ddlEvaluators.SelectedValue) 
        Page.ClientScript.RegisterStartupScript(Me.GetType(), "ClientScript", jScript, True
 
    End Sub 


        function openNewWindow(schedQueueID, evaluatorID) { 
            window.radopen("ScheduleAppointment.aspx?ScheduleQueueID=" + schedQueueID + "&EvaluatorID=" + evaluatorID, "SchedAppt"); 
            return false
        } 


<asp:linkbutton ID="lbSchedApt" runat="server">Make Appointment</asp:linkbutton> 




This is the  oldcode that executed succesfully... essentially calling the same jscript function from a hyperlink client onclick as opposed to a serverside linkbutton click...

            hlSchedApt.Attributes("href") = "#" 
 
            hlSchedApt.Attributes("onclick") = [String].Format("return openNewWindow('{0}', '{1}');", datarow.Row.ItemArray(8).ToString(), ddlEvaluators.SelectedValue) 
 

Rohan
Top achievements
Rank 1
 answered on 07 Sep 2012
2 answers
110 views

Hi Telerik,

On the bottom of my RadGrid I have a problem, the buttons that display the page numbers don't show up properly (please see the image, page "2"). What can I do about this?

Thank you.
Nicoleta
Top achievements
Rank 1
 answered on 07 Sep 2012
3 answers
93 views
Hello,

I have a RadGrid contained in a Div width of 986px. The columns of the grid can be resized. When the column width exceeds 986px I do have a horizontal scroll and it works in browsers IE8, IE9, Firefox, Chrome and Safari. By cons in IE6/IE7 I have a vertical scroll in addition to the right of the grid.

How to
not have to scroll vertical?
Aspx
<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeFile="Default.aspx.cs" Inherits="_Default" %>
 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
 
<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent" >
    <asp:Panel runat="server" Width="968px">
        <div style="height: 20px"></div>
        <div>
            <telerik:RadGrid ID="RadGrid1" runat="server" AllowSorting="True" 
                AutoGenerateColumns="False" CellSpacing="0" GridLines="None">
            <ClientSettings >
                <Resizing AllowColumnResize="True" ResizeGridOnColumnResize="False" ></Resizing>
                <Scrolling AllowScroll="True" UseStaticHeaders="True" SaveScrollPosition="True" ></Scrolling>
            </ClientSettings>
            <MasterTableView >
                <Columns>
                    <telerik:GridBoundColumn FilterControlAltText="Filter column column" EmptyDataText=""
                        HeaderText="Col1" UniqueName="column1">
                        <HeaderStyle Width="150px" />
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn FilterControlAltText="Filter column1 column"
                        HeaderText="Col2" UniqueName="column2">
                        <HeaderStyle Width="150px" />
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn FilterControlAltText="Filter column2 column"
                        HeaderText="Col3" UniqueName="column3">
                        <HeaderStyle Width="150px" />
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn FilterControlAltText="Filter column3 column"
                        HeaderText="Col4" UniqueName="column4" EmptyDataText="">
                        <HeaderStyle Width="150px" />
                    </telerik:GridBoundColumn>
                </Columns>
            </MasterTableView>
            </telerik:RadGrid>
        </div>
        <div style="height: 20px"></div>
    </asp:Panel>
</asp:Content>

cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
 
public partial class _Default : System.Web.UI.Page
{
    public class ObjetDataRow
    {
        public string Colonne1 { get; set; }
        public string Colonne2 { get; set; }
        public string Colonne3 { get; set; }
        public string Colonne4 { get; set; }
    }
 
    private IList<ObjetDataRow> datas { get; set; }
 
    protected void LoadData()
    {
        if (datas == null)
        {
            datas = new List<ObjetDataRow>
                        {
                            new ObjetDataRow()
                                {
                                    Colonne1 = "Row1Colonne1",
                                    Colonne2 = "Row1Colonne2",
                                    Colonne3 = "Row1Colonne3",
                                    Colonne4 = "Row1Colonne4"
                                },
                            new ObjetDataRow()
                                {
                                    Colonne1 = "Row2Colonne1",
                                    Colonne2 = "Row2Colonne2",
                                    Colonne3 = "Row2Colonne3",
                                    Colonne4 = "Row2Colonne4"
                                },
                            new ObjetDataRow()
                                {
                                    Colonne1 = "Row3Colonne1",
                                    Colonne2 = "Row3Colonne2",
                                    Colonne3 = "Row3Colonne3",
                                    Colonne4 = "Row3Colonne4"
                                },
                            new ObjetDataRow()
                                {
                                    Colonne1 = "Row4Colonne1",
                                    Colonne2 = "Row4Colonne2",
                                    Colonne3 = "Row4Colonne3",
                                    Colonne4 = "Row4Colonne4"
                                }
                        };
        }
        RadGrid1.ClientSettings.Scrolling.ScrollHeight = new Unit();
    }
 
    protected void Page_Load(object sender, EventArgs e)
    {
        LoadData();
        if (!IsPostBack)
        {
            RadGrid1.DataSource = datas;
        }
    }
}


 cordially
Pavlina
Telerik team
 answered on 07 Sep 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?