Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
83 views
Hi,

Our site is using https, when users click on Hyperlink Manager, warning pops up (see screenshot). It seems like something inside editor tries to access some resource using http instead of https. Can you advice how this can be solved?

Thanks!
Stanimir
Telerik team
 answered on 25 Sep 2013
3 answers
41 views
Hi,

I am using FixEnclosingP content filter, so that content of editor is wrapped in <p> tags automatically. It works in Chrome, but has no effect in IE8. How this can be solved?

Thanks!
Stanimir
Telerik team
 answered on 25 Sep 2013
15 answers
393 views
Hi

I am getting the recurrence rule as a string .So only one row is inserted in the database table for recurring appointments also.
My requirement is quite different.
I need to insert each row for each appointment.For eg : An appointment saved with 10 recurring appointments, results in one row insertion in usual case.For me i need to insert 10 rows to the database table for the 10 appointments.I mean I have to treat it as individual appointments.So how can I acheive that.

And one more thing,the recurrence rule is like a string given below.

"

 

DTSTART:20120201T090000Z DTEND:20120201T092000Z RRULE:FREQ=WEEKLY;UNTIL=20120301T000000Z;INTERVAL=1;BYDAY=MO,TU,WE,TH,SA,SU

 

"

I need to get it as an array or a collection.Is there any built in funtion in rad scheduler for that?..Please help...
Plamen
Telerik team
 answered on 25 Sep 2013
1 answer
230 views
Hi,

My web page have a lot of grid controls. When I move my mouse over a grid, Process of IE (iexplore.exe) takes a lot of CPU (around 50% my CPU or over). If my page have a lot of grid controls, it causes some delay when I scroll the webpage.

You can reproduce the issue by doing the following steps:
1. Navigate to http://demos.telerik.com/aspnet-ajax/grid/examples/overview/defaultcs.aspx
2. Open Task Manager
3. Move your mouse over the grid, move, move, move and take a lot at iexplore.exe in Window Task Manager, It increases taking % CPU.

My environment:
- IE 8
- Window 7 64 bit. CPU Core 2 Duo E6550.
Deyan Enchev
Telerik team
 answered on 25 Sep 2013
3 answers
129 views
Hey Telerik Community,

I have a problem with how the RadNumericTextBox does its range validation. It does too much, and I am afraid that my users will end up with bad data values.

The Scenario:
When you assign a value to MaxValue, and the user exceeds that maximum value, the textbox auto-corrects the value to the max.

Ex: I set the max value to 9999.9 and allow the user to type in 6 digits using the MaxLength attribute.

The Problem:
The user accidentally types in 123456 and on blur the textbox validates and when validation fails the RadNumericTextBox auto-corrects the value to 9999.9. NOT GOOD for my customer. The values we are saving could put actual lives in harms way if they are not correct.

The Solution:
We would prefer that it simply fail validation, display its fail message, and not allow the user to save the record.

How can this be accomplished?

Thanks!

Snehal
Top achievements
Rank 1
 answered on 25 Sep 2013
1 answer
86 views
I have implemented my combo box easily and it is serving me greatly. below is my combo box code

<telerik:RadComboBox runat="server" ID="ddlProjectTaskSubtask" Filter="Contains" ShowToggleImage="false"
                        DropDownWidth="130px" Style="background: none" Width="130px" MinFilterLength="2" ></telerik:RadComboBox>
All my combo box items are displayed in drop down on page load... now what i want is that those items shouldn't appear on page load and drop down list should be empty until user enters some characters in combo box... after user enter characters, only filtered items should be displayed in drop down.

EDIT: I appologize for the wrong title of this post, i am not finding any option to edit it.
Shinu
Top achievements
Rank 2
 answered on 25 Sep 2013
1 answer
394 views
Hi there ,

i'd like (i guess) something easy but still enough hard for me :)

I'm looking for sorting a raadgrid by clicking on Header Columns.

This is my radgrid : 

