Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
122 views
Hi all,
Can anyone show me how to close the Login window (using radWindow of course) after a successful login? I'm using the built-in .net membership provider/login.

Thank you.
Georgi Tunev
Telerik team
 answered on 23 Mar 2009
1 answer
69 views
I may be overlooking it...but where are some examples of working with animations?


I just want to do like a status message that stays on the screen for 10 seconds and then disappears.

Or maybe highlight a table row where the color fades in over a few seconds.



Any help will be appreciated.

Tervel
Telerik team
 answered on 23 Mar 2009
3 answers
129 views

Hi I have followed the example on adding an item to the combobox on the client side.

http://www.telerik.com/help/aspnet-ajax/combo_itemsclientside.html

And it works, but when this happens I loose all other items in the combobox and only the item I haved added is there.

 

Here is my code:

 

 

 

 

 

function

 

AddNewItem(Text, Value)

 

{

 

var combo = $find('<%=rcbPerson.ClientID %>');

 

 

 

var comboItem = new Telerik.Web.UI.RadComboBoxItem();

 

comboItem.set_text(Text);

comboItem.set_value(Value);

 

combo.trackChanges();

combo.get_items().add(comboItem);

comboItem.select();

combo.commitChanges();

comboItem.scrollIntoView();

}


any help would be great

thanks,
Andrew Day

Paul
Telerik team
 answered on 23 Mar 2009
2 answers
127 views
As you probably know, IE8 has just been released, so I guess you officially support it now, right? Currently I'm trying to make an application fully compatibly with IE8, by adding the following meta tag:
<meta http-equiv="X-UA-Compatible" content="IE=8"/>

However, when I use that the RadScheduler won't display properly. I noticed on your demopages that you use the IE7 meta tag:
<meta http-equiv="X-UA-Compatible" content="IE=7"/>

This makes it work, but of course is not ideal. Are you still working on it to make it fully IE8 compatible?

Btw, when I use a styleSheetTheme in the web.config (for use of skinning and a css file), it seems that the meta tag doesn't get recognized. When you use Theme instead of styleSheetTheme it works, but I need the second one. Do you know what's going wrong there?

Kind regards,
Martin de Ruiter
Martin de Ruiter
Top achievements
Rank 2
 answered on 23 Mar 2009
1 answer
163 views
I want to render some Javascript using ScriptManager.RegisterClientScriptBlock() whenever there's a edit form visible. I also need the Client IDs of the controls in the edit form. Right now I can look for RadGrid.EditItems.Count > 0 inside OnPreRender() to determine when the grid is in edit mode, and then use that to fetch all the controls using FindControl().

But this doesn't work in Insert mode. RadGrid.EditItems is empty. What's the propery way to do what I want to do?
Yavor
Telerik team
 answered on 23 Mar 2009
3 answers
58 views
I've written an application using Q3 2008 controls. The application runs correctly in IE7 and Firefox, however a problem occurs using IE6.

I am using a radcombobox with a listbox below to allow items to be searched for and added to the listbox. When a search is carried out after an initial search, the dropdown menu is partly hidden behind the listbox:

e.g.
http://i41.tinypic.com/14c8eog.jpg

I've created a small demo to recreate the problem. To replicate, type a search, and type "test" for the 2nd:

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Test.aspx.cs" Inherits="TestApp.WebApplication.Test" %> 
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
 
<html xmlns="http://www.w3.org/1999/xhtml" > 
<head runat="server"
    <title>Untitled Page</title> 
</head> 
<body> 
    <form id="form1" runat="server"
    <div> 
     
        <telerik:RadScriptManager ID="RadScriptManager1" Runat="server"
        </telerik:RadScriptManager> 
            <telerik:RadComboBox ID="EmployeeSearchRadComboBox" Runat="server"  
                AllowCustomText="True" EnableLoadOnDemand="True" ShowToggleImage="False"  
                onitemsrequested="EmployeeSearchRadComboBox_ItemsRequested"  
                ShowDropDownOnTextboxClick="False" Skin="Gray" Width="167px" TabIndex="1" AppendDataBoundItems="True"
                <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> 
            </telerik:RadComboBox> 
     
    </div> 
            <asp:ListBox ID="EmployeeListBox" runat="server" SelectionMode="Multiple"  
                EnableViewState="False" CssClass="EmployeeListBox" Rows="10" TabIndex="2" Width="167px"></asp:ListBox> 
    </form> 
</body> 
</html> 
 
 
 
