Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
276 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
89 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
301 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
133 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
209 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
159 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
59 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
5 answers
1.2K+ views
hello

im new here in telerik and i will appreciate any kind of help..
here is my problem:
 from my Main.aspx   i open a RadWindow which contain a listbox.. from that listbox i want to get as return value the selected  value of that webcontrol and put it in my Main.aspx txtbox..

can someone please post the code for my problem?

thanks in advance.
regards webster.
surya
Top achievements
Rank 1
 answered on 19 Jan 2016
3 answers
821 views

Hello,

What I want to achieve is very simple. I have a standard grid that may be grouped by one of the columns. This is achieved using standard RadGrid functionality.

When the user clicks on the chevron of a group I want to toggle the group (expand or collapse it).There seem to be several threads on this type of thing. However, having looked at some of them what is not  clear to me is what is the correct approach.

Some of the questions that arise are

  • Do I have to implement a solution client side?  (I would prefer a server side solution.)
  • Do I need to implement something in page Page_PreRender(). 
  • Does the grid need to be rebound at any point? If so, where?

If somebody could point me to a simple example of this I would be very thankful. Ideally, the solution would be server side. By the way, I presume that I need to do the following (see below). However, I am not sure "what goes here", if anything?

Thanks in advance,

John.

protected void GridItemCommand(object source, GridCommandEventArgs e)
{
      if (e.CommandName.Equals("ExpandCollapse"))
      {
          // what goes here ???
      }
 }
 

 

 

 

 

John
Top achievements
Rank 1
 answered on 19 Jan 2016
1 answer
138 views
Hello, 

I need to create a few gauges with a different look.

I want to reload different CSS files where I will be able to override inner properties of gauge object,
like scales/point size/point color and t.d.


Does anyone know if there is a way to obtain what I desire?

Thanks
Tanya

Danail Vasilev
Telerik team
 answered on 19 Jan 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?