Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
83 views
Hi Guys,

We have a query about use of the RadPrompt & RadAlert and if they are the correct control to use. We have investigated and used the forums unsuccessfully to be able to figure it out thus far.

We have a C# function that runs on a user pressing a button. Within the C# function the first section performs some validation, based on the validation we want to be able to prompt a user with a message and give them the option to continue or cancel.

Hard part is we want the C# code to stop processing when they are prompted and based on their response continue on through the function.

So far we have got a RadPrompt that comes up but we have noticed that by the time it is up on the screen the function has actually already finished its processing which makes the users choice pointless.

Let me know what you think and if there is a better control for us to use.

Regards,
Justin 
Marin Bratanov
Telerik team
 answered on 18 Sep 2012
2 answers
171 views
I have been playing around with the new Metro Touch skin and having great success.

I am curious as to the font families used, as well as the sizes and any other CSS embellishments. (if any)

I tried to reverse-engineer from Visual Style Builder, but it's apparently too soon to use this skin as a base for a new one, as it is not listed.

Can anybody tell me how to determine the fonts used by this or any other skin?

I don't see any options in Style Builder, so maybe all of the attributes are inherited from the base CSS that I would define.

Basically what I want to do is to make sure that my menus and other controls match the text fonts in the site.

The solution may be obvious to many, but I don't see where I should look...
Tomica
Top achievements
Rank 2
 answered on 18 Sep 2012
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
119 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
71 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
72 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
87 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
62 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
137 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?