Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
98 views

Is there any inbuilt mechanism that would allow me to collapse (hide and reveal) sub trees within a hierarchical Diagram.

The functionality I'm looking for would visually hide any and all descendant diagram nodes where that node has no parents that are not already hidden.

Vessy
Telerik team
 answered on 30 Jan 2017
1 answer
130 views

Hello,

When I have the Telerik Rad Editor set to insert Paragraph tags for new lines, they also tend to insert additional information from the current line. This happens when the user hits Enter or when they click the New Paragraph tool bar item.

For example, I have added some custom buttons that insert placeholders into the code that I will then parse out with actual values as necessary. I am inserting HTML like this: <span title="Speakers">{{Speakers}}</span>

I like putting it in a span with a title so when they hover their mouse over it they see some additional information. 

But if this is on one line, surrounded by it's own paragraph tag, when I go to add another paragraph after it (to add additional text or placeholders or anything) user either the keyboard or toolbar item, the new paragraph will be:

<p><span title="Speakers">&nbsp;</span></p>

Instead of just:  <p>&nbsp;</p>

What can I do to insert JUST an empty paragraph? Why is it pulling my span tag in, too?

Thanks.

Marin Bratanov
Telerik team
 answered on 30 Jan 2017
1 answer
143 views

How do I change the background color of the title (), which is now green to blue?

And note that the title of the background color for MetroTouch skin has gone from blue to gray? Bug or changed?

Icon title = "warning," Is there a library? If, Where?

Marin Bratanov
Telerik team
 answered on 30 Jan 2017
29 answers
301 views
I've been trying to access and localize the pickers but with no success... Here are my test so far (it doesn't work of course).
Protected Sub Page_Load(sender As Object, e As EventArgs) Handles Me.Load
     AddHandler RadGrid1.HeaderContextMenu.ItemCreated, New Telerik.Web.UI.RadMenuEventHandler(AddressOf HeaderContextMenu_ItemCreated)
 End Sub
  
 Protected Sub HeaderContextMenu_ItemCreated(sender As Object, e As Telerik.Web.UI.RadMenuEventArgs)
     If TypeOf e.Item Is RadDatePicker Then
         Dim picker As RadDatePicker = DirectCast(e.Item, RadDatePicker)
         picker.DatePopupButton.ToolTip = "Apri il calendario"
     End If
 End Sub

Also I discovered a very odd issue with the context menu while filtering datetime columns. If you set a culture with dd/MM/yyyy (italian for example) with 
       Protected Sub Page_Load(sender As Object, e As EventArgs) Handles Me.Load
            If Not Me.IsPostBack Then
                RadGrid1.Culture = New CultureInfo("it-IT")
            End If
end sub

If I select 6/7/2013 (wich stands for July, 6 2013) in the first (or second) filter of HeaderContextMenu, this is correctly reported as 06/07/2013 in the GridDateTimeColumn where FilterDateFormat="dd/MM/yyyy" and DataFormatString="{0:dd/MM/yyyy HH:mm}" BUT is incorrectly reported (after filtering) as 07/06/2013 AFTER filtering happened.
I mean... in the context menu, I see italian calendar, I select the correct dd/MM/yyyy date and this appears correct in the textbox when I click on the date BUT after the filtering happens (postback) if I go back to the header context menu I see month and day inverted in the textbox like MM/dd/yyyy. Guess this is a bug of sort. Any suggestion to solve while waiting for bugfix?

Thanks in advance 
Vasil
Telerik team
 answered on 30 Jan 2017
1 answer
186 views

I have a web app that's been using a RadGrid for some years now.  The original layout was established in part by trial and error and has worked out fairly well.

I've only recently upgraded to the latest Telerik controls and I'm trying to use the BootStrap skin. 

It looks to me like this particular skin is somehow affecting (increasing) row height and none of the solutions that I've found in the forums seem to affect it. 

Everything looks fine except for this one particular issue. 

Any way to get this under control?

Nencho
Telerik team
 answered on 30 Jan 2017
0 answers
137 views

Hi,

I'm using a RAD Scheduler Timeline view which should show users appointment in a timeline view. Im using a datatable to bind the data. howewer for the same resource there are multiple rows in the data table in turn there are multiple rows for that resouce in RAD Scheduler. 

Example:

Sankar - 01/30/2017 - 09:00 AM

Sankar - 01/30/2017 - 05:00 PM

For the above mentioned rows in Datatable Im getting two individual rows in RADScheduler. But I should get both 9 AM and 5 AM appointments in the same row. Please help as its urgent. Thanks in Advance..

Allwin
Top achievements
Rank 1
 asked on 30 Jan 2017
1 answer
121 views

Hi,

Have NumericTextBox inside asp:Repeater ItemTemplate:

<telerik:RadNumericTextBox ID="ntbPrice" runat="server" Value='<%# Convert.ToDouble(DataBinder.Eval(Container.DataItem, "DefaultPrice")) %>' MinValue="1" Type="Currency" Width="60px" InvalidStyleDuration="200" OnKeyDown = "return (event.keyCode!=13);">
</telerik:RadNumericTextBox>

Problem is that I am not receiving updated values at post back (user types some value in the numeric text box). Value is always initial value automatically set during control data binding.

Any idea?

Thanks in advance,
Sanjin

Sanjin
Top achievements
Rank 1
 answered on 28 Jan 2017
0 answers
76 views

Hi,

