Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
100 views
hello,

i've this code:

<telerik:RadWindow ID="RadWindowLoadprofile" runat="server"
    ShowContentDuringLoad="false" Width="410px" Height="210px" Style="z-index: 8000"
    Behaviors="None" Modal="True" AutoSize="true" OnClientClose="Loadimage"
    Behavior="None" Font-Names="Verdana" Font-Size="Small"
    Skin="Office2010Silver" ReloadOnShow="false" VisibleStatusbar="False"
    RestrictionZoneID="NavigateUrlZone" EnableViewState="False"
    NavigateUrl="UploadImgProfile.aspx" VisibleTitlebar="False">                      
</telerik:RadWindow>

in my page i use skin="Simple" but in this radwindow to have the compatibility witn the autosize, i must to use the Office2010Silver skin..but when I start the loanding radwindow start of the skin office2010silver and since it is different from the one I always use, I would like to open my radwindow not seeing the loading. you can not change the skin office2010silver?
rdmptn
Top achievements
Rank 1
 answered on 27 Mar 2013
1 answer
77 views
Hi,
I have this tooltip:

<telerik:RadToolTip ID="RadToolTip1" runat="server" TargetControlID="Imgprofile"
    ManualClose="true" Width="140px" Position="MiddleRight"
        Skin="Simple" RelativeTo="Element">
    <telerik:RadButton ID="RadButton1" runat="server" Text="Carica foto"
        Width="130px" ButtonType="LinkButton" Skin="Office2010Silver">
        <Icon PrimaryIconCssClass="rbAdd" PrimaryIconLeft="4" PrimaryIconTop="4"></Icon>
    </telerik:RadButton>
    <hr />
    <telerik:RadButton ID="RadButton2" runat="server" Text="Rimuovi foto"
        Width="130px" ButtonType="LinkButton" Skin="Office2010Silver">
        <Icon PrimaryIconCssClass="rbRemove" PrimaryIconLeft="4" PrimaryIconTop="4"></Icon>
    </telerik:RadButton>
</telerik:RadToolTip>

that allows you to upload your profile picture, or remove it. I wish that when I open the webpage if the image is not in the database, this tooltip appears automanticamente and that the "remove image" is disabled. However, if the image is loaded then the tooltip should not show but if you go above the image with the mouse then the tooltip to appear and must be enabled buttons.

all this should be done by code vb net, code behind because I can manage to code if the image is loaded or not.
rdmptn
Top achievements
Rank 1
 answered on 27 Mar 2013
1 answer
211 views

We need to add multiple rows to the RadGrid at a time. i.e how can we allow Add/Insert to be clicked more than once?
(multiple blank rows should get displayed at top of RadGrid )
Currenlty we are ging this version of telerik : 2010.3.1317.40
Please provide information the above.
Kostadin
Telerik team
 answered on 27 Mar 2013
3 answers
214 views
Hi,
 is possible load into Radtooltip a page aspx?

For example i've this page aspx that use to upload avatar image:

<%@ Page Language="vb" AutoEventWireup="true" CodeFile="UploadImgProfile.aspx.vb" Inherits="UploadImgProfile" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
<head runat="server">
    <meta name="description" content="Trycontact; il social network che ti collega alla community con il tuo biglietto da visita virtuale." />
    <meta http-equiv="X-UA-Compatible" content="IE=9" />
    <title>Upload image profile</title>
    </head>
