Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
74 views
HI All,

Can anybody assist me on the below error,

<

telerik:RadScriptManager ID="sm1" runat="server" />

 

Kate
Telerik team
 answered on 05 Sep 2012
4 answers
123 views
Hi there,

I'm using the RadEditor for ASP.net from the 2012.1.215.40 Release with SpellChecking enabled in a .Net 4.0 Web Application.

The scenario is that various web servers should use the same dictionaries (especially to share the custom dictionaries).

Everything works fine as long as the dictionary folder resides on the same server. But spell checking fails when it is on a different one.

DictionaryPath is set like "\\server-name\share", same on all systems.

Error Message in Response and EventLog is:

No dictionary loaded. Set the DictionaryPath property from the spell checker settings or copy the dictionaries to ~/App_Data/RadSpell/

The share's security settings are lowered by now to "Everyone" having full access.

Any suggestions on how to set this up correctly or how to find the proper cause for the error?

Kind regards,
Markus
Markus Wolff
Top achievements
Rank 1
 answered on 05 Sep 2012
1 answer
90 views
Hello

I only find CTP setup for dowloading on Telerik website. Where or how do I get the official release of SharePoint 2010 Acceleration Kit?

Thank you and regards,
Roger
Rumen
Telerik team
 answered on 05 Sep 2012
1 answer
131 views
Hi,

I have the following XML:

<foo>
  <bar>
    <abc label="bar: 1"><![CDATA[Guiness]]></abc>
    <def>1234</def>
  </bar>
  <bar>
    <abc label="bar: 2"><![CDATA[Heineken]]></bar>
    <def>4567</def>
  </bar>
  ...
</foo>


This XML is loaded into a datasource using an XPath expression:

myXML.XPath = "/foo";

I now would like to use a radGrid to store all the info of the child-nodes of bar. In the example XML above, this would be the abc and def nodes, though the actual amount of them might differ. I'd like to have the individual child nodes of the bars displayed as columns.

So the desired outcome would be a grid displaying:

bar..........abc..........def
1............Guiness...1234
2............Heineken..4567

I tried directly binding to the XML, and played around with different XPAth statements trying to get things to work, but ended up with an error: Cannot find any bindable properties

Any ideas?

Thanks in advance!

Peter
Antonio Stoilkov
Telerik team
 answered on 05 Sep 2012
5 answers
131 views
I'm trying to populate a DropDownList on my editform (automatically generated), the only fancy thing is that I have 4 options to choose from and i dont want to create a table in a db just to bind it to that.

 <telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" CellSpacing="0" GridLines="None" PageSize="20" Skin="Forest">
                   <Columns>
<telerik:GridBoundColumn HeaderText="Discount" UniqueName="ColDiscount" />
        <telerik:GridDropDownColumn HeaderText="
Type" UniqueName="ColDType" >
</Columns>    
 </telerik:RadGrid>


CodeBehind:

Protected Sub RadGrid1_onitemdatabound(sender As Object, e As GridItemEventArgs) Handles RadGrid1.ItemDataBound
        If e.Item.IsInEditMode Then
            Dim item As GridEditableItem = DirectCast(e.Item, GridEditableItem)
            If Not (TypeOf e.Item Is IGridInsertItem) Then
                Dim combo As RadComboBox = DirectCast(item.FindControl("ColDType"), RadComboBox)
                Dim selectedItem As New RadComboBoxItem()
                selectedItem.Text = DirectCast(e.Item.DataItem, DataRowView)("ColDType").ToString()
                selectedItem.Value = DirectCast(e.Item.DataItem, DataRowView)("ColDType").ToString()
                selectedItem.Attributes.Add("coldtype", DirectCast(e.Item.DataItem, DataRowView)("ColDType").ToString())
                combo.Items.Add(selectedItem)
                selectedItem.DataBind()
            End If
        End If
    End Sub



i tried this.
I tried populating it in the handler of the RadGrid1.ItemDataBound event and tried to find the dropdown control with DirectCast(item.FindControl("ColDType"), RadComboBox), but it came back as null so yeah, thats a thing. It couldn't find a ComboBox named ColDType on the autogenerated edit forms. Thats my best guess.

Your help is appreciated, thanks.
Shinu
Top achievements
Rank 2
 answered on 05 Sep 2012
