Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
196 views
How would one change the size of the Points in a Chart Series?

Thanks.
nFocus
Top achievements
Rank 1
 answered on 11 Dec 2012
1 answer
137 views
Hi,

Please help me on this situation.

We have a Web Application on Framework 3.5 using RadComboBox in Telerik 2009.3.1103.35 with Office 2007 Skins
At first, we run on Application Pool 2.0, it works fine.
By now, we want to let it run on Application Pool 4.0. But something happened:
  1. There are errors on WebResource.axd of Telerik. We figured out that it happened because the version Telerik, so we upgraded to 2012. It's fine by now (No error).
  2. The Style of Combobox is completed destroyed. At first, it generated the class "ComboBox_Office2007", So it works fine with our theme. But After upgraded to Application Pool 4.0, it automatically generate the class "ComboBoxItemHover_Office2007" ??? Why, and how to make it behave normally ???
  3. And now we can't select anything that drop down by the RadComboBox ???
  4. There are places we using RadAjaxManager like this:
    <radA:RadAjaxManager ID="RadAjaxManager" runat="server" OnAjaxRequest="On_AjaxRequest">
        <ajaxsettings>
             <radA:AjaxSetting AjaxControlID="uxDeviationTypeList"> <-- This is a ASP.NET ComboBox 
                <UpdatedControls>
                    <radA:AjaxUpdatedControl ControlID="uxCategory" LoadingPanelID="Loadingpanel" />
                    <radA:AjaxUpdatedControl ControlID="uxHiddenCategory" />
                    <radA:AjaxUpdatedControl ControlID="liType" LoadingPanelID="Loadingpanel" />
                </UpdatedControls>
            </radA:AjaxSetting> 
        </ajaxsettings>
    </radA:RadAjaxManager>

At first, it works fine. But now, it has error like this:
SyntaxError: missing ) after argument list
I found out that if I did that AjaxSetting, there is no error. Why this?

(Editted: After looked at all over the project, almost our Comboxs are Telerik.WebControls.RadCombobox.Net2, I think it is pretty old - v2.7.1.0)

Please take a look at this.
Thanks in advance.
Kalina
Telerik team
 answered on 11 Dec 2012
1 answer
78 views
Here we are attempting to get the DataKeyValue (the ID of the data record) when using the javascript below. This code works fine in a a straigh APSX page but doesn't work in the content page of the Master/Content design.

var rowID;

function RowClick(sender, eventArgs) {
    var radmenu = document.getElementByID('<%= Page.Master.FindControl("MainContent").FindControl("RadGrid1").Client.ID %>');
    if (radmenu.get_masterTableView().get_selectedItem()[0] != null) {
        rowID = radmenu.get_masterTableView().get_selectedItem()[0].getDataKeyValue("ID");
    }
}

<telerik:RadGrid ...
    <ClientSettings>
        <ClientEvent OnRowClick="RowClick"></ClientEvent>

Here I get the for the radGrid.get_masterTableView().get_selectedItem()[0].getDataKeyValue("ID"): The error is: Object doesn't support this property or method.  

Thanks,


Steve Holdorf 
Steve Holdorf
Top achievements
Rank 1
 answered on 11 Dec 2012
1 answer
40 views
I'm trying to add a new item to a RadComboBox via javascript and I'm getting a weird error.

it says "The object does not support such property or method" when doing "new Telerik.Web.UI.RadComboBoxItem()" 
It is really weird so I decided to open a "quiick watch" window and started to evaluate the Telerik.Web.UI object. As I expected, the "RadComboBoxItem" is not present.

How do I add an item to a RadComboBox via Javascript?

thanks

Gabriel
Top achievements
Rank 2
 answered on 11 Dec 2012
8 answers
160 views
I have a RadGrid which is populated with data and when I click on edit, the whole grid blanks out

The current situation is this: I have a list box which has about 20 items, Upon selection on 1 item from the list box, the RadGrid will be populated with data and this whole process happens on the server side as I have programmed in a way where the code will look into the correct table and extract the information and populate them in the radgrid. But now i am facing challenges with the Edit functionality where the whole grid is blanking out. If i select another item from the list box, the radgrid populated back but this time, there are editable fields where i can edit. Any ideas on how i can fix this?

Thanks,
Swamy
Mahadevan
Top achievements
Rank 1
 answered on 11 Dec 2012
1 answer
98 views
I'm really enjoying the simple and efficient use of the RadScheduler!

But when using the "Export to PDF" method, I'm facing some issues I hope can be solved in some way.

First of all - since I'm developing solutions in Denmark, I have localized the text to be danish, but when exporting these texts are overwritten by the default English texts.

