Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
111 views

Hi,

I setup a RadListView to allow the user the drag and drop to re-order the items.  The scrollable items are <div> items inside of another <div> container.

If there are more items than screen, the <div> container displays a scroll bar, but when I drag an item, it does not scroll.

Is there a way to do this?

Maria Ilieva
Telerik team
 answered on 14 Mar 2016
1 answer
248 views

Thanks for the last reply I am not a we bit futher on I am building a custom provider list for the date times but what I have not been able to figure out is how to match dates that have already been inputed in my table i am using appointments from radsechulre i am trying to check dates in the db though that are stored in datetime values but when I try to set the custom value that you suggest here is some of my code.

 

 

On My drop down of managers I am going out to the function as so. So What i need be able to do is set a pre definined block times and intervals and two remove any time thats been saved in the db already.

 

  

1.protected void rdManagers_SelectedIndexChanged(object sender, Telerik.Web.UI.DropDownListEventArgs e)
2.        {
3.            customDatePickerProvider _timePickerValues = new customDatePickerProvider(new Guid(e.Value), Convert.ToDateTime("09:00"), Convert.ToDateTime("18:00"));
4.            rdStarDate.TimeView.CustomTimeValues = _timePickerValues.BuildTimeList(true, new Guid(e.Value), Convert.ToDateTime("09:00"), Convert.ToDateTime("18:00"));
5.        }
6. 
7.01.
8.public D

01.public DateTime[] BuildTimeList(Boolean removeList, Guid managerID, DateTime startDate, DateTime endDate)
02.      {
03.          var q = _dal.checkDatesAvailabilty(managerID).ToList();
04.          if (q != null)
05.          {
06.              DateTime[] timesForPicker = new DateTime[] { new DateTime(2012, 12, 15, 12, 10, 10), new DateTime(2012, 12, 15, 5, 6, 3), new DateTime(2012, 12, 15, 3, 8, 11) };
07. 
08.              Array.ForEach(q.ToArray(), l =>
09. 
10.              {
11.                  //we want to try and parse the date out of the prenset list here we going to use the date range function to create a list of dates
12.              });
13.              return timesForPicker;
14.          }
15.          return null;
16.      }

Viktor Tachev
Telerik team
 answered on 14 Mar 2016
0 answers
549 views
Along with our long-term vision to achieve visual consistency among the build-in skins of our controls, the Metro and MetroTouch skins for RadMenu in Lightweight RenderMode have been improved with the Q1 2016.1.225 SP1 release.

The changes implemented are as follows:
  • The background and the border colors of the root group of items have been changed from blue to gray;
  • The foreground color of the items has been changed from white to dark-gray;
  • The left border color of the menu items has been changed from light-blue to gray;
  • The borders of the root links inside menu items have been removed;
  • The line-height of the root links has been removed. Top and bottom padding has been added on its place (this change is valid only for MetroTouch skin);
  • Background and foreground colors have been added to the root link on hover;

In addition to the above, the predefined font for almost all skins has been removed.

In some cases, these changes could result in undesired change of look and feel of the RadMenu. In order to revert back the styling of the control to its MetroTouch look from before the Q1 2016.1.225 SP1 release, one could apply the following CSS rules:
html .RadMenu_MetroTouch {
    font-weight: 100;
    font-size: 16px;
}
 
html .RadMenu_MetroTouch .rmRootGroup {
    border-color: #25a0da;
    background-color: #25a0da;
    color: #FFF;
}
 
html .RadMenu_MetroTouch .rmRootGroup .rmItem {
    border-color: #51b3e1;
}
 
html .RadMenu_MetroTouch .rmRootGroup .rmRootLink {
    padding-top: 0px;
    padding-bottom: 0px;
    line-height: 2.125em;
    border: 1px solid transparent;
}
 
html .RadMenu_MetroTouch .rmRootGroup .rmRootLink:hover {
    background-color: transparent;
    color: #FFF;
    border-color: #92cfec;
}
 
html .RadMenu_MetroTouch .rmRootGroup .rmFocused > .rmRootLink {
    border: 1px solid #92cfec;
}
 
