Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
148 views
Hi, we have an application in which we are using rad grid. We are using .NET 4.0 framework, AJAX Toolkit version - 3.0 and Telerik version - 2013.3.1114.40. We are facing a peculiar problem with grid height. At first our grids were not filling up the entire window, so we took the suggestion from here 

http://www.telerik.com/support/code-library/setting-100-height-and-resize-on-container-resize-for-grid-with-scrolling-and-static-headers

and modified the grid. Everything worked fine and the grids resized properly and fitted the window perfectly on initial load. But we found out that after any AJAX operation in the grid(such as new row addition or edit or save or cancel) the grid height shrinked after the load. We searched and found out that this, is a problem with MS AJAX itself. As mentioned over here 

http://www.telerik.com/forums/grid-height-between-ajax-postback#7bKm9CY-u0K3Ymwwa978wg

But when we applied the solution, as mentioned in the above thread that is this :

           
Sys._ScriptLoader.getInstance()._loadScriptsInternal = function () {
      
if (this._scriptsToLoad && this._scriptsToLoad.length > 0) {
         
var nextScript = Array.dequeue(this._scriptsToLoad);
         
var scriptElement = this._createScriptElement(nextScript);
         
if (scriptElement.text && Sys.Browser.agent === Sys.Browser.Safari) {
            scriptElementscriptElement.innerHTML = scriptElement.text;
            
delete scriptElement.text;
         }
         
if (typeof (nextScript.src) === "string") {
            
this._currentTask = new Sys._ScriptLoaderTask(scriptElement, this._scriptLoadedDelegate);                         this._currentTask.execute();
         }
         
else {
            document.getElementsByTagName(
'head')[0].appendChild(scriptElement);                                             Sys._ScriptLoader._clearScript(scriptElement);
            
this._loadScriptsInternal();
         }
      }
      else {
          
var callback = this._allScriptsLoadedCallback;
          
this._stopLoading();
          
if (callback) {
             callback(
this);
          }
     }
}

But it does not work out and throws an error at the line 
this._stopLoading();

The aps.net web blog says that they have fixed this in the .NET 3.5 framework release itself, but its still comming. Can anybody help me on this ?
Bibhudutta
Top achievements
Rank 1
 answered on 21 Mar 2014
2 answers
43 views
Hello,

RadDataPager was working properly until we upgrated our project to Silverlight 5.
Last page button is not firing.

I attached an example regarding this issue.

Telerik.Windows.Controls                              
Telerik.Windows.Controls.Charting                     
Telerik.Windows.Controls.Data                         
Telerik.Windows.Controls.GridView                     
Telerik.Windows.Controls.Input                        
Telerik.Windows.Controls.Navigation
Telerik.Windows.Data 

Version : 2014.1.224.1050 are used in the demo.
I would be glad if you help me.

Hincal
Top achievements
Rank 1
 answered on 21 Mar 2014
7 answers
361 views
My problem about turkish character problem with filtering.I also made culture as tr-TR for a combobox.Assume that one of records (IstiasIi) that contains special Turkish characters(upper I , lower i).
When I write lower (i) its only matching lower (i) but I want to see to it also matched with(upper I) character because in turkish they are same.if I write (upper I) it is matching only (upper I) not lower.Another chacters which are turkish(s,ü ...) they are always matching lower or upper.if I write (lower i) it is matching with (upper I and I) .lower i is not equal upper I in turkish.When I use load on demand property of combobox, sql query which contains like function get a data exactly what a want.Code adding items list of Radcombobox but filtering dont display record because not matching.How can I fix this problem.
Nencho
Telerik team
 answered on 21 Mar 2014
1 answer
88 views
Hello everyone..is there a way to make sure that when the filter "checklist" is applied  to a table's column automatically checklists relating to the other columns of the table will resize automatically?

Thanks in advance!
Vasil
Telerik team
 answered on 21 Mar 2014
