Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
100 views
Hi

I have a RadMenu that is not expanding in the down direction as set.  It is a horizontal menu.  The menu control is in the master page.

Any ideas?  

Thanks!
< <div class="FullBanner" style="BACKGROUND: url(./images/grassBanner.png); FLOAT: left; WIDTH: 99%; HEIGHT: 75px">
            <a title="Organize"
                href="http://organize.ohea.org">
                <div style="WIDTH: 99%; HEIGHT: 75px"></div>
            </a>
        </div>
 
        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
 
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="RadGrid1">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="RadAjaxLoadingPanel1"></telerik:AjaxUpdatedControl>
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>
        </telerik:RadAjaxManager>
 
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        </telerik:RadScriptManager>
 
        <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Height="100%" Width="100%"
            Transparency="25">
        </telerik:RadAjaxLoadingPanel>
 
        
 
        <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" Width="100%" EnableAJAX="False">
            <telerik:RadFormDecorator ID="RadFormDecorator1" runat="server" DecoratedControls="All" Skin="Forest" />
           
            <telerik:RadMenu ID="menu" runat="server" Width="99%">
                <Items>
                    <telerik:RadMenuItem runat="server" Text="Campaigns">
                        <Items>
                            <telerik:RadMenuItem runat="server" Text="Create New">
                            </telerik:RadMenuItem>
                            <telerik:RadMenuItem runat="server" Text="Current Campaign Home"  Value='<%#  String.Format("~/childCampaignHome.aspx?campaignID={0}", Request.Params["CampaignID"]) %>' NavigateUrl='<%#  String.Format("~/childCampaignHome.aspx?campaignID={0}", Request.Params["CampaignID"]) %>'>
                            </telerik:RadMenuItem>
                        </Items>
                    </telerik:RadMenuItem>
                    <telerik:RadMenuItem runat="server" Text="Employers">
                        <Items>
                            <telerik:RadMenuItem runat="server" Text="Add/Update/Delete"  Value='<%#  String.Format("~/childManageEmployer.aspx?campaignID={0}", Request.Params["CampaignID"]) %>' NavigateUrl='<%#  String.Format("~/childManageEmployer.aspx?campaignID={0}", Request.Params["CampaignID"]) %>'>
                            </telerik:RadMenuItem>
                        </Items>
                    </telerik:RadMenuItem>
                </Items>
                <DefaultGroupSettings ExpandDirection="Down" />
            </telerik:RadMenu>
            <hr width="99%" align="left" />
            <div>
                <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
                </asp:ContentPlaceHolder>
            </div>
        </telerik:RadAjaxPanel>
Jonathan
Top achievements
Rank 1
 answered on 11 Oct 2013
2 answers
99 views
Hi,

is there a possibility to mix the directions of the menu in aspx?

I mean the Root Left to Right and the inner Items Right to Left as usual.
Giuseppe
Top achievements
Rank 1
 answered on 11 Oct 2013
1 answer
74 views
Hi,

I have created some additional fields, like "select", "checkbox" in "onClientFileUploaded" event after doing multiple files upload. After which I can see the multiple additional fields in multiple rows (based on how many files I have uploaded).

User can now select any "select" or "checkbox" from any row, but I couldn't find any way to know from which row that selection made.

I need to know that row to identify the field.

Please help me.

Regards

Chandan
Hristo Valyavicharski
Telerik team
 answered on 11 Oct 2013
3 answers
248 views
Hi,

my client needs a second horizontal scrollbar, in top of RadGrid.

I used to do it with this Javascript function:

function dobleScroll() {
    var element = document.getElementById('divGrid');
    if (element == null) {
        setTimeout('dobleScroll();', 1000);
    }
    else {
        var scrollbar = document.createElement('div');
        scrollbar.appendChild(document.createElement('div'));
        scrollbar.style.overflow = 'auto';
        scrollbar.style.overflowY = 'hidden';
        scrollbar.style.width = element.clientWidth + 'px';
        scrollbar.firstChild.style.width = element.scrollWidth + 'px';
        scrollbar.firstChild.style.paddingTop = '1px';
        scrollbar.firstChild.appendChild(document.createTextNode('\xA0'));
        scrollbar.onscroll = function () {
            element.scrollLeft = scrollbar.scrollLeft;
        };
        element.onscroll = function () {
            scrollbar.scrollLeft = element.scrollLeft;
        };
        element.parentNode.insertBefore(scrollbar, element);
    }
}

