Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
562 views
Hi All, quick question, I've gone through all the demo pages for the RadHTMLChart, gone through Google and here and not found anything that would work with how I've done my Data source...

I've passed a list of 2 columns to my RadHTMLChart Bar or Column series chart, 1st column is the name of the row and the 2nd column is the value to be plotted... I've done this with a single Series and it plots all the data fine, I then set the XAxis DataLabelsField to the Name column and all the labels display correctly for each column/bar...

My question is this: -

How do I get a Legend to show up? The way I see it, the legend will only appear if there are multiple Series set on the ASPX page, but as the series gets populated from code no legend appears... I've tried creating a Legend programmatically and failed miserably, There just doesn't seem to be a property to add an item to the legend or at least set the Legend source to the Name column of the Data source?

If I switch this all the to the Pie Chart I then get a property to set the NameField on the series which if I set this to the Name column, the Legend works tip-top!

Any way of getting this 'NameField' property to be available on the Bar Series / Column Series also?

Thanks, Adam.
Stamo Gochev
Telerik team
 answered on 22 Apr 2014
2 answers
154 views
I have a Radgrid and RadMonthYearPicker on the page. Radgrid contains hyperlink column, when click on the link along with DataNavigateUrlFields i have to pass value of the RadMonthYearPicker to the next page.

<telerik:RadMonthYearPicker ID="RadMonthYearPicker" runat="server" />
 <telerik:RadGrid .....................

<telerik:GridHyperLinkColumn DataTextField="Salesperson" UniqueName="Salesperson" HeaderStyle-Font-Bold="true" DataNavigateUrlFields="Salesperson,LoginName,MetricYear" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" HeaderText="Salesperson" HeaderStyle-Width="20%"  DataNavigateUrlFormatString="DetailActivity.aspx?UserType=VP&amp;Salesperson={1}&amp;MetricYear={2}&amp;Picker=???"  /> 

</telerik: RadGrid>

Please let me know.


                 

                 
Shinu
Top achievements
Rank 2
 answered on 22 Apr 2014
2 answers
325 views
Hi,

RadUpload control does not filtering files. AllowedFileExtensions=".tif,.gif,.png,.jpg,.pdf,.xls,.xlsx,.doc,.docx" is not working. I did through server by adding these extensions into a string array but no success.

Here is my markup.

<telerik:RadUpload ID="RadUploadPol" runat="server" ControlObjectsVisibility="None"
                    AllowedFileExtensions=".tif,.gif,.png,.jpg,.pdf,.xls,.xlsx,.doc,.docx">
                </telerik:RadUpload>     

Please help.
Princy
Top achievements
Rank 2
 answered on 22 Apr 2014
3 answers
117 views
Hi,

Is it possible to display different resources, for example persons and locations in the scheduler?

Thanks,

Regards,

Henk
Plamen
Telerik team
 answered on 22 Apr 2014
12 answers
817 views
Hi,
I do not want to show radalert icon when I use it to show some message. How can I do this?

Thanks in advance.

Mamun
Princy
Top achievements
Rank 2
 answered on 22 Apr 2014
1 answer
197 views
Is it possible to prevent the paging number from changing or to revert back to the previous page number client side?

Right now if the user has made changes to the grid I am able to prevent a postback during the OnCommand client side event but the the page number has already changed which is confusing for the users as they are not able to reselect the page number after they have saved their changes and are ready to move on.
Shinu
Top achievements
Rank 2
 answered on 22 Apr 2014
3 answers
175 views
GridView Ajax Control in EditItemTemplate of RadGrid

1. I have a RadGrid that would like to be ajaxed.
2. Inside a GridTemplateColumn / EditItemTemplate I have a <asp:GridView.
3. inside the GridView I have a button named "ButtonAdd".

When I click "ButtonAdd" I want to GridView to load via ajax and it should have a loading panel. But I do not want a loading panel on the entire RadGrid.
When I click the Update/Insert/Delete/Cancel buttons or do any normal RadGrid stuff I want the entire RadGrid to show a loading panel like it does now.

