Telerik Forums
UI for ASP.NET AJAX Forum
8 answers
208 views
How does one go about adding/removing/disabling "nodes"  in the tree server-side? How does one specify that certain nodes should be checkable, and others not?
Kate
Telerik team
 answered on 11 Jun 2013
1 answer
101 views

Hi,

I have a radSplitter with two radPanes. In first pane I have a radGrid and in second I have a radScheduler with scroll bars and both are of same height. Now i want to synchronize the scrolling between radGrid and radScheduler.(i.e if i move the scroll bar in radGrid then radScheduler should also move and vice versa). I want it to be done in the client side javascript.I tried it but couldn't find what is the event that is getting fired when i scroll the radscheduler...Can anybody tell me how to achieve this?

Plamen
Telerik team
 answered on 11 Jun 2013
1 answer
125 views
Hi,

I have a radSplitter with two radPanes. In first pane I have a radGrid and in second I have a radScheduler with scroll bars and both are of same height. Now i want to synchronize the scrolling between radGrid and radScheduler.(i.e if i move the scroll bar in radGrid then radScheduler should also move and vice versa). I want it to be done in the client side javascript.Can anybody tell me how to achieve this?

Plamen
Telerik team
 answered on 11 Jun 2013
1 answer
122 views
Hi.

I have implemented a RadMenu system and noticed that the first and last menu item does not have any of the styling like the other menu items in between from this CSS:

 

.RadMenu_Default .rmRootGroup,

 

.RadMenu_Default a.rmLink,

 

.RadMenu_Default .rmGroup .rmText,

 

.RadMenu_Default .rmVertical .rmText,

 

.RadMenu_Default .rmLeftArrow,

 

.RadMenu_Default .rmRightArrow,

 

.RadMenu_Default .rmTopArrow,

 

.RadMenu_Default .rmBottomArrow

{

 

background-image: url('../Images/rmSprite.png');

 

background-color: transparent;

}

 

.RadMenu_Default .rmRootGroup