<body style="border:0px; padding:0px; margin-top:0px; margin-left:0px; margin-right:0px; margin-bottom:0px">
    <form id="form1" runat="server">
    <telerik:RadAjaxManager runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="Imgbtncarica">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadAjaxPanel1"
                        LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
        <telerik:RadFormDecorator ID="QsfFromDecorator" runat="server"
        DecoratedControls="All" Skin="Sunset" />
         <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" Runat="server"
             Skin="Simple" HorizontalAlign="Center" Width="350px" BorderColor="#D5842B"
             BorderStyle="Double" BorderWidth="1px">
         </telerik:RadAjaxLoadingPanel>
         <telerik:RadScriptManager ID="RadScriptManager1" Runat="server">
        </telerik:RadScriptManager>
    <div class="Divloadprofile">
          <div id="upload" class="Divloadprofile1">
             <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" HorizontalAlign="NotSet" ClientEvents-OnRequestStart="conditionalPostback">
                 <table style="border: 0px; margin: 0px; padding: 0px; width: 395px; text-align:center">
                     <tr>
                         <td style="border-style: none; border-color: inherit; border-width: 0px; margin: 0px; padding-top: 5px; text-align: center; height:23px">
                             <asp:CustomValidator ID="CustomValidator1" runat="server" ClientValidationFunction="validateRadUpload"
                                 ErrorMessage="File errato" ValidationGroup="carica"></asp:CustomValidator>
                         </td>
                     </tr>
                     <tr>
                         <td style="border-style: none; border-color: inherit; border-width: 0px; margin: 0px; padding-left:35px; vertical-align: top;">
                             <telerik:RadUpload ID="RadUpload1" Runat="server"
                              AllowedFileExtensions=".jpg,.jpeg,.png,.gif" OverwriteExistingFiles="True"
                              TargetFolder="image/image_utenti" ControlObjectsVisibility="None"
                              InputSize="40" Height="22px" style="text-align: left" Skin="Sunset"
                              Width="343px" MaxFileSize="3000000">
                             <Localization Select="Cerca" />
                             </telerik:RadUpload>
                             <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
                                 <script type="text/javascript">
                                     function conditionalPostback(sender, args) {
                                             if(args.get_eventTarget() == "<%= imgbtncarica.UniqueID %>")
                                                 args.set_enableAjax(false);
                                         }
                                         function validateRadUpload(source, e) {
                                             e.IsValid = false;
                                             var upload = $find("<%= RadUpload1.ClientID %>");
                                             var inputs = upload.getFileInputs();
                                             for (var i = 0; i < inputs.length; i++) {
                                                 //check for empty string or invalid extension    
                                                 if (inputs[i].value != "" && upload.isExtensionValid(inputs[i].value)) {
                                                     e.IsValid = true;
                                                     break;
                                                 }
                                             }
                                         }
                                         function GetRadWindow() {
                                             var oWindow = null;
                                             if (window.radWindow) oWindow = window.radWindow;
                                             else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow;
                                             return oWindow;
                                         }
                                         function Close(argument) {
                                             GetRadWindow().close(argument);
                                         }
                                         function Close1() {
                                             GetRadWindow().close();
                                         }
                                     </script>
                             </telerik:RadCodeBlock>
                         </td>
                     </tr>
                     <tr>
                         <td style="border-style: none; border-color: inherit; border-width: 0px; margin: 0px; vertical-align: top; height: 50px">
                             <div class="Divinfoupload">
                                  Il file deve avere le seguenti estensioni: jpg, jpeg, png, gif<br /> Il file
                                 deve avere una grandezza massima di 3 Mb.<br /> Risoluzione ottimale
                                 consigliata: 128x128 pixel.                           
                             </div>
                         </td>
                     </tr>
                 </table>           
                 <div style="width:395px; padding-top: 10px">
                <table style="width: 100%;">
                  <tr>
                <td style="text-align:center">
                    <asp:ImageButton ID="Imgbtncarica" runat="server" ImageUrl="~/Image/Upload.png"
                        ValidationGroup="carica" />
                </td>
                <td style="text-align:center">
                    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                        <ContentTemplate>
                             <asp:ImageButton ID="Imgbtnesci" runat="server" ImageUrl="~/Image/esci1.png"
                                 ValidationGroup="close" />
                        </ContentTemplate>
                    </asp:UpdatePanel>
                </td>
            </tr>
            </table>
            </div>
         </telerik:RadAjaxPanel>
    </div>
    </div>
    </form>
</body>
</html>

