Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
102 views
I have a vertical RadMenu sandwiched between 2 DIVs which each display an image. I have the menu stuck in a third DIV which should expand to fix the menu and still allow the images to display.

<div id="MenuBarTop"></div> 
 
<div id="MenuBarMiddle">
    <telerik:RadMenu ID="RadMenu1" runat="server" Flow="Vertical" EnableEmbeddedSkins="false" Skin="WIContract">
    <Items>
    <telerik:RadMenuItem Text="Our Products" NavigateUrl="Default.aspx"></telerik:RadMenuItem>
    <telerik:RadMenuItem Text="The Standards" NavigateUrl="c-16-the-standards.aspx" Target="_blank"></telerik:RadMenuItem>
    <telerik:RadMenuItem Text="Performance<br />Laminate" NavigateUrl="/Laminate/Performance/" CssClass="customClass">
        <items>
        <telerik:RadMenuItem Text="Fire Rated" NavigateUrl="/Laminate/Performance/"></telerik:RadMenuItem>
        <telerik:RadMenuItem Text="Chemsurf" NavigateUrl="/Laminate/Performance/"></telerik:RadMenuItem>
        </items>
    </telerik:RadMenuItem>
    <telerik:RadMenuItem Text="Decorative Edges" NavigateUrl="WilsonartDecorativeEdges_Brochure.pdf"></telerik:RadMenuItem>
    <telerik:RadMenuItem Text="Laminate-Clad<br>Interior Doors" NavigateUrl="/Laminate/LaminateCladDoors/"></telerik:RadMenuItem>
    </Items>
    </telerik:RadMenu> 
</div>
<div id="MenuBarBottom"></div>

It should look something like the attached image "menu-original.jpg."

Unfortunately, the bottom DIV is buried behind the menu because the menu lies on top of the whole thing, resulting in what you see in the attached image called "menu-now.jpg." 

I tried playing with z-index in the style sheets as well as adding another <DIV> tag to wrap the menu, but I can't seem to get this working the way I want. Can anyone please suggest a way to get this to look as I want it to?

Thanks in advance.
Kate
Telerik team
 answered on 18 Mar 2011
4 answers
122 views
In EnableLoadOnDemand="true" mode the client side OnClientSelectedIndexChanged event does not get raised when the index value changes from a valid item in the list to an invalid one. I need an event that gets raised whenever the value changes no matter what. How can this be achieved? 

BTW I tried OnClientTextChange event too and it is also unreliable. It does not get raised in every situation.
Bort
Top achievements
Rank 1
 answered on 18 Mar 2011
5 answers
287 views
Hello All:

On my page In the Ajax Manager Proxy I defined the controls which get updated on postback everything is working as expected, the issue is that every control has a spinner over it when the page is processing the Ajax request.

How do I define the Markup below so when the RadTabStrip1 and rblFilterType events fire the Spinner only appers over the GridView1 and not the other controls.

Attached is a screenshot showing the spinner over the RadioButon list (rblFilterType) which i want to remove.

Any Code Samples or links would be much appreciated.
Version: 2010.1.519.35

Thanks
Stuart
 

   <telerik:RadAjaxLoadingPanel ID="radAjaxLoadingPanel1" runat="server">
        </telerik:RadAjaxLoadingPanel>
        <telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server">
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="RadTabStrip1">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="RadTabStrip1"  />
                        <telerik:AjaxUpdatedControl ControlID="GridView1" LoadingPanelID="radAjaxLoadingPanel1" />
                        <telerik:AjaxUpdatedControl ControlID="PageStatus1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="GridView1">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="GridView1" LoadingPanelID="radAjaxLoadingPanel1"  />
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="rblFilterType">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="rblFilterType" />
                        <telerik:AjaxUpdatedControl ControlID="GridView1" LoadingPanelID="radAjaxLoadingPanel1" />
                        <telerik:AjaxUpdatedControl ControlID="PageStatus1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>
        </telerik:RadAjaxManagerProxy>

