Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
297 views
I am using the Telerik RadEditor and am seeing some strange behavior with the Image Manager window, shown in the attached image.  The tabs such as SiteCopy, Body Setup, Header Setup, etc. are all from the page that should be behind the window, yet they are somehow showing through. Clicking and dragging the window to another location on the screen fixes that issue, however, the window cannot be closed using either the X or Cancel. This only seems to happen in Chrome when I am zoomed in a bit on the page. Is this a bug with the Image Manager or is there something that can be done to prevent this behavior?
Thanks
Ianko
Telerik team
 answered on 19 Dec 2014
1 answer
51 views
Hello,

My item template text is disabled and I can't see any template inside it?


What should I do?

Thanks,
Saeed
Nencho
Telerik team
 answered on 19 Dec 2014
4 answers
410 views

I have Rad Tabstrip and Rad Multipage controls in my aspx page.
I am trying to load another aspx page to one pageview within Rad multipage.The problem is that I am getting scrollbars, both horizontal and vertical when I try to load the page within partiuclar pageview.I set the property ScrollBars="None" in Radmultipage. But that doesnt really help. Can someone suggest a work around to achive this.I don't need the scrollbars and page has to extend automaticcaly when the page in content url expands.

<telerik:RadTabStrip ID="RadTabStrip1" runat="server" Skin="" 
MultiPageID="RadMultiPage1"<BR>                
SelectedIndex="0" 
CssClass="tabStrip"><BR>                
<Tabs><BR>                    
<telerik:RadTab Text="Case" 
PageViewID="RadPageView1"><BR>                    
</telerik:RadTab><BR>                    
<telerik:RadTab Text="Parties" 
PageViewID="RadPageView2"><BR>                        
<Tabs><BR>                            
<telerik:RadTab Text="Parties1" Selected="true" 
PageViewID="RadPageView2"></telerik:RadTab><BR>                            
<telerik:RadTab Text="Add\Modify Party" 
PageViewID="RadPageView4"></telerik:RadTab><BR>                        
</Tabs><BR>                    
</telerik:RadTab><BR>                
</Tabs><BR>        
</telerik:RadTabStrip><BR>        
<telerik:RadMultiPage ID="RadMultiPage1" runat="server" SelectedIndex="0" 
CssClass="multiPage" 
ScrollBars="None"><BR>     
<telerik:RadPageView ID="RadPageView1" runat="server">
some content here....
</telerik:RadPageView>
<telerik:RadPageView ID="RadPageView2" runat="server" 
ContentUrl="PartyDetails.aspx"></telerik:RadPageView><BR>            
<telerik:RadPageView ID="RadPageView4" runat="server" Height="300px"  
ContentUrl="AddModifyParty.aspx"></telerik:RadPageView><BR>        
</telerik:RadMultiPage>
Nencho
Telerik team
 answered on 19 Dec 2014
3 answers
113 views
Hi,

We are using Telerik RadControls for ASP.NET Ajax version 2013.3.1114.45.
I have a label in the raddock and the size of the label can be varied.
It may have just one line of text and 20 lines of text (not known until it is displayed).

I have been using the below client side code to display the raddock currently.
But the raddock goes beyond the bottom of IE now as the label has more lines of text.

var dock = $find('<%= RejectRadDock.ClientID%>');
dock.set_left((document.body.clientWidth - parseInt(dock.get_width())) / 2);
dock.set_top(document.body.clientHeight - 220);

How to display the raddock where the bottom of the raddock is fixed and 
the top can be grown as the label text grows ?


Thanks
Bhanu.

Danail Vasilev
Telerik team
 answered on 19 Dec 2014
4 answers
125 views
Greetings,

I have a RadGrid, RadAjaxManager, RadToolbar and RadHtmlChart present on a page.  The RadAjaxManager is configured like so (the ControlIDs are obviously named):

<telerik:RadAjaxManager runat="server" ID="MainAjaxManager" DefaultLoadingPanelID="MainLoadingPanel">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="SurveyGrid">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="SurveyChart" />
                    <telerik:AjaxUpdatedControl ControlID="SurveyGrid" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
        <ClientEvents OnRequestStart="onRequestStart" OnResponseEnd="onResponseEnd" />
    </telerik:RadAjaxManager>

I am trying to update the chart when firing a grid-based custom command from javascript like so:

function onToolBarButtonClicking(sender, e) {
                switch (e.get_item().get_value()) {
                    case 'DataSave':
                        if (isInputValid() == true) {
                            var grd = $find('<%= SurveyGrid.ClientID %>').get_masterTableView();
                            grd.fireCommand('UpdateEdited', '');
                        }
 
                        break;
                    case 'NavCancel':
                        var grd = $find('<%= SurveyGrid.ClientID %>').get_masterTableView();
                        grd.fireCommand('CancelAll', '');
 
                        break;
                    default:
                        break;
                }
            }

Basically, at the time of partial postback, the grid requests its data source, but the chart doesn't.  The chart only requests its data source when the page initially loads.  Perhaps I'm missing something obvious.  I greatly appreciate any suggestions.

Konstantin Dikov
Telerik team
 answered on 19 Dec 2014
8 answers
193 views
Hi,

I'm having an issue with real time column resizing on a rad grid. 
I can actually reproduce the issue on your demo page here:

http://demos.telerik.com/aspnet-ajax/grid/examples/columns-rows/columns/column-row-resize-reorder/defaultcs.aspx

Choose the No wrap for cell content and allow resize to fit options. 

