Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
109 views
Hi,
I am building my columns as below, but the caption remains as "MYCOL" as opposed to "My Column", this seems incorrect?

DataColumn dc = new DataColumn("MYCOL", System.String);
dc.Caption = "My Column";                           
dt.Columns.Add(dc);

Julian
Top achievements
Rank 1
 answered on 05 May 2015
1 answer
86 views
Hi, 
I am on working demo project on how spell check works and how to use in my project. while doing that, i have a requirement 
1. To keep the focus on "Not In dictionary" Div/Text Area 
2. Set the tab controls order in my own way. 

I did not find any snippet or code block which i can read the spell check dialog/form controls either javascript or .net code behind.

Thank you very much in advance.
Marin Bratanov
Telerik team
 answered on 05 May 2015
0 answers
110 views
Greetings Developers, im working with this structure, the problem is that i cannot hide a node: - i'm looking a control for the node, i want to display the menuNode for some authentications and not for others
 1.-
Not able to add an ID, tells me "object its not in the current context"
i was looking for  this solution and to  implement jquery .hide(), but
doesn't work
"<telerik:RadSiteMapNode 
NavigateUrl="../Honorarios/GenerarPrevio.aspx?sbmH=GP" Text="Generar
Previo" ClientIDMode="AutoID" runat="server">"  <div class="Menu">
                    <div id="MegaDropDown">
                       
<telerik:RadMenu runat="server" ID="RadMenu1" Skin="Sitefinity"
OnClientItemOpened="itemOpened" EnableRoundedCorners="true"
ClickToOpen="True"
                            Width="895" Height="48" EnableShadows="true" Font-Underline="True" Style="top: 0px; left: 0px">
                            <Items>
                                <telerik:RadMenuItem Text="Honorarios" Width="106px" runat="server">
                                    <Items>
                                        <telerik:RadMenuItem CssClass="Honorarios" Width="880" runat="server">
                                            <ItemTemplate>
                                                <!--Submenu-->
                                                <div id="CatWrapper" class="Wrapper" runat="server" >
                                                   
<telerik:RadSiteMap ID="RadSiteMap1" runat="server"
EnableTextHTMLEncoding="true" BackColor="Red" i >
                                                        <LevelSettings>
                                                            <telerik:SiteMapLevelSetting Level="0">
                                                                <ListLayout RepeatColumns="2" />
                                                            </telerik:SiteMapLevelSetting>
                                                        </LevelSettings>
                                                       <Nodes>
                                                           
<telerik:RadSiteMapNode 
NavigateUrl="../Honorarios/GenerarPrevio.aspx?sbmH=GP" Text="Generar
Previo" ClientIDMode="AutoID" runat="server">
                                                            </telerik:RadSiteMapNode>
                                                           
<telerik:RadSiteMapNode
NavigateUrl="../Honorarios/SegFol.aspx?sbmH=SF" Text="Seguimiento de
Folios" >
                                                            </telerik:RadSiteMapNode>
                                                                </Nodes>
                                                    </telerik:RadSiteMap>
                                                </div>
                                            </ItemTemplate>
                                        </telerik:RadMenuItem>
                                    </Items>
                                </telerik:RadMenuItem> i hope you can help me, thanks & sorry for my bad grammar.
mauricio
Top achievements
Rank 1
 asked on 05 May 2015
5 answers
228 views
Hello,

I wonder if is there someway to show a calendar with all months of the year. I have worked around doing a table 4x3 each celd with a component RadCalendar, but i would like to have all the months just into one component. 

I think should be possible with the RadScheduler in year view mode, 

I found this
<telerik:RadScheduler x:Name="scheduler" >
   <telerik:RadScheduler.TimelineViewDefinition >
      <telerik:TimelineViewDefinition CustomTimeSlotLength="12M"/>                 
   </telerik:RadScheduler.TimelineViewDefinition>
</telerik:RadScheduler>

But Visual says it doesnt exist TimelineViewDefinition property for scheduler...
I am using radcontrols for ASP.NET AJAX Q32009 NET35

Any clue?

Thanks a lot for your help, and congratulations to Telerik's team for their brilliant work.

BR.

David.

Hamza
Top achievements
Rank 1
 answered on 05 May 2015
2 answers
139 views

I have a radgrid on my page. It has a Details Table for children. For the parent rows that have no children I do now want any row(s) to show. I have used the below code and when I do, I still see a blank row underneath my parent row. What am I doing wrong?

The attached file is how my grid looks.

//If the details have no records, make it invisible  
      protected void rgCirculationDetails_ItemCreated(object sender, GridItemEventArgs e)
        {
            if (e.Item is GridNoRecordsItem && e.Item.OwnerTableView != rgCirculationDetails.MasterTableView)
                e.Item.OwnerTableView.Visible = false;
        }
  
//below code puts an empty string for a parent row that has no children
        protected void rgCirculationDetails_DetailTableDataBind(object sender, GridDetailTableDataBindEventArgs e)
        {
            try
            {
                GridDataItem parentItem = e.DetailTableView.ParentItem as GridDataItem;
  
                int parentRow = Convert.ToInt32(parentItem.GetDataKeyValue("ParentRow"));
                string geography = parentItem.GetDataKeyValue("Geography").ToString().Trim();
  
                if (e.DetailTableView.DataMember == "GeographyRows")
                {
                    if (parentRow == 1)
                    {
                        circulationServiceObj.CircDetail = circulationObj.GetCircDetailsForParentRow(circSetID, geography, dayID).CircDetail;
                        e.DetailTableView.DataSource = circulationServiceObj.CircDetail.CircDetail;
                    }
                    else
                    {
                        e.DetailTableView.DataSource = String.Empty;
                    }
                }
            }
            catch (SoapException ex)
            {
            }
        }

 