in the mater page there's un image asp..i would that when the mouse rolls over the image, should appear radtooltip that loads the aspx page. if it is possible I would like to appear always radtooltip but inside a button, which can then be clicked to load the aspx page
rdmptn
Top achievements
Rank 1
 answered on 27 Mar 2013
3 answers
338 views
I have looked at the example in the demo, but I don't want to have to use a rad window..  I have the orgchart inside of a RadPageView.

So my question is how do I get the control for the setZoom Function in the online demo
If you look at the first line that doesn't work it returns a null.  I am new to Javascripting so I am not sure how to grab the control.
function setZoom() {
    var org = $find(".RadOrgChart").get(0);
    var org = $($(".RadWindow iframe").get(0).contentWindow.document).find(".RadOrgChart").get(0)
    //var org = $find("ctl00_MainContent_rocProjects");
                                     
    if ($telerik.isFirefox)
        org.style.MozTransform = "scale(" + scaleParamX + "," + scaleParamY + ")";
    else if ($telerik.isIE && !$telerik.isIE7)
        org.style.zoom = scaleParamX;
    else if ($telerik.isIE7)
        $(org).find(".rocRootNodeList").get(0).style.zoom = scaleParamX;
    else if ($telerik.isOpera || $telerik.isSafari)
        org.style.WebkitTransform = "scale(" + scaleParamX + ")";
}


Peter Filipov
Telerik team
 answered on 27 Mar 2013
1 answer
131 views
Hi,

I have integrated radgrid into my project and there is some sample date field showing above the grid.. Please refer to the screen shoot for the problem.

<div id="Content_e_GTTEVENT_grid" class="RadGrid RadGrid_Office2007" style="width:100%;" tabindex="0">
 
<!-- 2012.3.1205.35 --><fldtype>12</fldtype><tag>SAMPLE03</tag><collapsed>False</collapsed><value>17-Jul-2010</value>
CL=-1 RA=0 SH=-1 PR=0 OC=-1 BA=0 SI=0 DateEntered=18-Feb-1999 Status=0 CS=-1 FG=0 TU=0 CA=0 TR=0 RM=-1 CP=-1 KY=0 UpdateFlag=0 MfChk1=-1 MfChk2=0 MfChk3=0 MfChk4=0 MfChk5=0 MfNr=5 AlertNr=0 RelAllowed=|BR|DGT|EME|EMR|FMY|FAT|LG|MOT|SIS|SON|SPO||ACC|AGT|AUD|AUS|CON|FC|GMR|INS|IVA|LAN|LAW|LIQ|MAN|REC|SUR|TEN||SAS|DIR| DirtyRels=-1 DirtyOwner=-1 DirtyOther=-1 Confidential=0 ConfId= }<table class="rgMasterTable rgClipCells" border="0" id="Content_e_GTTEVENT_grid_ctl00" style="width:100%;table-layout:fixed;overflow:hidden;empty-cells:show;">
    <colgroup>
        <col style="width:0px;display:none;">
        <col style="width:120px">
        <col style="width:88px">
        <col style="width:96px">
        <col style="width:80px">
        <col style="width:400px">
        <col style="width:0px;display:none;">
        <col style="width:0px;display:none;">
        <col style="width:0px;display:none;">
        <col style="width:0px;display:none;">
        <col style="width:0px;display:none;">
        <col style="width:0px;display:none;">
        <col style="width:280px">
        <col style="width:0px;display:none;">
        <col style="width:0px;display:none;">
        <col style="width:0px;display:none;">
        <col style="width:0px;display:none;">
    </colgroup>
