Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
75 views
In hierarchial radgrid how to get the parent row index from child row in Item_created  method.
Princy
Top achievements
Rank 2
 answered on 14 Apr 2014
2 answers
128 views
Hi

I have a correspondence form that I am using a RadAutoCompleteBox for specifying recipients.  When the page initially loads I add the sender to the To RadAutoCompleteBox entries collection in the form of an AutoCompleteBoxEntry.  I'm using an email address for both the text and the value of the AutoCompleteBoxEntry.  If the email address has a single quote in it, the To RadAutoCompleteBox shows as empty.  However, if I then use the auto complete functionality I am able to successfully add the email with the single quote in it.  The RadAutoCompleteBox uses a webservice.

Any ideas?
Caleb Sandfort
Top achievements
Rank 1
 answered on 11 Apr 2014
2 answers
173 views
Hello,
I am having an issue with the RadMenu only showing the last item in the menu when I upgrade from version 2014.1.225 to version 2014.1.403.  In my example below there are 3 menu item which show when the menu is clicked using version 2014.1.225.  After updating to version 2014.1.403, only the last menu item is display when the menu is clicked (see attached screenshots).  Can you tell me why this happens in version 2014.1.403?


Here is the css of my divs:
#farright
{
    background: inherit;
    top: 0px;
    width: 200px;
    float:right;
    text-align:right;
    font-size: 10px;
}
 
#mysolutions
{
    position: absolute;
    background: inherit;
    top: 0px;
    right: 0px;
    width: 96px;
    float:right;
    text-align:right;
    font-size: 10px;
}


Here is the code to generate the menu: 
<div id="farright">
     <div id="mysolutions">
          <telerik:RadMenu ID="mnuProducts" runat="server" Skin="" DefaultGroupSettings-OffsetY="-1" ClickToOpen="true">
                            <Items>
                               <telerik:RadMenuItem ImageUrl = "~/Images/eProducts/solutions2.png" HoveredImageUrl = "~/Images/eProducts/solutions_hover2.png">
                                   <Items>
                                       <telerik:RadMenuItem NavigateUrl = "http:\\www.ecorpnet.com" Target="_blank" ImageUrl = "~/Images/eProducts/appealsmanager.png" HoveredImageUrl = "~/Images/eProducts/appealsmanager_hover.png"></telerik:RadMenuItem>
                                       <telerik:RadMenuItem NavigateUrl = "http:\\www.ecorpnet.com" Target="_blank" ImageUrl = "~/Images/eProducts/mvp.png" HoveredImageUrl = "~/Images/eProducts/mvp_hover.png"></telerik:RadMenuItem>
                                       <telerik:RadMenuItem NavigateUrl = "http:\\www.ecorpnet.com" Target="_blank" ImageUrl = "~/Images/eProducts/era.png" HoveredImageUrl = "~/Images/eProducts/era_hover.png"></telerik:RadMenuItem>
                                   </Items>
                               </telerik:RadMenuItem>
                            </Items>
                        </telerik:RadMenu>
                        <br />
                        <br />
                        <br />
                        <br />
                        <asp:HyperLink ID="lnkLogout" runat="server" NavigateUrl="~/Logout.aspx" CssClass="toplist">Sign out</asp:HyperLink>
                        <asp:Label ID="lblHelpSpace" runat="server" Text="|" Visible="false"></asp:Label>
                        <asp:HyperLink ID="lnkHelp" runat="server" CssClass="toplist" NavigateUrl="javascript:ShowRadWindow('SelectHelp.aspx','rwnPopup');"  Visible="false">Help</asp:HyperLink>
                    </div>
                </div>

Bryan Smouse
Top achievements
Rank 1
 answered on 11 Apr 2014
