Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
235 views
Hi,

Is it possible to achieve bellow functionality using telerik autocomplete textbox?

User can copy email from outlook and paste in Telerik’s Auto Complete textbox.

1.       On paste event, verify every email id from back end tables.
            a.       If no matching entries are found then mark that value as red.
            b.      If multiple entries are found then turn it to blue so that when user clicks on it show a dropdown with matching entries so that user can select desired value from it.
2.       When user selects Send Message validate if Auto Complete box has all the resolved names, if not prompt the user that about it and give option that emails will be sent to only resolved entries. How to separate resolved names from unresolved names (from client side)?

Notes: We have table, which stores all email Id.

Thank You

Zakir
Nencho
Telerik team
 answered on 04 Sep 2014
1 answer
270 views
Is it possible to achieve bellow functionality?

User can copy email from outlook and paste in Telerik’s Auto Complete textbox.

1.       On paste event, verify every email id from back end tables.
            a.       If no matching entries are found then mark that value as red.
            b.      If multiple entries are found then turn it to blue so that when user clicks on it show a dropdown with matching entries so that user can select desired value from it.
2.       When user selects Send Message validate if Auto Complete box has all the resolved names, if not prompt the user that about it and give option that emails will be sent to only resolved entries. How to separate resolved names from unresolved names (from client side)?

Notes: We have table, which stores all email Id.
Nencho
Telerik team
 answered on 04 Sep 2014
1 answer
137 views
I have a radgrid in which I am using template columns. 

I am selecting radgrid row and cell on clicking a row. But when i click on the textbox in templatecolumn, the row is getting selected but cell is not getting selected. Can you please help me out in selecting row and also the cell when I click on the textbox in template column?

Thanks,
Mohan.
Radoslav
Telerik team
 answered on 04 Sep 2014
1 answer
141 views
I have a radgrid in which I am using template columns. 

I am selecting radgrid row and cell on clicking a row. But when i click on the textbox in templatecolumn, the row is getting selected but cell is not getting selected.

Can you please help me out in selecting both row and also the cell when I click on the textbox in template column?

Thanks,
Mohan.
Radoslav
Telerik team
 answered on 04 Sep 2014
11 answers
204 views
Hi Telerik Team,

Greetings to You!

Can I bind Detail Template of RadTreeList runtime? I need to show DetailTemplate on selected row click and DetailTemplate content  may vary in Sync for each row.
If it is possible then please let me know how?.

Thanks!
Vasil
Telerik team
 answered on 04 Sep 2014
2 answers
147 views
I am attempting to use an ajaxed radgrid with the Export to Excel button enabled, but when I click on it nothing happens. I have found many examples of how to setup the export for user created buttons, but no examples on how to resolve this for the auto-generated excel button.  I have already reviewed this example and it has not been helpful or clear for this situation.

http://www.telerik.com/support/code-library/export-radgrid-content-to-excel-word-csv-pdf-with-ajax-enabled#YQzwhzNTmEG9gOMZT49Q8g

Thank you
Radoslav
Telerik team
 answered on 04 Sep 2014
7 answers
387 views
Hello, 

I am working on a project with a RadListBox.
In the RadListBox there is a list of items.
Each item consists of 2 elements: text and a toggle RadButton.
The user can change the location of an item inside the list, by drag-and-drop and also can change the toggle-state of the RadButton.

I am trying to get the new order of the list, after such a change.
I get the new order of the texts, but not the order of the buttons. [View video]

How can I get also the new order of the buttons?

Thanks,
Daniel.


My code:

ASPX:
        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="RadGrid1">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="RadGrid1" UpdatePanelCssClass="" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="Button1">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="lbl_listSelected" />
                        <telerik:AjaxUpdatedControl ControlID="RadListBox1" UpdatePanelCssClass="" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="btn_up">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="RadListBox1" UpdatePanelCssClass="" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>
        </telerik:RadAjaxManager>
 
 
 <table cellpadding="0" cellspacing="0" class="nav-justified">
            <tr>
                <td class="auto-style1">
     
  
        <telerik:RadListBox ID="RadListBox1" runat="server"  AutoPostBackOnReorder="false" EnableDragAndDrop="true" AllowReorder="true" Skin="Metro" >
             <ButtonSettings ShowReorder="false"></ButtonSettings>
            <ItemTemplate>
                <telerik:RadButton ToggleType="CustomToggle" runat="server" AutoPostBack="false" Skin="Metro" ID="btn_Order"  Width="26px" Height="18px" Checked="true" ButtonType="ToggleButton" OnClick="btn_Order_Click" EnableViewState="true">  
                   <ToggleStates>
                       <telerik:RadButtonToggleState ImageUrl="img/no-sort.png" Selected="true" IsBackgroundImage="true" Value="NoSort"/>
                       <telerik:RadButtonToggleState ImageUrl="img/up.png"  IsBackgroundImage="true" Value="Asc" />
                       <telerik:RadButtonToggleState ImageUrl="img/down.png" IsBackgroundImage="true" Value="Dsc"/>
                   </ToggleStates>
                      
                </telerik:RadButton>
         
  
  
                 <span runat="server" id="Buttons_Name"><%# Eval("Col")%></span>
                
                <br />
            </ItemTemplate>
             
          
        </telerik:RadListBox>
                </td>
                <td>
                    <asp:Label ID="lbl_listSelected" runat="server" Text="Label"></asp:Label>
                </td>
            </tr>
            <tr>
                <td class="auto-style1">
        <asp:Button ID="Button1" runat="server" Text="Button" />
                    <asp:Button ID="btn_up" runat="server" Text="up" />
                </td>
                <td> </td>
            </tr>
        </table>

VB.NET:

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        If Not IsPostBack Then
  
  
             
            columnsTable = generateListCol()
            RadListBox1.DataSource = columnsTable
            RadListBox1.DataTextField = "Col"
            RadListBox1.DataBind()
        End If
    End Sub
 
   Protected Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
  
        Dim sb As New StringBuilder
        Dim collection As IList(Of RadListBoxItem) = RadListBox1.Items
  
 
        For Each item As RadListBoxItem In collection
            Dim btn As RadButton = CType(item.FindControl("btn_Order"), RadButton)
            sb.Append(item.Text + " - " + btn.SelectedToggleState.Value + "<br />")
        Next
        lbl_listSelected.Text = sb.ToString
    End Sub




Nencho
Telerik team
 answered on 04 Sep 2014
1 answer
225 views
I have a few buttons on my form that I just switched from ASP to Telerik. 

My form does some validation that I need these buttons to bypass. 

<form id="frmCheck" onsubmit="return Frm_onsubmit();" method="post" runat="server">

​ <telerik:RadButton ID="btnBatchT" runat="server" Text="Print Proof Listing" UseSubmitBehavior="false" CausesValidation="false" AutoPostBack="true" CssClass="css3Grad" Height="25px" Width="15%">
<Icon PrimaryIconCssClass="rbPrint" PrimaryIconLeft="4" PrimaryIconTop="3"></Icon>
</telerik:RadButton>




I need this to call my VB function and not go through my page validations.  How can I get these buttons to go straight to VB code?

Danail Vasilev
Telerik team
 answered on 04 Sep 2014
2 answers
68 views
Hi Guys,

Scenario:
1. Input several lines of text;
2. Put the cursor among them;
3. Create 4x4 table;
4. Perform right mouse button click on any cell of the table and select the “Table Properties”;
5. Select the “telerik-reTable-3” style in the “CSS Class Layout” menu;
6. Specify the “Height” and “Width” in the “Dimensions” menu;
7. Specify the “Cell Spacing” and “Cell Padding” in the “Layout” menu;
8. Press the “OK” button;
9. Select the HTML view;
10. Validate the HTML markup using the http://validator.w3.org/ validator

Actual result:
Element style not allowed as child of element p in this context.
<style type="text/css" id="telerik-reTable-3">

Expected result:
A valid HTML markup is generated.
Notes:
Please take a look at the video http://screencast.com/t/Ze1Y94in
Andrey
Top achievements
Rank 1
 answered on 04 Sep 2014
3 answers
167 views
We use Rad controls for a customer, and they just realized that the link manager did not work anymore. Maybe something changed when we updated the rad controls.
We currently uses Telerik 2012.3.1308.40 (Quarter 3 of 2012 i guess, been a while since we last updated).

When clicking the button for adding links the window pops up but the "Ok" and "Cancel" buttons does not work, the close button on top works.
With the console active in Chrome i get the following errors when the popup shows:

Uncaught SyntaxError: Unexpected token > Telerik.Web.UI.DialogHandler.aspx?DialogName=LinkManager&Skin=Default&Title=L%C3%A4nkhanterare&doid…:354
Uncaught TypeError: Cannot read property 'LinkManager' of undefined Telerik.Web.UI.DialogHandler.aspx?DialogName=LinkManager&Skin=Default&Title=L%C3%A4nkhanterare&doid…:851(anonymous function)Telerik.Web.UI.DialogHandler.aspx?DialogName=LinkManager&Skin=Default&Title=L%C3%A4nkhanterare&doid…:851(anonymous function)ScriptResource.axd?d=YepxDFowAbF2_2YC3FeFxc4R4ZETisY3a3SE46UzpJAqGHHDN8pVqJ-Zk0K9nQhXuWxdGzIaQcl4Li…:3484Sys$_Application$_raiseInitScriptResource.axd?d=YepxDFowAbF2_2YC3FeFxc4R4ZETisY3a3SE46UzpJAqGHHDN8pVqJ-Zk0K9nQhXuWxdGzIaQcl4Li…:5084Sys$_Application$initializeScriptResource.axd?d=YepxDFowAbF2_2YC3FeFxc4R4ZETisY3a3SE46UzpJAqGHHDN8pVqJ-Zk0K9nQhXuWxdGzIaQcl4Li…:4934initScriptResource.axd?d=YepxDFowAbF2_2YC3FeFxc4R4ZETisY3a3SE46UzpJAqGHHDN8pVqJ-Zk0K9nQhXuWxdGzIaQcl4Li…:5038Sys$_Application$_domReady.document.addEventListener.checkScriptResource.axd?
d=YepxDFowAbF2_2YC3FeFxc4R4ZETisY3a3SE46UzpJAqGHHDN8pVqJ-Zk0K9nQhXuWxdGzIaQcl4Li…:5049

The html definition we uses on the page is the following:

<telerik:RadEditor ID="RadEditorDesc" runat="server" EditModes="Design, Html">
                                    <Tools>
                                        <telerik:EditorToolGroup>
                                            <telerik:EditorTool Name="Print" />
                                            <telerik:EditorTool Name="FindAndReplace" />
                                            <telerik:EditorTool Name="SelectAll" />
                                            <telerik:EditorTool Name="Cut" />
                                            <telerik:EditorTool Name="Copy" />
                                            <telerik:EditorTool Name="Paste" />
                                            <telerik:EditorTool Name="PasteStrip" />
                                            <telerik:EditorTool Name="Undo" />
                                            <telerik:EditorTool Name="Redo" />
                                        </telerik:EditorToolGroup>
                                        <telerik:EditorToolGroup>
                                            <telerik:EditorTool Name="InsertOrderedList" />
                                            <telerik:EditorTool Name="InsertUnorderedList" />
                                            <telerik:EditorTool Name="LinkManager" />
                                        </telerik:EditorToolGroup>
                                        <telerik:EditorToolGroup>
                                            <telerik:EditorTool Name="FontName" />
                                            <telerik:EditorTool Name="FontSize" />
                                            <telerik:EditorTool Name="ForeColor" />
                                            <telerik:EditorTool Name="Bold" />
                                            <telerik:EditorTool Name="Italic" />
                                            <telerik:EditorTool Name="Underline" />
                                            <telerik:EditorSeparator />
                                            <telerik:EditorTool Name="JustifyLeft" />
                                            <telerik:EditorTool Name="JustifyCenter" />
                                            <telerik:EditorTool Name="JustifyRight" />
                                            <telerik:EditorTool Name="JustifyFull" />
                                            <telerik:EditorTool Name="JustifyNone" />
                                        </telerik:EditorToolGroup>
                                    </Tools>
                                    <Content>
                                    
                                    
                                    </Content>
                                </telerik:RadEditor>

I have checked the web.config for configurations regarding handlers:
<system.web>
<httpHandlers>
      <!-- AJAX -->
      <remove verb="*" path="*.asmx" />
      <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false" />
      <add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false" />
      <add verb="POST,GET,HEAD" path="elmah.axd" type="Elmah.ErrorLogPageFactory, Elmah" />
      <add verb="*" path="*.mvc" type="System.Web.Mvc.MvcHttpHandler, System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      <add verb="*" path="UrlRouting.axd" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
      <add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" validate="false" />
      <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false" />
      <add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false" />
      <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />
      <add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false" />
    </httpHandlers>
</system.web>