<thead>
        <tr>
            <th scope="col" class="rgHeader" style="display:none;text-align:left;"><a title="Click here to sort" href="javascript:__doPostBack('Content$e_GTTEVENT$grid$ctl00$ctl02$ctl01$ctl00','')">Change Number</a></th><th scope="col" class="rgHeader" style="text-align: center; cursor: move;" title="Drag to group or reorder"><a title="Click here to sort" href="javascript:__doPostBack('Content$e_GTTEVENT$grid$ctl00$ctl02$ctl01$ctl01','')">Date Entered</a></th><th scope="col" class="rgHeader" style="text-align:center;"><a title="Click here to sort" href="javascript:__doPostBack('Content$e_GTTEVENT$grid$ctl00$ctl02$ctl01$ctl02','')">Effective</a></th><th scope="col" class="rgHeader" style="text-align: right; cursor: move;" title="Drag to group or reorder"><a title="Click here to sort" href="javascript:__doPostBack('Content$e_GTTEVENT$grid$ctl00$ctl02$ctl01$ctl03','')">Approved</a></th><th scope="col" class="rgHeader" style="text-align: left; cursor: move;" title="Drag to group or reorder"><a title="Click here to sort" href="javascript:__doPostBack('Content$e_GTTEVENT$grid$ctl00$ctl02$ctl01$ctl04','')">User</a></th><th scope="col" class="rgHeader" style="text-align: left; cursor: move;" title="Drag to group or reorder"><a title="Click here to sort" href="javascript:__doPostBack('Content$e_GTTEVENT$grid$ctl00$ctl02$ctl01$ctl05','')">Description</a></th><th scope="col" class="rgHeader" style="display:none;text-align:right;"><a title="Click here to sort" href="javascript:__doPostBack('Content$e_GTTEVENT$grid$ctl00$ctl02$ctl01$ctl06','')">Show in Summary</a></th><th scope="col" class="rgHeader" style="display:none;text-align:left;"><a title="Click here to sort" href="javascript:__doPostBack('Content$e_GTTEVENT$grid$ctl00$ctl02$ctl01$ctl07','')">Note</a></th><th scope="col" class="rgHeader" style="display:none;text-align:left;"><a title="Click here to sort" href="javascript:__doPostBack('Content$e_GTTEVENT$grid$ctl00$ctl02$ctl01$ctl08','')">Change Code</a></th><th scope="col" class="rgHeader" style="display:none;text-align:left;"><a title="Click here to sort" href="javascript:__doPostBack('Content$e_GTTEVENT$grid$ctl00$ctl02$ctl01$ctl09','')">Change Name</a></th><th scope="col" class="rgHeader" style="display:none;text-align:right;"><a title="Click here to sort" href="javascript:__doPostBack('Content$e_GTTEVENT$grid$ctl00$ctl02$ctl01$ctl10','')">Requires Confirmation</a></th><th scope="col" class="rgHeader" style="display:none;text-align:left;"><a title="Click here to sort" href="javascript:__doPostBack('Content$e_GTTEVENT$grid$ctl00$ctl02$ctl01$ctl11','')">Change Details</a></th><th scope="col" class="rgHeader" style="text-align: left; cursor: move;" title="Drag to group or reorder"><a title="Click here to sort" href="javascript:__doPostBack('Content$e_GTTEVENT$grid$ctl00$ctl02$ctl01$ctl12','')">Entity</a></th><th scope="col" class="rgHeader" style="display:none;text-align:left;"><a title="Click here to sort" href="javascript:__doPostBack('Content$e_GTTEVENT$grid$ctl00$ctl02$ctl01$ctl13','')">Entity Code</a></th><th scope="col" class="rgHeader" style="display:none;text-align:right;"><a title="Click here to sort" href="javascript:__doPostBack('Content$e_GTTEVENT$grid$ctl00$ctl02$ctl01$ctl14','')">Active</a></th><th scope="col" class="rgHeader" style="display:none;text-align:left;"><a title="Click here to sort" href="javascript:__doPostBack('Content$e_GTTEVENT$grid$ctl00$ctl02$ctl01$ctl15','')">Administrator Group</a></th><th scope="col" class="rgHeader" style="display:none;text-align:left;"><a title="Click here to sort" href="javascript:__doPostBack('Content$e_GTTEVENT$grid$ctl00$ctl02$ctl01$ctl16','')">Event Class</a></th>
        </tr>
    </thead><tfoot>
        <tr class="rgPager">
            <td colspan="6"><table summary="Data pager which controls on which page is the RadGrid control." border="0" style="width:100%;border-spacing:0;">
                <caption>
                    <span style="display: none">Data pager</span>
                </caption><thead>
                    <tr>
                        <th scope="col"></th>
                    </tr>
                </thead><tbody>
                    <tr>
                        <td class="rgStatus"><div id="Content_e_GTTEVENT_grid_ctl00_ctl03_ctl01_statusPanel" style="visibility:hidden;">
                              
                        </div></td><td class="rgPagerCell NextPrevAndNumeric"><div class="rgWrap rgArrPart1">
                            <input type="submit" name="Content$e_GTTEVENT$grid$ctl00$ctl03$ctl01$ctl02" value=" " onclick="return false;" title="First Page" class="rgPageFirst"> <input type="submit" name="Content$e_GTTEVENT$grid$ctl00$ctl03$ctl01$ctl03" value=" " onclick="return false;" title="Previous Page" class="rgPagePrev">
                        </div><div class="rgWrap rgNumPart">
                            <a onclick="return false;" class="rgCurrentPage" href="javascript:__doPostBack('Content$e_GTTEVENT$grid$ctl00$ctl03$ctl01$ctl05','')"><span>1</span></a><a href="javascript:__doPostBack('Content$e_GTTEVENT$grid$ctl00$ctl03$ctl01$ctl07','')"><span>2</span></a><a href="javascript:__doPostBack('Content$e_GTTEVENT$grid$ctl00$ctl03$ctl01$ctl09','')"><span>3</span></a><a href="javascript:__doPostBack('Content$e_GTTEVENT$grid$ctl00$ctl03$ctl01$ctl11','')"><span>4</span></a><a href="javascript:__doPostBack('Content$e_GTTEVENT$grid$ctl00$ctl03$ctl01$ctl13','')"><span>5</span></a><a href="javascript:__doPostBack('Content$e_GTTEVENT$grid$ctl00$ctl03$ctl01$ctl15','')"><span>6</span></a><a href="javascript:__doPostBack('Content$e_GTTEVENT$grid$ctl00$ctl03$ctl01$ctl17','')"><span>7</span></a><a href="javascript:__doPostBack('Content$e_GTTEVENT$grid$ctl00$ctl03$ctl01$ctl19','')"><span>8</span></a><a href="javascript:__doPostBack('Content$e_GTTEVENT$grid$ctl00$ctl03$ctl01$ctl21','')"><span>9</span></a><a href="javascript:__doPostBack('Content$e_GTTEVENT$grid$ctl00$ctl03$ctl01$ctl23','')"><span>10</span></a><a title="Next Pages" href="javascript:__doPostBack('Content$e_GTTEVENT$grid$ctl00$ctl03$ctl01$ctl25','')"><span>...</span></a>
                        </div><div class="rgWrap rgArrPart2">
                            <input type="submit" name="Content$e_GTTEVENT$grid$ctl00$ctl03$ctl01$ctl28" value=" " title="Next Page" class="rgPageNext"> <input type="submit" name="Content$e_GTTEVENT$grid$ctl00$ctl03$ctl01$ctl29" value=" " title="Last Page" class="rgPageLast">
                        </div><div class="rgWrap rgAdvPart">
                            <span id="Content_e_GTTEVENT_grid_ctl00_ctl03_ctl01_ChangePageSizeLabel" class="rgPagerLabel">Page size:</span><div id="Content_e_GTTEVENT_grid_ctl00_ctl03_ctl01_PageSizeComboBox" class="RadComboBox RadComboBox_Office2007" style="width:46px;white-space:normal;">
                                <table summary="combobox" style="border-width: 0px; border-collapse: collapse;">
                                    <tbody><tr class="rcbReadOnly">
                                        <td style="width:100%;" class="rcbInputCell rcbInputCellLeft"><input name="Content$e_GTTEVENT$grid$ctl00$ctl03$ctl01$PageSizeComboBox" type="text" class="rcbInput radPreventDecorate" id="Content_e_GTTEVENT_grid_ctl00_ctl03_ctl01_PageSizeComboBox_Input" value="20" readonly="readonly" autocomplete="off"></td>
                                        <td class="rcbArrowCell rcbArrowCellRight"><a id="Content_e_GTTEVENT_grid_ctl00_ctl03_ctl01_PageSizeComboBox_Arrow" style="overflow: hidden;display: block;position: relative;outline: none;">select</a></td>
                                    </tr>
                                </tbody></table>
                                <div class="rcbSlide" style="z-index:6000;"><div id="Content_e_GTTEVENT_grid_ctl00_ctl03_ctl01_PageSizeComboBox_DropDown" class="RadComboBoxDropDown RadComboBoxDropDown_Office2007 " style="display:none;"><div class="rcbScroll rcbWidth" style="width:100%;"><ul class="rcbList" style="list-style:none;margin:0;padding:0;zoom:1;"><li class="rcbItem ">10</li><li class="rcbItem ">20</li><li class="rcbItem ">50</li></ul></div></div></div><input id="Content_e_GTTEVENT_grid_ctl00_ctl03_ctl01_PageSizeComboBox_ClientState" name="Content_e_GTTEVENT_grid_ctl00_ctl03_ctl01_PageSizeComboBox_ClientState" type="hidden" autocomplete="off">
                            </div>
                        </div><div class="rgWrap rgInfoPart">
                              <strong>2714</strong> items in <strong>136</strong> pages
                        </div></td>
                    </tr>
                </tbody>
            </table></td>
        </tr>
    </tfoot><tbody>
    <tr class="rgRow rgSelectedRow" id="Content_e_GTTEVENT_grid_ctl00__0">
        <td align="left" style="display:none;">5544</td><td align="center">22-Mar-2013 3.56 PM</td><td align="center">22-Mar-2013</td><td align="right">Yes</td><td align="left">SM</td><td align="left">Bank Account #2222222222 Deleted</td><td align="right" style="display:none;">Yes</td><td align="left" style="display:none;"> </td><td align="left" style="display:none;">BAD</td><td align="left" style="display:none;">Delete Bank Account</td><td align="right" style="display:none;">No</td><td align="left" style="display:none;">{BAD EntCode=CASEYL SeqNr=1 BAnumber=2222222222 BAtype=CA IBANcode= BankAddrCode=NEWEUR BranchAddrCode= SortCode= CurCode=USD AccountName= SigningArrang= BNote= DateResolution= DateClosed= Status=0 Value= DateValue= Exchange= Quantity= Bank=New Europe Bank ValueBC= }</td><td align="left">Casey Limited Corporation ??</td><td align="left" style="display:none;">CASEYL</td><td align="right" style="display:none;">Yes</td><td align="left" style="display:none;">GROUP1</td><td align="left" style="display:none;"> </td>
    </tr><tr class="rgAltRow" id="Content_e_GTTEVENT_grid_ctl00__19" style="background-color:White;">
        <td align="left" style="display:none;">5525</td><td align="center">22-Mar-2013 11.32 AM</td><td align="center">22-Mar-2013</td><td align="right">Yes</td><td align="left">SM</td><td align="left">Master File Details of Casey Limited Corporation Changed</td><td align="right" style="display:none;">Yes</td><td align="left" style="display:none;"> </td><td align="left" style="display:none;">ADC</td><td align="left" style="display:none;">Change Master File Details</td><td align="right" style="display:none;">No</td><td align="left" style="display:none;">{ADC EntCode=CASEYL RefCode=CASEYL RefType=C AdminGroup=GROUP1 Name=Casey Limited Corporation ChnsName=?? CompName=Toby Long SearchName=Casey Limited Corporation ?? NameFormat=0 AltName= GreetingList=0 MailList=-1 UserComboMR=NA LangCode=ENG UFieldFormat=<!--?xml version='1.0' ?-->
<checklist>
<clline><level>0</level></clline></checklist></td></tr></tbody><caption>Sample date field</caption>
<tbody><tr><td align="left">Casey Limited Corporation ??</td><td align="left" style="display:none;">CASEYL</td><td align="right" style="display:none;">Yes</td><td align="left" style="display:none;">GROUP1</td><td align="left" style="display:none;"> </td>
    </tr>
    </tbody>
 
</table><input id="Content_e_GTTEVENT_grid_ClientState" name="Content_e_GTTEVENT_grid_ClientState" type="hidden" autocomplete="off">
    </div>
Kostadin
Telerik team
 answered on 27 Mar 2013
1 answer
101 views
Hello,
I would like add google map inside a tootip but its dont work.
I use :
Protected Sub OnAjaxUpdate(sender As Object, args As ToolTipUpdateEventArgs)
            Me.UpdateToolTip(args.Value, args.UpdatePanel)
 
        End Sub
 
        Private Sub UpdateToolTip(elementID As String, panel As UpdatePanel)
            Dim ctrl As Control = Page.LoadControl("~/desktopmodules/catalookstore/skins/" & New StoreAdminInfo(PortalSettings.PortalId).Skin & "/_IciRelaisDetail.ascx")
            panel.ContentTemplateContainer.Controls.Add(ctrl)
            Dim details As IciRelaisDetails = DirectCast(ctrl, IciRelaisDetails)
            details.PUDO_ID = elementID
        End Sub

in _icirelaisdetails.ascx i cant add javascript for load map.
Nothing javascript is running on tooltip ?

I'm testing with :
<%@ Control Language="vb" AutoEventWireup="false" Inherits="CATALooK.IciRelaisDetails" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
 
 
<table runat="server" style="width: 100%" id="ProductWrapper" border="0" cellpadding="2"
     cellspacing="0">
     <tr>
          <td style="text-align: center;">
               <asp:FormView ID="FormViewPUDO"  DataKeyNames="PUDO_ID"  runat="server" >
                    <ItemTemplate>
                         <asp:Label  ID="LabelPUDO_ID" runat="server">Code identifiant de l'espace ICI relais : <%# Eval("PUDO_ID")%></asp:Label>
                         <asp:Label  ID="LabelNAME" runat="server"><%# Eval("NAME")%></asp:Label>
                        
                         <asp:Label ID="LabelADDRESS1" runat="server" Text='<%# Eval("ADDRESS1")%>'></asp:Label>
                       <asp:Label ID="LabelADDRESS2" runat="server" Text='<%# Eval("ADDRESS2")%>'></asp:Label>
                       <asp:Label ID="LabelADDRESS3" runat="server" Text='<%# Eval("ADDRESS3")%>'></asp:Label>
                      <asp:Label ID="LabelZIPCODE" runat="server" Text='<%# Eval("ZIPCODE")%>'></asp:Label>
                      <asp:Label ID="LabelCITY" runat="server" Text='<%# Eval("CITY")%>'></asp:Label>
                        <div id="map-canvas" style="width: 100%; height: 100%"></div>
                    
 
                    </ItemTemplate>
               </asp:FormView>
          </td>
     </tr>
     
</table>
 
<script type="text/javascript">
    (function ($) {
        $(document).ready(function () {
            alert("Hooray! The document is ready!");
        }
   );
    })($telerik.$);
</script>

How resolve this issue ?
Thank you !
Manu
Marin Bratanov
Telerik team
 answered on 27 Mar 2013
1 answer
219 views
Hi all I have a Radgrid in my form . where i have a editform template . I have textbox control on it. I want to apply autocomplete on this textbox. But this is not working. i have tested it with another textbox outside the grid it is working. i am using Ajax and webservice for this.
i am taking class name for autocomplete operation in ajax. Please help.

i am attaching my code

$(function() {
       var x = document.getElementById("hid1").value;
       // alert(x);
       $(".aaa").autocomplete({
           source: function(request, response) {
               $.ajax({
                   url: "EmployeeList.asmx/FetchEmailList",
                   data: "{ 'mail123': '" + request.term + "' }",
                   dataType: "json",
                   type: "POST",
                   contentType: "application/json; charset=utf-8",
                   dataFilter: function(data) { return data; },
                   success: function(data) {
                       response($.map(data.d, function(item) {
                           return {
                               value: item.MenuName
                           }
                       }))
                   },
                   error: function(XMLHttpRequest, textStatus, errorThrown) {
                       alert(textStatus);
                   }
               });
           },
           minLength: 1
       });
   });


and the grid is

<telerik:RadGrid ID="RadGridNewApi" runat="server" GridLines="None"
                                                                    Skin="WebBlue" AllowPaging="false" AllowSorting="True" AutoGenerateColumns="False"
                                                                    OnNeedDataSource="RadGridNewApi_NeedDataSource" ShowStatusBar="true" AllowAutomaticDeletes="True"
                                                                    AllowAutomaticInserts="True" AllowAutomaticUpdates="True" OnItemCreated="ItemCreated">
                                                                    <MasterTableView CommandItemDisplay="Top" DataKeyNames="">
                                                                        <CommandItemSettings AddNewRecordText="Add Field" RefreshText=""></CommandItemSettings>
                                                                        <Columns>
                                                                            
                                                                            <telerik:GridBoundColumn UniqueName="MenuName" HeaderText="MenuName" DataField="MenuName">
                                                                                <HeaderStyle Width="60px"></HeaderStyle>
                                                                            </telerik:GridBoundColumn>
                                                                           
                                                                        </Columns>
                                                                        <EditFormSettings EditFormType="Template">
                                                                            <FormTemplate>
                                                                                <table id="Table9" cellspacing="5" cellpadding="5" width="97%" border="0" rules="none"
                                                                                    style="background: white;">
                                                                                    <tr>
                                                                                        <td>
                                                                                            <table id="Table7" cellspacing="5" cellpadding="5" width="100%" border="0" class="module">
                                                                                               
                                                                                                <tr>
                                                                                                    <td>
                                                                                                        Mask Name:
                                                                                                    </td>
                                                                                                    <td>
                                                                                                        <asp:TextBox runat="server" ID="txtMaskName" class="aaa" Text='<%# Bind("MenuName")%>' ></asp:TextBox>
                                                                                                    </td>
                                                                                                </tr>
                                                                                                
                                                                                    <tr>
                                                                                        <td align="right" colspan="2">
                                                                                            <asp:Button ID="btnUpdate" Text='<%# (Container is GridEditFormInsertItem) ? "Add" : "Update" %>'
                                                                                                runat="server" CommandName='<%# (Container is GridEditFormInsertItem) ? "PerformInsert" : "Update" %>'>
                                                                                            </asp:Button>&nbsp;
                                                                                            <asp:Button ID="btnCancel" Text="Cancel" runat="server" CausesValidation="False"
                                                                                                CommandName="Cancel"></asp:Button>
                                                                                        </td>
                                                                                    </tr>
                                                                                </table>
                                                                            </FormTemplate>
                                                                        </EditFormSettings>
                                                                    </MasterTableView>
                                                                </telerik:RadGrid>
Radoslav
Telerik team
 answered on 27 Mar 2013
1 answer
200 views
Hi,

we have a Toolbar set up with a RadToolbarDropDown which is aligned to the right. When the DropDown menu opens it is left-aligned with the Button in the Toolbar, but drawn crossing the window border.

How can we manage that the DropDown Menu does not open to the right but to the left, so that the page is not resized.

See attached screenshot regarding the problem.

Kind regards
Kate
Telerik team
 answered on 27 Mar 2013
2 answers
58 views
hello,

i have project where i use artisteer and the telerik menue.

but the subitems of the menue are always behind the content.
thats the link to the portal:
http://new2.aevo.at/Shop.aspx

i changed the z-index and overflow but nothing works.

i write this into the stylesheet:

.RadMenu { overflow:visible !important; z-index: 30000 !important; }

thanks for help
dnn
Top achievements
Rank 1
 answered on 27 Mar 2013
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?