Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
101 views
I am working on an application with a Master Page, and ASP.NET Menu on it. Whenever there is a RAD Alert or RAD Confirm dialog boxes (semi-transparent, modal window) diaplayed, the ASP.NET menu (from Parent page) is shown through the RAD alert and RAD confirmation dialog boxes. Is there a way I can fix this? Any help is greatly appreciated.
Shinu
Top achievements
Rank 2
 answered on 25 May 2010
1 answer
109 views
I use Classes for connect and modify data on sql database. I am create ObjectDataSource and Connect to class ProjectsGetAll, but when I try to sort data, I get error message: you need dataset, datatable, to sort data, (something like that).
Than, I am do next:
DataTable dt = SqlHelper.ExecuteDataset(Settings.ConnectionString, CommandType.StoredProcedure, "CUSTOM_ProjectsGetAll").Tables[0];
radgrid1.datasource=dt;
radgrid1.databind(); (I am try and rebind, too)
and than in radgrid you can see message: No record to display.
Please help

Yavor
Telerik team
 answered on 25 May 2010
7 answers
184 views
Hi,
    I'm using Telerik version 2009.31208.20. I have created an asp:button decorated with the Telerik RadFormDecorator. The button works well in IE (all version after IE 6), FireFox 3.x, Chrome and Safari. Although, in Firefox 2.x, the button click is not firing and its border is cut off.
 The problem occurs only when i set the button decorated with the RadFormDecorator.
  I found the same problem in the Telerik website http://demos.telerik.com/aspnet-ajax/formdecorator/examples/decorationzoneid/defaultcs.aspx. I have joined to this post a snapshot from the Telerik website.
Thanks.
here the source code:
 <telerik:RadFormDecorator ID="FormDecorator1" runat="server" DecoratedControls="All" 
        Skin="WebBlue"></telerik:RadFormDecorator> 
 
 <asp:Button ID="LoginButton" ValidationGroup="login" 
      runat="server" CommandName="Login" Width="120px" 
      Text="<%$ Resources:Labels, LoginLoginButton %>" /> 
Lini
Telerik team
 answered on 25 May 2010
1 answer
174 views
I test the example code of "Getting the Nodes Full Path" , but it can't work well.

so I mark break point , and debug it. Then I see , get_parent() return the control which contain the tree, because I put the tree in the RadPane. 

 So  I Have no choice but using the level . When I use get_level() , it returns "5" for root node . For my aspx page layout, it maybe this.

 Splitter          <----- level 0
     radpane               <-----level 1
         Splitter                       <-----level 2
            radpane                         <-----level 3
                 treeview                              <-----level  4
                      (root  node )             <-----level 5
 

To user , it's so strange that the method  of TreeNode returns  .
Nikolay Tsenkov
Telerik team
 answered on 25 May 2010
2 answers
264 views
I would like to create a dynamic strip chart using RadChart.

Chart type is Line
The x-axis should be a time axis showing the time of the last update

After filling the x-axis I would like to drop the oldest point and add a new point to the end of the chart

This sample code adds the new item to the chart but how would I add x-axis (time) labels for each new item?
           if (Session["rtvals"] == null) 
            Session["rtvals"] = DateTime.Now.Second; 
            else 
            Session["rtvals"] = Session["rtvals"] + "," + DateTime.Now.Second; 
 
            String[] vals = Session["rtvals"].ToString().Split(','); 
            for (int i = 0; i < vals.Length; i++) 
            { 
                Chart5.Series[0].AddItem(Convert.ToDouble(vals[i])); 
            } 

Thanks

Marc
Ves
Telerik team
 answered on 25 May 2010
1 answer
124 views
HI
I am not able to implement CSS on my Radmenu. 
Please see the image attached below. 
On mousehover no Hand is coming on where as i am using cursor:hand; in my CSS 

Other issue i am facing is when ever i add dir="rtl" it move to right which is fine with me but the order of the menu changes. i want to keep the same order but keeping it to the right corner of the screen.

