Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
146 views
Hi,

I'm using a WCF web service to load nodes on demand.
The WCF web service method is called and complete in less thant 2 seconds, then it takes more thant 2 minutes for nodes (between 1 to 10 nodes) to be added to  the treeview !!!

I'm using .Net 4 on Win7 x64 and IIS 7.5

Any ideas/suggestions ?
Cedric
Top achievements
Rank 1
 answered on 25 May 2011
4 answers
124 views
In the advancedForm, when we select the start date and Time, the Time slot menu (with 30 minute interval) has two columns of times. However Since I have a requirement to show time from 00:00 AM to 11:30PM, the popup goes beyond my webpage frame height. Is it possible to have 3 columns or 4 columns for the time so that the height can be reduced?

Thanks
Sanjeev
Jayesh Goyani
Top achievements
Rank 2
 answered on 25 May 2011
4 answers
251 views
<head runat="server">
    <title></title>
     
 
<style type="text/css"
div.RadComboBox_Default table .rcbInputCell,
div.RadComboBox_Default table .rcbArrowCell 
    background-color: red; 
    height: 11px;  
    line-height: 10px;
    padding: 0;
  
div.RadComboBox_Default table .rcbInputCell input
{
    height: 11px;
    line-height: 10px;
    font:10px arial,verdana,sans-serif;
    height: 11px;
    padding: 0;
}
  
.rcbInput
{
    height: 11px !important;
}
</style
 
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        </telerik:RadScriptManager>
 
        <telerik:RadComboBox ID="RadComboBox1" runat="server" >
            <Items>
                <telerik:RadComboBoxItem text="12345" />
                <telerik:RadComboBoxItem text="12345" />
                <telerik:RadComboBoxItem text="12345" />
                <telerik:RadComboBoxItem text="12345" />
                <telerik:RadComboBoxItem text="12345" />
                <telerik:RadComboBoxItem text="12345" />
            </Items>
        </telerik:RadComboBox>       
        <telerik:RadTextBox ID="RadTextBox1" runat="server" Height="11px"></telerik:RadTextBox>
        <br/> <br/> <br/>
        <telerik:RadComboBox ID="RadComboBox2" runat="server" EnableEmbeddedSkins="false" >
            <Items>
                <telerik:RadComboBoxItem text="12345" />
                <telerik:RadComboBoxItem text="12345" />
                <telerik:RadComboBoxItem text="12345" />
                <telerik:RadComboBoxItem text="12345" />
                <telerik:RadComboBoxItem text="12345" />
                <telerik:RadComboBoxItem text="12345" />
            </Items>
        </telerik:RadComboBox>
        <telerik:RadTextBox ID="RadTextBox2" runat="server" Height="11px"></telerik:RadTextBox>
        
    </div>
    </form>
    
 
</body>
</html>
Hello SIr/Mam

