Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
90 views
Hi,
is it possible to show image buttons in the edit form of a grid with auto generated columns?
Thanks,
Felice
Felice
Top achievements
Rank 1
 answered on 26 May 2014
1 answer
128 views
I am working on upgrading to 2014.1.403. I use setSize() a lot, and I think there is a problem with it in the new version. After calling setSize, the editor resizes properly, but one of the tables within the editor layout (class reLayoutWrapper) is still set to its default height of 400px. This only occurs if the new height is less than 400px - if it is more, the reLayoutWrapper table is resized to match.

I resolved the problem for now with: $("table.reLayoutWrapper").height(myNewHeight);
Marin Bratanov
Telerik team
 answered on 26 May 2014
2 answers
686 views
Dear Sirs,

I would like to open a radwindow using dynamic content using javascript, so no url need to specify.  For example, in javascript I can do something like:

var win = window.open('');
win.document.write('Test'); // so the window will contain the text "Test"

How can I have similar result for using radwindow without creating a temp webpage?  I would like something like:
var win = window.radopen(null, null);
win.document.write('Test'); // <-- This doesn't work

Thanks.
Marin Bratanov
Telerik team
 answered on 26 May 2014
1 answer
114 views
Our users with "read" access to a radGrid need the ability to be able to click through any hyperlink in a grid. Is there a way to accomplish this (Server side) without disabling everything except the one column with the hyperlink? And if not, how would I go about disabling everything on the grid except the hyperlink?

Thanks!
Kostadin
Telerik team
 answered on 26 May 2014
5 answers
208 views
Hi everyone,

I have followed the example of "RadComboBox Multiple Column" to display my items in multiple rows and columns which is working perfectly fine. The items are displayed in a horizontal ordering, so I would like to display it vertically instead. Thus, is it possible ?

/* RadComboBox CSS*/
.multipleRowsColumns .rcbItem,
        .multipleRowsColumns .rcbHovered
        {
            float:left;
            margin:0 1px;
            min-height:13px;
            overflow:hidden;
            padding:2px 19px 2px 6px;
            width:80px;
        }

Markup:
<telerik:RadComboBox ID="cboxHour" runat="server" Width="40px" DropDownCssClass="multipleRowsColumns"
    DropDownWidth="200px">
    <HeaderTemplate>
        <table style="width: 100%">
            <tr>
                <td align="center">
                    <b>Select Hour</b>
                </td>
            </tr>
        </table>
    </HeaderTemplate>
</telerik:RadComboBox>

C#:
protected new void Page_Load(object sender, EventArgs e)
        {
            if(!IsPostBack)
            {
                int[] hours = Enumerable.Range(0, 24).ToArray();
                cboxHour.DataSource = hours;
                cboxHour.DataBind();
            }
        }
Irving
Top achievements
Rank 2
 answered on 26 May 2014
1 answer
466 views
I have a rad-grid with search functionality,in which i have a Important Level Column that has Very Low and Low records .So when i search low ideally very low should come first as it should appear in same sequence that was before search , but Low Comes First. Here i have attached gif for more details.


Please Suggest.



Princy
Top achievements
Rank 2
 answered on 26 May 2014
6 answers
205 views
Hi There,

I've just upgraded my site to the latest version and it appears there is some bug with Chrome & Safari. It works fine with Firefox, didn't try with IE (but really, is there anyone out there still using IE ? :) )
I didn't notice anything with the previous version, which I think was 2013 Q3.

Roughly, what I'm doing is loading a usercontrol containing my Async Upload control through an AjaxManager. Pretty basic.
As soon as my control is loaded, here's what I get in my console:

01.Uncaught ReferenceError: Invalid left-hand side in assignment VM936:148
02.(anonymous function) VM936:148
03.Telerik.Web.UI.RadProgressManager._createSafariIFrame Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScri…:92
04.Telerik.Web.UI.RadProgressManager._createSafariPoller Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScri…:67
05.(anonymous function) Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScri…:6
06.(anonymous function) Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScri…:6
07.Sys._Application.raiseLoad Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScri…:6
08.Sys.WebForms.PageRequestManager._pageLoaded Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScri…:15
09.Sys.WebForms.PageRequestManager._scriptsLoadComplete Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScri…:15
10.(anonymous function) Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScri…:6
11.(anonymous function) Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScri…:6
12.Sys._ScriptLoader._loadScriptsInternal Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScri…:6
13.Sys._ScriptLoader._loadScriptsInternal Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScri…:6
14.Sys._ScriptLoader._loadScriptsInternal Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScri…:6
15.Sys._ScriptLoader._loadScriptsInternal Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScri…:6
16.Sys._ScriptLoader._loadScriptsInternal Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScri…:6
17.Sys._ScriptLoader._loadScriptsInternal Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScri…:6
18.Sys._ScriptLoader._nextSession Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScri…:6
19.Sys._ScriptLoader._loadScriptsInternal Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScri…:6
20.Sys._ScriptLoader._scriptLoadedHandler Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScri…:6
21.(anonymous function) Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScri…:6
22.(anonymous function) Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScri…:6

And :

