Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
237 views
Hi..
i am using RadPanel Items bar with ImageUrl.
i don't want all items with same style. means first item comes as header like style. but i don't want that style.

and
i want to give indent accoring to level..
i tried to give CSS like

.RadPanelBar_Office2007 .rpRootGroup, .RadPanelBar_Office2007 .rpRootGroup .rpLink
{
    border: none !important;
}
.RadPanelbar_Office2007 .rpLevel1 .rpImage
{
    padding-left: 5px;
}

.RadPanelbar_Office2007 .rpLevel2 .rpImage
{
    padding-left: 13px;
}
.RadPanelbar_Office2007 .rpLevel3 .rpImage
{
    padding-left: 21px;
}
.RadPanelbar_Office2007 .rpLevel4 .rpImage
{
    padding-left: 29px;
}

but it does not work...

Legalia
Top achievements
Rank 1
 answered on 07 Feb 2009
0 answers
146 views
Hello,

I am having problems getting the value selected from the combo box. I assume the code would be the same as a regular asp:DropDownList?
I get the error: Value of type 'String' cannot be converted to 'Telerik.Web.UI.RadComboBox'

 <telerik:RadComboBox ID="Title" runat="server"  
                                     ToolTip="Please enter your title" Skin="WebBlue" Text="Title"  
                                   > 
                                     <Items> 
                                         <telerik:RadComboBoxItem runat="server" Text="Mr" Value="Mr" /> 
                                         <telerik:RadComboBoxItem runat="server" Text="Mrs" Value="Mrs" /> 
                                         <telerik:RadComboBoxItem runat="server" Text="Miss" Value="Miss" /> 
                                         <telerik:RadComboBoxItem runat="server" Text="Ms" Value="Ms" /> 
                                         <telerik:RadComboBoxItem runat="server" Text="Dr" Value="Dr" ToolTip="Please give your title" /> 
                                         <telerik:RadComboBoxItem runat="server" Text="Prof" Value="Prof" /> 
                                     </Items> 
                                     <CollapseAnimation Duration="200" Type="OutQuint" /> 
                                 </telerik:RadComboBox> 

Imports System.Net.Mail 
Imports System.Net 
 
Partial Class fastquote_Default 
    Inherits System.Web.UI.Page 
 
    Protected Sub SendEmail_Click(ByVal sender As Object, ByVal e As System.Web.UI.ImageClickEventArgs) 
        ' !!! UPDATE THIS VALUE TO YOUR EMAIL ADDRESS  
        Const ToAddress As String = "me@gmail.com" 
        Dim mm As New MailMessage() 
        ' (2) Assign the MailMessage's properties  
        mm.Subject = "GetAQuote" 
        mm.IsBodyHtml = True 
        mm.Body = ("" & (HttpUtility.HtmlEncode(Title.SelectedItem.Value) & "")) 
        Dim smtp As New SmtpClient() 
        ' (4) Send the MailMessage (will use the Web.config settings)  
        smtp.Send(mm) 
        
    End Sub 
     
    
 
 
End Class 
Brent
Top achievements
Rank 1
 asked on 07 Feb 2009
2 answers
144 views
'ChartSeries' is ambiguous in the namespace 'Telerik.Charting'. C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\adminappv3\94260fb8\310281c1\App_Web_krs998vr.16.vb 200 

Interesting as I was working from home, same code copied/pasted onto work system and receive
the error message listed above. Below are the register for the items?

<%

@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>

 

<%

@ Register TagPrefix="telerik" Namespace="Telerik.Charting" Assembly="Telerik.Web.UI" %>

This is actually taken from an example as am just starting to work with the Charting stuff, had it
working at home and thought with a few changes to the datasource would be fine.

Any idea's would be helpful, starting to thing about the differences on the physical systems now?

Thanks!

 

James
Top achievements
Rank 1
 answered on 06 Feb 2009
2 answers
50 views
Hello,

We just put in place the editor in one of our production portals. Unfortunately, for every instance of the control we have on the page, it seems to make an additional page requests to the server. For instance, if we place 4 editor controls on the page, the page calls the "Page_Load" event 4 additional times. This behavior affects the logic we current have in place. Is there a way to prevent this from happening?

I've searched through the knowledge base and the forums posts and didnt find a clear answer to this issue. Below is control markup we are currently implementing.

