Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
167 views

         When i used ajax modal pop up extender in radschedule, calander and dropdownlist in RadSchedulerRecurrenceEditor is  going beyond the pop up. Please find attached to under stand my problem as much as clearly.
Ivana
Telerik team
 answered on 24 Oct 2011
2 answers
222 views
Hi All

I have a basic Grid with 13 bound cols, based on value at databound I want to change the text in the cell. 

if (e.Item is GridDataItem)
          {
              StockPurchasingVehicle v = (StockPurchasingVehicle)e.Item.DataItem;
              GridDataItem item = (GridDataItem)e.Item;
 
              if (v.OffHireDate == DateTime.MinValue)
              {
                  item.Cells[6].Text = "";
              }
          }

my "OffHireDate" should be index my 4th column, however 6 is the correct index, this seems to be the same for all columns, i.e first index Cells[0] is actually Cells[2].??

I have no hidden cols, or templates.  Not sure how it is counting index, should i use Column Name to access it? rather than index.

Thanks


Sebastian
Telerik team
 answered on 24 Oct 2011
1 answer
224 views
I am having a problem when I hover off the selected tab, it reverts to the standard, non-selected css class.  When the page loads the selected tab has a yellow background image, the other tabs have a blue background.  When I hover over the selected tab it remains yellow, when I move the mouse off the selected tab (hover off) its background becomes blue.

Here's the code:

Code behind:
RadTab tab = new RadTab();
                tabStripMain.Tabs.Add(tab);
 
                switch (myswitch)
                {
                    case 1:
                         tab.Text = node.SelectSingleNode("TAB_TITLE").ChildNodes[0].Value;
                         tab.Font.Size = 12;
                         tab.CssClass = "results_tab_off";
                         tab.SelectedCssClass = "results_tab_on";
                         tab.HoveredCssClass = "results_tab_on";
break;
                    default:
                        tabStripMain.EnableEmbeddedSkins = true;
                        tabStripMain.Skin = "Outlook";
                    break;
 
                }

And the css:

.results_tab_off
{
    background:white url(/images/medica/results_tab_off.png) no-repeat 0 100%;
    height: 40px;
    width: 211px;
    color: White;
    padding: 10px 0px 0px 0px !important;
    text-align: left !important;
    border-left: 1px solid white;
}
 
.results_tab_on
{
    background:white url(/images/medica/results_tab_on.png) no-repeat 0 100%;
    height: 40px;
    width: 211px;
    color: #999;
    padding: 10px 0px 0px 0px !important;
    text-align: left !important;
    border-left: 1px solid white;
}
 
.RadTabStrip .rtsTxt {
   padding-left: 5px !important;
   padding-top: 13px !important;
} 
Kate
Telerik team
 answered on 24 Oct 2011
1 answer
157 views
Hi,
 We have two different IIS 6 servers (Windows 2003 sp2) serving the same website with one page being different. In the site having the non-telerik version we typically see 500-600 MB of memory usage by the w3wp process. In the telerik radajax control server the memory load is around 700 mb. All other parameters are same between the servers including the load distribution. I was wondering if its common for the telerik controls to boost memory usage on the server and if anyone else is experiencing that? The page uses the RadAjaxManager along with the rad nav bar and the radgrid.

Thanks,
Ximor.
Maria Ilieva
Telerik team
 answered on 24 Oct 2011
4 answers
113 views
Hi
I'm using Telerik.Web.UI, v4.0.30319, 2011.2.915.40.
I am trying to style some pages across a number of browsers, and have a problem!This code
<div style="width: 550px;">
<div style="margin-top: 5px;">
  
<label for="cmbMake">
  
<span class="redtext">*</span> Vessel Make</label>
  
<div class="info"> </div>
<telerik:RadComboBox ID="cmbMake" Width="249px" runat="server" Filter="Contains" Skin="WebBlue" Font-Names="Arial" AutoPostBack="True"OnSelectedIndexChanged="cmbMake_SelectedIndexChanged" OnItemDataBound="cmbMake_ItemDataBound" OnItemsRequested="cmbMake_ItemsRequested">
 
<CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>
 
</telerik:RadComboBox>
 
</div>
<div style="clear: both;"></div>
 
<div style="margin-top: 5px;">
 
<label for="cmbModel">
 
<span class="redtext">*</span> Vessel Model</label>
 
<div class="info"> </div>
 
<telerik:RadComboBox ID="cmbModel" Width="249px" AllowCustomText="true" runat="server" Filter="Contains" Font-Names="Arial" Skin="WebBlue" AutoPostBack="True" OnSelectedIndexChanged="cmbModel_SelectedIndexChanged" OnItemDataBound="cmbModel_ItemDataBound" OnItemsRequested="cmbModel_ItemsRequested">
 
<CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>
 
</telerik:RadComboBox>
 
</div>
  
