Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
162 views
Hi,
I'm upgrading the RadEditorMOSS solution on my environment from version 4.1.0 to 4.5.6.
There is a problem on the existing instances of the webpart "Telerik RadEditor for MOSS" v.4.1.0 after the upgrade.
They show the error:
Web Part Error: A Web Part or Web Form Control on this Page cannot be displayed or imported. The type could not be found or it is not registered as safe.

Indeed, by adding the files version 4.1.0 to the GAC.
    RadEditor.Net2.dll
    RadEditorSharePoint.dll
    RadSpell.Net2.dll
Plus safe control entries on web.config, it works again.
Is there any way to get the 'old' webparts working correctly with version 4.5.6?

Thanks for the help.
Stanimir
Telerik team
 answered on 28 Jan 2010
1 answer
100 views
Hi Telerik Team,

                  I am working with RadGrid and RadioButton, Dropdown and a RadMaskedTextBox as Columns in a User Control. Dynamically changing the Mask of RadMaskedTextBox according to the items selected in dropdown. But when i am saving the data which is incomplte of the mask (such as (143) 222-3__3) is not giving any validation. So can you please give me your suggestions on this. If any other approaches they are also welcome.


Thanks in Advance
------------------------
K RAMU
Yavor
Telerik team
 answered on 28 Jan 2010
3 answers
167 views
I have seen the examples for putting a required field validator on textboxes but the same convention does not work for the dropdowns. Here is what we have and we need to get this to work with the dropdown. There isnt a DropDownControl for us to use this with a dropdown as there is with a textbox.

Dim

 

Service As GridTextBoxColumnEditor = CType(item.EditManager.GetColumnEditor("Service"), GridTextBoxColumnEditor)

 

 

Dim YCell As TableCell = CType(Service.TextBoxControl.Parent, TableCell)

 

 

Dim rfv1 As New RequiredFieldValidator()

 

Service.TextBoxControl.ID =

"Service"

 

rfv1.ControlToValidate = Service.TextBoxControl.ID

rfv1.ErrorMessage =

"Please select a Service"

 

YCell.Controls.Add(rfv1)

http://www.telerik.com/help/aspnet-ajax/grdvalidation.html (taken from here)

Please let us know what the solution would be for this scenario to change the code above from a textbox to a dropdown. Thanks.
Yavor
Telerik team
 answered on 28 Jan 2010
4 answers
528 views
I am using RadGrid which binds a stored procedure call to 1 DataSet.  The first column of the DataSet is "Supervisor" which I have set a grouping on.  All of the Supervisors are grouping correctly and works great.  However, I would like to add a Footer row to the bottom of each section of Supervisor Groupings.  Additionally, I would like to have a summary row for the entire RadGrid at the bottom.  I've added the appropriate  RadGrid.ShowFooter,  RadGrid.MasterTableView.ShowFooter  and  RadGrid.MasterTableView.ShowGroupFooter values to true.

Finally to my question.  For each Supervisor "group" section of data being returned from the stored procedure, I have the Footer summary row with custom calculations performed in the sproc itself.  At this point, all I want to do is display the results of that sproc as the Footer.  Unfortunately, the data is presumed to be part of the GridDataItems and not a GridFooterItem.  How do I configure the sproc and the RadGrid to presume the last row of each "group" is the Footer summary row?

Thanks in advance.
Yavor
Telerik team
 answered on 28 Jan 2010
