Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
292 views
Hi,
We have rad window appear issue in google chrome, in chrome the rad window is cutting from header and in header there is one dot symbol and "=" symbol appear. I have attached the image "radwin.jpg".  
It works fine in IE 7 and mozilla.

Aspx page where I have written code for opening rad window.

<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>
<!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>
<link href="../App_Themes/Office2009/Window.Office2009.css"rel="Stylesheet" type="text/css" />
<script language="javascript" type="text/javascript">
function OpenCopyPath(sUserName)
{
    var page = "test_RadWindow.aspx";
    var oWnd = $find("RadWindow1"); 
    oWnd.setSize(380,345);//W,H
    oWnd.setUrl(page);
    oWnd.show();
    oWnd.center();
    return false;
}
</script>
</head>
<body >
<form id="form1" runat="server">
 <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    </telerik:RadScriptManager>
<asp:Button ID="btnGoheIL" runat="server" CssClass="btn" Text="Go"
             onClientClick="return OpenCopyPath('PatniDev');" Width="45px" />
    <telerik:RadWindowManager   ID="Singleton"
            EnableEmbeddedSkins="False" Skin="Office2009"
            VisibleStatusbar="False" Behavior="Close" 
            IconUrl="~/Images/logo_popup.png" runat="server" Behaviors="Close"
            InitialBehavior="None" Left="" 
            style="display: none;" Top="" >
            <Windows>
                <telerik:RadWindow ID="RadWindow1" VisibleStatusbar="false" Height="420px"
                    Width="575px" Modal="true" runat="server"  >
                </telerik:RadWindow>
            </Windows>
        </telerik:RadWindowManager>
   
 </form>
</body>
</html>

Let me know if you have any suggestion
Waiting for your response.

Thanks,
Jalpesh
Georgi Tunev
Telerik team
 answered on 09 Oct 2009
1 answer
129 views
Hi

I have built a simple application that uses the rad grid and rad menu, that I am going to demonstrate to our company.

I have seen from your website that "The Telerik ASP.NET Controls suite ships with 12 great looking and customizable skins for a consistent look and feel of Vista, Office 2007, Outlook, etc."

If I wanted to switch the theme from the default to one of these 12 themes, how would I go about doing that in my application?
Do I need to add the css / theme files within my application?

I would appreciate a little guidance with this please.

Thanks
Paolo
Princy
Top achievements
Rank 2
 answered on 09 Oct 2009
1 answer
620 views
Hi Telerik,

I have a Radgrid with EditForm of type "Template".

On Server side at one point I need to traverse through all controls inside the Edit Form  template and their values.
Usually to get a reference to a control I do something like:
         