4 answers
99 views
Hi,
I am using RadContextMenu on RadGrid.

I have a little problem with selection row. When I activate context menu with right click on grid, that row select which is fine.
But when I select another row previous row is still selected. 

How do I deselect that row?

thank you,
Jan
Jan
Top achievements
Rank 1
 answered on 05 Sep 2012
1 answer
89 views
Hi,
I have a radgrid that is opening a new radwindow when i click on any row using this code...

Protected Sub RadGrid1_SelectedIndexChanged(sender As Object, e As EventArgs) Handles RadGrid1.SelectedIndexChanged
    If RadGrid1.SelectedItems.Count > 0 Then
        For Each item As GridDataItem In RadGrid1.SelectedItems
            Dim strid As String
            strid = item("UniqueID").Text
            Session("Selected") = "Selected"
            Session("ID") = strid
            'Response.Redirect("MessageForm1.aspx")
            'Dim script As String
            'script = "<script type='text/javascript'>"
            'script += "Message();"
            'script += "</" + "script>"
            'InjectScript.Text = "<script type='text/javascript'>Return Message();</" + "script>"
            Dim newwindow As New RadWindow
            newwindow.NavigateUrl = "MessageForm1.aspx"
            RadWindow1.Windows.Add(newwindow)
            newwindow.Width = Unit.Pixel(600)
            newwindow.Height = Unit.Pixel(650)
            newwindow.Title = "Message"
        Next
    End If
End Sub
This works fine, except one thing...
It runs twice which gives me two instances of "newwindow"

how do i stop it running twice?
Thanks
Ryan
Radoslav
Telerik team
 answered on 05 Sep 2012
6 answers
210 views
I want bind record in radmenuitem through server side take from data base ,
And also i want find in page load ,

  
<MasterTableView  AllowFilteringByColumn="true" IsFilterItemExpanded="false" HeaderStyle-Width="200px" ItemStyle-Width="200px" CommandItemDisplay="Top" DataKeyNames="lid"  ClientDataKeyNames="lid" Width="100%">
           <CommandItemTemplate>           
               <div style="padding: 5px 0px 5px 7px; text-align: left; font-weight:bold;">
               <span class="gridHeaderTitle">
                   <i><telerik:RadCodeBlock ID="RadCodeBlock2" runat="server"><%= Resources.People.People_List %></telerik:RadCodeBlock></i>
                   </span>
               <table>
               <tr>
               <td align="left">
               <!--#include file = ../Shared/gridHeaderTemplates_Layout.htm-->
               </td>
               <td>
               <telerik:radbutton enablesplitbutton="true" id="SplitButton" autopostback="false"
                   runat="server" text="Transfer Item" onclientclicked="OnClientClicked">
               </telerik:radbutton>           
               <telerik:radcontextmenu id="RadContextMenu1" runat="server" OnClientItemClicked="OnClientItemClicked">
               <Items>
                   <telerik:RadMenuItem id="Temp" >
                   </telerik:RadMenuItem>
               </Items>
           </telerik:radcontextmenu>
               </td>
               </tr>
               </table>                 
               </div>
                
           </CommandItemTemplate>
           <Columns>                                                         
               <telerik:GridClientSelectColumn HeaderStyle-Width="6%" HeaderStyle-HorizontalAlign="Center">
                   <ItemStyle HorizontalAlign="Center" BorderStyle ="None" />
               </telerik:GridClientSelectColumn>                          
           </Columns>               
       </MasterTableView>


Thanks Advance,
Mohamed.
mohamed
Top achievements
Rank 1
 answered on 05 Sep 2012
1 answer
94 views
hello ...
i am here to know is this possible to work with Rad controls( chart controls) in .net because earlier i used this controls in Windows phone.Is it possible to do same thing in .net.

Thank you
Princy
Top achievements
Rank 2
 answered on 05 Sep 2012
1 answer
114 views
I have a situation where I need to allow things to be dragged from one TreeList to another.  Additionally, in the 2nd TreeList I need to be able to reorder the items by dragging and dropping.  I haven't been able to find anything yet on drag and drop capability for the Treelist so I was wondering if anyone has done drag and drop of this sort or whether it's supported, etc.

Thanks in advance for any info.

Steve
Princy
Top achievements
Rank 2
 answered on 05 Sep 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?