Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
100 views
not sure what has happened - but all of the sudden i am getting the contents of the selected file 2 times in the radeditor content area - like

what the heck what the heck


anyone seen this?
Rumen
Telerik team
 answered on 15 Jan 2009
2 answers
195 views
how do I align the filter item of ONLY A PARTICULAR COLUMN to center of the column?
Dimo
Telerik team
 answered on 15 Jan 2009
3 answers
110 views
I need a text control that can display one value and store another value behind it. For example, I want to display  Aeronautics1234.Name in the editor control while the actual value of the text is A1234.Name. Since the A1234 is not user friendly, I want to be able to display a more meaningful word (Aeronautics1234) to the user while saving the original value(A1234) in the database as it is. Is it possible to do that with the radeditor, if yes, can you please provide me with an example?

Thank you,
Vithiya
Rumen
Telerik team
 answered on 15 Jan 2009
2 answers
280 views
Hi,

I am trying to do the demo Multiple ComboBoxes in VB.  I created a new website in VS.Net and copy & paste code in respective ASPX, VB.Net, and CSS pages.  It is throwing all sorts of errors.  There are squiggly lines everywhere.  Could someone please help me with this?

 

Line 1<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
Line 2<%@ Register TagPrefix="qsf" TagName="Footer" Src="~/Common/Footer.ascx" %>
Line 3<%@ Register TagPrefix="qsf" TagName="HeadTag" Src="~/Common/HeadTag.ascx" %>
Line 4<%@ Register TagPrefix="qsf" TagName="Header" Src="~/Common/Header.ascx" %>

 



  • Squiggly lines under entire Line 1. 
    Error
    'Context' is not member of 'multi_combo'  ("multi_combo" is the name of the .aspx page and collateral codebehind page)


  • Squiggly lines under entire Line 2 - 4.  Specifically all files located in the  "~/Common/<filename>.ascx"  folder.  What is the full path for these?


  • Squiggly lines under "head" in <head runat="server"> tag

 



  • Squiggly line under "headtag" in <qsf:headtag runat="server" ID="Headtag1"></qsf:headtag>  
        Error:  
       "Element 'headtag' is not a known element. This can occur if tere is a compilation error in the Web site, or the web.config file
        is missing."




  • Squiggly line under 'header' in <qsf:header runat="server" ID="Header1" NavigationLanguage="VB"></qsf:header>
       Error:  
       "Element 'header' is not a known element. This can occur if tere is a compilation error in the Web site, or the web.config file
        is missing."



  • Squiggly line under 'footer' in <qsf:footer runat="server" ID="Footer1"></qsf:footer>
       Error:  
       "Element 'footer' is not a known element. This can occur if tere is a compilation error in the Web site, or the web.config file
        is missing."




  • On the VB.Net page, every reference to a RadComboBox control (i.e.: RadComboBox1, RadComboBox2, RadComboBox3) has a squiggly line under it saying it is not declared.  How can this be when the controls are listed on the page?  Why aren't these controls recognized as 'declared' in the code behind file?
       Error:
        Name 'RadCombBox1' is not declared.
        Name 'RadCombBox2' is not declared.
        Name 'RadCombBox3' is not declared.



Thanks for your anticipated help!
R2

 

R2
Top achievements
Rank 1
 answered on 15 Jan 2009
4 answers
99 views
Hello,

In a reply to my post "Tooltip vb code does not work ", Sebastian mentioned that I may be using an older version of RadControls AJAX.  The version I downloaded on 11/28/08 (before downloading the courseware) is titled "RadControls for ASPNET AJAX Q3 2008".  Is this the latest version?

If it is not, is the new version at: http://www.telerik.com/account/free-trials.aspx and if so, does the new version overwrite the old version, or do I need to manually uninstall the controls? I would select "Automatic Installation" since I want all the controls (not Manual Installation or any other custom install listed).

Thanks!
r2
R2
Top achievements
Rank 1
 answered on 15 Jan 2009
7 answers
235 views

In the RadGrid1_ItemDataBound I have the following piece of code for displaying the number of records returned in the grids footer. 


GridBoundColumn 
recordCount = RadGrid1.MasterTableView.GetColumn("FieldOne") as GridBoundColumn;  
recordCount.Aggregate = GridAggregateFunction.Count;  
recordCount.FooterText = "<strong style='Font-size:10pt;color:red;'>Rows Returned: "
   