RadComboBox cntrlDDLhippingAccountType = null
cntrlDDLhippingAccountType = (RadGrid1.MasterTableView.GetItems(GridItemType.EditFormItem)[0]).FindControl("ddlID"as RadComboBox; 
 
 
Since, I need to reference all of the controls this time I tried to do the following:
       foreach (Control c in (RadGrid1.MasterTableView.GetItems(GridItemType.EditFormItem)[0]).Controls) 
        { 
            if (c is RadInputControl) 
            { 
                ((RadInputControl)c).Text = String.Empty; 
            } 
            else if (c is RadComboBox) 
            { 
                ((RadComboBox)c).SelectedIndex = 0; 
            } 
        } 

But this did not work, because Controls collection returns only EditFormTableCell control(s).
So the question is how can I Loop through all editable controls inside Edit Form template and set their values.

Sebastian
Telerik team
 answered on 09 Oct 2009
1 answer
217 views
I am using Telerik version 2008.3.1125.35.
what I am trying to achieve is to have scoll bar on tooltips.

I tried

ContentScrolling

 

="Auto" in my aspx page ..the problem with this is that we have to specify height and width with it .

 

I don't want to do that because I sometime have to display only 5 characters where I don't need a height on 400px where as sometime i need to show a lot.

 

<telerik:RadToolTip ID="AcuityToolTip" runat="server" RelativeTo="Element" Position="TopRight" Sticky="true" OffsetX="0" OffsetY="0" >

 

 

</telerik:RadToolTip>

 


I am not using RadToolTipsmanager because it was creating a lot of problem , so i have one RadToolTips and I hide and show same tooltps again and again.So far everything is great except the condition for scroll bar from client side.

if(List too long)
{

tooltip.set_contentScrolling(0)

tooltip.set_height(

"200px");

 

tooltip.set_width(

400px");

 


}
else
{
    //hide scrolling and height and width should be auto
}

could you tell me how can this be implemented..

thanks,
DIP
Tsvetie
Telerik team
 answered on 09 Oct 2009
2 answers
86 views
Hello,
I am not able to successfully implement custom attributes. i am following steps in http://www.telerik.com/help/aspnet-ajax/schedule_advancedformtemplate.html
this link.. and getting red lines under <AdvancedForm Modal="true" /> this perticuler line.
 
please tell me what exactly i am missing here




jayant bhagwat
Top achievements
Rank 1
 answered on 09 Oct 2009
9 answers
161 views
How do you enable button back if an IF statement in the code-behind uses Exit Sub method?
I have this JavaScript code which disable the button when the event is triggered and then enable it back when it ends up.

        function RequestStart(sender, args) 
        { 
           args.EventTargetElement.disabled = true
        } 
        function ResponseEnd(sender, args) 
        { 
           args.EventTargetElement.disabled = false;  
        } 

Say that i have this code behind:
If Expression Then 
   ' i want to enable the button here 
   Exit Sub 
End If 

Thanks


Wim van der Linden
Top achievements
Rank 1
 answered on 09 Oct 2009
1 answer
87 views

 


Hi,

We've the Telerik's licensed version. In the trial version when we ran with the below code, w egot our buttons neatly displayed with
 our cssclass.

<
asp:Button ID="m_ctlPackageEditButton" runat="server" Text="Edit"

 

 

CssClass ="StandardButton" OnClick="m_ctlPackageEditButton_Click"/>

But now, with licensed version, we've the same code as above, but we're not getting the button's display. Just the text of the button appears and the display(box shape) is not there. Just Edit appears. Pls guide us to what we need to do.

Our customers are not happy with such buttons .

 

Georgi Tunev
Telerik team
 answered on 09 Oct 2009
1 answer
151 views
I build my project with almost RadControls for ASP.NET Ajax tools . I understand ie8 have javascript checking method to take slow appication.You can suggestion me to improve the performance for my website with IE8?
(I try to disable viewstate radcompression, and remove almost exclude javascript file but still slow.)

Demo website (You can try to change left menu to test response time of this page compare with 2 browser IE8,FF etc.)
(FF 5 sec for response time but  IE8 over 15 sec test on my machine)
http://www.itorderonline.com/Default.aspx?pageid=3&CAG_ID=172

Thanks for your help


Veselin Vasilev
Telerik team
 answered on 09 Oct 2009
5 answers
165 views
Hi all,

Is it possible to hide day view or weekly view or monthly view?  I can disable it so it does nothing when a user clicks on it but it would be more elegant if I could just hide any or all of the views.

Specifically for this example I want to hide 'month' view tab from the user.

 Can this be done?

Thanks,
Jeremy
Peter
Top achievements
Rank 1
 answered on 09 Oct 2009
1 answer
139 views
Hello

I have a project built on docks. These docs are in a master page, here yo ucan see the structure:

        <asp:UpdatePanel runat="server" ID="updatePanel"
            <ContentTemplate> 
                <cc1:DockLayout ID="dockLayout" runat="server" EnableViewState="false" StoreLayoutInViewState="false"
                    <uc1:Header ID="ctrlHeader" runat="server" /> 
                    <uc1:SubHeader ID="SubHeader1" runat="server" /> 
                    <div class="leftpart"
                        <div style="margin-top: 5px;"
                            <uc1:Menu ID="Menu" runat="server" /> 
                        </div> 
                        <div style="margin-top: 5px;"
                         
                            <cc1:DockZone ID="LeftDocZone" runat="server" Orientation="Vertical" Visible="true"
                            </cc1:DockZone> 
                        </div> 
                    </div> 
                    <div class="midpart"
                        <cc1:DockZone ID="CenterDockZone" runat="server" Orientation="Vertical"
                        </cc1:DockZone> 
                    </div> 
                    <div class="rightpart"
                        <cc1:DockZone ID="RightDockZone" runat="server" Orientation="Vertical"
                        </cc1:DockZone> 
                    </div> 
                </cc1:DockLayout> 
            </ContentTemplate> 
        </asp:UpdatePanel> 
        <div> 
        <uc1:Footer ID="Footer1" runat="server" /> 
        </div> 

As you can see I've split my page up into three columns. And all of my pages are using this theme. I get my page details from sql server than generate them from a BasePage control. Everything is working really great. But I've really got a big problem with paging parameters. I tried telerik's grid component it works fine. But when I try to use SEO Url mode it's not working. I mean when I click the page links the page just loads itself. Than I thought maybe something wrong with this, and I built another page with  .net's ListView and DataPager control. But nothing has changed. I'm curious how this can happen? Here's my URL: Category.aspx?CatID=18&pageNumber=2 and here's my code behind.

    protected void Page_Load(object sender, EventArgs e) 
    { 
        PopulateSearchPanel(); 
    } 
 
    private void PopulateSearchPanel() 
    { 
        int catID = Convert.ToInt32(StringUtil.GetQueryString("CatID")); 
        List<ProductItem> products = ProductFactory.GetCategoryProducts(catID, 1); 
        itemCount = products.Count; 
 
        foreach (ProductItem p in products) 
        { 
            var productItem = new RadPanelItem(); 
            pproductItem.Text = p.ProductName; 
            productItem.NavigateUrl = "#"
        } 
 
        ProductsListView.DataSource = products
        ProductsListView.DataBind(); 
    } 

Where am I missing? Is that because Dock or what? I really need help with this..
Jim
Top achievements
Rank 1
 answered on 09 Oct 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?