1 answer
123 views
Hi I wish to hide 'Edit' column using @mediaPrint. I am unable to manipulate the html created using radGrid via jQuery. Following is the HTML created:

   
    <TR>
    <TD>
    <DIV id="ctl00_ctl22_g_6f2f4cde_9491_4d9a_b866_c338a5db0248_ctl00_ctl22_g_6f2f4cde_9491_4d9a_b866_c338a5db0248_ctl42Panel">
    <DIV id="ctl00_ctl22_g_6f2f4cde_9491_4d9a_b866_c338a5db0248_ctl42">
    <DIV style="WIDTH: 100%" id="ctl00_ctl22_g_6f2f4cde_9491_4d9a_b866_c338a5db0248_g_6f2f4cde_9491_4d9a_b866_c338a5db0248Grid" class="RadGrid RadGrid_Default">
    <TABLE style="WIDTH: 100%; EMPTY-CELLS: show; TABLE-LAYOUT: auto" id="ctl00_ctl22_g_6f2f4cde_9491_4d9a_b866_c338a5db0248_g_6f2f4cde_9491_4d9a_b866_c338a5db0248Grid_ctl00" class="rgMasterTable" border="0">
    <COLGROUP><COL style="WIDTH: 3%" /><COL style="WIDTH: 15%" /><COL style="WIDTH: 15%" /><COL style="WIDTH: 10%" /><COL style="WIDTH: 10%" /><COL style="WIDTH: 15%" /><COL style="WIDTH: 10%" /><COL style="WIDTH: 22%" /></COLGROUP>
    <THEAD>
    <TR>
    <TH style="DISPLAY: none" class="rgHeader" scope="col" UniqueName="Edit">
    <A title="Click here to sort" href="javascript:__doPostBack('ctl00$ctl22$g_6f2f4cde_9491_4d9a_b866_c338a5db0248$g_6f2f4cde_9491_4d9a_b866_c338a5db0248Grid$ctl00$ctl02$ctl01$ctl00','')">Edit</A>
    </TH>
    <TH style="TEXT-ALIGN: center" class="rgHeader" scope="col" UniqueName="Parent_x0020_Program">
    <A title="Click here to sort" href="javascript:__doPostBack('ctl00$ctl22$g_6f2f4cde_9491_4d9a_b866_c338a5db0248$g_6f2f4cde_9491_4d9a_b866_c338a5db0248Grid$ctl00$ctl02$ctl01$ctl01','')">Parent Program</A>
    </TH>
    <TH style="TEXT-ALIGN: center" class="rgHeader" scope="col" UniqueName="Program">
    <A title="Click here to sort" href="javascript:__doPostBack('ctl00$ctl22$g_6f2f4cde_9491_4d9a_b866_c338a5db0248$g_6f2f4cde_9491_4d9a_b866_c338a5db0248Grid$ctl00$ctl02$ctl01$ctl02','')">Program</A>
    </TH>
    <TH style="TEXT-ALIGN: center" class="rgHeader" scope="col" UniqueName="Program_x0020_ID">
    <A title="Click here to sort" href="javascript:__doPostBack('ctl00$ctl22$g_6f2f4cde_9491_4d9a_b866_c338a5db0248$g_6f2f4cde_9491_4d9a_b866_c338a5db0248Grid$ctl00$ctl02$ctl01$ctl03','')">Program ID</A>
    </TH>
    <TH style="TEXT-ALIGN: center" class="rgHeader" scope="col" UniqueName="Group">
    <A title="Click here to sort" href="javascript:__doPostBack('ctl00$ctl22$g_6f2f4cde_9491_4d9a_b866_c338a5db0248$g_6f2f4cde_9491_4d9a_b866_c338a5db0248Grid$ctl00$ctl02$ctl01$ctl04','')">Group</A>
    </TH>
    <TH style="TEXT-ALIGN: center" class="rgHeader" scope="col" UniqueName="Investment_x0020_Envelope">
    <A title="Click here to sort" href="javascript:__doPostBack('ctl00$ctl22$g_6f2f4cde_9491_4d9a_b866_c338a5db0248$g_6f2f4cde_9491_4d9a_b866_c338a5db0248Grid$ctl00$ctl02$ctl01$ctl05','')">Investment Envelope</A>
    </TH>
    <TH style="TEXT-ALIGN: center" class="rgHeader" scope="col" UniqueName="Function">
    <A title="Click here to sort" href="javascript:__doPostBack('ctl00$ctl22$g_6f2f4cde_9491_4d9a_b866_c338a5db0248$g_6f2f4cde_9491_4d9a_b866_c338a5db0248Grid$ctl00$ctl02$ctl01$ctl06','')">Function</A>
    </TH>
    <TH style="TEXT-ALIGN: center" class="rgHeader" scope="col" UniqueName="AKA">
    <A title="Click here to sort" href="javascript:__doPostBack('ctl00$ctl22$g_6f2f4cde_9491_4d9a_b866_c338a5db0248$g_6f2f4cde_9491_4d9a_b866_c338a5db0248Grid$ctl00$ctl02$ctl01$ctl07','')">AKA</A>
    </TH>
    </TR>
    </THEAD>
    <TBODY>
    <TR id="ctl00_ctl22_g_6f2f4cde_9491_4d9a_b866_c338a5db0248_g_6f2f4cde_9491_4d9a_b866_c338a5db0248Grid_ctl00__0" class="rgRow" vAlign="top">
    <TD vAlign="top" align="center">
    <A onclick="GoToLink(this);return false;" href="/ProjectProfileForm.aspx?LID=228" target="_self"><IMG border="0" alt="Edit" src="/images/edititem.gif" /></A>
    </TD>
    <TD vAlign="top" align="center">
    </TD>
    <TD vAlign="top" align="center">
    The Big one
    </TD>
    <TD vAlign="top" align="center">
    PRG0001
    </TD>
    <TD vAlign="top" align="center">
    PDN
    </TD>
    <TD vAlign="top" align="center">
    Revenue Growth
    </TD>
    <TD vAlign="top" align="center">
    Engineering
    </TD>
    <TD vAlign="top" align="center">
    the dummy project for testing
    </TD>
    </TR>
    </TBODY>
    </TABLE>
    <INPUT id="ctl00_ctl22_g_6f2f4cde_9491_4d9a_b866_c338a5db0248_g_6f2f4cde_9491_4d9a_b866_c338a5db0248Grid_ClientState" type="hidden" name="ctl00_ctl22_g_6f2f4cde_9491_4d9a_b866_c338a5db0248_g_6f2f4cde_9491_4d9a_b866_c338a5db0248Grid_ClientState" autocomplete="off" value="" />
    </DIV>
    </DIV>
    </DIV>
    <DIV style="DISPLAY: none" id="ctl00_ctl22_g_6f2f4cde_9491_4d9a_b866_c338a5db0248_AjaxLoadingPanel">
    <IMG style="BORDER-RIGHT-WIDTH: 0px; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" src="/Images/loading6.gif" />test
    </DIV>
    </TD>
    </TR>