<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="TodoGrid.ascx.cs" Inherits="CSN.Phenix.UI.Web.Foundation.CommonControls.TodoList.TodoGrid" %>
<telerik:RadGrid ID="rg" runat="server" AutoGenerateColumns="false" GridLines="None"
    AllowSorting="true" AllowPaging="true" AllowCustomPaging="true"
    PagerStyle-Mode="NextPrevAndNumeric" PagerStyle-NextPageText="Next"
    PagerStyle-PrevPageText="Previous" PageSize="10" PagerStyle-Position="Bottom"
    OnNeedDataSource="rg_NeedDataSource" OnItemDataBound="rg_ItemDataBound"
    meta:resourcekey="resourceRgTodo" >
    <MasterTableView DataKeyNames="Id" DataMember="Id">
    </MasterTableView>
</telerik:RadGrid>

I'm generating DataColumn dynamically in code behind : 

private void CreateGridColumnsGeneric()
      {
          int hiddenColumnsCount = 0;
          this.specialColumns = new List<SpecialColumn>();
           
          foreach (DataColumn dataColumn in this.DataSourceObject.GetColumns(this.TabId))
          {
              if (dataColumn.ColumnName == PhxTools.TodoList.SPECIAL_DISPLAY_COLUMN_NAME)
              {
                   
                  // colonne qui permet de savoir si l'on doit afficher la ligne d'une certaine manière
                  // on conserve la colonne pour pouvoir gérer l'affichage de la ligne correctement
                  this.specialColumns.Add(new SpecialColumn()
                  {
                      ColumnName = PhxTools.TodoList.SPECIAL_DISPLAY_COLUMN_NAME,
                      ColumnType = "Special",
                      ColumnDisplayIndex = dataColumn.Ordinal - hiddenColumnsCount
                  });
              }
              else if (dataColumn.ExtendedProperties[PhxTools.TodoList.TODO_GRID_COLUMN_HIDDEN] == null)
              {
                  GridColumn column = null;
 
                  if (dataColumn.ExtendedProperties[PhxTools.TodoList.TODO_GRID_COLUMN_TYPE] != null)
                  {
                      string colType = dataColumn.ExtendedProperties[PhxTools.TodoList.TODO_GRID_COLUMN_TYPE].ToString();
 
                      // les colonnes "hyperliens"
                      if (colType == PhxTools.TodoList.TODO_GRID_COLUMN_HYPERLINK)
                          column = CreateHyperLinkColumn(dataColumn);
                      // les colonnes "images"
                      else if (colType == PhxTools.TodoList.TODO_GRID_COLUMN_IMAGE)
                      {
                          // on conserve la colonne pour pouvoir gérer l'affichage de la ligne correctement
                          this.specialColumns.Add(new SpecialColumn()
                          {
                              ColumnName = dataColumn.ColumnName,
                              ColumnType = PhxTools.TodoList.TODO_GRID_COLUMN_IMAGE,
                              ColumnDisplayIndex = dataColumn.Ordinal - hiddenColumnsCount
                          });
                          column = CreateImageColumn(dataColumn);
                      }
                  }
                  else
                  {
                      // les autres colonnes : on ne fait que du binding
                      column = CreateColumn(dataColumn);
                  }
 
                  if (dataColumn.ExtendedProperties[PhxTools.TodoList.COLUMN_SORT_EXPRESSION] != null)
                      column.SortExpression = dataColumn.ExtendedProperties[PhxTools.TodoList.COLUMN_SORT_EXPRESSION].ToString();
                  else
                      column.SortExpression = null;
 
                  column.HeaderText = dataColumn.ColumnName;
                  if (dataColumn.ExtendedProperties[PhxTools.TodoList.TODO_COLUMN_DISPLAY_NAME] != null)
                      column.HeaderText = dataColumn.ExtendedProperties[PhxTools.TodoList.TODO_COLUMN_DISPLAY_NAME].ToString();
 
                  if (column != null)
                      rg.Columns.Add(column);
              }
              else
              {
                  ++hiddenColumnsCount;
              }
          }
      }

What could i need to add for sorting them ?
Adding SortExpression? How could i do it in code behind ?


Thx in advance :)

J-Marie P. 


Edit : 

Its seems sorting work for the X rows already fill in datasource. ( excepted Imagecolumn and hyperlink colum )
I need to sort on All of my data ,i already have a GetData retriveing without sortedField.So i have to do a GetDataByField() to retrive X first rows then each time i click on header recall this method and give me the X good rows :)