Resize the postal code and address columns by moving them right so that the browser window horizontal scroll bar appears (screenshot 1).
Scroll the window completely to the right. 
Attempt to resize the postal code column to the left. 
The left hand side of the grid shoots to the right very quickly. 
In some cases like in  screenshot 2, the address column is lost. 
Sometimes the columns get reordered. 
 
I've seen it in all browsers.
 
 I know that in the grid on your demo it does not make sense to make the grid this wide. But in our own grids we have a lot more content so resizing to this type of width is necessary. 
 
 Would you have any suggestions to eliminate this issue?
 
 Thanks
Waynen12
Top achievements
Rank 1
 answered on 19 Dec 2014
1 answer
258 views
All the multiple file upload examples I've seen upload the files as soon as they are selected, which is not what I need.  I need to allow the users to select the files first, then click the upload button.  This scrrenshot is an example of what I need:

screenshot

Please let me know how to do this with AsuncUpload.  Thanks
Plamen
Telerik team
 answered on 19 Dec 2014
1 answer
158 views
Hi every body,

I have a <asp:ImageButton> that is supposed to force the browser to open "Save As" dialog box in attempt to download an image into the client machine.
The image was previously produced successfully in a previous process:

 Using bitmap As New Bitmap(188, 306)
            browser.DrawToBitmap(bitmap, New Rectangle(0, 0, 188, 306))
            Using stream As New MemoryStream()
                bitmap.Save(stream, System.Drawing.Imaging.ImageFormat.Png)
                Dim bytes As Byte() = stream.ToArray()
                myImage.ImageUrl = "data:image/png;base64," + Convert.ToBase64String(bytes)
            End Using
 End Using

and is shown successfully within the <asp:Image> tag.


My Download ImageButton has the following code behind:

Private Sub imgbtn_Download_Click(sender As Object, e As ImageClickEventArgs) Handles imgbtn_Download.Click
        Dim bytes As Byte() = Convert.FromBase64String(myImage.ImageUrl.Split(",")(1))
        Response.Clear()
        Response.Buffer = True
        Response.Charset = ""
        Response.Cache.SetCacheability(HttpCacheability.NoCache)
        Response.ContentType = "image/png"
        Response.AppendHeader("Content-Disposition", "attachment; filename=" + "abc.png")
        Response.BinaryWrite(bytes)
        Response.Flush()
        Response.End()
    End Sub

I noticed that if the <asp:ImageButton> was placed inside <Telerik:RadAjaxPanel> the "Save As" dialog box doesn't pop up and the consequently download process doesn't start. However, if I shift the ImageButton control out of the <Telerik:RadAjaxPanel> it works successfuly.

So is there any explanation from Telerik Team why such behavior is taking place. And is there any recommendation to make the "Save As" downlaod process succeeds while the <asp:ImageButton> is inside the <Telerik:RadAjaxPanel>?

Regards;
Viktor Tachev
Telerik team
 answered on 19 Dec 2014
2 answers
86 views
Hi,

I have a problem with my pivotGrid (last update of control)
My pivotgrid is connected to a multidimensionnal database and I would like to set in row zone a hierarchy.

this causes a shift of he columns zone which is displayed on the right of the grid, not aligned with the aggregated fields, as shown in the attached file.

is there something I can do with the properties of the pivotgrid to fix this display issue.

thanks in advance

Regards
Jérome
Top achievements
Rank 1
 answered on 19 Dec 2014
7 answers
197 views
Hi there

I am probably doing something really stupid or not understanding how to link up to the datasource properly but I have been working on this for a couple of days and I can't seem to work out how to get the rating to work with a datasource.

I have a stand alone rating control on my page that I wanted to link up to an  accessdatasource that would display the current rating.  (I also want to be able to allow users to rate using the same control and save the value into the database too, but that's another story)

Here is what I have

<div id="info">
            Hover over image for options and info <table id="rating">
                <tr>
                    <td>Rate this album:</td><td>
                        <telerik:RadRating ID="RadRating1" runat="server" AutoPostBack="True" Skin="Metro" DataSourceID="AccessDataSource3" Precision="Item" AppendDataBoundItems="True">
                            <ItemBinding ValueField="AverageRatingRounded"></ItemBinding>                                 
                        </telerik:RadRating>
                    </td>
                </tr>
            </table>
        </div>
 
 
 
 <asp:AccessDataSource ID="AccessDataSource3" runat="server" DataFile="~/App_Data/ASPNetDB.accdb"
        SelectCommand="SELECT AlbumID, CountRating, Totalrating, SUM(Totalrating) / CountRating AS AverageRating, ROUND(AverageRating, 0) AS AverageRatingRounded FROM qryRating GROUP BY AlbumID, CountRating, Totalrating HAVING (AlbumID = ?)"><SelectParameters>
            <asp:QueryStringParameter Name="AlbumID" QueryStringField="albumID" Type="Int32" />
        </SelectParameters>
         
    </asp:AccessDataSource>

As you can see, the datasource is based on a query which works out how many times the album has been rated and what the average rating is already, (by counting times rated, adding up all the ratings and dividing the total ratings by the count of times rated, then by rounding to whole value)

All that displays though is one empty star (if I hover over it, it does display the average rating though)

I have looked at EVERY demo and documentation on databinding for the rating control but I just can't seem to get my head around what I should be doing.

Please, please, please point me in the right direction before I pull all my hair out and bite my nails down to the quick

Thank you in advance


Ianko
Telerik team
 answered on 19 Dec 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?