Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
307 views
Hello,

I am working on a project with a RadMenu.
My project requirement is that when the user clicks on a button, the RadMenuItem will open.

The menu is defined as follows: (ASPX)
<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
            <script type="text/javascript">
  
                function ExternalitemOpened(s, e) {
                    if ($telerik.isIE8) {
                        // Fix an IE 8 bug that causes the list bullets to disappear (standards mode only)
                        $telerik.$("li", e.get_item().get_element())
                            .each(function () { this.style.cssText = this.style.cssText; });
                    }
                }
  
  
  
  
                function External_MouseOver(sender, args) {
                    if (args.get_item().get_parent() == sender) {
                        sender.set_clicked(false);
                    }
                }
  
  
                function ExternalOnClientItemClicking(sender, args) {
                    if (args.get_item().get_isOpen() == true) {
                        args.set_cancel(true);
                        args.get_item().close();
                    }
                }
  
  
  
  
            </script>
        </telerik:RadCodeBlock>
 
<telerik:RadMenu ID="RadMenu_SpecialReport" runat="server" ClickToOpen="True" EnableShadows="True" OnClientItemOpened="ExternalitemOpened" OnClientItemClicking="ExternalOnClientItemClicking" OnClientMouseOut="External_MouseOver" Style="top: 0px; left: -2px; z-index: 100; height: 35px;" Skin="ExternalGridButtons" EnableEmbeddedSkins="false">
                <Items>
                    <telerik:RadMenuItem PostBack="true" Text="Special Reports" Value="Special_Reports" CssClass="btn  btn-primary btn-menu-grid-size">
                        <ContentTemplate>
                            <div id="Special_panel" class="Special_panel" style="width:300px; height:500px; background-color:white;">
  
                                <telerik:RadAjaxPanel ID="RadAjaxPanel_SpecialReport" runat="server"  Width="80%"></telerik:RadAjaxPanel>
                                <telerik:RadButton ID="btn_ShowSpecialReport" runat="server" Text="Show Special Report" Skin="Web20" CssClass="btn_Sort" OnClick="btn_ShowSpecialReport_Click"></telerik:RadButton>
                            </div>
                        </ContentTemplate>
                    </telerik:RadMenuItem>
                     <telerik:RadMenuItem PostBack="true" Text="zzzz" Value="zzzzz" CssClass="btn  btn-primary btn-menu-grid-size">
                        <ContentTemplate>
                            <div id="Div1" class="Special_panel" style="width:300px; height:500px; background-color:white;">
  
                                <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server"  Width="80%"></telerik:RadAjaxPanel>
                                <telerik:RadButton ID="RadButton2" runat="server" Text="Show Special Report" Skin="Web20" CssClass="btn_Sort" OnClick="btn_ShowSpecialReport_Click"></telerik:RadButton>
                            </div>
                        </ContentTemplate>
                    </telerik:RadMenuItem>
                    <telerik:RadMenuItem IsSeparator="true"></telerik:RadMenuItem>
                </Items>
            </telerik:RadMenu>

Is it possible to achieve this in the code-behind?

I'd love to solve this!

Thank you,
Daniel.
Daniel
Top achievements
Rank 1
 answered on 20 Oct 2014
1 answer
182 views
Hi,

I'd lile to know how to specify my own set of icons for the TreeListEditCommandColumn: Insert, Edit and Delete. Specifically, I'm using the Skin="MetroTouch.

Thanks.
Konstantin Dikov
Telerik team
 answered on 20 Oct 2014
4 answers
100 views
Having trouble with Radtextbox values clearing on form when using RadCloudUpload.

Can see the issue by doing the following:

Place a RadTextBox and a standard asp textbox on page.  Add a RadCloudUpload control (using Azure).

Upload a file and the Radtextbox value clears where as the standard textbox does not.

Version I am using is 2013.3.1324.45.

Why is the RadTextBox clearing?



​
Hristo Valyavicharski
Telerik team
 answered on 20 Oct 2014
3 answers
316 views
Hi,

The site I am designing is has a RadRibbonBar across the top of the screen, with the bottom 80% of the screen taken up with an iframe that displays content based on ribbon bar interactions.  Unfortunately, I have found that the application menu will not hide if you click on the iframe, it will only hide if you click on the ribbon bar or on part of the parent frame.

I imagine the solution to this is to add javascript to the iframe click event (if such a thing exists) and to programatically hide the application menu, however, I cannot see any client side functions to achieve this and before I start randomly hiding elements manually I thought I should ask if there is a standard way to do this.

Also, I would be interested to know if anyone else has encountered this issue and if they have any better solutions.

Thank you
Martin
Top achievements
Rank 1
 answered on 20 Oct 2014
3 answers
71 views
Hi,

Assume we are creating a new appointment by double click. I want to be able to add a value that currently exists on the query string and is available - client side. The overall goal is to be able to process the new appointment with the query string value in the web service Insert event.

I tried this client side by setting OnClientFormCreated as a client handler.

 function OnClientFormCreated(sender, args) {
      var app = args.get_appointment();
      app.set_toolTip(getParameterByName("EventID"));
      alert(app.get_tooltip());
  }

However this does not work - perhaps because the appointment does not yet exist? Any thoughts on how to achieve this with a newly created appointment? Thanks.
Boyan Dimitrov
Telerik team
 answered on 20 Oct 2014
8 answers
210 views
Hi,

I want to validate Custom resource fields in radscheduler on client side when i click on save button in Insert and update case.
Please help..

Thanks,
Kuldeep
Boyan Dimitrov
Telerik team
 answered on 20 Oct 2014
3 answers
334 views
We have Telerik Radgrid with master and detail table.
I'm binding Radgrid in page-load event/method.
i have OnDetailTableDataBind="RadGrid1_DetailTableDataBind" method also where i'm binding details table based on key values.
on every operations like filtering, paging page-load method is calling so RadGrid1_DetailTableDataBind is also firing for every operation.
So performance of Grid is slow when paging is performing...
Can u guide me what is the best way to improve the performance of Grid with master and details tables when we have thousands of records?
Immediate response is appreciated...

Thanks & Regards,
Rasheed Siriyala
Kostadin
Telerik team
 answered on 20 Oct 2014
8 answers
136 views
There doesn't seem to be a category for RadPageView or MulitPage so I'll put this in general.

I have some code utilizing RadMultiPage, RadPageView and RadPageView.DefaultButton.

In IE this works great.  It fires the Defaultbutton on the appropriate Page and does not fire it on the other pages (with no defaultbutton specified).

Testing in FireFox, it does not work properly.  It fires the DefaultButton on other pages besides the one which has it specified.

Appreciate any help or ideas.

Thanks,
JC



Nencho
Telerik team
 answered on 20 Oct 2014
3 answers
74 views
Hello, 
I have a problem with the display of appointments. 

In edit mode is displayed next to each other but 
read-only mode overlap as in the picture.

Is there some method to properly display? Someone had this problem?

Thanks a lot for help
Plamen
Telerik team
 answered on 20 Oct 2014
14 answers
316 views
Hi All,

I am using EntityDataSource whereParameter working fine while AllowFilteringByColumn="false". but i want to set AllowFilteringByColumn="true" it returns error like "WhereParameters cannot be specified unless AutoGenerateWhere==true or Where is specified.". i set to AutoGenerateWhere==false in entitydatasource it returns error while filter like "AutoGenerateWhereClause cannot be true if Where is defined. ".

How do i solve this issue. Please let me know ASAP.

Thanks in advance,
Dhamodharan.S
Dhamodharan
Top achievements
Rank 1
 answered on 20 Oct 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?