Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
61 views
We have a custom RadGrid on a tabbed page that locks the plus/minus image buttons in the footer as well as the first column with an edit pencilso that even when tabbing through the row, you can still edit or add a record. When tabbing through the fields, the dummy scroll bar causes issues and half the "FrozenColumn" disappears. I saw that this was addressed in the Unsupported Scenarios section of http://www.telerik.com/help/aspnet-ajax/grid-frozen-columns.html but have you addressed this further than the Javascript workaround?

Thanks,

Joe
Viktor Tachev
Telerik team
 answered on 21 Feb 2014
1 answer
125 views
Dear all,

I have an issue with RadComboBox. I created a simple Website having a RadComboBox inside.
When clicking the values I see in Visual Studio 2012 Debugger These Errors and Event is not fired:

"iexplore.exe" (Skript): "Skriptcode (Windows Internet Explorer)" geladen.
Es wurde eine Ausnahme ausgelöst: in Zeile 5302, Spalte 6 in http://localhost:62615/Scripts/jquery-1.8.2.js
0x800a139e - Laufzeitfehler in JavaScript: SyntaxError
Es wurde eine Ausnahme ausgelöst: in Zeile 4, Spalte 9009 in http://localhost:62615/ScriptResource.axd?d=mbGZm65DzNC0tMTq0ElbcUdadXg85sBtJwtDgJPoBp_OB3VOXUm9z6LLNo4wtufJvZUS29THagbcgDXVYBdQGLM28Qeq7LxftTqWJZGlBSI9cYc0eONDJLpTXyl21r5kIKf4IjY2-qfDHZt9yYBHMw2&t=3c4d8e19
0x800a139e - Laufzeitfehler in JavaScript: SyntaxError
Es wurde eine Ausnahme ausgelöst: in Zeile 4, Spalte 9238 in http://localhost:62615/ScriptResource.axd?d=mbGZm65DzNC0tMTq0ElbcUdadXg85sBtJwtDgJPoBp_OB3VOXUm9z6LLNo4wtufJvZUS29THagbcgDXVYBdQGLM28Qeq7LxftTqWJZGlBSI9cYc0eONDJLpTXyl21r5kIKf4IjY2-qfDHZt9yYBHMw2&t=3c4d8e19
0x800a139e - Laufzeitfehler in JavaScript: SyntaxError
Es wurde eine Ausnahme ausgelöst: in Zeile 626, Spalte 23 in http://localhost:62615/ScriptResource.axd?d=GiyGg6C7coGF_0YjOubjHV4IvtPW1fzg9pEr0sQ_rQioQA_pZ8ZINJcodAJiGClvV0dFrppLaXFXjZ1i_6SAR4taUWmbeTFi8pmPLHBALXMIuJFCkFSH0at6Wx51bpeuwJ6eZFu1JF2OoE8ZPcR0Xg2&t=3c4d8e19
0x800a138f - Laufzeitfehler in JavaScript: Die Eigenschaft "createRange" eines undefinierten oder Nullverweises kann nicht abgerufen werden.

I am using Version v.2013.3.1324.45

Any idea what this can be?
Shinu
Top achievements
Rank 2
 answered on 21 Feb 2014
1 answer
37 views
Hello

Where i can download the files localization .resx for the RadSocial ?

I search in App_GlobalResources for my Ajax Q3 2013, i have several files but not this files.

It ll be great if you can put the web page to download the last localization on telerik website.

thanks
Olivier


Slav
Telerik team
 answered on 21 Feb 2014
6 answers
248 views
I am working on the radcloudupload and followed the code in http://demos.telerik.com/aspnet-ajax/cloud-upload/examples/upload-to-amazon-s3/defaultcs.aspx. But I am getting an assembly reference error that the control couldnt find reference to awssdk.dll. Any Ideas?
Michael Wayne
Top achievements
Rank 1
 answered on 21 Feb 2014
3 answers
251 views
Hi,

