Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
719 views
Hi all, I am looking to set a OnClick event for GridHyperLinkColumn and I don't want to use any AJAX calls. The event should be handled in server side. So is there a way to do this?

One way would be by using AJAX . Can we achieve this in any other way?

Thanks in advance.
Raj
Top achievements
Rank 1
 answered on 17 Jan 2014
1 answer
151 views
I pretty much duplicated the web service and example from the telerik example site but my web serive always returns the following error and I am wondering If I am missing some code somewhere.

Error
Object reference not set to an instance of an object.

The other question I have is once it returns correctly how do I get at the value.

<tr>
                            <td>Personnel Name: </td>
                            <td><telerik:RadSearchBox ID="rdSearch" runat="server" EmptyMessage="Type Last Name First Name" WebServiceSettings-Path="~/AutoComplete.asmx" WebServiceSettings-Method="GetNames"
                                EnableAutoComplete="true" MinFilterLength="2" MaxResultCount="20" ShowSearchButton="false" OnSearch="RadSearchBox3_Search"></telerik:RadSearchBox></td>
                        </tr>
 
public SearchBoxItemData[] GetNames(SearchBoxContext context)
    {
        DataTable data = GetData(context.Text);
 
        List<SearchBoxItemData> result = new List<SearchBoxItemData>();
 
        for (int i = 0; i < data.Rows.Count; i++)
        {
            SearchBoxItemData itemData = new SearchBoxItemData();
            itemData.Text = data.Rows[i]["strFullname"].ToString();
            itemData.Value = data.Rows[i]["intPersonnelId"].ToString();
 
            result.Add(itemData);
        }
 
        return result.ToArray();
    }
 
    private static DataTable GetData(string filterString)
    {
        SqlConnection connection = new SqlConnection(ConfigurationManager.ConnectionStrings["ProdConnection"].ConnectionString);
        SqlCommand command = new SqlCommand("SELECT intPersonnelId, strFullname FROM MnNgPersonnel.dbo.tblMNNatPersonnel WHERE strFullname LIKE ' + @filterString + '%' ORDER BY strFullname");
        command.Parameters.AddWithValue("@filterString", filterString);
        command.Connection = connection;
        SqlDataAdapter adapter = new SqlDataAdapter(command);
 
        DataTable data = new DataTable();
        adapter.Fill(data);
        return data;
    }
























Dimitar
Telerik team
 answered on 17 Jan 2014
1 answer
85 views
Hi support

I have a problem adding custom controls in Chrome (version 32.0.1700.72 m).

The problem also exists in your demo code in this example http://demos.telerik.com/aspnet-ajax/editor/examples/customdropdowns/defaultcs.aspx. I cannot insert a signature from the custom dropdown which is added programmatically via the codebehind.

Kind Regards
Ianko
Telerik team
 answered on 17 Jan 2014
3 answers
43 views
On our Radgrid, we have the ability to filter by multiple columns. Each time you filter by an additional column, the filter options show up lower and lower on the page. So by the 4th or 5th filter, this menu is halfway down the page. 

Does anyone know why this is occurring or how to fix it?

Thanks for the help.
Viktor Tachev
Telerik team
 answered on 17 Jan 2014
2 answers
236 views
Hi,
 How to handle on key up event in combo box.
Testing
Top achievements
Rank 1
 answered on 17 Jan 2014
1 answer
62 views
Hi,

i am using radTabStrip control in most of the applications which are developed in asp.net 4.5 and i am using telerik verision  2013.1.417.45.
this control is displaying fine in all browsers and in IE7, IE8, IE10, IE11 but when i run my application in IE 9 tab strips are showing like link button. Requesting to provide to me some solution related to this thread.i have attached a screen shot as well to understand the issue.
Shinu
Top achievements
Rank 2
 answered on 17 Jan 2014
3 answers
60 views
Attached - looks how your example looks, after setting the Document Mode to IE7.
you can try it yourself here: http://demos.telerik.com/aspnet-ajax/scheduler/examples/templates/defaultcs.aspx

As you can see the first row on every column (the days row) doesn't fit the whole scheduler.
only setting hard-coded column width solve this but I don't want to do this since I want my scheduler to be responsive.

Any Idea how to solve this issue?

Thanks.
Boyan Dimitrov
Telerik team
 answered on 17 Jan 2014
9 answers
201 views
Hi,

I am using SPRadEditor in my ascx in visual webpart.

 

 

<RadEditorSharePoint:SPRadEditor ID="teletxtBody" ContentAreaMode="Div" runat="server" TabIndex="1" ToolbarMode="Default" BorderStyle="Solid" AllowExternalUrls="true" BorderColor="Black" AllowScripts="True" ContentFilters="encodescripts">

 

 

 

<ImageManager UploadPaths="~/MyPics" DeletePaths="~/MyPics" ViewPaths="~/MyPics" />

 

 

 

 

</RadEditorSharePoint:SPRadEditor>

 


On Click of ImageManager Icon, telerek Dialgohandler popus up with Correct Document Library "MyPics" but no files are being loaded in it evn onclick of LoadFiles button.
Also Upload button is not visible on the dialog handler.

Loggedin User has full control rights and is a farm admin.

Find attached the Screen shot of the dialog handler.

Regards,
Deepika

Ace
Top achievements
Rank 1
 answered on 17 Jan 2014
3 answers
82 views
Hi,

Is it possible to have the player automatically cycle through a directory of videos ?

Thanx
Radoslav
Telerik team
 answered on 17 Jan 2014
1 answer
61 views
Hi All,

I have an entirely code-behind solution that  uses AutoGenerateColumns = true.  I noticed two interesting issues:

1. Alternating rows lose their itemstyle formatting.  In this case I set RadGrid.ItemStyle.HorizontalAlign = HorizontalAlign.Center.  Only the rows without a back-color were centered.

2. There is a zero column count in ItemDataBound when accessing the RadGrid.  It is a private variable in the class.

Generating the columns manually (AutoGenerateColumns = false) does provide me with a column count and applies the ItemStyle to all rows which fixes my issue, but I would like to AutoGenerate the Columns.  Any thoughts?

Thanks,
Mark
Shinu
Top achievements
Rank 2
 answered on 17 Jan 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?