Please help me with this asap.

Below is the code in the .ascx file
<telerik:RadMenu runat="server" id="MENUK"  Width="350px" style="z-index:2500" 
    EnableShadows="true" EnableRoundedCorners="false"   
        EnableEmbeddedSkins="True" BorderStyle="Solid" forecolor= "LightGray" 
        BackColor="#000066" Font-Bold="True" Font-Names="Arial Black" CssClass="rmExpanded:hover" dir="rtl"> 
</telerik:RadMenu> 






Krishna Chaudhary
Top achievements
Rank 1
 answered on 25 May 2010
4 answers
231 views
when I use RadGrid in asp.net page, it popup an error occasionally(Please see attachment)
Please give me some suggestion to void it.   thank you very much.













Radoslav
Telerik team
 answered on 25 May 2010
4 answers
92 views
i used stylebuilder to generate style for panel  and it works correctly in firfox 3.6.3
but following style doesn't apply for ie7
i attached picture  to show diffrenece
i used  telerik version 2010.1.309.20

DIV.RadPanelBar_Office2007

 

.rpRootGroup .rpItem {

 

 

BACKGROUND-COLOR: #D6E8FF;

 

 

PADDING-BOTTOM: 7px;

 

}


complete css:

 

.RadPanelBar_Office2007

 

 

 

 

{

 

background: #fff;

 

}

 

 

 

.RadPanelBar_Office2007

 

.rpRootGroup

 

 

 

 

 

{

 

border-color: #999;

 

}

 

 

 

.RadPanelBar_Office2007

 

.rpLink,

 

 

 

 

.RadPanelBar_Office2007

 

.rpTemplate

 

 

 

 

 

{

 

color: #000;

 

 

font: normal 12px/24px tahoma,"Segoe UI", Arial, sans-serif;

 

}

 

 

 

.RadPanelBar_Office2007

 

.rpLink

 

 

 

 

 

{

 

background-color: #e4e4e4;

 

 

border-color: #999;

 

}

 

/* compensate for borders */

 

 

 

 

 

.RadPanelBar_Office2007

 

.rpLink .rpOut .rpImage

 

 

 

 

 

{

 

margin-top:-2px;

 

}

 

 

 

.RadPanelBar_Office2007

 

.rpExpanded

 

 

 

 

 

{

 

border-color: #3d556c;

 

}

 

 

 

/*-----*/

 

 

 

 

.RadPanelBar_Office2007

 

.rpRootGroup .rpSlide .rpGroup .rpItem .rpLink

 

{

 

text-indent:2px;

 

}

 

 

 

 

.RadPanelBar_Office2007

 

.rpLink:hover,

 

 

 

 

.RadPanelBar_Office2007

 

.rpFocused,

 

 

 

 

.RadPanelBar_Office2007

 

.rpSelected

 

 

 

 

 

{

 

color: #892500;

 

}

 

 

 

.RadPanelBar_Office2007

 

.rpLink:hover,

 

 

 

 

.RadPanelBar_Office2007

 

.rpFocused

 

 

 

 

 

{

 

background-color: #ffe79c;

 

 

border-color: #c98400;

 

}

 

 

 

.RadPanelBar_Office2007

 

.rpSelected,

 

 

 

 

.RadPanelBar_Office2007

 

.rpSelected:hover

 

 

 

 

 

{

 

background-color: #ffa517;

 

 

border-color: #ca4b0c;

 

}

 

 

 

div.RadPanelBar_Office2007

 

.rpLink .rpOut,

 

 

 

 

div.RadPanelBar_Office2007

 

.rpFocused .rpOut,

 

 

 

 

div.RadPanelBar_Office2007

 

.rpLink:hover .rpOut,

 

 

 

 

div.RadPanelBar_Office2007

 

.rpSelected .rpOut,

 

 

 

 

div.RadPanelBar_Office2007

 