html .RadMenu_MetroTouch .rmRootGroup .rmSelected > .rmRootLink,
html .RadMenu_MetroTouch .rmRootGroup .rmExpanded > .rmRootLink {
    border: 1px solid white;
}

The styles that could be applied to menus using Metro skin are:
html .RadMenu_Metro {
    font-size: 16px;
}
 
html .RadMenu_Metro .rmRootGroup {
    border-color: #25a0da;
    background-color: #25a0da;
    color: #FFF;
}
 
html .RadMenu_Metro .rmRootGroup .rmItem {
    border-color: #51b3e1;
}
 
html .RadMenu_Metro .rmRootGroup .rmRootLink {
    border: 1px solid transparent;
}
 
html .RadMenu_Metro .rmRootGroup .rmRootLink:hover {
    background-color: transparent;
    color: #FFF;
    border-color: #92cfec;
}
 
html .RadMenu_Metro .rmRootGroup .rmFocused > .rmRootLink {
    border: 1px solid #92cfec;
}
 
html .RadMenu_Metro .rmRootGroup .rmSelected > .rmRootLink,
html .RadMenu_Metro .rmRootGroup .rmExpanded > .rmRootLink {
    border: 1px solid white;
}
Telerik Admin
Top achievements
Rank 1
Iron
 asked on 14 Mar 2016
11 answers
435 views
When the Upload control is submitted on our website, the following alert popup message appears. Why is this, and how can I prevent it from happening so that the Upload control works as it should?

Thanks
Curtis

--------------

RadUpload Ajax callback error. Source url returned invalid content:

<html>

    <head>

        <title>The resource cannot be found.</title>

        <style>

         body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}

         p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}

         b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}

         H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }

         H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }

         pre {font-family:"Lucida Console";font-size: .9em}

         .marker {font-weight: bold; color: black;text-decoration: none;}

         .version {color: gray;}

         .error {margin-bottom: 10px;}

         .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }

        </style>

    </head>



    <body bgcolor="white">



            <span><H1>Server Error in '/' Application.<hr width=100% size=1 color=silver></H1>



            <h2> <i>The resource cannot be found.</i> </h2></span>



            <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">



            <b> Description: </b>HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. &nbsp;Please review the following URL and make sure that it is spelled correctly.

            <br><br>



            <b> Requested URL: </b>/Telerik.RadUploadProgressHandler.ashx<br><br>



            <hr width=100% size=1 color=silver>



            <b>Version Information:</b>&nbsp;Microsoft .NET Framework Version:2.0.50727.4952; ASP.NET Version:2.0.50727.4955



            </font>



    </body>

</html>

<!--

[HttpException]: The file '/Telerik.RadUploadProgressHandler.ashx' does not exist.

   at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath)

   at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)

   at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)

   at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)

   at System.Web.UI.SimpleHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)

   at System.Web.UI.SimpleHandlerFactory.GetHandler(HttpContext context, String requestType, String virtualPath, String path)

   at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

--><!--

This error page might contain sensitive information because ASP.NET is configured to show verbose error messages using &lt;customErrors mode="Off"/&gt;. Consider using &lt;customErrors mode="On"/&gt; or &lt;customErrors mode="RemoteOnly"/&gt; in production environments.-->



../../../Telerik.RadUploadProgressHandler.ashx?RadUrid=de1f69fb-afd7-4a8f-98d8-fc492fe42d8d
Hristo Valyavicharski
Telerik team
 answered on 14 Mar 2016
1 answer
495 views

I use RenderMode="Auto" and Skin="Bootstrap"
And i use DataSource....

Hove Change forecolor and fontsize on telerik:RadMenu?

 

This work with RenderMode="default", but not RenderMode="Auto"?

        .RadMenu_Bootstrap .rmRootGroup .rmText {
            color: red !important;
        }

Magdalena
Telerik team
 answered on 14 Mar 2016