David Kucharski
Top achievements
Rank 1
 answered on 05 May 2015
1 answer
126 views
Hello,

I use a RadTooltipManager with AutoTooltipify="true" in the MasterPage of my Solution. And I have a page .aspx with 70 RadDatePicker and there is a problem of performance because it's very slow for to access the page (slower in IE).
​

I make a page of demo with 75 RadDatePicker and a RadTooltipManager in the MasterPage and I use the UI Responsiveness of the F12 developer tools of IE.

Result in the first attachement. The event DOMContentLoaded has a duration of 3sec ! And I seen that the majority of instructions is the update of css style of each day cell tooltip of each RadDatePicker in the page (style.visibility="hidden" and style.display="none").


So, I set ShowDayCellToolTips="false" for all RadDatePicker of my demo (because these tooltips is useless for us) and I restart with the UI Responsiveness.

Result in the second attachement. So, yes the duration of the DOMContentLoaded has a duration of 1.2sec now but there are always the updates of css style of each tooltip in the page like before. And I want to know why the RadTooltipManager set the css style of each day cell tooltip(with ShowDayCellToolTips="false") ? And what can i do for more optimizing for the postback of this page ?
Marin Bratanov
Telerik team
 answered on 05 May 2015
3 answers
180 views

I have a RadListBox that has items which are wiped and binded every 4 seconds. I have a linkbutton in each listbox item that I want to open a tooltip. At the moment I use a RadToolTipManager, the content in an ASCX file, and an OnAjaxUpdate function. This -sort of- works but the content in the tooltip is broken when the radlistbox refreshes on the timer.

Realistically I'll only ever have one RadToolTip open at once, and the content it loads (four linkbuttons) won't be changing. I have tried other methods like putting a RadToolTip directly into the listboxes ItemTemplate, but then the tooltip closes itself every time the listbox refreshes/posts-back. I'd love to avoid the whole ToolTipManager + ASCX thing because it loads goofy and shows a loading panel every time it opens.

Marin Bratanov
Telerik team
 answered on 05 May 2015
12 answers
174 views
I think the loading image positioned in the grid pager works fairly well, but it has a couple drawbacks. For one, it is not always noticeable. If the grid is tall and the user clicks on a column header to sort, they are not necessarily going to see the grid pager loading image. So, they might be wondering if anything is going on. Also, if the grid doesn't have paging enabled, then the pager isn't displayed. so you get no loading image. The solution would be to provide a loading image which is displayed over the entirety of the grid content (not the column heders, command item, pager/footer, etc.. just the rows). Can you provide a way of accomplishing this?

Also, IMO it would be good if you move the default loading image here. It seems like a more natural location for it.

As an example.. I believe your Rad Window Loading IMage used to be in the Window status bar, and now it appears in the center of the window.. much better behavior.
Daniel
Telerik team
 answered on 05 May 2015
1 answer
158 views

If I have a splitbutton and open the content menu first by clicking on the arrow and then click on the main button it doesnt execute the onclick event. I have to click it again in order to execute. Can the button be setup so that the main button always clicks the first time you click it regardless of if the context menu of the button is expanded first?

 

<telerik:RadButton EnableSplitButton="true" ID="btnSave" runat="server" Text="Save Contact" OnClick="RadButton1_Click" OnClientClicked="OnClientClicked">
                </telerik:RadButton>
                <telerik:RadContextMenu ID="rmContextMenu1" runat="server" OnItemClick="RadMenu1_ItemClick" style="z-index: 1009" CollapseAnimation-Type="None" ExpandAnimation-Type="None">
                    <Items>
                        <telerik:RadMenuItem Text="Save & Create New" Value="0">
                        </telerik:RadMenuItem>
                        <telerik:RadMenuItem Text="Run Spell Checker" Value="1">
                        </telerik:RadMenuItem>
                        <telerik:RadMenuItem Text="Cancel & Close" Value="2">
                        </telerik:RadMenuItem>
                    </Items>
                </telerik:RadContextMenu>

Danail Vasilev
Telerik team
 answered on 05 May 2015
3 answers
294 views

I'm using 2015.1.401 and I have several RadListBoxes throughout my project with a width setting of 100px. The problem is that they now appear to not go below a width of around 140px. I created a simple page I created to rule out all other possibilities.

 

 

<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="WebForm9.aspx.vb" Inherits="PWOnline.WebForm9" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
<head runat="server">
    <title></title>
</head>
 
<body>
    <form id="form1" runat="server">
 
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server"></telerik:RadScriptManager>
 
        <div>
            <telerik:RadListBox ID="RadListBox1" runat="server" Height="250px" Width="50px">
            </telerik:RadListBox>
        </div>
 
    </form>
</body>
</html>

 

Even at this 50px setting it renders as this: http://imgur.com/k3SKVZF

You can increase the width, but it never goes lower than about 140px now. I didn't see this listed as a known issue in any searches I performed. I was able to get it to look correctly by using CSS and "max-width", but this only made it look correct but the effective width of the control remained about 140px. What I mean is that it rendered at 50px but there was a "ghost" width of 140px as any control placed to the right of the list box couldn't be interacted with for the first 90 pixels.

 

Anyone else experience this or have a work around?

 

TIA

 

Magdalena
Telerik team
 answered on 05 May 2015
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?