</div>
It renders correctly in IE7,8,9, Opera 11.5, Chrome 10.5, Safari 5,
BUT
Any current version of Firefox ends up with the two RadComboBoxes over twice as wide as they should be!
(See attached pics)
Any thoughts?

Cheers

Dave
Dave
Top achievements
Rank 1
 answered on 24 Oct 2011
1 answer
221 views

Hi,

I have a RadTreeList. It has two Parent item.First Item have three child Item.My requirement is to add a row after these  three childitem on the click (+ button) of the corresponding parentitem.When I use DetailTemplate ,new row is added each parent and each child.So I cannot use this method.How can I add a new row after the three childitem on the click of the corresponding parent Iem?

Thanks In advance
Tsvetina
Telerik team
 answered on 24 Oct 2011
3 answers
80 views
Hi,

       I am a licensed user for Telerik Asp Ajax Radcontrols. I have used Telerik Office 2007 theme in my application. Initially in the page load i have a button in disabled state. After the user enters some data in the page from server side i am enabling the button. Things were completely fine in IE and firefox browsers. (ie, u can clearly visualize and differentiate a disabled and enabled button by looking at it). But in Safari 5.0, the themes dont get changed as soon as you enable that button. (I mean, i could click the button and the functionality works, but i am not able to see any visual changes compared to the disabled mode). I have attached the disabled mode appearance and enabled mode appearance (file enabled.png). You can observe the theme of both. And also once reload the entire page the enabled mode styles are getting applied. (file enabled1.png)

I could not post any code or detailed snaps. But i think the data i provided should be fine. Kindly help, as it is a critical requirement in end user's perspective.

Regards,
Saravanan K

 
Slav
Telerik team
 answered on 24 Oct 2011
1 answer
118 views
Is it possible to assign an ObjectDataSource to a TreeView control, from Javascript? This is because I´m returning said ObjectDataSource from a JSON call. The data takes a while to load, so I wanted to load it asynchronously.

What can I call on the TreeView (or anywhere else) to load the returned ObjectDataSource into the TreeView?
Plamen
Telerik team
 answered on 24 Oct 2011
3 answers
166 views
Hello. I'm a first timer, so please be gentle.

I'm having a peculiar behaviour when I show a previously omitted checkbox for a given node: Basically It places automatically the checkbox after the image for the node. I load the nodes on demand.

<telerik:RadTreeView ID="TreeViewTest" runat="server" CheckBoxes="true" LoadingMessage="Loading..."
    LoadingStatusPosition="BelowNodeText" MultipleSelect="false" AllowNodeEditing="false"
    OnClientNodePopulated="ClientNodePopulated" OnClientNodeChecked="ClientNodeChecked">
    <WebServiceSettings Path="TreeViewTest.aspx" Method="LoadTreeViewNodes" />
</telerik:RadTreeView>

Only thing I do on JavaScript: place node.set_checkable(false) when I want to hide the checkbox, and node.set_checkable(true) when I don't.

Is there a way for me to place the checkbox always before or after the image, so there is a continuity in the user experience (i.e. either in client-side or server-side)?

I attached 2 screenshots to demonstrate. Sorry for the blur.




Kate
Telerik team
 answered on 24 Oct 2011
1 answer
66 views

Hello,

Moving an ASP.Net project from RadControls for ASP.NET Q1 2009\NET2 to Telerik.Web.UI, Version=2011.1.413.40 I discovered that some properties do not exist for the RadTreeView.

1. BeforeClientToggle: I used this property in the old version to expand all children when the node was expanded:

<rad:RadTreeView 
    ID="treeTest" 
    runat="server" 
    title="Test" 
    BeforeClientToggle="ClickHandler" 
    Width="100%" 
    OnNodeCreated="treeTest_NodeCreated">
  
[...]
  
<script language="javascript"> 
    function ClickHandler(objStartNode) 
    { 
        var objChildren = objStartNode.Nodes; 
        var intChildCnt = objChildren.length; 
        if(intChildCnt == 0) 
            return; 
        for (var intNodeIdx = 0; intNodeIdx < intChildCnt; intNodeIdx++) 
        { 
            var objChildNode = objChildren[intNodeIdx]; 
            objChildNode.Expand(); 
            if(intChildCnt != 0) 
                ClickHandler(objChildNode); 
        } 
    } 
</script> 

How should this behaviour be implemented in the new version of the control?

2. SkinsPath: When first working with RadTreeView, I downloaded the additional skins and used RoundBlue for rendering the grid:

protected void Page_Load(object sender, EventArgs e)
{
    //...
    treeTest.SkinsPath = "~/App_Themes/Skins";
    treeTest.Skin = "RoundBlue";
    //...
}

This property is not available for this version of the control and the code does not compile.
What should I use to replace this property?

Thank you.

Plamen
Telerik team
 answered on 24 Oct 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?