<system.webServer>
<handlers>
      <add name="EPiTraceTracker" path="TrackerHandler.ashx" verb="*" type="EPiServer.Trace.CMS.Web.Handlers.TrackerHandler" />
      <clear />
      <remove name="ChartImage_axd" />
      <remove name="Telerik_Web_UI_SpellCheckHandler_axd" />
      <remove name="Telerik_Web_UI_DialogHandler_aspx" />
      <remove name="Telerik_RadUploadProgressHandler_ashx" />
      <remove name="Telerik_Web_UI_WebResource_axd" />
      <add name="UrlRoutingHandler" preCondition="integratedMode" verb="*" path="UrlRouting.axd" type="System.Web.HttpForbiddenHandler, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
      <remove name="WebServiceHandlerFactory-Integrated" />
      <remove name="ScriptHandlerFactory" />
      <remove name="ScriptHandlerFactoryAppServices" />
      <remove name="ScriptResource" />
      <add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode" />
      <add name="Telerik_Web_UI_DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" preCondition="integratedMode" />
      <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      <add name="ScriptResource" verb="GET,HEAD" path="ScriptResource.axd" preCondition="integratedMode" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      <add name="TraceHandler-Integrated" path="trace.axd" verb="GET,HEAD,POST,DEBUG" type="System.Web.Handlers.TraceHandler" modules="ManagedPipelineHandler" scriptProcessor="" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="integratedMode" responseBufferLimit="4194304" />
      <add name="WebAdminHandler-Integrated" path="WebAdmin.axd" verb="GET,DEBUG" type="System.Web.Handlers.WebAdminHandler" modules="ManagedPipelineHandler" scriptProcessor="" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="integratedMode" responseBufferLimit="4194304" />
      <add name="AssemblyResourceLoader-Integrated" path="WebResource.axd" verb="GET,DEBUG" type="System.Web.Handlers.AssemblyResourceLoader" modules="ManagedPipelineHandler" scriptProcessor="" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="integratedMode" responseBufferLimit="4194304" />
      <add name="PageHandlerFactory-Integrated" path="*.aspx" verb="GET,HEAD,POST,DEBUG" type="System.Web.UI.PageHandlerFactory" modules="ManagedPipelineHandler" scriptProcessor="" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="integratedMode" responseBufferLimit="4194304" />
      <add name="SimpleHandlerFactory-Integrated" path="*.ashx" verb="GET,HEAD,POST,DEBUG" type="System.Web.UI.SimpleHandlerFactory" modules="ManagedPipelineHandler" scriptProcessor="" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="integratedMode" responseBufferLimit="4194304" />
      <add name="WebServiceHandlerFactory-Integrated" path="*.asmx" verb="GET,HEAD,POST,DEBUG" type="System.Web.Services.Protocols.WebServiceHandlerFactory, System.Web.Services, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" modules="ManagedPipelineHandler" scriptProcessor="" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="integratedMode" responseBufferLimit="4194304" />
      <add name="HttpRemotingHandlerFactory-rem-Integrated" path="*.rem" verb="GET,HEAD,POST,DEBUG" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" modules="ManagedPipelineHandler" scriptProcessor="" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="integratedMode" responseBufferLimit="4194304" />
      <add name="HttpRemotingHandlerFactory-soap-Integrated" path="*.soap" verb="GET,HEAD,POST,DEBUG" type="System.Runtime.Remoting.Channels.Http.HttpRemotingHandlerFactory, System.Runtime.Remoting, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" modules="ManagedPipelineHandler" scriptProcessor="" resourceType="Unspecified" requireAccess="Script" allowPathInfo="false" preCondition="integratedMode" responseBufferLimit="4194304" />
      <add name="TRACEVerbHandler" path="*" verb="TRACE" type="" modules="ProtocolSupportModule" scriptProcessor="" resourceType="Unspecified" requireAccess="None" allowPathInfo="false" preCondition="" responseBufferLimit="4194304" />
      <add name="OPTIONSVerbHandler" path="*" verb="OPTIONS" type="" modules="ProtocolSupportModule" scriptProcessor="" resourceType="Unspecified" requireAccess="None" allowPathInfo="false" preCondition="" responseBufferLimit="4194304" />
      <add name="ComponentArtScriptHandler" verb="*" path="ComponentArtScript.axd" type="Dropit.ComponentArt.Web.UI.ScriptHandler,Dropit.ComponentArt.Web.UI" preCondition="integratedMode" />
      <add name="StaticFileHandler" path="*" verb="*" modules="StaticFileModule,DefaultDocumentModule,DirectoryListingModule" resourceType="Either" requireAccess="Read" />
      <add name="Elmah" verb="POST,GET,HEAD" path="elmah.axd" type="Elmah.ErrorLogPageFactory, Elmah" />
      <add name="ChartImage_axd" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" preCondition="integratedMode" />
      <add name="Telerik_Web_UI_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" preCondition="integratedMode" />
      <add name="Telerik_RadUploadProgressHandler_ashx" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" preCondition="integratedMode" />
      <!-- re-add the clear directive first in line-->
    </handlers>
</system.webServer>






Ianko
Telerik team
 answered on 04 Sep 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?