Kostadin
Telerik team
 answered on 21 Mar 2014
12 answers
276 views
I just spoke with a user who informed me that the RadDatePicker control wasn't working in Windows 8 with IE10. (I don't know if he's running on a 32-bit or 64-bit processor; I didn't think to ask.) We don't have any Windows 8 machines in-house, so I can't test it. Is this simply a case of needing to upgrade the ASP.NET AJAX Telerik controls?
Maria Ilieva
Telerik team
 answered on 21 Mar 2014
1 answer
91 views
Does anyone know how to expand a single group based on a condition during itemdatabound?
I have tried multiple ways but nothing works.
Thanks

​
Private Sub grdReadiness_ItemDataBound(sender As Object, e As GridItemEventArgs) Handles grdReadiness.ItemDataBound
 
  If TypeOf e.Item Is GridDataItem Then
   Dim item As GridDataItem = DirectCast(e.Item, GridDataItem)
   Dim imgStageStatus As Image = TryCast(e.Item.FindControl("imgStageStatus"), Image)
     If Not imgStageStatus Is Nothing Then
      If item("StageStatus").Text = "GREEN" Then
        imgStageStatus.ImageUrl = "~/Images/Green24.png"
      Else
        imgStageStatus.ImageUrl = "~/Images/Red24.png"
  
       'grdReadiness.Items(e.Item.RowIndex).Expanded = True
       'e.Item.OwnerTableView.ParentItem.Expanded = True
       'e.Item.OwnerTableView.GroupsDefaultExpanded = True
       'grdReadiness.Items(e.Item.GroupIndex).Expanded = True
 
     End If
   End If
  End If
End Sub
Shinu
Top achievements
Rank 2
 answered on 21 Mar 2014
1 answer
220 views
Hi,

I am converting an existing website which is .NET 2.0 to .NET 4.0

Rad calendar version used: RadCalendar.Net2
namespace= Telerik.WebControls
Runtime version : v2.0.50727
version: 1.7.0.0

The existing .net 2.0 site has a calendar control, which works fine. After converting the site to .NET 4.0 , the calendar control image is not showing and a text is getting shown "Open calendar popup".

How to fix this?
Thanks
Shinu
Top achievements
Rank 2
 answered on 21 Mar 2014
2 answers
604 views
I have a treeview with checkboxes where selecting/checking a parent node also needs to selects/checks all its child nodes. This can easily be handled by setting CheckChildNodes="true".

However, it is then still possible to unselect those childnodes. How can I prevent that?

Best regards, Marja
Marja
Top achievements
Rank 1
 answered on 21 Mar 2014
1 answer
110 views
Is this a known issue?

Users are experiencing this issue when attempting to paste content where ctrl+v results in various formatting issues that don't appear when using the button. So far we've been able to reproduce on SOME machines in both Chrome and IE while running Win 7/IE 9 and Win 8/IE 11

Steps to reproduce:
1. Open telerik radeditor demo in IE ( http://demos.telerik.com/aspnet-ajax/editor/examples/overview/defaultcs.aspx )
2. Download and open the attached email (.msg file) here ( https://www.dropbox.com/s/rzeq1lg9ngzh7eu/Lightning%20Talks%20Java%20%20Scala%2019%20March.msg?m= )
3. Copy content of the attached email (Lightning Talks Java  Scala 19 March.msg)
4. Paste copied content into demo radeditor control using top toolbar button.
 
Ianko
Telerik team
 answered on 21 Mar 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?