<telerik:RadEditor ID="CompanyOverviewRadEditor" runat="server"
 ToolsFile="~/AdminResources/Editor/JobOpenings.xml" 
 ContentAreaCssFile='<%# string.Format("/Resources/{0}/EditorStyles.css", CurrentWebsite.Id) %>' 
 DocumentManager-ViewPaths='<%# new string[] {string.Format("/Resources/{0}/FileRepository/", CurrentWebsite.Id)} %>' 
 DocumentManager-UploadPaths='<%# new string[] {string.Format("/Resources{0}/FileRepository/", CurrentWebsite.Id)} %>' 
 DocumentManager-DeletePaths='<%# new string[] {string.Format("/Resources{0}/FileRepository/", CurrentWebsite.Id)} %>' 
 ImageManager-ViewPaths='<%# new string[] {string.Format("/Resources/{0}/FileRepository/", CurrentWebsite.Id)} %>' 
 ImageManager-UploadPaths='<%# new string[] {string.Format("/Resources/{0}/FileRepository/", CurrentWebsite.Id)} %>' 
 ImageManager-DeletePaths='<%# new string[] {string.Format("/Resources{0}FileRepository/", CurrentWebsite.Id)} %>' 
 Height="250px" 
 Content='<%# Bind("CompanyOverview") %>'> 
 <CssFiles> 
   <telerik:EditorCssFile Value="" /> 
 </CssFiles>                  
</telerik:RadEditor> 


Thanks.
Eddy
Top achievements
Rank 1
 answered on 06 Feb 2009
3 answers
150 views
I am trying to do conditional formatting with a date field and having issues. I can get it to work by using a text field.

Protected

Sub RadGrid1_ItemDataBound(ByVal sender As Object, ByVal e As Telerik.WebControls.GridItemEventArgs)

 

 

If (TypeOf e.Item Is Telerik.WebControls.GridDataItem) Then

 

 

Dim dataitem As Telerik.WebControls.GridDataItem = e.Item

 

 

If (dataitem("Name").Text) = "Test" Then

 

dataitem(

"Name").ForeColor = System.Drawing.Color.Red

 

 

End If

 

 

End If

 

 

End Sub

 



I would like to capture a date field from the grid and check to see if it is over 10 days from the current date. I then want to change the color of the field to Red. I would like to make the entire row be red, but not sure what to use (ItemCreated, ItemInserted...)
Joey
Top achievements
Rank 1
 answered on 06 Feb 2009
0 answers
56 views
I'm using the TreeView from the 2007 Q1 release. How do I show the selected node?

Also, can I expand only the selected node, and not the others?
e
Top achievements
Rank 2
 asked on 06 Feb 2009
3 answers
148 views
For RadDatePicker once i use the EnableEmbeddedSkins="false" and ImagesPath="~/App_Themes/Default/Gray/Calendar".  I don't see the triangle error icon inside the input box and the input box is not highlighted in red like before.  Where are those images?
Jomey
Top achievements
Rank 1
 answered on 06 Feb 2009
5 answers
298 views
Hi,

I've recently installed RadEditor on our MOSS 2007 server as described in the installation guide. The RadEditor webpart and the list integration works great, but I got problems integrating the editor within the pages templates of publishing sites like "ArticleLeft.aspx". Of course I follwed the instruction of the installation guide (http://www.telerik.com/help/moss/editor/using%20radeditor%20in%20web%20content%20management%20scenario.html)
but it didn't work for me.

When I enter into the editor mode of a page and click onto the area of the page content, no editor appears. In IE the normal MOSS editor apperas even if you just move the mouse over the page content area. What am I doing wrong?

I hope someone could give me some adives or tips.

Best regards,
Florian

Nauman
Top achievements
Rank 1
 answered on 06 Feb 2009
8 answers
405 views
Hi,

Is there are simple way with RadComboBox to set the width of the combo to the pixel size of the width of the longest item currently in the dropdown?  This would apply to both the combobox itself and the dropdown.

Thanks,
Pieter
Top achievements
Rank 1
 answered on 06 Feb 2009
3 answers
299 views
Hi,

              I'm using RadCombo in my application. I'm setting Width property for the Combobox. Now, when I bind the values in the ComboBox, some of the text in the Combo get Wrap. So, when I select a value inside the RadCombo, only the first line got selected. that makes us confusion. Is there any property available in RadCombo to select both the line???

I shouldn't use DropDownwidth, NoWrap, Width Property for that control. It affects my UI.

Thanks in advance,
Prabhu.K
Simon
Telerik team
 answered on 06 Feb 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?