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

I am getting a javascript error from the telerik script manager. It does not happen all the time and seems to happen in different places in the code (there are no set steps I can repeat to generate it).

The error is 12031, I can't seem to find anything helpful in google and I was just wondering if anyone has seen this before and knows where to look to track it down.

Dan.
Viktor Tachev
Telerik team
 answered on 04 Sep 2014
1 answer
231 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
267 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
136 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
140 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
194 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
142 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
378 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
214 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
65 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?