21 answers
2.4K+ views
Hello
When I debug my application I come across this error all the time.
Debugging of application stops at the ScriptResource.axd file showing the path of my application.
And gives a message
"Microsoft JScript runtime error: Object doesn't support this property or method"

This MicrosoftJScript error occurs all the time when i try to display iframe url, saying Permission is denied.

Can you help me with this?
Thank you.


shanmugam
Top achievements
Rank 1
 answered on 14 Mar 2016
1 answer
93 views

I have a master page with a tool tip manager:

<telerik:RadToolTipManager ID="ttm" runat="server" Enabled="true" Skin="MetroTouch" AutoTooltipify="true" EnableRoundedCorners="true" RelativeTo="Element" Position="TopCenter"></telerik:RadToolTipManager>

All but only a few controls have the Telerik tooltips applied.  If I copy the RadToolTipManager and paste it into the content page everything is tool tipped as expected.  What could be the reason behind this behavior?

 

Rober

 

 

 

Marin Bratanov
Telerik team
 answered on 14 Mar 2016
7 answers
577 views
I'm trying to export my grid content into csv file.

All my grid is created by code into Page_Init method. Here is the code to setup export settings :
RadGrid1.ExportSettings.Csv.ColumnDelimiter = GridCsvDelimiter.Semicolon;
RadGrid1.ExportSettings.Csv.FileExtension = ".csv";
RadGrid1.ExportSettings.Csv.RowDelimiter = GridCsvDelimiter.NewLine;
RadGrid1.ExportSettings.FileName = "export";
RadGrid1.ExportSettings.IgnorePaging = true;
RadGrid1.ExportSettings.OpenInNewWindow = true;
RadGrid1.ExportSettings.ExportOnlyData = true;

my grid contain 11 custom column where content is displayed by a custom item template.
When I use this method : RadGrid1.MasterTableView.ExportToCSV() I got a csv file containing only my first 2 columns wich are not custom column (just GridBoundColumn)
I saw here:http://www.telerik.com/community/forums/aspnet-ajax/grid/csv-exporting.aspx
that I need to do special code to get content from my custom template controls and assign it to the item Text property.
Here is my code :
void RadGrid1_ItemCommand(object source, GridCommandEventArgs e)
{
    if (e.CommandName == RadGrid.ExportToCsvCommandName)
    {
        foreach (GridDataItem item in RadGrid1.MasterTableView.Items)
        {
            var typeCompteurs = from tc in DbContext.TypeCompteurs
                        orderby tc.Ordre
                        select tc;
            foreach (var t in typeCompteurs)
            {
                Literal lt = item[t.LibelleTypeCompteur].FindControl("ctrlAcquis_" + t.LibelleTypeCompteur) as Literal;
                if (lt != null)
                    item[t.LibelleTypeCompteur].Text = lt.Text;
            }
        }
        RadGrid1.MasterTableView.ExportToCSV();
    }
}

But I've the same issue. The csv file contains the columns but with no values :(

Any idea    ?

Thanks
Irving
Top achievements
Rank 2
 answered on 14 Mar 2016
5 answers
354 views
Toolkit version: Q2 2011

<telerik:RadAjaxLoadingPanel ID="loading_tabs" runat="server" IsSticky="true" MinDisplayTime="2000" InitialDelayTime="250">
 Loading ...
 </telerik:RadAjaxLoadingPanel>

When RadAjaxLoadingPanel's property "IsSticky" is set to true, MinDisplayTime doesn't make a difference. LoadingPanel disappears as soon as request is complete.

Please Advice
Bijoy Mohanta
Top achievements
Rank 1
 answered on 13 Mar 2016
4 answers
553 views
Hello there,
I am having a problem with ajaxloadingpanel.
When a client (web user) click on a button and run a huge sql which executes more than 2 minutes (it can be 5 minutes or more too), my radajaxloadingpanel dissapears and clients are clicking again, which occurs to database a lot of sql duplicates.
How can I increase max display time of my radajaxloadingpanel ? pls help me guys (:
Bijoy Mohanta
Top achievements
Rank 1
 answered on 13 Mar 2016
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?