Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
57 views
I'm brand new to using Telerik AJAX controls.  I updated today to Q2'13, my first upgrade.

After the installation, I ran the Upgrade Wizard on my project and got all Greens.

But now all of my pages show:

Parser Error Message: Could not load file or assembly 'Telerik.OpenAccess, Version=2013.1.219.3, Culture=neutral, PublicKeyToken=7ce17eeaf1d59342' or one of its dependencies. The system cannot find the file specified.


I'm sure there is something really simple that I am missing.  I had assumed it would update my references.

Is this normal behavior or am I missing something?  I find it hard to believe I have to update all the assembly references in my whole project.

Thanks for any help,
Newby
Biliana Ficheva
Telerik team
 answered on 14 Jun 2013
1 answer
129 views
Hi
I use local copies of your std skin files so I can make subtle changes.

I have just installed the latest release, and all my button controls have lost their CSS styling - see image.

What has changed?

Andy
Bozhidar
Telerik team
 answered on 14 Jun 2013
5 answers
168 views
i have a radpanelbar that contains a radgrid. i have turned on allowpaging but not sure how to make the paging works. every time when i click on page 2 or next page or any page, my grid disappear. so i put in OnNeedDataSource but it only refreshes my grid and not going to the right page. any idea how to do this? thank you
<telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="true" PageSize="10" OnNeedDataSource="RadGrid1_NeedDataSource">
<MasterTableView DataKeyNames="id" AutoGenerateColumns="false" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center"
                                                AlternatingItemStyle-HorizontalAlign="Center" >
                                                <Columns>
 <telerik:GridBoundColumn DataField="id" HeaderText="id" UniqueName="id" ReadOnly="true" />
</Columns>
                                            </MasterTableView>
                                            <PagerStyle Mode="NextPrevAndNumeric" />
                                        </telerik:RadGrid>




Princy
Top achievements
Rank 2
 answered on 14 Jun 2013
13 answers
598 views
HI,

I am building one radgrid with dynamic column creation. i.e I am binding dynamic columns in code behind file. I have declared grid as follows.

<

telerik:RadGrid ID="radgrdClaimsAvailable" runat="server" Skin="Office2007" GridLines="None" AllowPaging="true" PageSize="10" AutoGenerateColumns="true">

 

 

<HeaderStyle BackColor="#E3EAF1"></HeaderStyle>

 

 

<ClientSettings EnablePostBackOnRowClick="true">

 

 

<Selecting AllowRowSelect="True"></Selecting>

 

 

</ClientSettings>

 

 

<MasterTableView PagerStyle-AlwaysVisible="true" PagerStyle-Mode="NextPrevNumericAndAdvanced" AllowPaging="true" AllowSorting="true">

 

 

</MasterTableView>

 

 

</telerik:RadGrid>

 


Now I want hide one column. How can I achieve this through code behind. When I put following line of code in Grid PreRender, ColumnCreated, Page Prerender Completed event events it is throughing exception like:

Code:

If

radgrdClaimsAvailable.Columns.Count > 2 Then

 

radgrdClaimsAvailable.Columns(1).Display =

False

 

radgrdClaimsAvailable.Columns(2).Display =

False

 

 

End If

 



Exception:

Failed accessing GridColumn by index. Please verify that you have specified the structure of RadGrid correctly.

Please Help me in Hiding the columns in CodeBehind for RadGrid.

Thanks in Advance,
Medac
Purojit
Top achievements
Rank 1
 answered on 14 Jun 2013
2 answers
110 views
Here is my javacript  that open radwindow
  function RadWindowOpenCourseContinuen(num, cid) {
                var wnd = $find("<%=modalPopup.ClientID %>");
                wnd.setUrl("test.aspx");
                wnd.show();
                return false;
            }
Here is button that open radwindow
  <asp:Button ID="btnContinue" runat="server" CssClass="button" TabIndex="37" Text="Click here to continue..."
                                            OnClientClick="RadWindowOpenCourseContinuen(); return false; " />
Here is my code behind part
  string strhtmlnew = "javascript:RadWindowOpenCourseContinuen('1','" + Session["CID"] + "');";
 btnContinue.Attributes.Add("onclick", strhtmlnew);
Problem is not passed argument simple open test page
Coolbudy
Top achievements
Rank 1
 answered on 14 Jun 2013
5 answers
252 views
The following controls position correctly when the DatePopupbutton visible property is true
The labels are directly above the datepicker controls using IE 6 and firefox 3.04
But when I set the visible property to false then the controls are not positioned the same between the two browsers?????


####################################################################################################
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="daterange.ascx.cs" Inherits="UserControls_daterange" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

  <asp:Label ID="Label1" runat="server"
    style="z-index: 1; left: 0px; top: 6px; position:absolute; height: 15px; width: 67px;"
        Text="Start Date"  Font-Size="X-Small"></asp:Label>
        
<telerik:RadDatePicker ID="_Start" runat="server"
    style="z-index: 1; left: 0px; top: 27px; position: absolute; height: 21px; width: 125px">
</telerik:RadDatePicker>
                  
<asp:Label ID="Label2" runat="server"
        style="z-index: 2; left: 0px; top: 57px; position:absolute; height: 15px; width: 67px"
        Text="End Date" Font-Size="X-Small"></asp:Label>

