Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
102 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
223 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
209 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
59 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
1 answer
304 views
Hi,
I have a RadMultiPage in a RadAjaxPanel where each page has usercontrol and each usercontrol displays a number of input controls.
When all controls on all pages are filled in the user clicks a Save button. Now I want the RadMultiPage with all its contained controls to be refreshed, as if the whole page was reloaded but of course in a ajaxified manner and without having to go through all child controls and clearing them.
How can this be achieved?
Cheers,
Christian

Andrey
Telerik team
 answered on 27 Mar 2013
1 answer
87 views
Is there a limit to the number of controls that should display properly in IE9? I would hope not.

I have several pages that seem to function properly but do not display the CSS for controls after a certain number.

here is an attachment showing how a raddock is missing its style.  Removing the tool tip will get it to work, but then the next item will not display properly? I still need to add 1 more control as well, but when I try the page is more fouled up.

I need to roll this website out within 1 week. I have been doing most of my testing in Chrome, and I do realize IE has some quirks.

Page works fine in Firefox, chrome, safari, opera.

Help??

Thanks,

Marty

SOLVED: I added RadStyleSheetManager and my issue is now resolved in  ie9



Slav
Telerik team
 answered on 27 Mar 2013
1 answer
118 views
Hi, by default, a time slot in the scheduler has a limited amount of space.
I'm looking for a way to include more information into the display.
And it should also be possible to print the schedule with the detailed information.
So displaying more information in a lightbox or pop-up would not be an option.

So do you have any suggestions for this?
Boyan Dimitrov
Telerik team
 answered on 27 Mar 2013
1 answer
108 views
i have insert data in database but som colums are insertit in html form using tags (<img></img><p></p>) wen i display in my datagridview i will display the html code
how can i display this in text fromat not html
i have use the  grid-NestedViewTempalet Relations 









sorry for my english
Andrey
Telerik team
 answered on 27 Mar 2013
1 answer
54 views
Hi Team,

I am using the radgrid with filter and I am getting error on "|" character and "\" character  is automatically removed/ignored by control. So please let me know list of character that are not being supported as input in filter textbox.

Thanks,
Manish

Antonio Stoilkov
Telerik team
 answered on 27 Mar 2013
2 answers
73 views
This is not a feedback but somewhere i read i can post my issue here,
please fwd it , if this is not the right place



Issue: I have scenario where i have tp show the delete/Edit option in a menu.

Approach: so i was adding  dropdown in the Item Template, but i am not able to get the event of it at code behind, then i try button also same thing happens. Can you please help how to do it.


Thanks,
Sumit Kanchan
kanchan_s@hcl.com
Shinu
Top achievements
Rank 2
 answered on 27 Mar 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?