Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
136 views
I have written a custom content provider for RadFileExplorer, and have been pretty happy with the results, with one little caveat, and that is the ability to specify an icon for the files.

I create my FileItems, and everything is working fine, except for the icon. I am essentially doing this:

new FileItem(
    "123456789",                  // name
    ".aspx",                      // extension
    0,                            // size
    "123/456/789",                // path
    "Handler.aspx?sid=123456789", // url
    null,
    PathPermissions.Read)

It seems to me that specifying the extension field of the FileInfo object should be sufficient to decide what icon is displayed if it is has been specified, and the control can look elsewhere if it is not.  I am using the same semantics as Path.GetFileExension() used in the samples.  If this isn't used to specify the icon, what in the heck is it used for?

The only way I can get the icon to appear is to put the file extension at the end of the name.  I do not want the file extension to appear as part of the the file name.  This seems like very odd behavior given that the extension is specified explicitly.  Is this a bug?
Joel Kraft
Top achievements
Rank 2
 answered on 13 Dec 2010
3 answers
77 views
Dear,

We currently using Telerik in our development. and we planning to migrate our servers, developpers and users PCs from from office 2000 to office 2007.

We wonder if there is any impact on our product already developed or those to be developed?
we would like your confirmation for Export function that we use with telerik, is't built-in and independant from Excel or is it depend on our office version that is installed on our servers?
Thanks for your support and help.

Iana Tsolova
Telerik team
 answered on 13 Dec 2010
4 answers
145 views
I keep my radEditor configuration in a.skin file. I have tried to set the allowed file extensions in the skin file using this syntax:

<DocumentManager UploadPaths="~/Docs" ViewPaths="~/Docs" DeletePaths="~/Docs" MaxUploadFileSize="1100000" SearchPatterns="*.doc,*.txt,*.docx,*.xls,*.xlsx,*.pdf,*.zip"/>

It does not work. I use the radEditor in multiple locations within the site, so I do not want to set the searchPatterns for each instance. How can I achieve this?

Thanks
Stewart Ellis
Top achievements
Rank 1
 answered on 13 Dec 2010
4 answers
134 views

Hi,

We have a strange behavior with the target attribute on links: 
- When we add a link in HTML mode an specify a target attribute other than "_blank" then switch to the Preview mode and back to the HTML mode, the attribute is renamed original_target=... and a new target attribute is added an it's value is always "_blank". Lik this:

<a href="http://www.google.com/" target="_blank" original_target="_top">www.google.com</a>

We had this issue while using version 5.7.1 and we've been told to upgrade to 5.8.4 but after the upgrade the problem is still present.

What should I do ?

Sébastien Nunes
Top achievements
Rank 1
 answered on 13 Dec 2010
1 answer
103 views
Hi,

just wanted to expand my panelbar client side and found the code in the online documentation. But it didn't work, but i i found another working way.

- not working:

http://www.telerik.com/help/aspnet-ajax/panel_clientsidebasics.html

function expandItem(text)
{
var panelBar = $find("<%= RadPanelBar1.ClientID %>");
var item
= panelBar.findItemByText(text);
if (item)
{
  
item.expand();
}
else
{
  
alert("Item with text not found.");
}
}


- working:

function ExpandPanelBarItem()
            {
                var panelBar = $find("<%= RadPanelBar1.ClientID %>");
                panelBar.get_allItems()[0].expand();
            }

(Care -> in this example this is enough because its just 1 panelbaritem in the panelbar which i want to be opened.)

- Mario
Yana
Telerik team
 answered on 13 Dec 2010
3 answers
130 views
Hello,

I am grouping my appointments by a resource: 'Rooms'.

There are three Rooms and when I insert an appointment in say, 'Mr. Smith's Room', I want to be able to obtain the value: 'Mr. Smith's Room' in my 'OnClientAppointmentInserting' function.

How can I achieve this?

Regards,
Anthony
Anthony
Top achievements
Rank 1
 answered on 13 Dec 2010
3 answers
2.4K+ views
I am using Custom Dropdown Filter for a template comun in detail grid , the dropdown is coming fine but when i selected value to filter i am getting the below error
Unable to cast object of type 'System.Web.UI.WebControls.TextBox' to type 'Telerik.WebControls.RadComboBox'.
the same thing working fine with parent grid but failing in Detail Grid.

Can anyone help me to resolve this issue.
Radoslav
Telerik team
 answered on 13 Dec 2010
3 answers
229 views
Hi,

When i am using add and edit in radgrid i am using Validation summary. validation summary showing error message correctly. but the image has been displayed. i want display error message in bulletList mode without image.

How to i get this validationSummary in BulletList without Image.


Here this is the code what i am using,

 <asp:ValidationSummary ID="vsDepError" runat="server" Font-Names="Verdana" Font-Size="8pt"
                                            Style="text-align: left" DisplayMode="BulletList" ValidationGroup="ValidateDep" />

And also i have attached image.

Please give me a tips.

Thanks in Advance,
Dhamu
Dhamodharan
Top achievements
Rank 1
 answered on 13 Dec 2010
1 answer
75 views
Hi,
I am new to telerik. Is there is a way to directly get an array of unselected nodes in clientside without doing get_allnodes()-get_selectednodes();
Is there is a way like get_unselectednodes()?
Thanks.
Dimitar Terziev
Telerik team
 answered on 13 Dec 2010
1 answer
81 views
Hello

Good Day!

I have a problem with my RadEditor when we use Spelling Checker.
The problem is that when I press the Spelling Checker toolbar, the height of the Editor adjust. It will make its height bigger but i have seen in a demo:

http://demos.telerik.com/aspnet-ajax/editor/examples/spellchecker/defaultcs.aspx

that when i press the Spelling checker, the content of the editor adjust. This is very helpfull for me since i dont want to adjust its height during Spelling Checking...

Thanks you

Erwin


Rumen
Telerik team
 answered on 13 Dec 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?