<telerik:RadDatePicker ID="_End" runat="server"
    style="z-index: 1; left: 0px; top: 77px; position: absolute; height: 21px; width: 125px">
</telerik:RadDatePicker>
########################################################################################


After setting DatePopupbutton visible property to false


########################################################################################
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="daterange.ascx.cs" Inherits="UserControls_daterange" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

  <asp:Label ID="Label1" runat="server"
    style="z-index: 1; left: 0px; top: 6px; position:absolute; height: 15px; width: 67px;"
        Text="Start Date"  Font-Size="X-Small"></asp:Label>
        
<telerik:RadDatePicker ID="_Start" runat="server"
    
    style="z-index: 1; left: 0px; top: 27px; position: absolute; height: 21px; width: 125px"
    Culture="English (United States)">
    <DateInput Height="21px" Width="125px">
    </DateInput>
<Calendar UseRowHeadersAsSelectors="False" UseColumnHeadersAsSelectors="False" ViewSelectorText="x"></Calendar>

<DatePopupButton ImageUrl="" HoverImageUrl="" Visible="False"></DatePopupButton>
</telerik:RadDatePicker>
                  
<asp:Label ID="Label2" runat="server"
        style="z-index: 2; left: 0px; top: 57px; position:absolute; height: 15px; width: 67px"
        Text="End Date" Font-Size="X-Small"></asp:Label>

<telerik:RadDatePicker ID="_End" runat="server"
    
    style="z-index: 1; left: 0px; top: 77px; position: absolute; height: 21px; width: 125px"
    Culture="English (United States)">
    <DateInput Height="21px" Width="125px">
    </DateInput>
<Calendar UseRowHeadersAsSelectors="False" UseColumnHeadersAsSelectors="False" ViewSelectorText="x"></Calendar>

<DatePopupButton ImageUrl="" HoverImageUrl="" Visible="False"></DatePopupButton>
</telerik:RadDatePicker>
########################################################################################
Shinu
Top achievements
Rank 2
 answered on 14 Jun 2013
2 answers
86 views
Hello,
I wanted to know if it is possible to force the suggestion research elements with javascript code without depending on the filter?
I looked to see if it is possible to disable the filter method as:
[ Filter ="none" ] , but it is impossible.. only Filter="Contain" or Filter="StartWith".
I was wondering if you know a javascript function that could allow to force the display of the popup ? Or disable the filter.To see all the proposed elements when the user takes the focus of the field.
Thanks a lot..

Mehdi
Top achievements
Rank 1
 answered on 14 Jun 2013
0 answers
104 views
Hello,

The Telerik Team,

There is a problem with RadFileUpload Control select Button. When we click Select Button of RadFileUpload Control, the Select Button is not responding and not opening File Dialog Window for browsing/selecting the file. This issue is happening in IE 8.

I have done research on the above but could not find any solution. My client is complaining about this.

Could you please provide the needful help.

Regards
Sunil
Sunil
Top achievements
Rank 1
 asked on 14 Jun 2013
13 answers
186 views
In edit mode of telerik text editor text alignment is working but after publish and re edit  it not working.
Stanimir
Telerik team
 answered on 14 Jun 2013
1 answer
534 views
hi,
I have a rad window which opens on button click. It has many text boxes.
I want to pass text boxes value to its parent page.
I wrote this code in popup

 function returnToParent() 
                  {
                                     
                    var oArg = new Object();
                     oArg.txtRateType=document .getElementById ("txtRateType").value;
                
                   
                    oArg.txtLabourWeekdayTotal=document .getElementById ("txtLabourWeekdayTotal").value;
                    oArg.txtLabourSaturdayTotal=document .getElementById ("txtLabourSaturdayTotal").value;
                  var oWnd = GetRadWindow();
 oWnd.close(oArg);
}
I m calling this funtion on submit button of this form.

Then on parent page,i have defined

<telerik:RadWindowManager ID="RadWindowManagerServiceReportDetails" runat="server" OnClientPageLoad="OnClientPageLoad"  Font-Names="Arial, Helvetica, sans-serif">
            <Windows >
                 <telerik:RadWindow ID="UserListDialogInvoiceWorksheet" runat="server"  Height="740px" 
                   Width="910px" ReloadOnShow="true" ShowContentDuringLoad="false" OnClientClose="OnClientCloseInvoicePopup" 
                   Modal="true" KeepInScreenBounds="true" Behaviors="Close,Move"  Font-Names="Arial, Helvetica, sans-serif" Font-Size="11 px" />
            </Windows>
    </telerik:RadWindowManager>

so when radwindow closes,this function gets called





  function OnClientCloseInvoicePopup(oWnd, args)
 {
             
               var arg = args.get_argument();
            
               if (arg) 
{
var  textBox = $find("<%=txtExitReportInvStandardDays.ClientID %>");
textBox.set_value(arg.txtLabourWeekdayTotal); 

var  textBox1 = $find("<%=txtExitReportInvPremiumDays.ClientID %>");
textBox1.set_value(arg.txtLabourSaturdayTotal)); 

}
}

but when if textbox is equal to null. and an error occurs 'null is null or not an object'.

please help me this problme.

Shinu
Top achievements
Rank 2
 answered on 14 Jun 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?