01.Uncaught TypeError: Cannot set property '_primaryProgressBarElement' of undefined Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScri…:1440
02.Telerik.Web.UI.RadProgressArea._setupSafariProgressAreaControls Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScri…:1440
03.Telerik.Web.UI.RadProgressManager._setupSafariProgressAreas Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScri…:73
04.Telerik.Web.UI.RadProgressManager._createSafariIFrame Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScri…:94
05.Telerik.Web.UI.RadProgressManager._createSafariPoller Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScri…:67
06.(anonymous function) Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScri…:6
07.(anonymous function) Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScri…:6
08.Sys._Application.raiseLoad Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScri…:6
09.Sys.WebForms.PageRequestManager._pageLoaded Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScri…:15
10.Sys.WebForms.PageRequestManager._scriptsLoadComplete Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScri…:15
11.(anonymous function) Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScri…:6
12.(anonymous function) Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScri…:6
13.Sys._ScriptLoader._loadScriptsInternal Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScri…:6
14.Sys._ScriptLoader._loadScriptsInternal Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScri…:6
15.Sys._ScriptLoader._loadScriptsInternal Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScri…:6
16.Sys._ScriptLoader._loadScriptsInternal Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScri…:6
17.Sys._ScriptLoader._loadScriptsInternal Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScri…:6
18.Sys._ScriptLoader._loadScriptsInternal Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScri…:6
19.Sys._ScriptLoader._nextSession Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScri…:6
20.Sys._ScriptLoader._loadScriptsInternal Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScri…:6
21.Sys._ScriptLoader._scriptLoadedHandler Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScri…:6
22.(anonymous function) Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScri…:6
23.(anonymous function) Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScri…:6

The second one is probably more useful, therefore I clicked on it and it brought me there on the row 1440 of "Telerik.Web.UI.Upload.RadProgressManager.js":

},_setupSafariProgressAreaControls:function(){if($telerik.RadUpload_isIFrameProgress){this._getSafariProgressArea()._primaryProgressBarElement=this._primaryProgressBarElement;

This 'bug' does not prevent me to upload any file but then none of my handlers are being called except for the HttpHandlerUrl defined on the control, hence I can't use it.

Hope this is useful and will help you in your investigation.

Cheers,

Chris
Plamen
Telerik team
 answered on 26 May 2014
9 answers
308 views
I do want to add a different banner to each video in a playlist. The banners (blank .png) would be used to make a link if the video is clicked.

Is there a way to connect the banners to the the different video files since every video should take the visitor to a different page.

Last line commented does not seem to be working.

Markus

banner = new MediaPlayerBanner()
                {
                    NavigateURL = "http://www.marktold.com", //this would be different later per file
                    ImageUrl ="/css/images/mediaplayer_blank_banner.png",
                    
                };
             
                    file = new MediaPlayerVideoFile()
                    {
                        Poster = string.Format(PosterMP4),
                        //Path = string.Format(MP4),
                        AutoPlay = true,
                  
                    };
                    SourceMP4 = new MediaPlayerSource()
                    {
                        Path = MP4,
                    };
                    SourceWEBM = new MediaPlayerSource()
                    {
                        Path = WEBM,
                    };
                    SourceOGV = new MediaPlayerSource()
                    {
                        Path = OGV,
                    };
 
                    file.Sources.Add(SourceOGV);
                    file.Sources.Add(SourceWEBM);
                    file.Sources.Add(SourceMP4);
 
                    player.Playlist.Add(file);
                  //  player.Banners.Add(banner);
Eyup
Telerik team
 answered on 26 May 2014
3 answers
255 views
Hi,
We are not able to implement paging on the basis of groups. For example we have 5 groups and have 10 rows in each group then if we set page size to 4 then first 4 groups should be displayed and 5th group should be displayed on 2nd page. But what happens is that only 4 rows of Ist group is displayed and 12 page numbers were created.

We have to implement paging based on groups while it is happening based on total records in the groups.

Please help. Its urgent.
Pavlina
Telerik team
 answered on 26 May 2014
1 answer
126 views
hi

I am getting value Prod_ID return in the Page Load but nothing is return from selectedValue or radlistbox.SelectedItem.Value in the SelectedIndexChanged event even though autopostback is set to true. I have 5 records in the DB.

How should i resolve this?  Thanks a lot.

 <telerik:RadListBox ID="radlistbox" runat="server" Width="100%" EnableViewState="false" Skin="Metro" style="top: 0px; left: 0px" SelectionMode="Multiple" AutoPostBack="True">
</telerik:RadListBox>

 Protected Sub Page_Load(sender As Object, e As EventArgs) Handles Me.Load
       If Not Page.IsPostBack Then
            listboxdatabind()
            radlistbox.SelectedIndex = 0
            Dim a As String = radlistbox.SelectedItem.Value
        End If
    End Sub
 

 Sub listboxdatabind()
        radlistbox.DataSource = prodDatatable()
        radlistbox.DataTextField = "Prod_Name"
        radlistbox.DataValueField = "Prod_ID"
        radlistbox.DataBind()
    End Sub

Protected Sub radlistbox_SelectedIndexChanged(sender As Object, e As EventArgs) Handles radlistbox.SelectedIndexChanged
        listboxdatabind()
        Dim x As String = radlistbox.SelectedValue
        Dim y As String = radlistbox.SelectedItem.Value
 End Sub
Shinu
Top achievements
Rank 2
 answered on 26 May 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?