Mira
Telerik team
 answered on 18 Mar 2011
3 answers
176 views
I have a RadGrid that is being configured dynamically at run time. The purpose is create a custom grid based on an arbitrary sql query. I'm adding a gridbuttoncolumn at runtime that has a select command. When this button is clicked, all the select links disappear and the column headers disappear as well. Any thoughts on what this issue may be?
Princy
Top achievements
Rank 2
 answered on 18 Mar 2011
3 answers
145 views
I am having a problem with special lists in the RadEditor. I need to use special types of lists (roman numerals, symbols, letters, etc) which is an option available in the RadEditor's Style Builder. However, any time I attempt to apply these styles it just doesn't work.

I was able to reproduce this with the RadEditor in your demo section. (http://demos.telerik.com/aspnet-ajax/editor/examples/xhtmlvalidatortrackchangesformatcodeblockdialogs/defaultcs.aspx) Ive attached images that will show you the original bulleted list and then the bulleted list after I attempted to format it to be roman numerals (i, ii, iii, iv, ...).

The html for each list is as follows.
Original bulleted list:
<ul>
    <li>
    <em>Out-of-the-box XHTML-enabled Output...</em>
    </li>
    <li>
    <em>Unmatched Loading Speed and Performance</em>
    </li>
    <li>
    <em>Microsoft Word-like Spell-checking</em>
    </li>
    <li>
    <em>Seven Ways for Pasting from Word</em>
    </li>
    <li>
    <em>Multilevel Undo/Redo with Action Trails</em>
    </li>
    <li>
    <em>Extended Functionality Through Integrated Controls</em>
    </li>
</ul>

After Formatting with Style Builder:
<ul>
            <li>
            <em><span></span></em></li>
            <span>Out-of-the-box XHTML-enabled Output...
            Unmatched Loading Speed and Performance
            Microsoft Word-like Spell-checking
            Seven Ways for Pasting from Word
            Multilevel Undo/Redo with Action Trails
            Extended Functionality Through Integrated Controls</span>
            <li><em></em>
            </li>
</ul>

I did notice that for your upcomming Q1 release there is "Issue ID 4835 - IMPROVE StyleBuilder dialog for RadEditor." I wanted to find out if this issue is resolved with that, and if not I wanted to bring this to your attention.

Thank you!
Niko
Telerik team
 answered on 18 Mar 2011
5 answers
157 views

Well, I have seen similar problems and corresponding solutions on the forums, but none of those was applicable for this problem. I already have tried and searched almost any given solution on the forums here and around the internet, but unfortunately to no avail.

So, what exactly is the problem? I have got a RadComboBox which has an ObjectDataSource. This ComboBox has been placed in an EditItemTemplate within a RadListView. I want this RadComboBox to display the name of the currently selected customer as SelectedIndex (SelectedValue or Text). Items are filled based upon data out of an XmlDataSource object. The ObjectDataSource contains all possible customers.

Let's say I have inserted a new item with customer: "Customer1", but I'd like to edit this item. When you go into the EditItemTemplate view, I want to have the RadComboBox select (SelectedIndex/Value or Text) "Customer1" (which is based upon the XmlDataSource) from the ObjectDataSource.

My RadComboBox and ObjectDataSource look like:

<telerik:RadComboBox ID="RadComboBox1" 
    runat="server" 
    AllowCustomText="false" 
    DataSourceID="ObjectDataSource1" 
    DataTextField="Name" 
    DataValueField="Name"
    DropDownWidth="128px"
    EmptyMessage="-Customer-" 
    EnableAutomaticLoadOnDemand="true"
    EnableVirtualScrolling="true" 
    Filter="Contains"
    Height="150px" 
    ItemsPerRequest="10"
    MarkFirstMatch="true"
    MinFilterLength="2"
    ShowMoreResultsBox="true"
    Width="128px">
</telerik:RadComboBox>
<asp:ObjectDataSource ID="ObjectDataSource1"
    runat="server" 
    SelectMethod="GetCustomers" 
    TypeName="RadControlsWebApp1.Customers">
</asp:ObjectDataSource>
The SelectMethod="GetCustomers" returns a List<Customer> object. A Customer is just a simple class which holds a (string) name. You could actually just use a List<string> for the same purpose.

The XML file (XmlDataSource object) looks like:
<?xml version="1.0" encoding="utf-8"?>
<Activities>
  <Activity Customer="Customer1" Project="Project1" />
  <Activity Customer="Customer1" Project="Project2" />
  <Activity Customer="Customer2" Project="Project2" />
  <Activity Customer="Customer3" Project="Project3" />
</Activities>

I have tried to set the Text property of the RadComboBox as follows: Text='<%# Bind("Customer") %>' and setting the RadComboBox.SelectedIndex or RadComboBox.SelectedValue properties programmatically, but as I already mentioned, without results. Perhaps I tried to set the properties in the wrong event(s).
Simon
Telerik team
 answered on 18 Mar 2011
3 answers
95 views
Hi. I have been trying to figure out how to reorder the items listed in the chart legend, but so far to no avail. I'd like to do something along the lines of this:

                List<Telerik.Charting.ChartLabel> legendItems = new List<Telerik.Charting.ChartLabel>();

                legendItems.Add(RadChart1.Legend.Items[0]);
                legendItems.Add(RadChart1.Legend.Items[2]);
                legendItems.Add(RadChart1.Legend.Items[5]);
                legendItems.Add(RadChart1.Legend.Items[1]);
                legendItems.Add(RadChart1.Legend.Items[4]);
                legendItems.Add(RadChart1.Legend.Items[3]);
                legendItems.Add(RadChart1.Legend.Items[6]);

                for (int i = 0; i < 7; i ++)
                    RadChart1.Legend.Items[i] = legendItems[i];

But when I run this the RadChart1.Legend.Items appears empty. I am sure I am missing something here and was hoping you'd be able to lend a hand.

I would essentially like to know how I can reorder the labels that appear in the legend block.

Thank you!
Evgenia
Telerik team
 answered on 18 Mar 2011
6 answers
118 views
I am a newbie in using telerik controls so my question may be foolish but i am stuch here so i gotta ask.
i am trying to add appointments into the radscheduler on pageload.....
but i am getting this error
'Telerik.Web.UI.AppointmentCollection' does not contain a definition for 'Add' and no extension method 'Add' accepting a first argument of type 'Telerik.Web.UI.AppointmentCollection' could be found (are you missing a using directive or an assembly reference?)'
i have referenced Telerik.Web.UI in my page as well as the project....

the code snippet is as below
**dr is the object of SqlDataReader

Appointment ap = new Appointment();
 ap.Subject = dr["Subject"].ToString();
ap.Start = DateTime.Parse(dr["StartDateTime"].ToString());
ap.End = DateTime.Parse(dr[""].ToString());
ap.RecurrenceRule = dr["RecurrenceRule"].ToString();

 this.RadScheduler1.InsertAppointment(ap);   ///Error is on this line...

Thanks in advance

Regards,
Sher


Sher
Top achievements
Rank 2
 answered on 18 Mar 2011
1 answer
90 views
Hey everyone,

Our current asp.net web application we use to manage our documents just records the URL of where the file is located (in a database). Within a gridview control the users can click the link to view the document. The gridview also has another column that can store a comment pertaining to the file, also located in a database.

Is it possible to have a comment column within the FileExplorer control ? I imagine a database of some sort will still need to be used to hold the comment information.

Any ideas?
Dobromir
Telerik team
 answered on 18 Mar 2011
0 answers
21 views
telerik RadScheduler non working day not displaying shaded on calendar view In IE8. its show Firefox,chrome,safari but not displaying in Only IE8 please help me as soon as possible



santosh
Top achievements
Rank 2
 asked on 18 Mar 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?