.rpSelected:hover .rpOut

 

 

 

 

 

{

 

 

/*padding-bottom: 0px;*/

 

 

 

 

 

 

border: 0;

 

}

 

 

 

/* <disabled items> */

 

 

 

 

.RadPanelBar_Office2007

 

.rpDisabled,

 

 

 

 

.RadPanelBar_Office2007

 

.rpDisabled:hover

 

 

 

 

 

{

 

color: #bbb;

 

 

background-color: #e4e4e4;

 

 

border-color: #999;

 

 

cursor: default;

 

}

 

 

 

.RadPanelBar_Office2007

 

.rpDisabled:hover .rpOut

 

 

 

 

 

{

 

border-color: #e4e4e4;

 

}

 

 

 

/* </disabled items> */

/* <expand arrows> */

 

 

 

 

.RadPanelBar_Office2007

 

.rpExpandable .rpText,

 

 

 

 

.RadPanelBar_Office2007

 

.rpExpanded .rpText

 

 

 

 

 

{

 

background-color: transparent;

 

 

background-image: url('PanelBar/Expandable.png');

 

 

background-repeat: no-repeat;

 

}

 

 

 

/* </expand arrows> */

/* <subitems> */

 

 

 

 

.RadPanelBar_Office2007

 

.rpGroup

 

 

 

 

 

{

 

background-color: #d6e8ff;

 

}

 

 

 

div.RadPanelBar_Office2007

 

.rpGroup .rpLink,

 

 

 

 

div.RadPanelBar_Office2007

 

.rpGroup .rpTemplate

 

 

 

 

 

{

 

color: #000;

 

 

background-color: transparent;

 

 

background-image: none;

 

 

border: 0;

 

 

margin: 0 2px;

 

 

padding: 1px;

 

}

 

 

 

div.RadPanelBar_Office2007

 

.rpGroup .rpLink:hover,

 

 

 

 

div.RadPanelBar_Office2007

 

.rpGroup .rpFocused,

 

 

 

 

div.RadPanelBar_Office2007

 

.rpGroup .rpSelected,

 

 

 

 

div.RadPanelBar_Office2007

 

.rpGroup .rpSelected:hover

 

 

 

 

 

{

 

color: #892500;

 

 

border: 1px solid #c98400;

 

 

background-color: #ffe79c;

 

 

padding: 0;

 

}

 

 

 

div.RadPanelBar_Office2007

 

.rpGroup .rpSelected

 

 

 

 

 

{

 

background-color: #ffa517;

 

 

border-color: #ca4b0c;

 

}

 

 

 

/* <subitems (disabled)> */

 

 

 

 

div.RadPanelBar_Office2007

 

.rpGroup .rpDisabled,

 

 

 

 

div.RadPanelBar_Office2007

 

.rpGroup .rpDisabled:hover

 

 

 

 

 

{

 

color: #bbb;

 

 

text-decoration: none;

 

 

background-color: #fff;

 

 

border: 0;

 

 

padding: 1px;

 

}

 

 

 

/* </subitems (disabled)> */

/* <subitems> */

/* <background positioning>

.RadPanelBar_Office2007 .rpLink,

.RadPanelBar_Office2007 .rpExpanded

{

background-position: 0 0;

}

.RadPanelBar_Office2007 .rpFocused,

.RadPanelBar_Office2007 .rpLink:hover,

.RadPanelBar_Office2007 .rpExpanded:hover

{

background-position: 0 -200px;

}

.RadPanelBar_Office2007 .rpSelected,

.RadPanelBar_Office2007 .rpSelected:hover

{

background-position: 0 -400px;

}

.RadPanelBar_Office2007 .rpFirst .rpLink,

.RadPanelBar_Office2007 .rpFirst .rpExpanded

{

background-position: 0 -1px;

}

.RadPanelBar_Office2007 .rpFirst .rpFocused,

.RadPanelBar_Office2007 .rpFirst .rpLink:hover

{

background-position: 0 -201px;

}

.RadPanelBar_Office2007 .rpFirst .rpSelected,

.RadPanelBar_Office2007 .rpFirst .rpSelected:hover

{

background-position: 0 -401px;

}

*/