How could i catch click on header ? 

 
Maria Ilieva
Telerik team
 answered on 25 Sep 2013
3 answers
139 views
Hi

My scenario. I have few links button in my page. On Clicking these buttons, I want to display the corresponding search results from Google in a radwindow. I was not even able to open Google within a radwindow. What should I do?

Thankyou
Merin.
Shinu
Top achievements
Rank 2
 answered on 25 Sep 2013
3 answers
35 views
I'm trying to duplicate our in-house tabs using the TabStrip and I have got all but one part working. I'm copying  my wfTabs.css which controls our in house custom tabs and the custom .css for radTabstrip I'm trying to create. As you can see from the image I'm attaching - I have all looking the same except the selected tab left image. This is found at tabHeader .current. I tried putting it in SelectedTab class but that doesn't work. I need it to attach to the LI element for selected tab (as I did with the right image) but I don't see a way to do that. Can someone help me fix this.

wfTabs.css:

.tabHeader {
    float:left;
    width:100%;
    /*  background:#DAE0D2 url("bg.gif") repeat-x bottom; */
    background: white;
    font-size:8pt;
    line-height:normal;
    border-bottom: 1pt solid #CFCFCF;
}
.tabHeader ul {
    margin:0;
    padding:3px 10px 0;
    list-style:none;
}
.tabHeader li {
    float:left;
    background:url("../images/wfTabs/left_blue.gif") no-repeat left top;
    margin:0;
    padding:0 0 0 9px;
}
.tabHeader a, .tabHeader a:visited {
    float:left;
    display:block;
    background:url("../images/wfTabs/right_blue.gif") no-repeat right top;
    padding:3px 10px 3px 3px;
    text-decoration:none;
    font-weight:bold;
    color:#ffffff;
    outline:0;
}
.tabHeader a:hover
{
    text-decoration:underline;
    color:#ffffff;
    cursor:pointer;
}

.tabHeader a:focus, .tabHeader a:active
{
    outline:0;
    text-decoration:underline;
   color:#ffffff !important;
    }
    

.tabHeader .disabledTab a
{
    color:#ffffff;
    cursor:text;
}
 
.tabHeader .disabledTab a:hover
{
    text-decoration:none;
}

.tabHeader .current {
    background-image:url("../images/wfTabs/left_grey.gif");
}
.tabHeader .current a {
    background-image:url("../images/wfTabs/right_grey.gif") !important;
    color:#333 !important;
}
.tabHeader .current a:hover {
    text-decoration:none;
}

.tabHeader .markgreen
{
    background-image:url("../images/wfTabs/left_green.gif");
}
.tabHeader .markgreen a {
    background-image:url("../images/wfTabs/right_green.gif") !important;
    color:#ffffff !important;
}
________________________________________________________________________________________________
custom radTabstrip .css:
.radTabDiv {
    float: left;
    width: 100%;
    /*  background:#DAE0D2 url("bg.gif") repeat-x bottom; */
    background: white;
    font-size: 8pt;
    line-height: normal;
    border-bottom: 1pt solid #CFCFCF;
    margin: 0;
    padding: 3px 10px 0;
    list-style: none;
}

div.RadTabStrip .rtsLI {
    margin-right: 2px;
    float: left;
    background: url("../images/wfTabs/left_blue.gif") no-repeat left top;
    margin: 0;
    padding: 0 0 0 9px;
}

div.RadTabStrip .rtsUL {
    margin: 0;
    padding: 3px 10px 0;
    list-style: none;
}

div.RadTabStrip .rtsLink {
    float: left;
    display: block;
    background: url("../images/wfTabs/right_blue.gif") no-repeat right top;
    padding: 3px 10px 3px 3px;
    text-decoration: none;
    font-weight: bold;
    color: #ffffff;
    outline: 0;
}

div.RadTabStrip .rtsSelected {
    background-image: url("../images/wfTabs/right_grey.gif") !important;
    color: #333 !important;
}


Magdalena
Telerik team
 answered on 25 Sep 2013
3 answers
217 views
I have a requirement that, when  selected(RadAsyncUpload) a file, the file details should be populated in grid on the same window. how can i implement.
File details like : size , name , path.

Please help me
Shinu
Top achievements
Rank 2
 answered on 25 Sep 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?