{

 

background: #0072C6 !important; /* Old browsers */

 

background: linear-gradient(to bottom, #0072C6 0%,#8eb92a 50%,#72aa00 51%,#003A66 100%) !important; /* W3C */

 

background-image: -ms-linear-gradient(bottom, #003A66 0%, #0072C6 100%) !important; /* IE 10 */

 

/*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0072C6', endColorstr='#003A66',GradientType=0 ) !important; /* IE6-9 */

 

color: White !important;

}

 

.RadMenu_Default .rmGroup, .RadMenu_Default .rmMultiColumn, .RadMenu_Default .rmGroup .rmVertical

{

 

background: #0072C6 !important;

 

color: White !important;

}

 

.RadMenu_Default .rmHorizontal .rmRootLink span.rmText:hover

{

 

background: #0072C6 !important;

 

color: White !important;

}

 

.RadMenu_Default a.rmExpanded, .RadMenu_Default a.rmExpanded:hover

{

 

background: #0072C6 !important;

 

color: White !important;

}

 

.RadMenu_Default .rmItem .rmFirst .rmLink .rmText:hover, .RadMenu_Default .rmItem .rmLast .rmLink .rmText:hover

{

 

background: #0072C6 !important;

 

color: White !important;

 

background-image: none !important;

}

 

.rmText

{

 

color : White;

}



I am wondering if there is a way to make the styling for the first and last menu item the same as what is being rendered/styled for the other menu items?

Ahmed Ilyas
Top achievements
Rank 1
 answered on 11 Jun 2013
3 answers
320 views
Tabs in Rad Editor is not working - it just not focus the next control when it doesn't have anything in content area. 
It works fine when there is content in the content area of RadEditor. Pressing tab moves the focus to the next control and works fine. 
When there is no content, pressing tab just starts adding following row to the 'DescriptionWrapper' table everytime. 
<tr><td class="reWrapper_corner reCorner_bottom_left"> </td><td class="reWrapper_center reCenter_bottom" colspan="3"> </td><td class="reWrapper_corner reCorner_bottom_right"> </td></tr>
Stamo Gochev
Telerik team
 answered on 11 Jun 2013
0 answers
194 views
Hi,
I have set AllowFilteringByColumn="True" in RadGrid for that Column but some column filter working good and some not working.Not working column contain linkbutton in GridTemplateColumn or string DataType value assigned Datafield in GridBoundColumn.

How to resolve this scenario.

Thanks in Advance..!
Susi
Top achievements
Rank 1
 asked on 11 Jun 2013
2 answers
444 views
Hi guys,

I have just upgraded my telerik controls and discovered that all radinputs ( radtextbox, datepicker etc..) width have gone awry. Everything is now set to 100% width even though it was specified in the inline code to be of a certain pixel.


e.g.
<telerik:RadTextBox ID="tbxSomething" runat="server" Skin="Default" width="250px"></telerik:RadTextBox>

When i go thru my firebug, it shows the default style as:

html body .riSingle .riTextBox[type="text"] {
    margin: 0;
    padding-left: 5px;
    padding-right: 5px;
    width: 100%;
}

even though the parent span is taking the specifed width into consideration but it's still rendering the control as 100% width due to the above css style.

<span id="tbxSomething_wrapper" class="riSingle RadInput RadInput_Default" style="width: 250px;">
  /*input control here*/
</span>

I can't actually override html body .riSingle .riTextBox[type="text"] style as it seems that every other "textbox like" input is using that same style..including datepickers.

Is there way where I can be able to set the width of specific textboxes without the use of CSS as these controls are generated dynamically from xml --> xslt --> aspx and I would like the users to be able to define the width of textboxes based on the type of input.

Please advise?

Regards

Jonathan
Jonathan Zee
Top achievements
Rank 1
 answered on 11 Jun 2013
1 answer
791 views
Hello, 

I can't change forecolor of checkbox label.
I tried to set ForeColor of checkbox, I tried to overwrite color in checkbox inline style, I tried overwrite .radCheckboxChecked.
May be I'm overwriting wrong class. Please help.
Skin for my checkboxes is "Sitefinity" which was defined in RadFormDecorator.

ASPX
<telerik:RadFormDecorator ID="RFDCheckBoxes" runat="server" 
DecoratedControls ="CheckBoxes"Skin="Sitefinity" EnableRoundedCorners="false" />

<asp:CheckBox ID="chkSelect" runat="server" AutoPostBack="false" Text="Select" ForeColor="White"/>
<asp:CheckBox ID="chkSelect2" runat="server" AutoPostBack="false" style="color:white!important;"Text="Select 2"/>

CSS
.RadForm_Sitefinity.radfdCheckboxChecked {color: white!important;}
.RadForm_Sitefinity.radfdCheckboxUnchecked {color: white !important;}


Thanks in advanced.
Robin
Bozhidar
Telerik team
 answered on 11 Jun 2013
3 answers
165 views
Hi, I have a radGrid with the "Add New" button on top, what I want to do, is to not show the Edit Form when I click on this button, I just want to catch this event with OnItemCommand and do some things there, without showing the EditForm on the RadGrid

protected void dtgPilot_OnItemCommand(object sender, GridCommandEventArgs e)
        {
                switch (Convert.ToString(e.CommandName))
                {
                    case "InitInsert":
                        //Code here
                        break;
                }
 
            }
        }

radGrid: 
<telerik:RadGrid runat="server" id="dtgPilot" AllowPaging="true"   AutoGenerateColumns="false"
                        OnItemCommand="dtgPilot_OnItemCommand" >
                        <MasterTableView CommandItemDisplay="Top" DataKeyNames="Id" >
                            <CommandItemSettings AddNewRecordText="Add New" ShowRefreshButton="false" />
                            <Columns>
                                <telerik:GridNumericColumn DataField="Id" Visible="false" />
                                <telerik:GridBoundColumn   DataField="PilotName" HeaderText="Name" /><telerik:GridBoundColumn   DataField="LicenceNumber" HeaderText="License #" />
                            </Columns>
                        </MasterTableView>
                    </telerik:RadGrid>

thanks
Princy
Top achievements
Rank 2
 answered on 11 Jun 2013
1 answer
155 views
Hi ,

Thanks in Advance for any Suggestion.

In my code I am Using RadToolTipManager to display tooltip on grid. I am having a column which will show tooltip. On Initial Page load I am getting the tooltip correctly for the respective rows. but after applying filter on that particular column, the tool tip is getting the same reference as on page load and showing the tooltip that I have able to see on page load. In OnItemdatabound I am adding the tooltipManager to the filtered row , still its taking the reference of Initial page load.


Please suggest ......
Princy
Top achievements
Rank 2
 answered on 11 Jun 2013
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?