Second, no matter what I set of properties - the width of the scheduler-image exported never changes, which results in "lesser visible area" and a horizontal scrollbar.
Alexander
Top achievements
Rank 1
 answered on 11 Dec 2012
5 answers
151 views
Hi,

I am dynamically creating radButton and Setting ButtonToggleType is radio and then Adding to the Pannel.But the problem is radButton is not showing like a radio button but shown as a normal button. Kindly look at my code and attachment and advise me to rectify the issue. Thanks in advance.

John.

For Each objChannel As TranChannel In _alChannels
              Dim RadButton1 As New RadButton()
              RadButton1.ID = objChannel.TranChannelCode
              RadButton1.Text = objChannel.Description
              RadButton1.Width = "100"
              RadButton1.ToggleType = ButtonToggleType.Radio
              RadButton1.ButtonType = RadButtonType.StandardButton
              RadButton1.GroupName = "StandardButton"
              Dim RadButtonToglle As New RadButtonToggleState()
              RadButtonToglle.Text = objChannel.Description
              RadButtonToglle.PressedCssClass = "rbToggleRadioChecked"
              RadButton1.ToggleStates.Add(RadButtonToglle)
              Dim RadButtonToglle1 As New RadButtonToggleState()
              RadButtonToglle1.Text = objChannel.Description
              RadButtonToglle1.PressedCssClass = "rbToggleRadio"
              RadButton1.ToggleStates.Add(RadButtonToglle1)
              AddHandler RadButton1.Click, AddressOf RadButton1_Click
              pnlRadio.Controls.Add(RadButton1)
          Next
Kevin
Top achievements
Rank 2
 answered on 11 Dec 2012
1 answer
36 views
Hi,
Below is the code for the radcombo box. After putting this code in aspx page it will take more than 200ms for loading the page.Is there any issue with the code. This combobox is not binding at all, i am planing to bind this combobox on page load.Can you please help me?
  <telerik:RadComboBox ID="ddlDishCategory" AllowCustomText="True" Width="320px" DataTextField="Dish_Category_Description"
                                                    DropDownWidth="320px" runat="server" AutoPostBack="false" CssClass="ddlist" Height="200px"
                                                    TabIndex="1" EnableLoadOnDemand="True" EnableScreenBoundaryDetection="false"
                                                    DataValueField="Dish_Category_Id" HighlightTemplatedItems="True" EmptyMessage="--Select Dish Category--">
                                                    <HeaderTemplate>
                                                        <table border="0" width="270px" cellspacing="0" cellpadding="0" style="color: Navy;
                                                            font-weight: bold;">
                                                            <tr>
                                                                <td>
                                                                    <table border="0" width="270px" cellspacing="0" cellpadding="0">
                                                                        <tr>
                                                                            <td style="width: 70px;" align="left">
                                                                                Code
                                                                            </td>
                                                                            <td style="width: 200px; border-left: Solid 1px Gray; padding-left: 2px;" align="left">
                                                                                Dish Category Description
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </HeaderTemplate>
                                                    <ItemTemplate>
                                                        <table border="0" width="270px" cellspacing="0" cellpadding="0">
                                                            <tr>
                                                                <td>
                                                                    <table border="0" width="270px" cellspacing="0" cellpadding="0">
                                                                        <tr>
                                                                            <td style="width: 70px;" align="left">
                                                                                <%# DataBinder.Eval(Container.DataItem, "Dish_Category_Code")%>
                                                                            </td>
                                                                            <td style="width: 200px; border-left: Solid 1px Gray; padding-left: 2px;" align="left">
                                                                                <%# DataBinder.Eval(Container.DataItem, "Dish_Category_Description")%>
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </ItemTemplate
                                                </telerik:RadComboBox>
Dimitar Terziev
Telerik team
 answered on 11 Dec 2012
1 answer
159 views
Hi Team,

I m using a RAD Grid control. I have also bound images to the grid from a SharePoint site.
This RAD Grid control is added to a visual web part.

The binding is working fine.

When I tried to export the grid to excel, the grid exports the images.
But, when I copy the excel file to a different location and open the file, the images are not visible.

I want that the images should be embedded. Even if the user opens in different location, the images should remain in the file.
Any help is appreciated.

Kinly help if anyone has worked on it.

Regards,
Riya Menghani.
Kostadin
Telerik team
 answered on 11 Dec 2012
7 answers
165 views
Hi,
I would like to modify the Reminder template/add more controls to it.  How can I modify(add/remove controls)  reminder template?


Thanks,
Prava
Boyan Dimitrov
Telerik team
 answered on 11 Dec 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?