Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
109 views
i am using a line chart. there are some missing values in between the points. i want to connect those points. I haved tried to use emptyvalue property then i had missing values line before and after the actual points. i just want  connect the points with a line. 
.
Peshito
Telerik team
 answered on 15 Jun 2012
1 answer
109 views
Hi,

I am having some problems with a masked textbox in Google Chrome.
The code is:

<div style="float:left"><br>    <radI:RadMaskedTextBox ID="datetimePicker" runat="server" Mask="##/##/####" <br>        PromptChar="_" RoundNumericRanges="false" /><br></div>

The problem in Google Chrome(version 19.0.1084.56 m) is that the selectionStart value is not updated properly after inserting the values following "/" (see bug.png - the cursor should be after the 3 as is for IE and Mozila).

I am using RadControls for ASP.NET AJAX Q2 2011 SP1 and the RadInput.Net2.dll version is 1.4.3.0 .

Thank you
Vasil
Telerik team
 answered on 15 Jun 2012
1 answer
91 views
I have a someone complicated RadTreeView object with nodes in various formats. The top level nodes are created in the aspx.cs code behind, but the rest are created via a call to the same WebService function. The resulting child nodes may have a different appearance depending on the content.

What I would like to do is to adjust the hover and selected CSS classes on a per node basis so that the highlight covers the full height of the node. I cannot do this on a node-level basis because not all level 3 nodes (for example) have the same layout.

In the attached image, I have combined several TreeView screen captures to show how the highlighting currently appears for various nodes. The confusing part is that the top level node created in code behind has a hover highlight that coves the entire node height. I'd be glad to override the styles using declarations on the local aspx page--just couldn't find the right documentation.
Plamen
Telerik team
 answered on 15 Jun 2012
6 answers
1.1K+ views
Hi all
im trying to add a readonly textbox on my form but the problem is it keeps clearing the textbox on postback, if i remove the read only property it works fine.

Does anyone know whats causing this.
Vasil
Telerik team
 answered on 15 Jun 2012
2 answers
124 views
I've done a bunch of grids with filters but I can't figure out why this one doesnt work, the grid will not filter