I want to know is it possible to show nested Grid on click of button in parent table.
I would appreciate if any source code example is there.
Princy
Top achievements
Rank 2
 answered on 21 Feb 2014
1 answer
80 views
Hi 

When i click the next page or page 2 button the gridview doesnt populate.

the problem is that i databind from different sources depending on what the user selects previously to view.

  <telerik:RadGrid ID="rgLog" runat="server" AllowPaging="True" PageSize="15" 
                        AutoGenerateColumns="False" AllowSorting="true" 
                            onpageindexchanged="rgLog_PageIndexChanged">


Grant
Princy
Top achievements
Rank 2
 answered on 21 Feb 2014
5 answers
283 views
Hi ,
We have implemented a RadGrid and are using RadAjaxManager for using RadAjaxLoadingPanel for the Grid .
Radgrid is inside update panel /Not using RadAjaxPanel.
Here is the markup for RadAjaxManager :
<telerik:RadAjaxManager runat="server" 
        DefaultLoadingPanelID="RadAjaxLoadingPanel1">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="gridCheckListDetails">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="gridCheckListDetails" 
                        LoadingPanelID="RadAjaxLoadingPanel1" UpdatePanelCssClass="" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager> 

and code for RadAjaxLoading Panel along with grid 

 <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Vista">
                                                </telerik:RadAjaxLoadingPanel>
                                              
                                                 <telerik:RadGrid ID="gridCheckListDetails" runat="server"  EnableLinqExpressions="False"
                                                    AllowFilteringByColumn="True" AllowPaging="True" 
                                                    AllowSorting="True" CellSpacing="0" GridLines="None" OnNeedDataSource="gridCheckListDetails_NeedDataSource"
                                                     PageSize="20" AllowMultiRowSelection="True"
                                                    AutoGenerateColumns="False" Skin="Windows7" 
                                                    OnItemDataBound="gridCheckListDetails_ItemDataBound" 
                                                    OnItemCreated="gridCheckListDetails_ItemCreated" 
                                                    onpageindexchanged="gridCheckListDetails_PageIndexChanged"   
                                                    onpagesizechanged="gridCheckListDetails_PageSizeChanged"  >
                                                  
                                                    <ClientSettings AllowColumnsReorder="True" ReorderColumnsOnClient="True">
                                                        <Selecting AllowRowSelect="True" />
                                                            
                                                        <ClientEvents OnRowSelecting="RowSelecting" />
                                                  <ClientEvents OnRowCreated="RowCreated" />
                                                
               
                                                    </ClientSettings>
                                                   
                                                    <MasterTableView AllowMultiColumnSorting="true" 
                                                        ClientDataKeyNames="fncanModifyTask" DataKeyNames="TaskID,CheckListID" 
                                                        GridLines="Horizontal" Name="TaskTable" TableLayout="Fixed">
                                          
                                                        <RowIndicatorColumn Visible="False">
                                                        </RowIndicatorColumn>
                                                    
                                                        <Columns>
                                                            <telerik:gridclientselectcolumn UniqueName="SelectBox"   >
                                                               <HeaderStyle Height="14px" Width="25px" />
                                                            </telerik:GridClientSelectColumn>
                                                            <telerik:gridimagecolumn AllowFiltering="false" AllowSorting="false" DataImageUrlFields="TaskIsAtRisk" 
                                                                DataImageUrlFormatString="~/Images/isatrisk/{0}.gif" HeaderText="TaskIsAtRisk" 
                                                                ItemStyle-Height="7" ItemStyle-Width="5" Visible="false">
                                                                  <HeaderStyle Height="14px" Width="20px" />
                                                                    <ItemStyle Height="14px" Width="7px" />
                                                              
                                                            </telerik:GridImageColumn>
                                                            <telerik:gridimagecolumn AllowFiltering="false" AllowSorting="false" 
                                                                DataImageUrlFields="TaskIsMileStone" 
                                                                DataImageUrlFormatString="~/Images/ismilestone/{0}.png" 
                                                                HeaderText="TaskIsMileStone" ItemStyle-Height="7" ItemStyle-Width="5" 
                                                                ShowFilterIcon="false" ShowSortIcon="false" Visible="false">
                                                                 <HeaderStyle Height="14px" Width="25px" />
                                                                    <ItemStyle Height="14px" Width="7px" />
                                                            </telerik:GridImageColumn>
                                                            <telerik:gridimagecolumn AllowFiltering="false" AllowSorting="false" 
                                                                DataImageUrlFields="hasDocuments" 
                                                                DataImageUrlFormatString="~/Images/hasdocuments/{0}.jpg" 
                                                                HeaderText="hasDocuments" ItemStyle-Height="7" ItemStyle-Width="5" 
                                                                ShowFilterIcon="false" ShowSortIcon="false" Visible="false">
                                                                   <HeaderStyle Height="14px" Width="20px" />
                                                                    <ItemStyle Height="14px" Width="7px" />
                                                            </telerik:GridImageColumn>
                                                            <telerik:gridhyperlinkcolumn DataNavigateUrlFields="TaskID,CheckListID" 
                                                                DataNavigateUrlFormatString="~/TaskDetail.aspx?TaskID={0}&amp;CheckListID={1}" 
                                                                DataTextField="TaskName" FilterControlWidth="200px"  HeaderText="TaskName" 
                                                                ItemStyle-CssClass="LinkBlue11"  ItemStyle-HorizontalAlign="Left"
                                                                UniqueName="TaskName" Visible="false">
                                                                <ItemStyle CssClass="LinkBlue11" />
                                                                 <ItemStyle Width="400px" />
                                                                    <HeaderStyle Width="400px" />
                                                            </telerik:GridHyperLinkColumn>
                                                            <telerik:gridboundcolumn DataField="AssignedUsers" HeaderText="AssignedUsers" 
                                                                Visible="false" ItemStyle-Width="700px">
                                                                 <ItemStyle Width="150px" />
                                                                    <HeaderStyle Width="150px" />
                                                            </telerik:GridBoundColumn>
                                                            <telerik:gridboundcolumn DataField="TeamName" HeaderText="TeamName" 
                                                                Visible="false">
                                                            <FilterTemplate>
                                                                        <telerik:RadComboBox ID="Teamfilter" runat="server" 
                                                                OnPreRender="TeamName_PreRender"  
                                                                OnSelectedIndexChanged="TeamName_SelectedIndexChanged"    
                                                                OnClientSelectedIndexChanged="TeamIndexChanged" AppendDataBoundItems="true" DataTextField="TeamName"  
                                                                            DataValueField="TeamName" Height="200px" Width="100px" 
                                                                SelectedValue='<%# ((GridItem)Container).OwnerTableView.GetColumn("TeamName").CurrentFilterValue %>'  
                                                                AutoPostBack="true">
                                                                            <Items>
                                                                                <telerik:radcomboboxitem Text="All" />
                                                                            </Items>
                                                                           
                                                                        </telerik:RadComboBox>

                                                                        
                                    
                                                                       
                                                                    </FilterTemplate>
                                                                      <ItemStyle Width="120px" />
                                                                    <HeaderStyle Width="120px" />
                                                            </telerik:GridBoundColumn>
                                                            <telerik:gridboundcolumn  DataField="TaskEndDate" HeaderText="TaskEndDate"  
                                                                FilterControlWidth="110px" DataFormatString="{0:d}" Visible="false">
                                                                        <FilterTemplate>
                        <telerik:raddatepicker ID="TaskEndDatePicker" runat="server" Width="100px" 
                            ClientEvents-OnDateSelected="DateSelected"
                            DbSelectedDate='<%# SetEndDate(Container) %>' />
                     
                    </FilterTemplate>
                      <ItemStyle Width="120px" />
                                                                    <HeaderStyle Width="120px" />
                                                            </telerik:GridBoundColumn>
                                                            <telerik:gridboundcolumn  DataField="TaskStartDate" HeaderText="TaskStartDate" 
                                                                FilterControlWidth="110px" DataFormatString="{0:d}"
                                                                Visible="false">
                                                                <FilterTemplate>
                        <telerik:raddatepicker ID="TaskStartDatePicker" runat="server" Width="100px" 
                            ClientEvents-OnDateSelected="StartDateSelected"
                            DbSelectedDate='<%# SetStartDate(Container) %>' />
                     
                    </FilterTemplate>
                                                             <ItemStyle Width="120px" />
                                                                    <HeaderStyle Width="120px" />
                                                            </telerik:GridBoundColumn>
                                                            <telerik:gridboundcolumn AllowFiltering="false" AllowSorting="false" 
                                                                ShowFilterIcon="false" ShowSortIcon="false" DataField="StartTime" HeaderText="StartTime" 
                                                                Visible="false">
                                                             <ItemStyle Width="120px" />
                                                                    <HeaderStyle Width="120px" />
                                                            </telerik:GridBoundColumn>
                                                            <telerik:gridboundcolumn AllowFiltering="false" AllowSorting="false" 
                                                                ShowFilterIcon="false" ShowSortIcon="false" DataField="EndTime" HeaderText="EndTime" 
                                                                Visible="false">
                                                             <ItemStyle Width="120px" />
                                                                    <HeaderStyle Width="120px" />
                                                            </telerik:GridBoundColumn>
                                                            <telerik:gridboundcolumn DataField="TaskStageText" HeaderText="TaskStageText" 
                                                                UniqueName="TaskStageText" Visible="false">
                                                            <FilterTemplate>
                                                                        <telerik:RadComboBox ID="Stagefilter" runat="server" 
                                                                AppendDataBoundItems="true"   
                                                                OnClientSelectedIndexChanged="StageIndexChangedStage" 
                                                                OnPreRender="StageName_PreRender"  OnSelectedIndexChanged="StageName_SelectedIndexChanged"
                                                                            DataTextField="TaskStageText" DataValueField="TaskStageText" 
                                                                Height="200px" Width="100px" 
                                                                SelectedValue='<%# ((GridItem)Container).OwnerTableView.GetColumn("TaskStageText").CurrentFilterValue %>'  
                                                                AutoPostBack="true" >
                                                                            <Items>
                                                                                <telerik:radcomboboxitem Text="All" />
                                                                            </Items>
                                                                        </telerik:RadComboBox>
                                                                      
                                                                    </FilterTemplate>
                                                                      <ItemStyle Width="120px" />
                                                                    <HeaderStyle Width="120px" />
                                                            </telerik:GridBoundColumn>
                                                            <telerik:gridboundcolumn AllowFiltering="false" AllowSorting="false" 
                                                                ShowFilterIcon="false" ShowSortIcon="false" DataField="TaskGracePeriod" 
                                                                HeaderText="TaskGracePeriod" Visible="false">
                                                            
                                                            </telerik:GridBoundColumn>
                                                            <telerik:gridimagecolumn AllowFiltering="false" AllowSorting="false" 
                                                                DataImageUrlFields="Status" DataImageUrlFormatString="~/Images/{0}.png" 
                                                                HeaderText="Status" ShowFilterIcon="false" ShowSortIcon="false">
                                                                  <HeaderStyle Height="14px" Width="50px" />
                                                                    <ItemStyle Height="14px" Width="7px" />
                                                                        <ItemStyle Width="120px" />
                                                                    <HeaderStyle Width="120px" />
                                                            </telerik:GridImageColumn>
                                                            <telerik:gridboundcolumn DataField="TaskTypeName" HeaderText="TaskTypeName" 
                                                                Visible="false">
                                                                   <FilterTemplate>
                                                                        <telerik:RadComboBox ID="Typefilter" runat="server"   
                                                                AppendDataBoundItems="true" DataTextField="TaskTypeName"  
                                                                OnClientSelectedIndexChanged="TypeIndexChanged" OnPreRender="Type_PreRender"  OnSelectedIndexChanged="Type_SelectedIndexChanged"
                                                                            DataValueField="TaskTypeName" Height="200px" Width="100px" 
                                                                SelectedValue='<%# ((GridItem)Container).OwnerTableView.GetColumn("TaskTypeName").CurrentFilterValue %>' 
                                                                AutoPostBack="true" >
                                                                            <Items>
                                                                                <telerik:radcomboboxitem Text="All" />
                                                                            </Items>
                                                                        </telerik:RadComboBox>
         
                                                                    </FilterTemplate>
                                                                      <ItemStyle Width="120px" />
                                                                    <HeaderStyle Width="120px" />
                                                            </telerik:GridBoundColumn>
                                                            <telerik:gridboundcolumn DataField="BusinessUnitsName" 
                                                                HeaderText="BusinessUnitsName" UniqueName="BusinessUnitsName" 
                                                                Visible="false">
                                                             <FilterTemplate>
                                                                        <telerik:RadComboBox ID="BUfilter" runat="server" 
                                                                AppendDataBoundItems="true" DataTextField="BusinessUnitsName"  
                                                                OnClientSelectedIndexChanged="BUIndexChanged"  OnPreRender="BUName_PreRender"  OnSelectedIndexChanged="BUName_SelectedIndexChanged"
                                                                            DataValueField="BusinessUnitsName" Height="200px" 
                                                                Width="100px" 
                                                                SelectedValue='<%# ((GridItem)Container).OwnerTableView.GetColumn("BusinessUnitsName").CurrentFilterValue %>' 
                                                                AutoPostBack="true"  >
                                                                            <Items>
                                                                                <telerik:radcomboboxitem Text="All" />
                                                                            </Items>
                                                                        </telerik:RadComboBox>
                                                                    
                                                                    </FilterTemplate>
                                                                      <ItemStyle Width="120px" />
                                                                    <HeaderStyle Width="120px" />
                                                            </telerik:GridBoundColumn>
                                                            <telerik:gridboundcolumn  DataField="TaskGroup" HeaderText="TaskGroup" 
                                                                Visible="false">
                                                                 <ItemStyle Width="120px" />
                                                                    <HeaderStyle Width="120px" />
                                                            </telerik:GridBoundColumn>
                                                            <telerik:gridboundcolumn AllowFiltering="false" AllowSorting="false" 
                                                                ShowFilterIcon="false" ShowSortIcon="false" DataField="Name" HeaderText="Name" 
                                                                Visible="false">
                                                             <ItemStyle Width="120px" />
                                                                    <HeaderStyle Width="120px" />
                                                            </telerik:GridBoundColumn>
                                                            <telerik:gridboundcolumn DataField="TaskPriorityName" 
                                                                HeaderText="TaskPriorityName" Visible="false">
                                                                    <FilterTemplate>
                                                                        <telerik:RadComboBox ID="Priorityfilter" runat="server"  
                                                                AppendDataBoundItems="true" DataTextField="TaskPriorityName"  
                                                                OnClientSelectedIndexChanged="PriorityIndexChanged"  
                                                                OnPreRender="Priority_PreRender"  OnSelectedIndexChanged="Priority_SelectedIndexChanged"
                                                                            DataValueField="TaskPriorityName" Height="200px" Width="100px" 
                                                                SelectedValue='<%# ((GridItem)Container).OwnerTableView.GetColumn("TaskPriorityName").CurrentFilterValue %>'  
                                                                AutoPostBack="true" >
                                                                            <Items>
                                                                                <telerik:radcomboboxitem Text="All" />
                                                                            </Items>
                                                                        </telerik:RadComboBox>
                                                                      
                                                                    </FilterTemplate>
                                                                      <ItemStyle Width="120px" />
                                                                    <HeaderStyle Width="120px" />
                                                            </telerik:GridBoundColumn>
                                                            <telerik:gridboundcolumn AllowFiltering="false" AllowSorting="false" 
                                                                ShowFilterIcon="false" ShowSortIcon="false" DataField="Title" 
                                                                HeaderText="Title" Visible="false">
                                                           <ItemStyle Width="120px" />
                                                                    <HeaderStyle Width="120px" />
                                                            </telerik:GridBoundColumn>
                                                            <telerik:gridboundcolumn DataField="IssueCategory" HeaderText="IssueCategory" 
                                                                Visible="false">
                                                               <FilterTemplate>
                                                                        <telerik:RadComboBox ID="Issuefilter" runat="server"  AppendDataBoundItems="true"
                                                                            DataTextField="IssueCategory" DataValueField="IssueCategory" 
                                                                Height="200px" Width="100px"  OnClientSelectedIndexChanged="IssuefilterIndexChanged" 
                                                                            
                                                                SelectedValue='<%# ((GridItem)Container).OwnerTableView.GetColumn("IssueCategory").CurrentFilterValue %>'  >
                                                                            <Items>
                                                                                <telerik:radcomboboxitem Text="All" />
                                                                            </Items>
                                                                        </telerik:RadComboBox>
                                                                   
                                                                    </FilterTemplate>
                                                                      <ItemStyle Width="120px" />
                                                                    <HeaderStyle Width="120px" />
                                                            </telerik:GridBoundColumn>
                                                            <telerik:gridboundcolumn DataField="CheckListID" HeaderText="CheckListID" 
                                                                Visible="false">
                                                            </telerik:GridBoundColumn>
                                                            <telerik:GridBoundColumn DataField="TaskID" HeaderText="TaskID" Visible="false">
                                                            </telerik:GridBoundColumn>
                                                            <telerik:gridboundcolumn DataField="fncanModifyTask" 
                                                                HeaderText="fncanModifyTask" UniqueName="fncanModifyTask" Visible="false">
                                                            </telerik:GridBoundColumn>
                                                             
                                                        </Columns>
                                                      
                                                    </MasterTableView>
                                                    <PagerStyle Mode="NextPrevAndNumeric" PageSizes="60" ></PagerStyle>
                                               
                                                </telerik:RadGrid>

