Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
114 views
Currently I am allowing the users to save a template which stores the data/state of the search parameters. I have a few queries that have around 50 parameters. I have made custom code to save the text out of a textbox, check state in checkboxes, selected radiobuttons, check boxes in a telerik dropdown, date in telerik datebox, checkboxes in telerik treeviews and save the text in a database per user per query page. I have almost ever telerik control and generic .net controls.

When the user names the template and save button it also saves the state of the radgrid. he users can then select a template and click the load button and the code prepopulates all the search parameter fields and sets the grid up as is was saved.

I have played with the persistence framework and have not figured out if it is possible to save generic .net controls. I cannot find any sample code if it is possible. I have seen other component libraries do this.

Am I just missing something...
Kevin
Viktor Tachev
Telerik team
 answered on 19 Dec 2014
3 answers
310 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
59 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
424 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
125 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
139 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
212 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
276 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
174 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
98 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
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?