Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
216 views

I have telerik RadDockZone and I have placed three closing window, setting window and refresh window icons something like this

 

<telerik:RadDockZone Style="border: 0;" runat="server" ID="RadDockZone1"> <telerik:RadDock runat="server" ID="RadDock1" DockHandle="TitleBar" Height="100%" Width="100%" EnableRoundedCorners="true" EnableAnimation="false"> <Commands> <telerik:DockCloseCommand></telerik:DockCloseCommand> <telerik:DockCommand Name="Custom Command" OnClientCommand="CustomCommand"></telerik:DockCommand> <telerik:DockCommand Name="doRefresh" Text="Refresh" AutoPostBack="true" CssClass="CustomCommandRefresh" /> </Commands> <ContentTemplate> <asp:Panel runat="server" ID="Panel1" Style="height: auto; width: auto" /> </ContentTemplate> </telerik:RadDock> </telerik:RadDockZone>

 

I just want to change Refresh icon which is

 

<telerik:DockCommand Name="doRefresh" Text="Refresh" AutoPostBack="true" CssClass="CustomCommandRefresh" />

 

to something else is it possible to change default icons for telerik docks?? please find attached image to further illustrate 

 

SANJAY
Top achievements
Rank 1
 answered on 20 Jan 2016
7 answers
617 views
Hello

I'm trying to export a RadHtmlChart with a header area that contains the company logo. On my development machine everything works fine. The logo appears on screen and in the exported pdf. But on our test server and the customer's test server the logo is visible only on screen and NOT in the PDF. I assume it's a path problem but I can't find any solution. 
Any ideas somebody?

Thanks in advance.
Ruggero

<div id="PdfOutputArea">
     <div id="PdfHeader" style="visibility: visible;height: 80px;padding-left: 20px;">
        <p>Auswertung erstellt am <%# DateTime.Now.ToString("dd.MM.yyyy") %> durch <%# SessionHelper.BenutzerVorname %> <%# SessionHelper.BenutzerNachname %></p>
        <img src="~/Images/LOGO.png" runat="server" />
     </div>
     <telerik:RadHtmlChart runat="server" ID="OOSChart">
     [... more code ...]
     </telerik:RadHtmlChart>
</div>

<script type="text/javascript">
   function ExportOOSChartToPDF(sender, args) {
     $find('<%=RadClientExportManager1.ClientID%>').exportPDF($("#PdfOutputArea"));
   }
</script>

var relativePath = "~/api/export/file";
RadClientExportManager1.PdfSettings.ProxyURL = ResolveUrl(relativePath);
Vessy
Telerik team
 answered on 20 Jan 2016
1 answer
156 views

Hi

I wana to use ASP.NET AJAX UI  but  i can't  find  rich documentation about it .

Is there a complete project that  used  ASP.NET AJAX UI  ?

I wana to see that for use best practise .

please help me .

Vessy
Telerik team
 answered on 20 Jan 2016
5 answers
291 views

Hi All, 

I need to alter some things on the material design skin.  When will it be added to the visual theme tool?

Regards

Jon

Rumen
Telerik team
 answered on 20 Jan 2016
1 answer
96 views

I'm using a rad button to ask the user if they want to cancel a request. See code below  

Is there a way to incorporate a comments section that will allow users to say why they want to cancel their request ? 

 

Any help would be appreciated

 

 <script type="text/javascript">
    function OnClientClicked(button, args) {
        if (window.confirm("Are You Sure You Want to Cancel This Request?")) {
            button.set_autoPostBack(true);
        }
        else {
            button.set_autoPostBack(false);
        }
    }
    </script>

 

<telerik:RadButton ID="b2" runat="server" ButtonType="LinkButton" 
                            Font-Names="Verdana" Font-Size="Small" Height="30" Skin="Windows7" 
                            Text="Cancel Request" OnClick="b2_Click" OnClientClicked="OnClientClicked">
                            <Icon PrimaryIconCssClass="rbRemove" PrimaryIconLeft="7" PrimaryIconTop="7" />
                        </telerik:RadButton>