I am new to this rad rotator object and I came across the following old code. The issue at hand is that when I run the page, nothing shows up in the rotator control and it is blank. I performed some debugging and I do see that there are some invisible objects but I am not able to see anything. I have connected the rotator control to a sql data source and there is data in the table but nothing is getting presented in the page. I would appreciate your help in fixing this issue.

Thanks

<telerik:RadDock ID="RadDock12" runat="server" Text="Blog" Collapsed="False"
Title="Breaking Security"  Width="25%" Height="170">
 
                <ContentTemplate>                                                 
 
                    <telerik:RadRotator ID="RadRotator2" runat="server" Width="100%" Height="100%"  ScrollDuration="10000" ScrollDirection="Down"
                        FrameDuration="6000" ItemHeight="170px" ItemWidth="100%" DataSourceID="Sql_Security" >
                        <ItemTemplate>
                            <table style="width: 100%; height: 140px; display:block; border:solid; margin-top:100px;" onclick="<%# DataBinder.Eval(Container.DataItem, "Info_Link")%>">
                                <tr>
                                    <td style="vertical-align: middle; padding-right: 10px;">
                                        <%# DataBinder.Eval(Container.DataItem, "Alert_Title")%>
                                    </td>
                                    <td style="font-size: 11px; vertical-align: middle">
                                        <%# DataBinder.Eval(Container.DataItem, "Alert_Details")%>
                                    </td>
                                    <td style="vertical-align: middle;">
                                    <a href="<%# DataBinder.Eval(Container.DataItem, "Info_Link") %>" target="_blank">details</a>
                                        <%--<asp:Image ID="CustomerImage" runat="server" ImageAlign="Left" ImageUrl='<%# String.Format("~/Img/Northwind/Customers/Thumbs/{0}.jpg", DataBinder.Eval(Container.DataItem, "Alert_Title_Image")) %>' />--%>
                                    </td>
                                </tr>
                            </table>
                        </ItemTemplate>
                    </telerik:RadRotator>
                    <asp:SqlDataSource ID="Sql_Security" runat="server" ConnectionString="<%$ ConnectionStrings:OLD_Reporting_Prod_DB %>"
                        SelectCommand="SELECT TOP 1000 [Alert_Source]
                                                ,[Alert_Title]
                                                ,[Alert_Title_Image]
                                                ,[Alert_Arrow]
                                                ,[Alert_Arrow_Image]
                                                ,[Alert_Number]
                                                ,[Alert_Number_Image]
                                                ,[Alert_Details]
                                                ,[Date_Inserted]
                                                ,[Info_Link]
                                            FROM [Reporting].[dbo].[Security_Alert_Feed]
                                            WHERE LEN(Alert_Details)>= 15 AND Info_Link != ''">
                    </asp:SqlDataSource>
                
                </ContentTemplate>
 
            </telerik:RadDock>
Mahadevan
Top achievements
Rank 1
 asked on 27 Jan 2017
0 answers
117 views

Hi Everyone!

I had a question about the autogenerated source of an image by webresources...

I have a custom Skin and I'm trying to load by background-image the image that should be in the input..

But the old skin that was in use before, is not allowing to load this image because it already has a src calling a webresource. I wanted to know a way

so that this webresources doesn't load so that my css can load the correct image...

 

I leave what I see in the code:

 

aspx.

"

telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditCommandColumn"
                                    EditText="Editar" CancelText="Cancela" HeaderStyle-Width="15px" ></telerik:GridEditCommandColumn>
                                </Columns>
                            <EditFormSettings EditColumn-UpdateText="Grabar" EditColumn-CancelText="Cancelar"
                                EditColumn-EditText="Editar" EditColumn-InsertText="Agregar">
                                <FormTableItemStyle Wrap="False" Width="100%" HorizontalAlign="Center"></FormTableItemStyle>
                                <FormCaptionStyle CssClass="EditFormHeader"></FormCaptionStyle>
                                <FormStyle Width="80%"></FormStyle>
                                <EditColumn ButtonType="ImageButton" InsertText="Agregar registro" UpdateText="Grabar registro"
                                    UniqueName="EditCommandColumn1" CancelText="Cancelar">
                                </EditColumn>

"

 

and in HTML it goes like this:

"

<input type="image" name="rgTabla$ctl00$ctl02$ctl03$PerformInsertButton" id="rgTabla_ctl00_ctl02_ctl03_PerformInsertButton" title="Agregar registro" src="/WebResource.axd?d=-LdubnxzpGsEX0PhLR4Nioi-oDbpYooCwOm9x3Fkw1G9S5YMd-2KNwfyIWIWU4cxTCaAhi-faGCTg1_lqbNwR9CmU-W4uj9fSGQPXL9jkzqDtNRR63VoEHu6DD8vG6WcChcK4m4WNj60wyl2Tpg7xQ2&amp;t=636192352887214136" alt="Agregar registro" style="border-width:0px;">

"

 

and my css that is working but is under this image that is loading is the following:

"

.RadGrid_HS .rgEditForm [type="image"]#rgTabla_ctl00_ctl02_ctl03_PerformInsertButton{
    width: 18px !important;
    height: 18px !important;
    background-image: url('Common/radActionsSprite.png') !important;
    background-position: -8px -2610px !important;
}

"

 

Thanks for reading!

Hernan,

 

 

Hernan
Top achievements
Rank 1
 asked on 27 Jan 2017
1 answer
119 views
Hi,
I have downloaded the Telerik components recently, but no skin is available for ComboBox although they are available in the directory (C:\Program Files\Telerik\UI for ASP.NET AJAX R1 2017\Skins)
Regards,
Sara
Ivan Danchev
Telerik team
 answered on 27 Jan 2017
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?