However, when I click to export the results to a PDF and only a PDF the error below shows up. The Excel and Word work just fine.  The style tag I added is causing this issue.... :(

Invalid XHTML. RadGrid has to render correct XHTML in order to export to PDF.
Parse error:
The 'strong' start tag on line 697 does not match the end tag of 'td'. Line 697, position 84.
at line:
<td>&nbsp;</td><td><strong style='Font-size:10pt;color:red;'>Rows Returned: 10</td><td>&nbsp;</td><td>&........

My question is how can I apply a style to the number of rows returned in my footer so the PDF export does not throw an error?  Also, is there a better place to show the number or rows returned?

Thank You!

 

Mike
Top achievements
Rank 1
 answered on 15 Jan 2009
6 answers
146 views
Hi,

You can customize the out of the box rich text editor from MOSS, please see: http://ari.provoke.co.nz/archive/2007/05/02/customising-the-richhtmlfield-styles-menu.aspx

Can the same be done using the Lite RadEditor without custom development?

Thanks,

Tony
Marja
Top achievements
Rank 1
 answered on 15 Jan 2009
1 answer
142 views
i have used radcombobox to display images with text, but its unable to display both images and text, please suggest me whats wrong in my code.
following is the code :-

<

telerik:RadComboBox ID="cmbNewShortcut" runat="server" Width="200px"

 

 

Skin="Gray" MarkFirstMatch="false" HighlightTemplatedItems="True"

 

 

ShowToggleImage="True" AllowCustomText="false" EnableLoadOnDemand="false">

 

 

<ItemTemplate>

 

 

<div>

 

 

<img src='../Images/<%# DataBinder.Eval(Container, "Attributes['ImagePath']") %>' alt="" />

 

 

<span ><%# DataBinder.Eval(Container, "Text") %></span>

 

 

</div>

 

 

</ItemTemplate>

 

 

<Items>

 

 

<telerik:RadComboBoxItem ImagePath="customer.jpg"

 

 

Text="Customer" Value="1002">

 

 

</telerik:RadComboBoxItem>

 

 

<telerik:RadComboBoxItem ImagePath="contacts.png"

 

 

Text="Contact" Value="1002">

 

 

</telerik:RadComboBoxItem>

 

 

<telerik:RadComboBoxItem ImagePath="supplier.jpg"

 

 

Text="Supplier" Value="1002">

 

 

</telerik:RadComboBoxItem>

 

 

<telerik:RadComboBoxItem ImagePath="contract.jpg"

 

 

Text="Contract" Value="1002">

 

 

</telerik:RadComboBoxItem>

 

 

<telerik:RadComboBoxItem ImagePath="product.png"

 

 

Text="Product" Value="1002">

 

 

</telerik:RadComboBoxItem>

 

 

<telerik:RadComboBoxItem ImagePath="order.jpg"

 

 

Text="Order" Value="1002">

 

 

</telerik:RadComboBoxItem>

 

 

<telerik:RadComboBoxItem ImagePath="admin.jpg"

 

 

Text="People" Value="1002">

 

 

</telerik:RadComboBoxItem>

 

 

<telerik:RadComboBoxItem ImagePath="serialno.ico"

 

 

Text="Serial No" Value="1002">

 

 

</telerik:RadComboBoxItem>

 

 

<telerik:RadComboBoxItem ImagePath="Cases.png"

 

 

Text="Case" Value="1002">

 

 

</telerik:RadComboBoxItem>

 

 

<telerik:RadComboBoxItem ImagePath="task.jpg"

 

 

Text="Task" Value="1002">

 

 

</telerik:RadComboBoxItem>

 

 

<telerik:RadComboBoxItem ImagePath="document.gif"

 

 

Text="Document" Value="1002">

 

 

</telerik:RadComboBoxItem>

 

 

<telerik:RadComboBoxItem ImagePath="invoice.png"

 

 

Text="MRN" Value="1002">

 

 

</telerik:RadComboBoxItem>

 

 

<telerik:RadComboBoxItem ImagePath="dc.png"

 

 

Text="Delivery Challan" Value="1002">

 

 

</telerik:RadComboBoxItem>

 

 

<telerik:RadComboBoxItem ImagePath="installation.png"

 

 

Text="Installation" Value="1002">

 

 

</telerik:RadComboBoxItem>

 

 

<telerik:RadComboBoxItem ImagePath="invoice.png"

 

 

Text="Invoice" Value="1002">

 

 

</telerik:RadComboBoxItem>

 

 

</Items>

 

<

CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>

 

 

</telerik:RadComboBox>

 

Veselin Vasilev
Telerik team
 answered on 15 Jan 2009
3 answers
371 views
I have a form that loops through the controls and builds a message off the input for an email.  I added some RADinput controls , and they don't appear to be found.  I can't figure out how to cast them either.  Here is an excerpt:
    <tr> 
    <td>Contact</td><td
        <telerik:RadComboBox ID="cboContact" runat="server" Skin="Outlook" Width="200px"
        <Items> 
        <telerik:RadComboBoxItem Text="Rental Manager" Selected="true" Value="1" /> 
        <telerik:RadComboBoxItem Text="Commanding Officer"  Value="2"/> 
        <telerik:RadComboBoxItem Text="Auxiliary President" Value="3" /> 
        <telerik:RadComboBoxItem Text="Membership Officer" Value="4" /> 
        <telerik:RadComboBoxItem Text="Service Officer" Value="5" /> 
        </Items> 
        </telerik:RadComboBox> 
    </td> 
    </tr> 
    <tr> 
    <td>Name</td><td><telerik:radtextbox Width="195px" id="txtName" runat="server" Label="" EmptyMessage="Your Name" Skin="Outlook" InvalidStyleDuration="100" LabelCssClass="radLabelCss_Outlook"</telerik:radtextbox></td
    </tr> 
  
  
  
    <tr> 
    <td>Phone Number</td><td><telerik:radmaskedtextbox skin="Outlook" runat="server" id="txtPhoneNumber" Mask="#########" EmptyMessage="" DisplayMask="###-##-####" DisplayPromptChar=" " /></td
    </tr> 
    <tr> 
    <td>Address</td><td><telerik:radtextbox Width="300px" id="txtAddress" runat="server" TextMode="MultiLine" Label="" EmptyMessage="Your Address" Skin="Outlook"></telerik:radtextbox></td
    </tr> 
    <tr> 
 


Code Behind on a button click:
            'build message body 
            Dim pnl As Control = Master.FindControl("form1").FindControl("contentplaceholder1").FindControl("pnlForm") '.FindControl("pnlForm") 
            Dim sMessageResponse As String = "" 
            For Each ctrl As Control In pnl.Controls 
                If TypeOf ctrl Is TextBox Then 
                    sMessageResponse += replaceText(ctrl.ID) & ":  " & DirectCast(ctrl, TextBox).Text & vbCrLf & vbCrLf 
                ElseIf TypeOf ctrl Is CheckBox Then 
                    sMessageResponse += replaceText(DirectCast(ctrl, CheckBox).Text) & ":  " & Replace(Replace(DirectCast(ctrl, CheckBox).Checked, "False", "No"), "True", "Yes") & vbCrLf & vbCrLf 
                ElseIf TypeOf ctrl Is DropDownList Then 
                    sMessageResponse += (replaceText(ctrl.ID) & ":  " & DirectCast(ctrl, DropDownList).SelectedIndex & vbCrLf) 
                ElseIf TypeOf ctrl Is RadioButtonList Or TypeOf ctrl Is RadioButtonList Then 
                    sMessageResponse += replaceText(ctrl.ID) & ":  " & DirectCast(ctrl, RadioButtonList).SelectedValue & vbCrLf & vbCrLf 
                Else 
                End If 
                '            sMessageResponse += vbCrLf 
            Next 
 
            Mailmsg.Body = sMessageResponse 
 
 
Prior to the RadInput controls, this worked perfectly.  I need to add an elseIF for the rad controls - I am using a radtextbox and a radmaskedtextbox.  I guess I am looking for DirectCast(ctrl, ?????).Text.


Rosen
Telerik team
 answered on 15 Jan 2009
1 answer
114 views
I have a custom advanced form with 3 extra text fields. I have specified these three extra text fields in customattributes property of the scheduler, and I have public properties for the user controls (set up the same as the "customized advanced form" example), however it's passing blank values. When I view the source object, the values exist, however when I put a breakpoint on the "set" of the properties...they are blank. Any idea what's going on?
Peter
Telerik team
 answered on 15 Jan 2009
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?