Vessy
Telerik team
 answered on 20 Jan 2016
1 answer
317 views

I have a Repeater object on my page.  In the Repeater ItemTemplate, I have the following RadComboBox

<telerik:RadComboBox ID="rcboList"
CheckBoxes="true"
EnableCheckAllItemsCheckBox="true"
runat="server" />

When this portion of my page is loaded, contents are dynamically loaded to the above combo box, depending on certain criteria.  To further clarify, for each item in the repeater, the contents within rcboList are different.

 All though the contents are different, each repeated RadComboBox should behave the same, with a CheckBox beside each item.  I can populate my lists and I see these check boxes without issue, however, when my user clicks the button to return the data to the server, there is no data in rcboList.CheckedItems.  I figured I tried to iterate over the RadComboBox.Items collection and see if I could get the values from their.

 Interestingly, only the first item in the list is marked as selected, but none of the items are marked as checked.

 Can I use the RadComboBox this way in an asp:Repeater, or is this simply not possible?

 Thank you.

Veselin Tsvetanov
Telerik team
 answered on 20 Jan 2016
1 answer
152 views

Is there anywhere to find the full list of client side properties and methods for the tools?

For example on here there is no mention of the set_text or set_value methods of the AutoCompleteBoxEntry object so I had to find demos and rely on guesswork to figure that out(I can't even find set_value method of the AutoCompleteBoxEntry mentioned anywhere on the website).

Is there some more complete documentation that I'm missing somewhere? It would be very nice to have this information on hand, I've been finding that I've had to look through a lot of various demos just to try and figure out method names recently.

 

 

 

 

Vessy
Telerik team
 answered on 20 Jan 2016
2 answers
227 views

On My RadGrid I have a checkbox column

<telerik:GridTemplateColumn UniqueName="colPrimaryProcedure" HeaderText="" ItemStyle-HorizontalAlign="Center"><HeaderStyle  HorizontalAlign="Center"  />
 <ItemTemplate>
  <asp:checkbox ID="chkPrimary" runat="server" />
 </ItemTemplate>
</telerik:GridTemplateColumn>

In the itemDatBound event I'm ading an onCLick attribute to fire a Javascript function.

Case "Treatment Codes"
 chkPri.Attributes.Add("onclick", [String].Format("setTreatment(this);"))
 chkPri.Text = "<span style='font-size:0px;line-height:0px;'>" & e.Item.DataItem("SpecialtyProcedureId") & "</span>"
 
In the Javascript file I'm getting the clicked on row, and also selecting a value in a RadComboBox, with Checkboxes set to true, and for each ticked row in the Rad Grid, I'm able to select a value in the combo box. This all works as expected.

var checkBox = document.getElementById(theBox.id);
var checkboxText = checkBox.parentElement.innerText.trim();
comboBoxPPFUWL.findItemByValue(checkboxText).set_checked(true);

 

What I want to do is if a box in unticked in the grid, is to un slect the row in the combo box, I'd have expected the following to work, but it doesn't.
comboBoxPPFUWL.findItemByValue(checkboxText).set_checked(false);

I'm using an old version of the controls 2014.2.618.40 and can't update because of breaking changes in the newer version.

Can anyone help.

Eyup
Telerik team
 answered on 20 Jan 2016
11 answers
179 views
I am trying out the new RadDropdownTree control, but I am getting an error in Internet Explorer.  It says the script on the page is running slowly.  I have tried setting the scriptmanager to release as suggested on this page, but I am still getting the issue.
http://www.telerik.com/help/aspnet-ajax/treeview-troubleshooting-treeview-script-causes-ie-run-slowly.html
Nencho
Telerik team
 answered on 20 Jan 2016
2 answers
65 views
I'm using two RadListBoxes and the arrow icons for the buttons in the middle are showing up blank. How do I get them to show up.
Magdalena
Telerik team
 answered on 20 Jan 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?