Please tell me how to fix this , i have attached screenshot of stuck screen , we need loading panel in case of column filtering , this was working until the recent update.When we apply filter the loading panel keeps on going , while in background i can see results.























































Princy
Top achievements
Rank 2
 answered on 21 Feb 2014
16 answers
480 views
Hi I'm trying to extract data from the first column of my radgrid. Is it possible to do this without using a selected method? I want it to be done automatically on page load 
Shinu
Top achievements
Rank 2
 answered on 21 Feb 2014
8 answers
440 views
Hello,

We currently offer our users to download some pdf's from a radGrid thus, we need to disable ajax so we can "push" the file directly to the client without opening a new window.

So on the event "OnRequestStart" of our RadAjaxManager we have this script that disable ajax and it works great. But after the file is pushed, we need to re-enable ajax so crontrols like "RadCombobox" start working again.

function onRequestStart(ajaxManager, eventArgs) 
  if(eventArgs.EventTarget.indexOf("lnkbtnUpload") != -1) 
  { 
     eventArgs.EnableAjax = false
  } 

We tried OnRequestEnd, but didn't work. This event is not event fired, which is probably due to the fact that "ajax" is disabled.

How could this be achieved?

Thanks!
Silvio Silva Junior
Top achievements
Rank 2
 answered on 21 Feb 2014
1 answer
70 views
Hello friends,
In  ASP.NET GridViews we have a property called SelectedRow, this property allows selected a item or colum value, for example:

Grid with columns:

Name   Surname
Jhon      Hills
Patrick  Miller


When I selec the first column I want get the selected surname

for do this we need do follow:

string Surname = GridView1.SelectedRow.Cells[1].Text;
Response.Write(Surname);
//Ouput:
Hills
But In radGrid we don't have this property, anyone knows how can I do this????
Thanks and regards,
Luis


Princy
Top achievements
Rank 2
 answered on 21 Feb 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?