telerik:RadGrid ID="RadGrid1" runat="server" DataSourceID="SqlDataSource1" GridLines="None"
    OnItemCommand="RadGrid1_ItemCommand" OnItemCreated="RadGrid1_ItemCreated" Width="650px"
    AllowSorting="True" ShowFooter="True" EnableAJAX="True" 
    AllowFilteringByColumn="True" CellSpacing="0">
    <ClientSettings EnableRowHoverStyle="True">
        <Selecting AllowRowSelect="True" />
        <ClientEvents OnRowClick="Dummy"></ClientEvents>
        <Scrolling AllowScroll="true" SaveScrollPosition="true" UseStaticHeaders="true" ScrollHeight="500px" />
    </ClientSettings>
    <PagerStyle Mode="NumericPages" Position="TopAndBottom" />
    <MasterTableView DataSourceID="SqlDataSource1" AutoGenerateColumns="False" AllowAutomaticDeletes="true"
        DataKeyNames="CourseIDX" CommandItemDisplay="TopAndBottom" ClientDataKeyNames="CourseIDX"
        TableLayout="Fixed" AllowCustomSorting="True" AllowFilteringByColumn="true">
        <Columns>
            <telerik:GridBoundColumn DataField="CourseIDX" UniqueName="CourseIDX" HeaderText="CourseIDX"
                Display="False" ItemStyle-Width="50px">
                <ItemStyle Width="50px"></ItemStyle>
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="CourseID" UniqueName="CourseID" HeaderText="CourseID"
                Display="false" ItemStyle-Width="50px">
                <ItemStyle Width="50px"></ItemStyle>
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="Name" UniqueName="Name" HeaderText="Name" Display="True"
             AllowFiltering="True" 
             AllowSorting="True">
                <ItemStyle Width="300px" HorizontalAlign="Left" />
                <HeaderStyle Width="300px" />
            </telerik:GridBoundColumn>
            <telerik:GridTemplateColumn HeaderText="Preview" UniqueName="Preview" AllowFiltering="false" >
                <ItemTemplate>
                    <asp:HyperLink ID="Preview" runat="server" ImageUrl="~/images/fileimages/preview.gif"></asp:HyperLink>
                </ItemTemplate>
                <ItemStyle Width="50px" HorizontalAlign="Center" />
                          <HeaderStyle Width="50px" HorizontalAlign="Center" />
            </telerik:GridTemplateColumn>
            <telerik:GridTemplateColumn HeaderText="Course " UniqueName="EditCourse" AllowFiltering="false" >
                <ItemTemplate>
                    <asp:HyperLink ID="EditCourse" runat="server" ImageUrl="~/radcontrols/outlook/grid/edit.gif"></asp:HyperLink>
                </ItemTemplate>
                <ItemStyle Width="50px" HorizontalAlign="Center" />
                <HeaderStyle Width="50px" HorizontalAlign="Center" />
            </telerik:GridTemplateColumn>
            <telerik:GridTemplateColumn HeaderText="Edit Tree" UniqueName="EditTree" Display="false" AllowFiltering="false" >
                <ItemTemplate>
                    <asp:HyperLink ID="EditTree" runat="server" ImageUrl="~/images/fileimages/FileTreeView.gif"></asp:HyperLink>
                </ItemTemplate>
                <ItemStyle Width="50px" HorizontalAlign="Center" />
            </telerik:GridTemplateColumn>
            <telerik:GridTemplateColumn HeaderText="Lectures" UniqueName="EditSheet" AllowFiltering="false" >
                <ItemTemplate>
                    <asp:HyperLink ID="EditSheet" runat="server" ImageUrl="~/images/fileimages/Edit.gif"></asp:HyperLink>
                </ItemTemplate>
                <ItemStyle Width="50px" HorizontalAlign="Center" />
                          <HeaderStyle Width="50px" HorizontalAlign="Center" />
            </telerik:GridTemplateColumn>
            <telerik:GridTemplateColumn HeaderText="Points" UniqueName="Points"  AllowFiltering="false" >
                <ItemTemplate>
                    <asp:HyperLink ID="Points" runat="server" ImageUrl="~/images/fileimages/tasks.gif"></asp:HyperLink>
                </ItemTemplate>
                <ItemStyle Width="50px" HorizontalAlign="Center" />
                          <HeaderStyle Width="50px" HorizontalAlign="Center" />
            </telerik:GridTemplateColumn>
            <telerik:GridButtonColumn ButtonType="ImageButton" HeaderText="Student Status" ImageUrl="~/radcontrols/vista/grid/windows/update.gif"
                CommandName="SStatus" UniqueName="SStatus" Display="false" ShowFilterIcon="false" >
                <ItemStyle Width="50px" HorizontalAlign="Center" />
                          <HeaderStyle Width="50px" HorizontalAlign="Center" />
            </telerik:GridButtonColumn>
            <telerik:GridButtonColumn UniqueName="column" HeaderText="Delete" ConfirmText="Confirm Delete of Course!!!"
                Text="Delete" CommandName="Delete" ButtonType="ImageButton" ConfirmDialogType="RadWindow">
                <ItemStyle Width="40px" HorizontalAlign="Center" />
                          <HeaderStyle Width="40px" HorizontalAlign="Center" />
            </telerik:GridButtonColumn>
        </Columns>
<CommandItemSettings ExportToPdfText="Export to PDF"></CommandItemSettings>
 
        <RowIndicatorColumn Visible="False">
            <HeaderStyle Width="20px" />
        </RowIndicatorColumn>
        <ExpandCollapseColumn Resizable="False" Visible="False">
            <HeaderStyle Width="20px" />
        </ExpandCollapseColumn>
        <EditFormSettings>
            <EditColumn CurrentFilterFunction="NoFilter" FilterListOptions="VaryByDataType">
            </EditColumn>
            <PopUpSettings ScrollBars="None"></PopUpSettings>
        </EditFormSettings>
        <CommandItemTemplate>
            &nbsp; &nbsp;
            <telerik:RadButton ID="btnAdd" runat="server" OnClientClicked="ShowAdd" Text="Create New Course"
                ToolTip="Create New Course " Font-Size="XX-Small" Skin="Telerik">
                <Icon PrimaryIconUrl="~/images/fileimages/AddRecord.gif" PrimaryIconLeft="5px" />
            </telerik:RadButton>
            &nbsp;
            <telerik:RadButton ID="btnDuplicate" runat="server" OnClientClicked="ShowDuplicate"
                Text="Duplicate Course" ToolTip="Duplicate Course " Font-Size="XX-Small" Skin="Telerik">
                <Icon PrimaryIconUrl="~/images/fileimages/File-copy-16.png" PrimaryIconLeft="5px" />
            </telerik:RadButton>
            &nbsp;
            <telerik:RadButton ID="btnTextBooks" runat="server" OnClientClicked="ShowPDF" Text="Textbook Lists"
                ToolTip="Textbook Lists " Font-Size="XX-Small" Skin="Telerik">
                <Icon PrimaryIconUrl="~/images/fileimages/pdf.png" PrimaryIconLeft="5px" />
            </telerik:RadButton>
        </CommandItemTemplate>
    </MasterTableView>
    <ExportSettings>
        <Pdf PageBottomMargin="" PageFooterMargin="" PageHeaderMargin="" PageHeight="11in"
            PageLeftMargin="" PageRightMargin="" PageTopMargin="" PageWidth="8.5in" />
        <Excel Format="Html"></Excel>
        <Csv RowDelimiter="NewLine" ColumnDelimiter="Comma"></Csv>
    </ExportSettings>
 