I'm wanted to set the height of the textbox of the RadComboBox to 11 px.
I have read and tried the code posted on forum(http://www.telerik.com/community/forums/aspnet-ajax/combobox/how-to-set-the-height-of-the-textbox-of-the-radcombobox.aspx) But still i'm not able to set its height .
Please help me out from this problem, Any help will be greatly appreciated.


Regards
Sunil
Sunil
Top achievements
Rank 1
 answered on 25 May 2011
2 answers
143 views
Version: 2010.2.826.35
Replicate steps,
1. Input some text in the editor
2. Select the text and choose a Font size, for example: 5 and then font size will be changed
3. Choose a real Font size, for example: 10px and then font size will be changed too
4. Problem is here: when you choose a Font size again, for example: 6, it doesn't work.

Could anyone help look into this?
Code is here,
<Telerik:RadScriptManager ID="RadScriptManager1" runat="server">
</Telerik:RadScriptManager>
<Telerik:RadEditor ID="RadEditorProductDetails" runat="server" EditModes="Design, Html" Skin="Windows7">
    <Tools>
        <Telerik:EditorToolGroup>
            <Telerik:EditorTool Name="FontName" />
            <Telerik:EditorTool Name="FontSize" />
            <Telerik:EditorTool Name="RealFontSize" />
        </Telerik:EditorToolGroup>
    </Tools>
    <Content>
    </Content>
</Telerik:RadEditor>

Thanks so much.
yunpeng
Top achievements
Rank 1
 answered on 25 May 2011
2 answers
179 views
When I go to run my project that I mostly just copy/pasted from advanced form template thing I get this error.

Parser Error

Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. 

Parser Error Message: The base class includes the field 'ResRoom', but its type (CareTracker.Web.UI.Pages.ResourceControl) is not compatible with the type of control (ASP.pages_resourcecontrol_ascx).

Source Error: 

Line 119:                     <li>
Line 120:                        <!-- Resource controls should follow the convention Res[Resource Name] for ID -->
Line 121:                        <scheduler:ResourceControl runat="server" ID="ResRoom" Type="ResRoom" Label="Room:" Skin='<%# Owner.Skin %>' />
Line 122:                     </li>
Line 123:                     <li>



can anyone help/
Ed
Top achievements
Rank 1
 answered on 25 May 2011
6 answers
319 views
I have a tooltip manager with declaration:

<telerik:RadToolTipManager ID="rttmFLC" 
                OffsetX="1" 
                Width="400" 
                Height="400" 
                HideEvent="LeaveToolTip"
                runat="server" 
                OnAjaxUpdate="OnAjaxUpdate"
                RelativeTo="Element"
                Position="MiddleRight"
                ContentScrolling="Auto"
>       
</telerik:RadToolTipManager>


In code behind I load the tooltip content. The content is comprised of an image. I have found that, if the image is taller than the tootip height, a vertical scroll bar appears. However, if the image is wider than the tooltip width, a horizontal scroll bar does not appear. I have tried this by loading a simple html <img> tag in the tootip

ContentTemplateContainer.Controls collection, as well as adding a user control with an image in it. Both ways, no horizontal scrollbar. I have also tried to set the ToolTipManager ContentScrolling to "Both" instead of "Auto". Again no, horizontal scrollbar. For the time being, I can set the image width to 100%, so that the entire image width is seen in the tooltip. However, this will obviously make it so the image doesn't appear as it actually is, but rather as a "thumbnail" of sorts. Any idea why I can't get the horizontal scrollbar to show up?

Albert Shenker
Top achievements
Rank 1
Veteran
Iron
 answered on 25 May 2011
2 answers
99 views

I wanted to know if there is an event/method for templated RadGrid columns/items where I can specifically set the culture that a specific templated value is rendered in separately from the culture used on the rest of the page/values.

Example:  The user is viewing the page in Japanese and that is the culture for the overall site, but all prices in a certain column in a RadGrid need to be listed as US prices with the $ currency while all other resources need to still be in Japanese.  

For a specific datagrid and templated column, how can I set the culture that a particular column's values are rendered under?

Currently code like the following would show a price of 30 as 30Â¥ instead of $30.  In the code behind (not declaratively), when binding occurs I need to be abel to say that the price should render in the en-US culture, en-GB, etc.


<telerik:GridTemplateColumn UniqueName="ExamplePriceArea" ReadOnly="True" HeaderText="ExamplePrice">
    <ItemTemplate>
        <asp:Label ID="PriceLabel" runat="server" Text='<%# Eval("Price", "{0:C}") %>'></asp:Label>
    </ItemTemplate>
</telerik:GridTemplateColumn>
jgill
Top achievements
Rank 1
 answered on 25 May 2011
2 answers
188 views
Hello,

I am using radchart with Skin = "Vista"

This skin shows only horizontal major grid lines. But I also widh to display vertical major grid lines with this skin. How to explicitly display the vertical major grid lines ?
prayag ganoje
Top achievements
Rank 1
 answered on 24 May 2011
1 answer
113 views
Hi

I have created a grid with 3 columns and I am able to detect a row selection on the client side.

I want to query the row for an ID attribute, so that I can pass this ID to a server function.

I have tried using a hidden column but when I do that my call to

getCellByColumnUniqueName fails because the cell doesn't exist.

surely this is a fairly common requirement.

Gimmik
Top achievements
Rank 1
 answered on 24 May 2011
2 answers
103 views
I have a simple RadGrid with a GridCheckBoxColumn and a GridTemplateColumn with an asp:CheckBox in the EditItemTemplate.  So every row has two checkboxes on it.

When I finished work Tuesday, these checkboxes displayed.  When I next started work on the grid Thursday, they did not.

I cannot figure out why they do not display.

Points On This:
1. When I display the page containing the grid in FireFox, the checkboxes display..
2. When I use View Source to save the HTML of the page that is not displaying the checkboxes and then I open that page in IE8, the checkboxes display.
3. In the debugger in the code behind, the visible property of the asp:checkbox is true.
4. I put an asp:textbox in the same EditItemTemplate as the asp:checkbox and the asp:textbox displays.

5. In the debugger on the client, I can see that the width of the asp:checkbox is set to 0.  I tried manually changing the width in the debugger - it seemed to work but when I rechecked the width, it was still 0.

The HTML sent to the browser for the two columns is the following:

<td style="width:80px;">
  <input id="RadGrid1_ctl00_ctl04_ctl00" type="checkbox" name="RadGrid1$ctl00$ctl04$ctl00" onclick="SelectDeselectRow(0, this);" />
</td>
<td style="width:80px;">
  <span style="display:inline-block;width:50px;">
    <input id="RadGrid1_ctl00_ctl04_chkSelected_2" type="checkbox" name="RadGrid1$ctl00$ctl04$chkSelected_2" />
  </span>
  <input name="RadGrid1$ctl00$ctl04$txtSelected_2" type="text" value="1" id="RadGrid1_ctl00_ctl04_txtSelected_2" onclick="SelectDeselectRow_2(0);" style="width:30px;" />
</td>

The best idea I have on what is happening is that there a script (generated by the RadGrid or by ASP.Net) that runs after the page is loaded that sets the width to 0, causing the checkbox to not be visible.  And that this script only runs in IE8.  I have looked at the script at the end of the page (which I believe is where the registered scripts go) and do not see anything that looks suspicious.

Anyone have any ideas on why the checkboxes do not display?

Thanks,

John

John
Top achievements
Rank 1
 answered on 24 May 2011
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?