/* <expand arrows> */

 

 

 

 

.RadPanelBar_Office2007

 

.rpExpandable .rpText,

 

 

 

 

.RadPanelBar_Office2007

 

.rpExpanded .rpText

 

 

 

 

 

{

 

padding-right: 20px;

 

 

background-repeat: no-repeat;

 

}

 

 

 

 

 

DIV.RadPanelBar_Office2007 {

 

 

MARGIN-TOP: 0px;

 

 

BACKGROUND-COLOR: transparent;

 

}

 

DIV.RadPanelBar_Office2007 .rpRootGroup {

 

 

BORDER-RIGHT: 0px solid;

 

 

BORDER-TOP: #FFFFFF 0px solid;

 

 

BORDER-LEFT: 0px solid;

 

 

BORDER-BOTTOM: 0px solid ;

 

 

BACKGROUND-COLOR: transparent;

 

}

 

DIV.RadPanelBar_Office2007 .rpRootGroup .rpLink {

 

 

BACKGROUND-POSITION: 0px 0px;

 

 

BORDER-TOP: #6693CF 1px solid;

 

 

FONT-WEIGHT: bold;

 

 

FONT-SIZE: 11px;

 

 

BACKGROUND-IMAGE: url('PanelBar/item-bg.gif');

 

 

COLOR: #15428b;

 

 

LINE-HEIGHT: 18px;

 

 

text-indent:-10px;

 

 

BORDER-BOTTOM: #D6E8FF 0px solid;

 

 

FONT-FAMILY:tahoma, Segoe UI, Arial, sans-serif;

 

 

 

 

HEIGHT

 

: 18px;

 

 

BACKGROUND-COLOR: #D6E8FF;

 

 

}

 

 

 

 

DIV.RadPanelBar_Office2007

 

.rpRootGroup .rpItem {

 

 

BACKGROUND-COLOR: #D6E8FF;

 

 

PADDING-BOTTOM: 7px;

 

}

 

 

 

DIV.RadPanelBar_Office2007

 

.rpRootGroup .rpItem .rpGroup .rpItem {

 

 

 

PADDING-BOTTOM: 0px;

 

}

 

 

 

DIV.RadPanelBar_Office2007 .rpRootGroup .rpLink:hover {

 

 

BORDER-TOP: #6693CF 1px solid;

 

 

 

 

BACKGROUND-POSITION

 

: 0px 0px;

 

 

BACKGROUND-IMAGE: url('PanelBar/item-bg.gif');

 

}

 

 

 

DIV.RadPanelBar_Office2007 .rpRootGroup .rpExpandable {

 

 

BORDER-BOTTOM-COLOR: #D6E8FF;

 

 

BORDER-BOTTOM: #D6E8FF 1px solid;

 

}

 

DIV.RadPanelBar_Office2007 .rpRootGroup .rpExpanded {

 

 

BACKGROUND-POSITION: 0px 0px;

 

 

BORDER-BOTTOM: #D6E8FF 1px solid;

 

}

 

 

DIV.RadPanelBar_Office2007 .rpRootGroup .rpLink .rpText {

 

 

BORDER-TOP: #FFFFFF 1px solid;

 

}

 

 

DIV.RadPanelBar_Office2007 .rpItem .rpGroup .rpLink {

 

 

BORDER-RIGHT: #D6E8FF 1px solid;

 

 

PADDING-RIGHT: 0px;

 

 

BORDER-TOP: #D6E8FF 1px solid;

 

 

PADDING-LEFT: 0px;

 

 

FONT-WEIGHT: normal;

 

 

BACKGROUND-IMAGE: none;

 

 

PADDING-BOTTOM: 0px;

 

 

MARGIN-LEFT: 0px;

 

 

BORDER-LEFT: #D6E8FF 1px solid;

 

 

COLOR: #000000;

 

 

width:175px;

 

 

MARGIN-RIGHT: 10px;

 

 

MARGIN-left: 10px;

 

 

PADDING-TOP: 0px;

 

 

BORDER-BOTTOM: #D6E8FF 1px solid;

 

 

BACKGROUND-COLOR: #D6E8FF;

 

}

 

