Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
62 views
As some of you may recall, I've been having problems Ajaxifying controls within a RadSplitter.  It looks like I overlooked the simplest solution of all, wrap the entire RadSplitter in a RadAjaxPanel.  This seems to be working perfectly except for one odd quirk.

In my original JavaScript driven screen, I had a fairly standard OnClientClicked JavaScript function designed to disable the save button after one click (to prevent the usual problem with multiple submissions).

 function disableSave(button, args) {             
                if (Page_IsValid) {                 
                    button.set_enabled(false);
                }
 }

Once I wrapped the splitter in a RadAjaxPanel, I found that this function seemed to disable the server side OnClick function.  The button would click once and become disabled, but the OnClick event never fired.

What am I seeing here?

Boris
Top achievements
Rank 1
 answered on 29 Apr 2014
9 answers
862 views
I am invoking a RadWindow as a dialog in my web page.
I am invoking from code-behind, since I need to pass some parameters:

radWindow1.NavigateUrl = url  + "?England,Germany,France";
radWindow1.VisibleOnPageLoad = true;

This works great, however it keeps reloading on each and every postback.
How can I stop the RadWindow from reloading? I don't mind code-behind or JavaScript to achieve this.



Mansi
Top achievements
Rank 1
 answered on 29 Apr 2014
0 answers
61 views
Hi community,

