Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
120 views
I have a RadToolTip on a Page.  The ShowEvent and HideEvents are both from code.

If a certain param is passed through the URL, the ToolTip is shown during the PageLoad.

There is also a button on the screen that is in an UpdatePanel that has code in its CodeBehind method to show the tooltip.  The Tooltip is NOT in the UpdatePanel (or any other UpdatePanel).

The Page_Load is working, but its not working on PostBacks.


Thanks for any help.

Steve

MasterChiefMasterChef
Top achievements
Rank 2
 answered on 18 Apr 2013
4 answers
112 views

Hi,

 

I am new to Telerik controls. I recently started using these controls.
I have a situation where user select a file and click on the button then I want to show ajax loading image on the panel below that button.
also i want to update panel content with filename.
I tried this example but no use
http://demos.telerik.com/aspnet-ajax/ajax/examples/loadingpanel/loadingimages/defaultcs.aspx

My telerik controls version is : 2012.2.607.40


This is my sample working code.

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<head runat="server">
    <title>Untitled Page</title>
    <style type="text/css">
        .module1
        {
            background-color: #dff3ff;
            border: 1px solid #c6e1f2;
        }
         /*Hide RadEditor toolbars*/
        .Default .reToolbarWrapper
        {
            display: none;
        }
    </style>
 
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager runat="server" ID="RadScriptManager1"/>
    
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="Panel1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="Panel1" LoadingPanelID="RadAjaxLoadingPanel1">
                    </telerik:AjaxUpdatedControl>
                </UpdatedControls>
            </telerik:AjaxSetting>
             
        </AjaxSettings>
    </telerik:RadAjaxManager>
    <asp:FileUpload ID="fileUpload" runat="server" />
    <asp:Button ID="Button1" runat="server" Text="Click to see the loading image" OnClick="Button1_Click">
            </asp:Button>
            <asp:Label ID="lblTop" runat="server" />
    <br />
    <br />
    <fieldset class="module1">
        <asp:Panel ID="Panel1" runat="server" HorizontalAlign="Center" Height="275px" Style="padding-top: 15px;
            padding-left: 15px">
          <telerik:RadEditor ID="importLogEditor" runat="server" EditModes="Design" Enabled="true"
                    Width="410px" Height="190px">
                    <Tools>
                        <telerik:EditorToolGroup>
                        </telerik:EditorToolGroup>
                    </Tools>
                    
                    <Content>
                    </Content>
                </telerik:RadEditor>
        </asp:Panel>
    </fieldset>
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server">
    </telerik:RadAjaxLoadingPanel>
    </form>
</body>
</html>

and this is my code behind file

using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using Telerik.Web.UI;
 
public partial class _Default : System.Web.UI.Page
{
     
    /******* READ: What I want? *************/
     
    //When the user selects a file and clicks on the button then
    //I want to update only Panel content, not entire page.
    //How to do that?
    //Also I am unable to see Ajax loading image as appeared in the below link
 
    /*******************************************/
 
    protected void Button1_Click(object sender, EventArgs e)
    {
       //This lable is outside update panel. It should not update
        lblTop.Text = DateTime.Now.Ticks.ToString();
 
        //when button is clicked I want to update only this part
        System.Threading.Thread.Sleep(2000);
        importLogEditor.Content = fileUpload.FileName;
        importLogEditor.Content += "</br>" + DateTime.Now.Ticks.ToString();
 
    }
}

Thank you.

mark baer
Top achievements
Rank 1
 answered on 18 Apr 2013
1 answer
62 views
Hi all,

How do i set column width, in automatic created columns??

Thanks
Jayesh Goyani
Top achievements
Rank 2
 answered on 18 Apr 2013
1 answer
141 views
I have a grid that i'm creating dynamically in a RadToolTip.  If I assign the grid a DataKeyName, I get an error on that the field is not a column or a resource.  If I don't assign a DataKeyName, how do I get the ID (client side) when the row is selected?
Jayesh Goyani
Top achievements
Rank 2
 answered on 18 Apr 2013
3 answers
116 views
Hellow Friends,

In our application, I have a radRibbonBarMenu and it expands dynamically. But now is the time that its height may exceed the screen height and user may not access it even-though it would be there.

  • So just like on the http://www.telerik.com/account page, can I distribute the items like "Manage Products" or "Products" does for this site ? see :"Attachment1", please
  • I could somehow have something very similar to what radMenu provides, :
    RepeatColumns="4" RepeatDirection="Vertical" 
    

All I want to do is to make the list of items of radRibbonBarMenuItems to be scrollable.

Update ( this was observed using RadMenu, when I used in as template )
I tried to do something similar to ribbonbarmenu.png ... but it seemed like in my application with telerik, nothing can actually 'cross' the Tab-Group-Text, "Font" here in ribbonbarmenu.png ... To see how telerik behaved in my application for the same scenario, please have a look at RadRibbonBarMenu & RadMenu-AsRadRibbonBarTemplate (FYKI - Both these have exact same items so at least they should have the exact same items)

May be I am missing something ? Again, my main issue is not being able to scroll thru the items on the RadRibbonBarMenu in the case where the menu becomes lengthy enough so that it can not accommodate itself within the screen height.

Thanks,
-Aarsh

Aarsh
Top achievements
Rank 1
 answered on 18 Apr 2013
1 answer
166 views
i have inserted a radeditor but it appears with black background so i cant see the text  i'm writting why is this happening? i ahve changed the skin but it stills all dark when i write some text
Vessy
Telerik team
 answered on 18 Apr 2013
2 answers
357 views
Hi ,
I am facing one issue in rad grid. which is i have one grid while in edit mode i want to update all fields and if add mode i will have one drop down base on that i ll insert record for the grid. I want to hide the some of fields in add mode and display all in edit mode.
Can any one give me solutions.
Aarsh
Top achievements
Rank 1
 answered on 18 Apr 2013
3 answers
133 views
How can i capture the click event on client side whenever the rsRecurrenceOptionList is clicked?

I want to be able to capture the click and get the selected item to hide or show a custom panel with controls.

Thanks.
Plamen
Telerik team
 answered on 18 Apr 2013
2 answers
264 views
I have just upgraded to a new version of Telerik.Web.UI (version 2011.1.315.35), and my radWindows (which generally have Overlay="true") now have white corners when viewed in Firefox 4 (but not in IE8 or Chrome). This is because the overlay iframe has background-color: rbg(255, 255, 255) as an inline style element for Firefox, but not the other browsers. I can't work out why or where this is being set.

If I set Overlay="false" the white corners of course disappear, but this is not a good solution.

Any ideas as to why this has been introduced, and how I can work around it? The overlay iframe does not appear to have a class, so I'm not sure how to override it in css.

Nick
gim.net
Top achievements
Rank 1
 answered on 18 Apr 2013
1 answer
134 views
hi,
I am using radchart in sharepoint 2010 but i have this error:


///

Server Error in '/' Application.

An entry with the same key already exists.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentException: An entry with the same key already exists.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

///

This error occurs before binding

Please help me
Petar Kirov
Telerik team
 answered on 18 Apr 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?