namespace TestApp.WebApplication 
    public partial class Test : System.Web.UI.Page 
    { 
        DataTable employeeInfo; 
 
        protected void Page_Load(object sender, EventArgs e) 
        { 
            EmployeeSearchRadComboBox.Items.Add(new RadComboBoxItem("test1", "1")); 
            EmployeeSearchRadComboBox.Items.Add(new RadComboBoxItem("test2", "2")); 
            EmployeeSearchRadComboBox.Items.Add(new RadComboBoxItem("test3", "3")); 
            EmployeeSearchRadComboBox.Items.Add(new RadComboBoxItem("test4", "4")); 
 
            DataSet ds = new DataSet(); 
            employeeInfo = ds.Tables.Add(); 
            employeeInfo.Columns.Add("Name", Type.GetType("System.String")); 
            employeeInfo.Columns.Add("ID", Type.GetType("System.String")); 
 
            employeeInfo.Rows.Add("test5", "5"); 
            employeeInfo.Rows.Add("test6", "6"); 
            employeeInfo.Rows.Add("test7", "7"); 
            employeeInfo.Rows.Add("test8", "8"); 
            employeeInfo.Rows.Add("test9", "9"); 
            employeeInfo.Rows.Add("test10", "10"); 
        } 
 
        protected void EmployeeSearchRadComboBox_ItemsRequested(object o, Telerik.Web.UI.RadComboBoxItemsRequestedEventArgs e) 
        { 
            if (e.Text.Equals("test")) 
            { 
                EmployeeSearchRadComboBox.DataSource = employeeInfo
                EmployeeSearchRadComboBox.DataTextField = "Name"
                EmployeeSearchRadComboBox.DataValueField = "ID"
                EmployeeSearchRadComboBox.DataBind(); 
            } 
 
 
        } 
 
 
    } 

Yana
Telerik team
 answered on 23 Mar 2009
6 answers
614 views
hello,

i would like to use a very basic, non-flashy skin for my RadComboBoxes. the embedded skin "Gray" looks like the only choice for this.

however when i try to use it, i get this error at run-time:

Telerik.Web.UI.RadComboBox with ID='rcbDistrict' was unable to find embedded skin with name 'Gray'. Please, make sure that you spelled the skin name correctly, or if you want to use a custom skin, set EnableEmbeddedSkins=false.

...what gives?

thanks,
matt
Daniel
Telerik team
 answered on 23 Mar 2009
3 answers
268 views

Hi my problem is that I have a page with a Label that looks fine when i view the page, but when I open it in a RadWindow it doesnt look the same.
I have narrowed it down to being a problem with the CSS.

test.aspx 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
 
<html xmlns="http://www.w3.org/1999/xhtml">  
<head runat="server">  
    <title></title>  
    <style type="text/css">  
    .TemplateSubHeader   
    {  
        font-family: Verdana, Geneva, sans-serif !important;  
        font-size: 16px !important;  
        font-style: normal !important;  
        font-weight: normal !important;  
        color: #365D9D !important;  
        text-decoration: none !important;  
        margin: 0px !important;  
        clip: rect(auto,auto,auto,auto) !important;  
        line-height: 35px !important;  
        padding-bottom: 15px !important;  
    }  
    </style> 
</head> 
<body> 
    <form id="form1" runat="server">  
    <div> 
        <asp:Label SkinID="TemplateSubHeader" ID="Label2" runat="server" Text="Name" ></asp:Label> 
        <class="TemplateSubHeader" style="font-family: Verdana, Geneva, sans-serif !important;font-size: 16px !important;font-style: normal !important;font-weight: normal !important;color: #365D9D !important;text-decoration: none !important;margin: 0px !important;clip: rect(auto,auto,auto,auto) !important;line-height: 35px !important;padding-bottom: 15px !important;">Name</p> 
    </div> 
    </form> 
</body> 
</html> 

This is how I call it from another page in codebehind
protected void Button1_Click(object sender, EventArgs e)  
    {  
        PopUp.NavigateUrl = test.aspx";  
        PopUp.Visible = true;  
        PopUp.Width = 800;  
        PopUp.Height = 600;  
        PopUp.Modal = false;  
        PopUp.Overlay = true;  
        PopUp.VisibleStatusbar = false;  
        PopUp.VisibleTitlebar = true;  
        PopUp.Title = "Opret galleri";  
        PopUp.Style.Add(HtmlTextWriterStyle.ZIndex, "1000");  
        PopUp.Animation = Telerik.Web.UI.WindowAnimation.Fade;  
        PopUp.VisibleOnPageLoad = true;  
    } 

Try to view the test.asp in the browser and then view it from in the radwindow and you will notice that they a different

Enviroment:
VS 2008
Telerik version 2008.3.1105.35
IE 7

Is there a fix or a workaround for solving this problem

Thanks in advance
Kristian
Georgi Tunev
Telerik team
 answered on 23 Mar 2009
9 answers
257 views
Would anyone happen to know how to correctly show and hide a google map inside a RadAjaxPanel?  I've tried responseEnd and other techniques found through searching the forum with no luck. 

I'm using the open source Google Map control...



Help on this would be very much appreciated!  


Thanks,
Stephen
Iana Tsolova
Telerik team
 answered on 23 Mar 2009
3 answers
126 views
Hi to all,

I am using RadToolTipManager for tooltipify all controls on the page:

<telerik:RadToolTipManager ID="RadTM" runat="server" Skin="Office2007"  AutoTooltipify="true" />

I have ajaxified RadGrid on my page, that worked good with Q3 2008 library. Today I moved to Q1 2009 and the same code causes javascript error whenever sorting, expanding, editing or other RadGrid command is invoked
htmlfile: Unspecified error on line 

var

_29=_28.getClientRects();
I can achieve errorless behavior of RadGrid commands by removing of RadToolTipManager from the page. But I do not want to do it.

 

Does anybody know where is the problem?

Tervel
Telerik team
 answered on 23 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?