Assume you have page contain some telerik controls include RadHtmlChart .
We cannot export the RadHtmlChart with the rest of the content in the page out of the box. 
We must manually export the chart with a third party tool as illustrated in this CL(http://www.telerik.com/support/code-library/exporting-radhtmlchart-to-png-and-pdf) as well as the rest of the page and then merge both exported image/pdf files into a common one.
The EditableImage class may be helpful in achieving that.

Than any one know how to do this task?

Thanks,
Michael
Top achievements
Rank 1
 asked on 29 Apr 2014
1 answer
71 views
Hello 

i have 2014.1.225.45 Telerik framework
and i fighting with this rad combo , to get work a DropDownWidth

I set up Width="240" it's ok, and i set up  DropDownWidth="200" it's not ok.

The only way what i found is css, but i want to understand why 200px is not apply !

please if someone get a solution. it'll be great.

olivier
Nencho
Telerik team
 answered on 29 Apr 2014
4 answers
142 views
Hi!

According to the online demos: http://demos.telerik.com/aspnet-ajax/editor/examples/overview/defaultcs.aspx

I've found some issues:

1. In RadEditor -> Document Manager, renaming a file or a folder pressing the enter key instead of clicking the OK button will close the whole document manager. You have to re-open the document manager again... Same goes for the ESC key while renaming or when adding a new folder.

2. Also the document manager will also close when just pressing the ESC or enter key. Is there a way to avoid this?

3. Renaming without any changes will result the message 'A file with a name same as the target already exists!' makes no sense to me, just leave the file untouched, close the window and all is good!

Thanks!

Roman Haussener
Blowfish AG
Roman
Top achievements
Rank 1
 answered on 29 Apr 2014
2 answers
66 views
In this sample in the official web, now if I want to see the tooltip and when I put the mouse in the southern part which name is Subject knowledge, the tooltip show the northern part which name is Experience.

Varun
Top achievements
Rank 1
 answered on 29 Apr 2014
5 answers
422 views
I am trying to get a simple AsyncUpload to show the image after it's uploaded to the temporary folder.  is there a way to do this and do you have any examples of this?
I am using the Q2 2010 version

I'm using this
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadAjaxManager1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="Thumbnail" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>

    <telerik:RadAjaxLoadingPanel runat="server" ID="LoadingExamplePanel">
    </telerik:RadAjaxLoadingPanel>
    <span class="info"></span>
    <div class="imageContainer">        
        <telerik:RadAsyncUpload ID="RadAsyncUpload1" runat="server" Skin="Forest" TargetFolder="~/images/Boats" 
            OnClientFileUploaded="fileUploaded" OnClientDeleting="clientDeleting"
            onfileuploaded="RadAsyncUpload1_FileUploaded1">
        </telerik:RadAsyncUpload>   

        <telerik:RadBinaryImage ID="Thumbnail" runat="server" />




and











 protected void RadAsyncUpload1_FileUploaded1(object sender, FileUploadedEventArgs e)
        {
            Stream fileStream = e.File.InputStream;           
            byte[] imageData = new byte[e.File.InputStream.Length];
            fileStream.Read(imageData, 0, (int)e.File.InputStream.Length);
            Thumbnail.DataValue = imageData;            
            fileStream.Close();
        }

Boyan Dimitrov
Telerik team
 answered on 29 Apr 2014
2 answers
177 views
We have a RadMaskedTextbox that we use to populate a telephone number and from the image you can see the styling of the error message.  What we would really like is to format the error message to be similar to the error styling found with a RadTextBox (InputType="Email").  Is this possible? 

We have attempted to enter the phone number into a RadTextBox with InputType="Tel" but we lose the masked aspect of it and certainly doesn't look like a phone number.  We would also like to apply the same error look and feel to RadDatePicker.  Tried setting the InputType="Date" and it doesn't format the value or it doesn't pop-up the calendar item.

Is it possible to use the HTML5 "required" with any of the RadInput?

Any suggestions. 
Kostadin
Telerik team
 answered on 29 Apr 2014
1 answer
226 views
Hi,

I am writing a dialog that displays 4 tabs using a RadTabStrip/RadMultiPage. Inside each tab is a different control. (the dialog itself is wrapped in an AJAX panel) Inside the Boundary page I want to nest another radmultiview which can be toggled back and forth between two different views. The javascript that I've written which I would have thought would work is changing the selected index but it is not actually changing the view on the screen. Is there something wrong about what I'm doing?

Javascript to switch the view on the Boundary page (gets called from a button click from on the first of the two views on that page):

function SwitchToNew()
        {
            if (EditOffering._BoundaryMultiPageObj)
            {
                EditOffering._BoundaryMultiPageObj.set_selectedIndex(1);
            }
        }

How the Tabs/Views are set up:

               <telerik:RadTabStrip ID="RadTabStrip1" runat="server" Skin="Default" MultiPageID="RadMultiPage1" Width="100%" SelectedIndex="0">
                    <Tabs>
                        <telerik:RadTab Text="Basic Info" PageViewID="BasicInfoPage" Value="basic" runat="server"></telerik:RadTab>
                        <telerik:RadTab Text="Types" PageViewID="TypesPage" Value="types" runat="server"></telerik:RadTab>
                        <telerik:RadTab Text="Boundary" Value="boundaryMain" PageViewID="BoundaryPage" runat="server"></telerik:RadTab>
                        <telerik:RadTab Text="(Optional) Walkin Location" Value="walkin" PageViewID="WalkinPage" runat="server"></telerik:RadTab>
                    </Tabs>
                </telerik:RadTabStrip>
                <telerik:RadMultiPage runat="server" ID="RadMultiPage1">
                    <telerik:RadPageView runat="server" ID="BasicInfoPage">
                        <BcgAlert:InfoTab runat="server" ID="InfoTab1" />
                    </telerik:RadPageView>
                    <telerik:RadPageView runat="server" ID="TypesPage">
                        <BcgAlert:TypesTab runat="server" ID="TypesTab1" />
                    </telerik:RadPageView>
                    <telerik:RadPageView ID="BoundaryPage" runat="server">
                        <telerik:RadMultiPage runat="server" ID="BoundaryMultiPage" SelectedIndex="0">
                            <telerik:RadPageView runat="server" ID="ExistingBoundaryPage">
                                <BcgAlert:ExistingBoundaryTab runat="server" ID="ExistingBoundaryTab1" />
                            </telerik:RadPageView>
                            <telerik:RadPageView runat="server" ID="NewBoundaryPage">
                                <BcgAlert:NewBoundaryTab runat="server" ID="BoundaryTab1" />
                            </telerik:RadPageView>
                        </telerik:RadMultiPage>
                    </telerik:RadPageView>
                    <telerik:RadPageView ID="WalkinPage" runat="server">
                        <BcgAlert:WalkinTab runat="server" ID="WalkinTab1" />
                    </telerik:RadPageView>
                </telerik:RadMultiPage>





Boyan Dimitrov
Telerik team
 answered on 29 Apr 2014
1 answer
77 views
Hi.I am using Telerik version Q12013.Any one please help me to draw chart like this using C# code.
I have to generate the chart at runtime,by binding datasource .
Danail Vasilev
Telerik team
 answered on 29 Apr 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?