2 answers
107 views
hi all ,
          when i filter grid with special charecters (={}|[]\:";'<>?/,') script error occured.Is any option for blocking special charecters in the filter text box?
thankyou
lekha
lekha
Top achievements
Rank 1
 answered on 28 Jan 2010
1 answer
447 views

Hello
I am filling my combobox with data in this manner (I can see the DataTextField)

 

            EntityType[] entityTypes = WritingPresenter.GetEntityTypes();  
              
            this.ddlType.DataSource = entityTypes;  
            this.ddlType.DataTextField = "Type";  
            this.ddlType.DataValueField = "GUID";  
              
            this.ddlType.DataBind();  
 


I am trying to retrieve the selectedvalue via Javascript by doing this:

 

        var combo = <%=ddlType.ClientID %>;  
        returnVals.type = combo.get_value();   
 

However, when the javascript runs, I get a Microsoft JScript runtime error: Object doesn't support this property or method when it tries to get the value.

Interestingly, if I look at the html that gets generated, I do not see the dataValue:
<div class="rcbSlide" style="z-index:6000;">  
    <div id="ddlType_DropDown" class="RadComboBoxDropDown RadComboBoxDropDown_Default " style="float:left;display:none;">  
        <div class="rcbScroll rcbWidth" style="width:100%;">
            
<ul class="rcbList" style="list-style:none;margin:0;padding:0;zoom:1;">  
                <li class="rcbItem ">Passport</li> 
                <li class="rcbItem ">Individual</li>
            
</ul>  
        </div> 
    </div>     
</div> 
 
<input id="ddlType_ClientState" name="ddlType_ClientState" type="hidden" /> 

Here is the markup from the aspx page:
                    <telerik:RadComboBox ID="ddlType" runat="server" Width="100%">  
                    </telerik:RadComboBox> 
 

Do I need a few more properties on my RadComboBox to get this working?

Shinu
Top achievements
Rank 2
 answered on 28 Jan 2010
2 answers
133 views
Hi. Is it possible to have more than one expand item per panel item? Example, say I have a RadPanelBar with three RadPanelItems named Cars, Trucks and Buses. Next to Cars I would like a LinkButton that reads "New" and next to that "Used". So, clicking on the default "Cars" would display all the cars, the "New" would list just new cars and "Used" would display used cars. How would I pass onto a RadMultiPage what the user has clicked? Thanks.

Daniel
Daniel
Top achievements
Rank 1
Iron
Iron
Iron
 answered on 28 Jan 2010
1 answer
285 views
Hi,
I am using tab strip and multiview panels for my tabs controls
I have 7 tabs in tabstrip and 7 mutiview.
After what I wanted to do on the first tab and multiview things were working.
when i added the functionality on the 2nd multiview things were working as well. but as soon as I added the required field validators and ran the applicaiton, no error no nothing.  But  now I can't switch tabs. tabs are stand still.

Just to check I removed validaitons control and checked again. Everything started to work fine.  So I don't know what is the problem.

Also,  I dont have causevalidation off  on the tabstrip,
Thanks,
Poul Henningsen
Top achievements
Rank 1
 answered on 27 Jan 2010
2 answers
165 views
Hi, 
  
    We are looking for a drag and drop operation with RAD controls in our application. I could see that drag and drop is possible between 
1) nodes of a tree view. 
2) between trees
3)  Tree to HTML elements.

Regarding the 3rd point, HTML elements in the sence is it allowed to drag and drop to all HTML elements or is it allowed to drop only on any specific controls ?  I tried dropping a tree node in to a RadGrid and Textbox, it worked on both. But, when tried to drop on a button placed inside a grid, it doesn't seem to work when the mouse focus is on the button.

  1) I would like to drop a node on a button control. Is this possible by any means ? or
  2) Can i get a complete list of controls where the nodes can be dropped ?!

Thanks & Regards,
Karthik.
Joshua Holt
Top achievements
Rank 2
 answered on 27 Jan 2010
3 answers
156 views
I'm using a web-service to pull data from a SharePoint list which is then cleaned up and bound to a Rotator. During debug I can see that the XML is clean, and when checking the rendered source I can see that there are the appropriate number of items generated. The dummy text 'Boo!' even rotates twice as expected. However, I cannot seem to bind to the underlying elements such as <%# XPath("title") %>.

Generated XML (sw)
<?xml version="1.0" encoding="utf-16"?> 
<newsfeed xmlns="http://schemas.microsoft.com/sharepoint/soap/"> 
  <article> 
    <title>Some Text here.</title> 
    <author>Smith, Steve</author> 
    <created>2008-02-04 16:28:43</created> 
    <body>Some Text here.</body> 
  </article> 
  <article> 
    <title>Some Text here.</title> 
    <author>Doe, John</author> 
    <created>2010-01-21 14:10:10</created> 
    <body>Some Text here.</body> 
  </article> 
</newsfeed>



Code behind
// code to retrieve and transform webservice feed above here 
XmlDataSource1.Data = sw.ToString(); 
rr_TacNews.DataBind(); 

ASPX
    <asp:XmlDataSource ID="XmlDataSource1" runat="server"></asp:XmlDataSource> 
    <div id="webpane"> 
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server"> 
        </telerik:RadScriptManager> 
        <telerik:RadRotator ID="rr_TacNews" runat="server" ScrollDirection="Left" FrameDuration="10000" 
            Height="800px" Width="100%" ForeColor="White" DataSourceID="XmlDataSource1"> 
            <ItemTemplate> 
                <div style="width: 576px; padding: 12px;"> 
                Boo! 
                    <asp:Label ID="Label1" runat="server" Text='<%# XPath("title") %>'></asp:Label><br /> 
                    <asp:Label ID="Label2" runat="server" Text='<%# XPath("author") %>'></asp:Label><br /> 
                    <asp:Label ID="Label3" runat="server" Text='<%# XPath("created") %>'></asp:Label><br /> 
                    <asp:Label ID="Label4" runat="server" Text='<%# XPath("body") %>'></asp:Label> 
                </div> 
            </ItemTemplate> 
        </telerik:RadRotator> 
 

Any ideas?



Mike
Top achievements
Rank 1
 answered on 27 Jan 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?