<FilterMenu EnableImageSprites="False"></FilterMenu>
 
<HeaderContextMenu CssClass="GridContextMenu GridContextMenu_Default"></HeaderContextMenu>
</telerik:RadGrid>
david
Top achievements
Rank 1
 answered on 15 Jun 2012
1 answer
108 views
Why this happens in Internet Explorer. It looks fine in FF and Chrome but in IE it's a total mess. Please advice

P.S. please refer the attached screenshot. Thank you
Marin Bratanov
Telerik team
 answered on 15 Jun 2012
4 answers
214 views
Hi... I have problems with some examples in local:

Component HtmlChart

1)The sample First look, not show the line on local, in you site sample work Ok. See image 1.

2) The sample Chart Types -> Pie Chart not show the Pie..in you site sample work Ok. See image 2.

3) The sampe DataBinding -> List not show the line vertical (here the same problem of the 1° sample but vertically),in you site sample work Ok. See image 3.

I have the same problem in all the sample with the same type of chart described above.

PS) My OS language is Italian and the culture is IT, and tested with IE,FireFox,Safari and Chrome

Thanks
Aurelio
Aurelio Righetti
Top achievements
Rank 1
 answered on 15 Jun 2012
13 answers
353 views
Hi, i have install the Beta version 2012_2_522, drag the component barcode in the aspx page, but the barcode not show, i see the text but note the line of the barcode...

<telerik:RadBarcode runat="server" Text="*123422*" Type="Code39"
           ShowChecksum="False">
       </telerik:RadBarcode>

Even in the examples that are installed is the same problem

Thanks
Aurelio
Vasil
Telerik team
 answered on 15 Jun 2012
0 answers
115 views
I am getting following script error when I tried to navigate to a tab in RadTabStrip.

Microsoft JScript runtime error: Unable to get value of the property 'apply': object is null or undefined
at line 6 of Telerik.WebUI.WebResource_6.axd?_TSM_HiddenField=RSM_TSM&compress=1&_TSM_CombinedScrpts_=;;System.WebExtension,+Version=4.0.0.0,+Culture=neutral,+PublicKeyToken=31bf3856ad364e35;en-US;fabb1efa-938f-494c-a9c4-f313dccf73fa;ea597d4b;b25378d2;Telerik.Web.UI 

Here are more details I found debugging w/ Firebug Lite in Firefox. 

I find the error “e is undefined” at

Function.__typeName="Function";Function.__class=true;Function.createCallback=function(b,a){return function(){var e=arguments.length;if(e>0){var d=[];for(var c=0;c<e;c++)d[c]=arguments[c];d

where:

a = “prItem”

b = Object { prItem=“ct100_MainContent_ReqItems_Item_Item” }

c= Object {_msdisposeindex=27, _element=span#MainContent_ReqItems_Item, appContext=”SWNCCAF2KWGFSLJEF4GEFVC…PTYZ882DNRND46VNV375W9V”, …

d = Object { _msdisposeindex=26, _element=div#ct100_MainContent_ReqItems_Item_Item.RadComboBox, _clientStateFieldID=“ct100_MainContent_ReqItems_Item_Item_ClientState” …

e = undefined

 

Triggering Call Stack:

createCallback()Teleri...085fe68 (line 6)

c = Object { __msdisposeindex=27, _element=span#MainContent_ReqItems_Item, appContext="SWNCCAF2KWGFSLJEF4GEFVC...PTYZ882DNRND46VNV375W9V", more...}

b = Object { prItem="ctl00_MainContent_ReqItems_Item_Item"}

Any one have any idea of how to resolve it?
Sri
Top achievements
Rank 1
 asked on 15 Jun 2012
0 answers
100 views

Hi all

Dynamically i have created checkbox in button click. after save the records how could i delete/remove checkbox.

Thanks & Regards
Tamim
Tamim
Top achievements
Rank 1
 asked on 15 Jun 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?