Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
132 views
Hi,
in my menu with submenus I observed a strange situation:
when I move cursor over menu item, submenu appears, but there is a space between menu and its submenu:
http://img402.imageshack.us/img402/3011/menu1.jpg

But when I move cursor again over menu item, it's ok:
http://img147.imageshack.us/img147/3677/menu2s.jpg

I don't set any offsets and I have a custom skin.
Could You help me?



Paul
Telerik team
 answered on 29 Apr 2009
2 answers
151 views
Hi there, I am using the black skin from Q1 2009. When I set ToolbarMode="ShowOnFocus", the background color behind the buttons in the toolbar becomes white. It also appears on your demo - http://demos.telerik.com/aspnet-ajax/editor/examples/toolbarmode/defaultcs.aspx.

I have disconnected the global stylesheet as well as the contentarea style sheet but it does not change anything. Is there are way to ensure that the toolbar background stays black when the ToolbarMode is "ShowOnFocus"?

Thanks
Stewart Ellis
Top achievements
Rank 1
 answered on 29 Apr 2009
1 answer
167 views
While binding data to RadTreeView I am getting an error 
"These columns don't currently have unique values."

Below is the dataset which I am binding to RadTree

ParentID    ChildID    Label    Visible    Type
NULL             1 Category true Category
NULL 2 Brand true Brand
NULL 3 SubBrand1 true SubBrand1
NULL 4 SubBrand2 true SubBrand2
1 1_52 1_Consumer false Category
1 1_53 1_Business false Category
1 1_54 1_Total false Category
1 1_72 1_Sprint false Category
1 1_73 1_Nextel false Category
1 1_189 1_SprintNextel true Category
1 1_190 1_ATTCingular true Category
1 1_191 1_ATT true Category
1 1_192 1_Cingular true Category
1 1_193 1_TMobile true Category
1 1_194 1_Verizon true Category
2 2_137 2_Sprint false Brand
2 2_138 2_Nextel true Brand
2 2_224 2_Business true Brand
2 2_225 2_Consumer true Brand
2 2_226 2_Total false Brand
3 3_246 3_Wireless true SubBrand 1
4 4_194 4_Total true SubBrand 2
Atanas Korchev
Telerik team
 answered on 29 Apr 2009
10 answers
271 views
When I try to upload a file larger than the MaxFileSize I get a .net error page with "Value does not fall within the expected range."  I don't want the user to get this.  I want the user to get a message on the upload screen.  How do I test for this before it throws the error?
Genady Sergeev
Telerik team
 answered on 29 Apr 2009
1 answer
191 views
I've moved the "Skins" folder to "/Content/Skins" and the Skin stopped working I've tried to add Skin Property but still no god results.

<telerik:RadMenu CausesValidation="false" ID="RadMenu1" runat="server" Skin="Site"
     SkinPath="/Content/Skins/" EnableEmbeddedSkins="false" DataSourceID="siteMapDataSource">
</telerik:RadMenu>


Telerik is not defined
Sys.Application.add_init(function(){... null, null, $get("ctl00_RadMenu1"));});
Paul
Telerik team
 answered on 29 Apr 2009
2 answers
195 views
How do I center the vertical alignment of the filter icon?



Thanks,
Khanh
Khanh
Top achievements
Rank 1
 answered on 29 Apr 2009
1 answer
88 views
Hello, 

I am binding a treeview to an xml which looks something like this

<Tree id="treeroot">
  <Node id="1" Expanded="true" Text="Selected Fields" Checkable="false">
    <Node id="Addresses" Text="Addresses" Expanded="true" Checkable="false" allowMultipleChildren="5">
      <Node id="FieldedAddress" Text="Fielded Address" ToolTip="fielded address" Checkable="true" AllowDrop="false">
        <Node id="FieldedAddress_HouseNumber" Text="House Number" Checkable="false" AllowDrop="true"/>
        <Node id="FieldedAddress_FractionalHouseNumber" Text="Fractional House Number" Checkable="false" AllowDrop="true"/>
      </Node>
   </Node>
 </Node>