3 answers
214 views
I am using Firebug to debug my application.  The Script window is filled with unreadable characters when I click on files or folder in the FileExplorer window.  For example,
vKRbWcp115O9Ai2IejVeFDu72S0JXgFIYwWxaBKlTf5cQ1M3igsUrKz5SbSzBwx2DZN6cJqhlMDQ={"count":5,"data":[{"Path":"

I cut the example short but It seems the explorer is injecting these characters and replacing my page's code.  The application runs without errors except it will not respond to functions that occur after selecting folders and files in the FileExplorer.  What could be the issue?  Thanks.
Vessy
Telerik team
 answered on 11 Apr 2014
1 answer
201 views
Hello,

I am about to start a project where I need to use the RadScheduler for the calendar and tasks. I will need to sync these with Outlook. In Outlook I can view the list and check a box to mark it as completed. Outlook puts a strike thru on the task to show it completed. My question is how can I do this from the RadSchedular? How can I mark it completed? I tried searching and could not find a way.

Also, once it is marked completed either through the RadScheduler or Outlook can this be synced to show it completed on both sides?

Thanks,

Warren
Boyan Dimitrov
Telerik team
 answered on 11 Apr 2014
1 answer
164 views
Our product has a dashboard tool that allows users to build charts. We've recently started using your colour picker control for selecting and storing user defined colour selections. Unfortunately we've run into a problem where we need to select transparent for some objects but we haven't found a workable solution using your control. When we select the 'empty' colour your control appears to default to white in the UI. If the page is posted back to the server, the transparent elements are all changed to white. All we are doing in code is updating the database with the currently selected colour of the control. At no stage do we set the colour to white in code.

Is there a workable solution you can suggest as this is a showstopper for us?
Slav
Telerik team
 answered on 11 Apr 2014
8 answers
1.0K+ views
Hi there,

I'm trying to implement batch edit in my RadGrid and got one problem I cannot resolve due to lack of info.
I call RadGrid.get_batchEditingManager().addNewRecord , in my radgrid I've got several template columns with radcombos there,
there are related and everything work perfect because I can use $telerik.findControl to refer any other cell's radcomboboxes control
while changing index of the current combo cell editing. Eventually, I have to change some Label control text value basing on chosen
selected Item in another combobox of another cell.  But how should I refer from some given editing cell to another template column's 
which has  ItemTemplate Label control only in order to change label's text value ?
I tried $telerik.findControl($find("<%= MyGrid.ClientID %>").get_element(), "myLabel") but it always gets null instead of label object.

Thanks in advance,
Nik
Nik
Top achievements
Rank 1
 answered on 11 Apr 2014
1 answer
154 views
Hi all,
I am trying to export empty data to excel.The style is not getting applied for Empty data or only Heading row.Please help
i have the below two eventhandlers to apply style:
 Protected Sub rgInbox_ExcelMLExportRowCreated(sender As Object, e As GridExcelBuilder.GridExportExcelMLRowCreatedArgs) Handles rgInbox.ExcelMLExportRowCreated
            If e.RowType = Telerik.Web.UI.GridExcelBuilder.GridExportExcelMLRowType.HeaderRow Then
                For Index As Integer = 0 To e.Row.Cells.Count - 1
                    e.Row.Cells(Index).StyleValue = "normalHeaderStyle"
                Next

            End If
        End Sub

        Protected Sub rgInbox_ExcelMLExportStylesCreated(sender As Object, e As GridExcelBuilder.GridExportExcelMLStyleCreatedArgs) Handles rgInbox.ExcelMLExportStylesCreated
            Dim normalHeaderStyle As New GridExcelBuilder.StyleElement("normalHeaderStyle")
            normalHeaderStyle.FontStyle.Color = System.Drawing.Color.Black
            normalHeaderStyle.FontStyle.Bold = True
            normalHeaderStyle.FontStyle.FontName = "Calibri"
            normalHeaderStyle.FontStyle.Size = 10.0
            normalHeaderStyle.InteriorStyle.Pattern = GridExcelBuilder.InteriorPatternType.Solid
            normalHeaderStyle.InteriorStyle.Color = System.Drawing.Color.Gray
            e.Styles.Add(normalHeaderStyle)
        End Sub
Viktor Tachev
Telerik team
 answered on 11 Apr 2014
1 answer
99 views
i have sitemap like below:

<telerik:RadSiteMap ID="smKat" runat="server"
    DataFieldID="Id"
    DataFieldParentID="Parentid"
    DataSourceID="sqlKat"
    DataTextField="katText"
    DataValueField="Id"
    MaxDataBindDepth="2" >
    <DefaultLevelSettings   ListLayout-AlignRows="true" 
        ListLayout-RepeatDirection="Vertical" MaximumNodes="6" >
 
    </DefaultLevelSettings>
     
    <LevelSettings>
        <telerik:SiteMapLevelSetting MaximumNodes="6" Level="0">
            <ListLayout
                RepeatColumns="3"
                AlignRows="true"
                RepeatDirection="Vertical" ></ListLayout>
        </telerik:SiteMapLevelSetting>
        <telerik:SiteMapLevelSetting Level="1" MaximumNodes="6"   >
            <ListLayout
                RepeatColumns="2"
                AlignRows="true"
                RepeatDirection="Vertical" ></ListLayout>
        </telerik:SiteMapLevelSetting>
    </LevelSettings>
</telerik:RadSiteMap>

but MaximumNodes doenst work with ListLayout-RepeatColumns. it shows all data if added listlayout options.

Could you refer any approach to get MaximumNodes with  ListLayout-RepeatColumns .
Thank you.
Peter Filipov
Telerik team
 answered on 11 Apr 2014
6 answers
194 views
Strange problem in IE11 all work around and finally here.

Problem on first attempt dropdown, works well on second attempt.

Check the screen shot:

Html

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
            <telerik:RadComboBox ID="cmbRole" runat="server" EnableAutomaticLoadOnDemand="true" DataValueField="RoleId" DataTextField="RoleName" DataSourceID="sqlcmbRole">
            </telerik:RadComboBox>
            <asp:SqlDataSource runat="server" ID="sqlcmbRole" ConnectionString='<%$ ConnectionStrings:ConnectionString %>' SelectCommand="SELECT [RoleId], [RoleName],Status FROM [vw_Display_Roles]">
            </asp:SqlDataSource>
        </div>
    </form>
</body>
</html>
Mats
Top achievements
Rank 1
 answered on 11 Apr 2014
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?