DIV.RadPanelBar_Office2007 .rpItem .rpGroup .rpLink:hover {

 

 

BACKGROUND-POSITION: 0px 0px;

 

 

BORDER-TOP: #FFBD69 1px solid;

 

 

PADDING-LEFT: 0px;

 

 

BORDER-LEFT-COLOR: #FFBD69;

 

 

BACKGROUND-IMAGE: url('PanelBar/ItemHoverBg.gif');

 

 

MARGIN-LEFT: 0px;

 

 

MARGIN-RIGHT: 10px;

 

 

MARGIN-left: 10px;

 

 

BORDER-BOTTOM: #FFBD69 1px solid;

 

 

BORDER-RIGHT-COLOR: #FFBD69;

 

}

 

DIV.RadPanelBar_Office2007 .rpItem .rpGroup .rpSelected {

 

 

BORDER-TOP: #FFBD69 1px solid;

 

 

BORDER-LEFT-COLOR: #FFBD69;

 

 

BACKGROUND-IMAGE: none;

 

 

BORDER-BOTTOM: #FFBD69 1px solid;

 

 

BACKGROUND-COLOR: #FFE6A0;

 

 

BORDER-RIGHT-COLOR: #FFBD69;

 

 

MARGIN-RIGHT: 10px;

 

 

MARGIN-left: 10px;

 

}

 

DIV.RadPanelBar_Office2007 .rpItem .rpGroup .rpExpanded {

 

 

BORDER-TOP: #FFBD69 1px solid;

 

 

BORDER-LEFT-COLOR: #FFBD69;

 

 

BACKGROUND-IMAGE: none;

 

 

BORDER-BOTTOM: #FFBD69 1px solid;

 

 

BACKGROUND-COLOR: #FFE6A0;

 

 

BORDER-RIGHT-COLOR: #FFBD69;

 

}

 

DIV.RadPanelBar_Office2007 .rpItem .rpGroup .rpDisabled {

 

 

FONT-SIZE: 11px;

 

 

COLOR: #000000;

 

}

 

DIV.RadPanelBar_Office2007 .rpItem .rpGroup .rpDisabled:hover {

 

 

FONT-SIZE: 11px;

 

 

COLOR: #000000;

 

}

 

DIV.RadPanelBar_Office2007 .rpItem .rpGroup .rpLink .rpOut {

 

 

BACKGROUND-COLOR: transparent;

 

 

BORDER-RIGHT-COLOR: #00A1D6;

 

}

 

DIV.RadPanelBar_Office2007 .rpItem .rpGroup .rpLink .rpText {

 

 

BORDER-TOP: 0px solid;

 

 

BACKGROUND-COLOR: transparent;

 

}

Kamen Bundev
Telerik team
 answered on 25 May 2010
1 answer
104 views
Hi,

How can we show date and string values in radchart control


Thanks

Vikas
Ves
Telerik team
 answered on 25 May 2010
1 answer
58 views
Hello Telerik team,

I have switched from server side to client side binding for performance reasons (was previously using a WebParts / AJAX server side framework) I still have the web parts framework in place and some events of the Grid still do AJAX postbacks.

Previously, with Server side binding, I was able to capture the selected rows that the user may have selected before invoking the postback. Now the MasterTableView.Items has the right number of rows in it, but each TableCell is empty ??!!

How can I get the state of the grid on the server during AJAX postbacks when using client side data binding.

Thanks
Bob

Sebastian
Telerik team
 answered on 25 May 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?