This code allows the GridView to work correctly but the RadGrid is not longer ajaxed.
<telerik:RadAjaxManagerProxy ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="Gridview1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="Gridview1" LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>         
        </AjaxSettings>
    </telerik:RadAjaxManagerProxy>
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" />

This code always shows the loading panel over the entire RadGrid, but that is not what I need.
<telerik:RadAjaxManagerProxy ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="Gridview1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="Gridview1" LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="RadGrid1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>         
        </AjaxSettings>
    </telerik:RadAjaxManagerProxy>
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" />

Can this be done?

Thanks, Marty

Princy
Top achievements
Rank 2
 answered on 22 Apr 2014
8 answers
519 views
Hi

Is it possible to change the emptymessage color? The RadTextbox has some attributes to do this.

Fred
Shinu
Top achievements
Rank 2
 answered on 22 Apr 2014
4 answers
196 views
I'm trying to use JavaScriptSpellCheck. (http://www.javascriptspellcheck.com/). And, I have it working, for a non-Telerik textbox. For a Telerik RadTextBox, I get a double-box.(attached image to show what I'm seeing as doubletextarea.png).

I should only see one input textbox.

Now, if I uses an asp:TextBox, it works no problems. 

The problem could be with JavaScriptSpellCheck, but the issue only occurs with Telerik controls (pretty much any input control). You can see the difference with doubletextarea2.png. The bottom input control is an asp:TextBox. The upper is a telerik:RadTextBox.

This is what that code looks like:
                    <telerik:RadTextBox ID="TxtNote" runat="server" Height="150px" TextMode="MultiLine"
                        Width="350px" Skin="CustomSkin" EnableEmbeddedSkins="false" />
                    <hr />
                    <asp:TextBox ID="aspTxtNote" runat="server" Height="150px" TextMode="MultiLine" Width="350px"></asp:TextBox>


View Source shows this:
                    <span id="ctl00_ctl00_ContentPlaceHolder1_ChildContent1_CSRActions_TxtNote_wrapper" class="riSingle RadInput RadInput_CustomSkin" style="width:350px;"><textarea id="ctl00_ctl00_ContentPlaceHolder1_ChildContent1_CSRActions_TxtNote" name="ctl00$ctl00$ContentPlaceHolder1$ChildContent1$CSRActions$TxtNote" rows="2" cols="20" class="riTextBox riEnabled" style="height:150px;"></textarea><input id="ctl00_ctl00_ContentPlaceHolder1_ChildContent1_CSRActions_TxtNote_ClientState" name="ctl00_ctl00_ContentPlaceHolder1_ChildContent1_CSRActions_TxtNote_ClientState" type="hidden" /></span>
                    <hr />
                    <textarea name="ctl00$ctl00$ContentPlaceHolder1$ChildContent1$CSRActions$aspTxtNote" rows="2" cols="20" id="ctl00_ctl00_ContentPlaceHolder1_ChildContent1_CSRActions_aspTxtNote" style="height:150px;width:350px;">
</textarea>

Any ideas on how to get rid of this extra box that's showing up? This occurs in both IE and Chrome. IE 11 and Chrome Version 34.0.1847.116 m. Visual Studio 2012 ASP .NET using your AJAX controls. 

Telerik.Web.UI version 2012.3.1308.45.

Thanks



















Daniel
Top achievements
Rank 2
 answered on 21 Apr 2014
1 answer
70 views
I have a RadImageGallery in Lightbox mode within a RadAjaxPanel. When I click on the thumbnail, the image area pops up properly but if I click the next arrow, the next image is briefly shown and then the image area disappears. I would prefer to keep the RadAjaxPanel as it is more reliable (in my opinion) than the RadAjaxManagerProxy and there aren't a lot of controls on the page.

Any help would be appreciated.
Maria Ilieva
Telerik team
 answered on 21 Apr 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?