Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
111 views
Hello:
    I user the control like this:

    <telerik:RadComboBox DropDownWidth="0" ID="comCity" runat="server" Width="204px" AllowCustomText="true"
                         Filter="StartsWith" EnableLoadOnDemand="true" EnableItemCaching="true" OnItemsRequested="comCity_ItemsRequested"
                         ShowToggleImage="False" ShowWhileLoading="False" Skin="WebBlue" OnClientDropDownOpening="OnClientDropDownOpeningHandler">
                         <CollapseAnimation Duration="200" Type="OutQuint" />
                     </telerik:RadComboBox>

and in the function comCity_ItemsRequested, when the text is empty, the items will be clear.

and my problem is, after the items cleared, a blank line dropdown will be displayed, how to make it disappear?
Fang Fang
Top achievements
Rank 1
 answered on 31 Mar 2009
11 answers
117 views
" As the previous thread is locked!!

Posted 1 hour ago (permalink)

Hi Ray,

An embedded skin with the name of Web20 exists.

If you still have troubles making a skin work, please send us a simple runnable application, so that we can see what you are trying to do.

Sincerely yours,
Dimo
the Telerik team

>> Please read the thread, the external skins MUST be referenced in the same way, which say MYWeb20 obviously cannot be done..
THIS IS THE PROBLEM...
Hence saying web20 exists, is totally off the point of the issue, I know it exists, MyWeb20 cannot be made to exist..

Obviously this is a fundermental english understanding  issue here...

Very frustrated...

Ray
Top achievements
Rank 1
 answered on 31 Mar 2009
2 answers
168 views
Hi,

My senario is , I am using RadPanelBar in my custom control for sharepoint as a menu, and I want to have a functionality i.e. the text will be shown as bold on hover event , following is my CSS class details , any help will be highly appriciated.

.RadPanelBar_Default2006 /*sets the background color of the entire menu */
{
 background:#ACDEEC;
 font-weight:normal;
 text-decoration:none;
}
.RadPanelBar_Default2006 .rpRootGroup /* sets the border of the main menu */
{
 background: #F3F9FD url('Images/MenuSeparator.gif') repeat-x;
}
.RadPanelBar_Default2006 .rpImage /* Only for inner Image */

 position:relative;
 top:10px;
 left:1px;
}
.RadPanelBar_Default2006 .rpText  /* Applies to All the text items in the menu */
{
 color:#003399;
    text-transform:uppercase;
 font: normal 10px/18px Tahoma, Verdana, sans-serif;
 padding:0 0 0 0;
 padding-top:3px;
 border-top: solid 1px white;
 padding-bottom:5px;
}
/*To make the Text bold on mouse over currently working in FirFox only*/
.RadPanelBar_Default2006 .rpText:hover
{
 FONT-WEIGHT: bold;
 text-decoration:none;
}
.RadPanelBar_Default2006 .rpText:active
{
 FONT-WEIGHT: bold;
 text-decoration:none;
}
.RadPanelBar_Default2006 .rpLink /*this class applies to the top level menu links*/
{
 background: #fff url('Images/MainBg.gif') repeat-x;
 border-top:5px white solid;
}
.RadPanelBar_Default2006 .rpGroup .rpText /* Applies to All the text items in the menu for all the group */
{
 color: #003399;
 padding:0 0 0 0;
 padding-top:3px;
 padding-bottom:3px;
 background:#d3ecf5; /*#D3ECF5 Background Color for the submenu items */
 text-decoration:none;
 /*border-bottom: solid 2px #f5f5f5;*/
 /*border-bottom:1px #f5f5f5 solid;*/
}
/*To make the Text bold on mouse over currently working in FirFox only*/
.RadPanelBar_Default2006 .rpGroup .rpText:hover
{
 FONT-WEIGHT: bold;
 text-decoration:none;
}
.RadPanelBar_Default2006 .rpGroup .rpLink /*This sets the background for the submenu items*/
{
 background: none;
 color:#003399; /*#666;*//* Forground Color for the submenu items */
 border-top:0;
 /*border-bottom:1px #f5f5f5 solid;*/
}
.RadPanelBar_Default2006 .rpExpanded /* This class is used for setting the background Once the item is selected */
{
 background: #fff url('Images/SelectBg.gif') repeat-x;
}
.RadPanelBar_Default2006 .rpGroup .rpExpanded
{
 background: none;
 border-bottom: 0;
 color:#003399;
}
.RadPanelBar_Default2006 .rpExpanded .rpText/* is not used  */
{
 /*background: url('Images/HeaderArrowExpanded.gif') no-repeat 11px center;
 border-bottom: solid 1px #bbbbbb;
 border-top: solid 1px white;
 height:15px;
 color:#003399;
 padding: 5px 0px 5px 15px;
 font: normal 11px/18px Tahoma, Verdana, sans-serif;
 border-top: solid 1px white;*/
}
.RadPanelBar_Default2006 .rpSelected .rpText
{
 text-decoration:none;
 font-weight: bold;
}
.RadPanelBar_Default2006 .rpGroup .rpSelected .rpText /*not being used */
{ /*
 text-decoration: underline;
 font-weight: normal;
 border-bottom: solid 1px #e5e5e5;/*#f5f5f5*/
 /*background: none;
 color: #000;*/
 text-decoration:none;
 font-weight: bold;

}
.RadPanelBar_Default2006 .rpGroup .rpExpanded .rpText
{

 color: #000;
 background: none;
   background:#D3ECF5; /*silver;*/
   font-weight:bold;
   text-decoration:none;
   /*border-bottom: solid 1px #f5f5f5;*/
}
.RadPanelBar_Default2006 .rpLevel2 .rpText
{
}
.RadPanelBar_Default2006 .rpLevel3 .rpText
{
}
.RadPanelBar_Default2006 .rpLevel4 .rpText
{
}
.RadPanelBar_Default2006 .rpDisabled:hover,
.RadPanelBar_Default2006 .rpDisabled .rpText
{
 color: #ccc;
 cursor: default;
}
.RadPanelBar_Default2006 .rpGroup .rpDisabled:hover,
.RadPanelBar_Default2006 .rpGroup .rpDisabled .rpText
{
 text-decoration: none;
 background: none;
 color: #ccc;
 cursor: default;
}

 

