Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
199 views

Hello,

Apparently the default ViewMode for the RadEditor ImageManager for SharePoint 2010 is now set as "Thumbnail". The problem is that our clients got used to the "Grid" view displayed as default in the SharePoint 2007 edition.

I'm looking for a simple solution to set the property via the ConfigFile.xml but I can't manage to find one. According to your help page (http://www.telerik.com/help/aspnet-ajax/moss-sp2010-image_manager.html), it seems that it's not possible to change it using the configuration file.

Is there another way to change it or did I miss something ?

Regards,

L.A.

Rumen
Telerik team
 answered on 18 Sep 2012
2 answers
117 views
How do you disable and grey out a grid in javascript?

Thanks in advance

K
Kevin Cauchi
Top achievements
Rank 1
 answered on 18 Sep 2012
0 answers
83 views
hello,
I use Telerik for display search result when the user drag the marker on Google map.
www.forrentproperties.com   /list/holiday-rentals/viewsearch/customfieldids/4
All work fine on IE, Safari, Chrome but not on firefox (15.0.1).
I attach the capture screen.
Can anyone help me ?
Thank you
Manu

Emmanuel
Top achievements
Rank 1
 asked on 18 Sep 2012
0 answers
70 views
hello,
I use Telerik for display search result when the user drag the marker on Google map.
http://www.forrentproperties.com/list/holiday-rentals/viewsearch/customfieldids/4?searchvalues=0%7c20000
All work fine on IE, Safari, Chrome but not on firefox (15.0.1).
I attach the capture screen.
Can anyone help me ?
Thank you
Manu

Emmanuel
Top achievements
Rank 1
 asked on 18 Sep 2012
3 answers
71 views
I have a grid with no paging enabled and no PageSize indicated, and I discovered that when there are more than 10 rows in the grid (the default page size?), the first 10 items display fine and the rest of the rows just display narrow and blank zebra striping.  (See attachment.)

This is a grid where I programmatically put every row into edit mode.  I've not observed this behavior with other grids I am using.

Is this expected behavior?  A known issue?  The workaround is easy enough; I just set the PageSize to a sufficiently large number.  But it seems to me that PageSize should be ignored if paging is not enabled. 

Andrey
Telerik team
 answered on 18 Sep 2012
1 answer
86 views
Hi

I have a requirement to prevent moving to the next page in my Custom paging code if the current data isn't 'valid'.

Is this even possible.
Eyup
Telerik team
 answered on 18 Sep 2012
1 answer
61 views
dear friends,

I need a working sample that shows me if radeditor changed or not. I cannot simply use "if radeditor1.changed then savecontent" command. there are many possibilities and solutions of the forum. keydown event is first to control, copy paste, menu events etc. there are several solutions but nobody posted a fully functional example. I coluldn't manage combine all of them: can somebody help me please, I'm going crazy for 2 days. isnt there a simple way to learn if user changed the content of radeditor ? it cannot be so hard. I'm ready to accept that I'm an idiot but couldnt make it.

best regards...

(to admins: I posted code library section by mistake, sorry)
Rumen
Telerik team
 answered on 18 Sep 2012
5 answers
136 views
Hi, ive added a custom button to my FileExplorer toolbar and want to make it a ExplorerMode switcher using Ajax refreshing. Im unable to make it work correctly but i think im very close. When I click the button, the ExplorerMode property changes (when looking in RadAjaxManager1_AjaxRequest) but nothing happens visually. Here's the code:

<telerik:RadFileExplorer runat="server" ID="RadFileExplorer1" Skin="WebBlue" Width="99.7%" Height="250px" AllowPaging="true" PageSize="50" ExplorerMode="Default" CssClass="rfeLargeThumbnails" EnableFilterTextBox="true" EnableFilteringOnEnterPressed="false" FilterTextBoxLabel="Filter By"  meta:resourcekey="labFilterBy" DisplayUpFolderItem="false"  OnClientFileOpen="OnClientFileOpen" OnClientLoad="attachHandlers">
    <Configuration EnableAsyncUpload="true" MaxUploadFileSize="10485760" />
</telerik:RadFileExplorer>

function toolbarClicked(toolbar, args) {
    var buttonValue = args.get_item().get_value();
 
    if (buttonValue == "ViewMode") {
        var ajaxManager = $find("<%= RadAjaxManager1.ClientID %>");
        ajaxManager.ajaxRequest("RadFileExplorer1_ViewMode");
    }
 
}
 
function attachHandlers(explorer, args) {
   
    var toolbar = explorer.get_toolbar();
    toolbar.add_buttonClicked(toolbarClicked);
}
 protected void Page_Load(object sender, EventArgs e)
        {

            if (!IsPostBack)
            {
  RadToolBarButton customButton =
new RadToolBarButton("ViewMode");
 customButton.CssClass = "custom_button";
 customButton.Value = "ViewMode";
 customButton.Text = "View Mode";
 RadFileExplorer1.ToolBar.Items.Add(customButton);

     }
}

protected void RadAjaxManager1_AjaxRequest(object sender, AjaxRequestEventArgs e)
       {
           if (e.Argument == "RadFileExplorer1_ViewMode")
           {
               if (RadFileExplorer1.ExplorerMode == Telerik.Web.UI.FileExplorer.FileExplorerMode.Default)
               {
                   RadFileExplorer1.ExplorerMode = Telerik.Web.UI.FileExplorer.FileExplorerMode.Thumbnails;
               }
               else
               {
                   RadFileExplorer1.ExplorerMode = Telerik.Web.UI.FileExplorer.FileExplorerMode.Default;
               }
 
           }
       }

Can someone let me know what im doing wrong. It can become a nice feature to share to other members if this can work.

TIA
Vessy
Telerik team
 answered on 18 Sep 2012
1 answer
95 views
Hi,

I am using VS 2008, i want to reproduce the wizard example from http://demos.telerik.com/aspnet-ajax/tabstrip/examples/applicationscenarios/wizard/defaultcs.aspx link in my code. 
When i fill the personal data and click Next it gives me the error on IE9 saying, 
Error: Sys.WebForms.PageRequestManagerServerErrorException: Object reference not set to an instance of an object. 
On mozilla it doesn't give any error and won't show any data in the Preview Control as well not go to the next step. 

Help appreciated.
Thank You. 
Nencho
Telerik team
 answered on 18 Sep 2012
1 answer
70 views
Hi there,

I am using the Telerik Ajax chart component to display two data series: the first series is a bar series showing some key figure values for specific points in time. The second series shows a target value for each key figure / bar. This is to illustrate whether each key figure value lies above or beneath the defined target value.

Therefore I created the second series as point series, defining the "point" as rectangle of 2px height and 25px width.

For some reasons sometimes the points of this second series seem to be invisible. You can see their label and debugging tells me that they should be visible but you just cannot see them. I used to set the rectangle height to 1px and when I was first facing this problem. So I changed it to 2px. My problem seemed to be solved. Now I found a use case where even the increased rectangle height does not solve the problem.

I am creating the series "manually" in code.

Can you think of any reason the described could happen? What may I be doing wrong?

Thanks a lot in advance,
Simone
Petar Kirov
Telerik team
 answered on 18 Sep 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?