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

    We have implemented rad chart , But when we select the date range from 2009- 2010, the chart is not looking good. Its merging with each bars.
I have attached the screen shot.

Thanks,

Ves
Telerik team
 answered on 13 May 2010
9 answers
297 views
Hello,

I have a page. Page has RadGrid , few comboboxes and toolbar.

I have this error:


Message: Unexpected call to method or property access.
Line: 14547
Char: 25
Code: 0
URI: http://localhost:3312/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_scriptManager_HiddenField&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d3.5.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a0d787d5c-3903-4814-ad72-296cea810318%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2009.2.701.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a7e598a31-3beb-49a1-914c-5f530240f0ea%3a16e4e7cd%3aed16cbdc%3a86526ba7%3a874f8ea2%3af7645509%3a24ee1bba%3a19620875%3a33108d14%3abd8f85e4%3a1e771326%3aaa288e2d%3ab7778d6c%3aa7e79140%3a58366029%3ae330518b%3ac8618e41%3ae4f8f289

I also have the output of that script (1MB, cant attach here)

Fragment:
var c=this.get_parent(); 
var f=c.get_openedItem(); 
if(f&&f!=this){f._close(g) 
}if(c._state!=Telerik.Web.UI.RadMenuItemState.Open&&c.open){c._open(g) 
}c._focusedItem=this; 
var d=this.get_menu(); 
d._focusedItem=this; 
var b=this.get_linkElement(); 
if(!this.get_focused()&&b){b.focus() 
}this.get_menu()._raiseEvent("itemFocus",new Telerik.Web.UI.RadMenuItemFocusEventArgs(this,g)) 
},_doBlur:function(d){if(this.get_isSeparator()){return 
}if(this.get_focused()){this.get_linkElement().blur()  //error in this line 
}this.get_parent()._focusedItem=null; 
var b=this.get_menu(); 
 


What can be the reason of this error ?
T. Tsonev
Telerik team
 answered on 13 May 2010
3 answers
279 views
Hey, Folks:

I'm a noob.  I'm trying to work through the RadControls documentation (RadControlsAJAXCourseware.pdf).  I get as far on page 31, where it says: "Add a RadMenu to the top of the web page. Set the Skin property to "WebBlue". Set the Width property to 100%".  At that point, I get:

Error creating control - RadMenu1

Unable to cast object of type Telerik.Web.UI.RadMenu to type Telerik.Web.UI.ControlItemContainer

I have tried the sample project by starting a standard web project and also by starting a Telerik Rad Control project.  The latter, of course, adds a few extra references.  In either case, my results are the same.

Any insight would sure be appreciated.

Thanks.

Doug Helm
(dhelm@hrnet.net)
Veronica
Telerik team
 answered on 13 May 2010
7 answers
189 views
I followed the instructions to create a custom skin, based on Default,  for the menu and most of it is working.  However, when I set EnableRoundedCorners to true it messes up.  I don't get the rounded corners and the border on the first level sub menu is missing on the left and right.  If I switch back to an embedded skin it works fine.

Any idea what the problem could be?  I have also created a custom skin for the dock and the rounded corners work fine there.
Yana
Telerik team
 answered on 13 May 2010
1 answer
244 views
Hi,
I have the following code in my asp page. I would like to click on Select button and get the logoid which is in a hidden field. but it won't work when i click on the button.
             <telerik:RadListView ID="dvlogo1" runat="server" DataSourceID="dslogo"
            ItemPlaceholderID="PlaceHolder1" AllowPaging="true" OnItemCommand="dvlogo1_ItemCommand" >
            <LayoutTemplate>
                <div class="sushibar">
                    <asp:Panel ID="SushiPanel" runat="server">
                        <div class="sushi">
                            <asp:PlaceHolder ID="PlaceHolder1" runat="server"></asp:PlaceHolder>
                        </div>
                        <telerik:RadDataPager ID="RadDataPager1" runat="server" PageSize="10" Skin="Black">
                            <Fields>
                                <telerik:RadDataPagerButtonField FieldType="Numeric" />
                            </Fields>
                        </telerik:RadDataPager>
                    </asp:Panel>
                </div>
            </LayoutTemplate>
            <ItemTemplate>
                <div class="category">
                    <p><asp:HiddenField runat="server" ID="hidlogoid" Value='<%# Eval("logoid") %>' />
                                                
                        <%#Eval("Title") %>
                    </p>
                    <asp:Image runat="server" ID="imglogo2" Height="70px" Width="70px" ImageUrl='<%# Eval("logopath") %>' />
                     <p>
                        <asp:Button runat="server" ID="cmdselectlogo2" Text="Select" Font-Size="10px" CommandName="select" CommandArgument='<%# Eval("logopath") %>' />
                     </p>

                </div>
            </ItemTemplate>
            <SelectedItemTemplate>
                <div class="selected">
                    <p><asp:HiddenField runat="server" ID="hidlogoid1" Value='<%# Eval("logoid") %>' />
                                                
                        <%#Eval("Title") %>
                    </p>
                     <asp:Image runat="server" ID="imglogo2" Height="70px" Width="70px" ImageUrl='<%# Eval("logopath") %>' />
                     <p>
                        <asp:Button runat="server" ID="cmdselectlogo2" Text="Select" Font-Size="10px" CommandName="select" CommandArgument='<%# Eval("logopath") %>' />
                     </p>
                </div>
            </SelectedItemTemplate>
        </telerik:RadListView>

C# Code
         protected void dvlogo1_ItemCommand(object source, RadListViewCommandEventArgs e)
        {
            if (e.CommandName == RadListView.SelectCommandName)
            {
                RadListViewDataItem item = e.ListViewItem as RadListViewDataItem;
                string myValue = item.GetDataKeyValue("logoid").ToString();
            }
            //switch (e.CommandName)
            //{
            //    case "selectlogo":
            //        Session["logo"] = e.CommandArgument;
            //       // hid = (this.dvlogo1.FindControl("hidlogoid") as HiddenField).Value;
            //        Session["logoid"] = (this.dvlogo1.FindControl("hidlogoid") as HiddenField).Value;

            //        break;
            //}
        }

I appreciate your help very much.

thanks,
kamal



Rosen
Telerik team
 answered on 13 May 2010
2 answers
149 views
Hello,

Please i need your help guys in building a grid using 3 datasources:
Query 1: Will return the categoryName,categoryOrderNumber,CategoryName from TABLE1
Query 2: Will return the SALES totalweight,totalPrice,TotalpriceUSD for the Categories from TABLE2
Query 3: Will return the PURCHASES totalweight,totalPrice,TotalpriceUSD for the Categories from TABLE3

Catergory SalesTotalWeight SalesTotalPrice SalesTotalPriceUSD PurchaseTotalWeight SalesTotalPrice SalesTotalPriceUSD
Category1             x                             x                         x                                        x                             x                           x
Category2             x                             x                         x                                        x                             x                           x
Category3             x                             x                         x                                        x                             x                           x


Thanks in advance,
Andy Green
Top achievements
Rank 1
 answered on 13 May 2010
1 answer
204 views
Hi,

I have just upgraded the Telerik used by our corporate web applications which have many grids
from RadControls for ASPNET AJAX Q3 2008
to RadControls for ASP.NET AJAX Q1 2010

Under RadControls for ASPNET AJAX Q3 2008 the Grey Skin is used and one of the grids looks as follows:

Under RadControls for ASP.NET AJAX Q1 2010 the Default Skin is used (because Grey Skin no longer exists) and the same grid looks as follows:

The vertical lines seem to have disappeared from the grid under RadControls for ASP.NET AJAX Q1 2010.

Can you please tell me how to display the missing vertical lines on the grid?

Regards,
Herman Gouw

Dimo
Telerik team
 answered on 13 May 2010
3 answers
87 views
Hi,

I tried to use the Dynamic feature of RadGrid, it works but somehow the Grouping Caption didn't show properly. I'm using IE8.

Please refer to the attached screenshot.

Any idea?

Thanks.
Dimo
Telerik team
 answered on 13 May 2010
1 answer
108 views
I'm using a RadDoc which contains titlebar commands that trigger clientside javascript.  This javascript uses jquery to increase and decrease the font sizes of the objects the RadDoc contains.  The following sample increases the font size of the "a" and "span" elements.

function IncreaseFontSize(dock, args) {
    var _contentId = new String(dock.get_handle().id);
    _contentId = _contentId.substr(0, _contentId.length - 1) + "C";
    var currFontSize = $("#" + _contentId).css('fontSize');
    var _currentFontSize = parseFloat(currFontSize, 10);
    _currentFontSize *= 1.15;
    $("#" + _contentId).css('fontSize', _currentFontSize + "px");
    $("#" + _contentId + " a").css('fontSize', _currentFontSize + "px");
    $("#" + _contentId + " span").css('fontSize', _currentFontSize + "px");
    etc...
}

This works great, however when I trigger an ajax call that updates the RadDoc, the objects reset back to their original font size.  Even clicking on a RadGrid column header trigger the font reset. Any ideas how I can retain all font size changes?  Is there an event I could tap into once the ajax call completes? If so, maybe I could use this event to change the fonts to the desired size.  Thanks in advance for your help.











Dimo
Telerik team
 answered on 13 May 2010
3 answers
131 views
I use RadWindow in two pages on my site.  Both are using the embedded black skin.

On one page, the window displays perfectly.

On another page, the window appears, but no style information is sent to the browser, so the window content displays with no formatting whatsoever.

Both pages are on the same site.  The code on each page is identical.

Any suggestions? 

Thanks
Georgi Tunev
Telerik team
 answered on 13 May 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?