Rafay
Top achievements
Rank 1
 answered on 31 Mar 2009
5 answers
417 views
I've searched through the documentation for the grid but can't seem to find the answer to this:  can I enable scrolling and static headers for the detail (nested) tables in a grid but not for the master table?  The ClientSettings.Scrolling properties only seem to apply to the top-level grid.  Is this by design or is there some way to apply these properties programmatically or via javascript to detail tables?

Thanks in advance for any solutions, ideas or suggestions.
dsb
Top achievements
Rank 1
 answered on 31 Mar 2009
4 answers
299 views
In a great deal of sample code, including the quick start, databinding is done declaratively with a data source object on the page and the DataSourceID property set to the data source.  In simple databinding scenarios, the DataSource property is set in code and the DataBind method is called.  However, if you want to use advanced capabilities such as sorting, filtering, paging or CRUD actions then the simple databinding falls apart.  Then comes advanced databinding, wiring up the OnNeedDataSource event with the DataSource property.  I've been able to get this to work but I've found that I can no longer call Page.DataBind without various bad side effects happening in my grid.  Other controls on the page need to be databound. How does one resolve the two techniques, especially if the grid is in a user control and other controls on the page must be bound using the binding syntax (<%# %>)?

Thanks,
Kevin
Kevin
Top achievements
Rank 2
 answered on 30 Mar 2009
3 answers
133 views
I'm loading a UserControl inside a tooltip.  The UserControl has <script> blocks that have functionality I need to use.

I've wrapped the <script></script> section inside a RadControlBlock.

However, the script still doesn't work.

Any ideas?  Is there a simple example out there for using <script> within a UserControl loaded inside a tooltip?

Thanks,
Kevin
Kevin Warnke
Top achievements
Rank 1
 answered on 30 Mar 2009
8 answers
216 views
I have created a custom stylesheet applied to a grid. Everything works well with the exception of the dropdown box associated with the filters and paging. The functionality is there but the text is not styled and the backgrounds to the dropdowns are missing. Any suggestions?

Thanks

K
Durrul Antulay
Top achievements
Rank 1
 answered on 30 Mar 2009
3 answers
180 views
Hi All

Ive tried creating a page with a RadSplitter and other stuff, and it's not going well

Issue 1 - The visual studio designer wont let me drop a RadSplitBar into the RadSplitter, it will only allow it to be dropped into a child
RadPane, and then tells me there is an error, because the splitter isnt supposed to be dropped into the RadPane - therefore I must manually cut and paste it into the right place in the code and not use the designer.
Issue 2 - the designer doesnt reflect any skin assignments (everything just looks crap)
Issue 3 - RadPanes that are supposed to be next to each other, will only site one on top of the other

The whole thing is a right mess, so I guess something must be wrong - or I've just wasted a huge amount of money for controls that dont really have any designer support

Dean
PureCode
Top achievements
Rank 2
 answered on 30 Mar 2009
2 answers
127 views
I've been programming for quite a few years so an if statement shouldn't be THAT difficult.
Coming from a RadPanelBar
Here's the code: 
   function OnClicked(sender, eventArgs) {
       if (true) 
           alert(eventArgs.get_item().get_text());
        LogEvent("On clicked: " + eventArgs.get_item().get_text());
   }
The above works. No problems. The alert give me "WOR" which is what I'd expect and then in a text field (Logged set inside the LogEvent function) I get "On clicked: WOR". Now I try this:

    function OnClicked(sender, eventArgs) {
        if (eventArgs.get_item().get_text() = "WOR") 
            alert(eventArgs.get_item().get_text());
        LogEvent("On clicked: " + eventArgs.get_item().get_text());
    }
I get NOTHING! No alert window. The Logged text field shows nothing. I am really confused (and seriously annoyed). WHAT is wrong with this construct? I have serious SQL running behind RadCharts in RadWindows which I want to open when a user clicks on an item in a panel bar. And this SIMPLE if statement is holding me up.
HELP!!!!

TIA,

Joe B



Brad
Top achievements
Rank 2
 answered on 30 Mar 2009
4 answers
110 views
Can someone explain how you did this:   http://sharepoint.telerik.com/Corporate/Pages/ContactUs.aspx

or even better post the master page for this?  I am trying to use a radmenu from the third level down for the radtabstrip in a MOSS master page.

Thanks,
CMD
Chris Duden
Top achievements
Rank 1
 answered on 30 Mar 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?