</Tree>

Is there a way to specify max number of children that can be dropped for certain nodes?
if i have an attribute called "allowmultiplechildren" whose value is 5 in the xml, is there a way that i could use that value in the onNodeDropping event?? I am trying to convert an existing xml into the format accepted by tree view. wondering if i could keep some of the xml attributes intact and use them somehow on the dropping event??

Thank you,
Chandana

Atanas Korchev
Telerik team
 answered on 29 Apr 2009
1 answer
91 views
Hi all,
in Q3 2008 version of grid, i can set FilterMenu skin using this method:

SkinFile.skin
<telerik:RadGrid runat="server" 
                    Skin="Directio" 
                    EnableEmbeddedSkins="false" 
                    ImagesPath="~\App_Themes\Default\RadSkins\Directio\Grid">                    
                    <FilterMenu Skin="Office2007" EnableEmbeddedSkins="True" /> 
</telerik:RadGrid>  

but whit new version Q1 2009 this don't work.

Any suggestions?

Thank in advance,
best regards

Flavio


Dimo
Telerik team
 answered on 29 Apr 2009
7 answers
109 views
Hi we're using the radeditor voor MOSS version 5.3.2.

And we have 2 problems with the managers.

1. We want to use libraries on the top site collection for getting images. Using the information on this site i put  ~/PublishingImages in the configfile.xml. The library name is correct but still when i open the image manager, He can't find that path.

2. In the flashfilter when I use <item>*.sw*</item> my .swf file isn't shown when I open the flashmanager, but when i use the filter <item>*.swf</item> it is shown.

<configuration> 
  <property name="EditModes">Design,Preview</property> 
  <property name="ToolbarMode">Default</property> 
  <property name="Skin">Telerik</property> 
  <property name="Width">740px</property> 
  <property name="CssFiles"
            <item>\wpresources\RadEditorSharePoint\5.3.2.0__1f131a624888eeed\Resources\CssEditor.css</item> 
  </property> 
  <property name="ImagesPaths"
         <item>PublishingImages</item> 
        <item>~/SiteCollectionImages</item> 
  </property> 
  <property name="DocumentsPaths"
   <item>Documents</item> 
  </property> 
  <property name="DocumentsFilters"
   <item>*.*</item> 
  </property> 
  <property name="FlashPaths"
   <item>/Flash Library</item> 
</property> 
<property name="FlashFilters"
   <item>*.sw*</item> 
</property> 
<property name="MaxDocumentSize">100000</property> 
  
</configuration> 
  

Stanimir
Telerik team
 answered on 29 Apr 2009
4 answers
348 views
Hi, I have added dropdownlist for the each raws in a radgrid. I have managed to add "low,normal and high options  inside the dropdownlist but". I can not get the selected value. in the dropdownlist. I used the code below;

Protected Sub RadGrid1_ItemDataBound(ByVal sender As Object, ByVal e As Telerik.WebControls.GridItemEventArgs) Handles RadGrid1.ItemDataBound


        If TypeOf e.Item Is Telerik.WebControls.GridDataItem Then
            Dim item As Telerik.WebControls.GridDataItem = DirectCast(e.Item, Telerik.WebControls.GridDataItem)
            Dim ddl As DropDownList = DirectCast(item("Temp").FindControl("DropDownList1"), DropDownList)
            
            ddl.Items.Add("Low")
            ddl.Items.Add("Normal")
            ddl.Items.Add("High")
           

            MsgBox(ddl.SelectedValue)
          
           End If


    End Sub

ddl.SelectedValue only gives me the Low option, when i run the page but when i select normal or high or low again. It doesnt seem to be doing anything so i also added the code below.

Protected Sub RadGrid1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles RadGrid1.SelectedIndexChanged
        MsgBox(ddl.SelectedValue)
    End Sub

But still no use. So is there a way of getting the selected item of the dropdownlist in radgrid?




Tsvetoslav
Telerik team
 answered on 29 Apr 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?