The element "divGrid" is the HTML div that contains the grid.
This code works properly with .NET GridView, but it doesn't work with Telerik RadGrid. RadGrid creates more "div" elements than GridView and these divs have the value "0" for scrollWidth property.

Can anybody help me?
Thanks a lot

Venelin
Telerik team
 answered on 11 Oct 2013
1 answer
219 views
I am trying to set an empty message to my radtextbox with textmode set to password. But it is not displaying the empty message. If the textmode is not set, it works. Please help me with this.

Regards
Dan
Shinu
Top achievements
Rank 2
 answered on 11 Oct 2013
1 answer
75 views
I've been trying to attach a ClientSelectedIndexChanged event to add a javascript function on a radCombobox inside a listview 


protected void AdListView1_ItemCreated(object sender, RadListViewItemEventArgs e)
{
        RadComboBox box = (RadComboBox)e.Item.FindControl("ItemTypeCbx");
        box.Attributes.Add("OnClientSelectedIndexChanged", "ItemTypeCbxOnClientSelectedIndexChanged");
 
  }


Then I'd like a javascript event to fire 

function ItemTypeCbxOnClientSelectedIndexChanged(sender, eventArgs) {
         
           
     }
The event doesn't fire and I'm pretty sure I'm probably missing some important step.  Can someone point me in the right 
direction? I've tried to attach that event inside Itemdatabound as well and no luck either.  Thanks 


Maria Ilieva
Telerik team
 answered on 11 Oct 2013
2 answers
210 views
Hi ,
I have a window popup where I am using a radEditor, when I do Full screen in RadEditor then do minimize and maximize window popup then page layout gets disintegrates due to Full screen mode of RadEditor
Could you please help to rid issue
Also I have attached the screenshot
Afroz khan
Top achievements
Rank 1
 answered on 11 Oct 2013
3 answers
172 views
Hello.
In my Project I have a Grid which has some columns .Some of them are Numeric , but I need enable filtering on this Column.when I Enable ,I find out There is No 'Contains' item in the Filter List.I need to do it.I need Contains for NumericColumns .Is there any way To Enable 'Contains' for this Kind of Columns Or if not, Can I write some codes For This scenario and How?
Eyup
Telerik team
 answered on 11 Oct 2013
5 answers
237 views
Hi,
    I have two listboxes ton transfer the list items from Source to Destination listbox.The destination listbox item template has 4 Controls all set to visible false.
 in ListBox Transferred event , I am checking ,
         if the Source is "SourceListBox" then
                      for each item in e.Items
                             Item.FindControl("Controlid") converting to respective item
                        item.DataBind()
                     End
In 2010 telerik dll version , The above code works properly .
However in 2013 dll version , the above code throws error when second item gets transferred to Destination list box i.e. " Item.FindControl("Controlid") converting to respective item" returns null value.
Note
: When first item is transferred from Source to Destination list box it works well, Issue is only when second item is transferred...which is really strange ..that too this codew works very well in 2010 vesrion.

Please let me know if this known issue...or any thing wrong
Nencho
Telerik team
 answered on 11 Oct 2013
1 answer
103 views
Hi
I would like to use the hierarchy radgrid tool and I have used it before. I have search on the net and found no solution for the issues I have.
1st - Is it possible to have different templates in one gridcolumn e.g. Combobox, Checkbox, textbox and raddatepicker. It should always display one control depending on the other field e.g. control type code.
2nd - Is it possible to disable add button on the detail grid on some of the rows and not all and it shall depend on the e.g. [hasrow] field on the parent row.

The columns for detail table will always be equal but each detail table can have different control depending on the parent row.
Please also bear in mind that columns will be auto generated as this will be determine by the database which columns to display.

Regards,
Max
Princy
Top achievements
Rank 2
 answered on 11 Oct 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?