Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
75 views
Hi,

I went to build the Source for the RadAjaxControls, and at first, was not able to resolve a bunch of references. I went to a previous version and found those assemblies in C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0

When I then went to build, a number of build errors occurred. 818 in all. This is one example:
Error    818    The type or namespace name 'ScriptReference' could not be found (are you missing a using directive or an assembly reference?)    D:\programming\Telerik Controls\Telerik Controls\AJAX\2011_519\RadControlsAjaxSource\Telerik.Web.UI\Grid\RadGrid.cs    3195    67    Telerik.Web.UI
 
Can anyone help me to resolve this. I think this is more about my environment, than a problem with the Telerik project. Earlier in the day I was not able to build the quick starts in the 2010 WCSF. I have no clue what is going on.

Cheers
David
Top achievements
Rank 1
 answered on 29 May 2011
1 answer
129 views
In the RadCalendar when you hover over the weekday name or the week number the row or column is highlighted as shown in the attached screen shot.

Can someone please tell me how to disable this?

Thanks.
Marin
Telerik team
 answered on 28 May 2011
1 answer
58 views
Hi, I´m new asp.net developer and working with telerik controls, in my app I have 3 textboxes, the first one is for ID of customers, the second is for name and the third one is for last name. I use this textboxes to search custumers and populate them in a radGrid when a button is pressed, now the searching only works with only one textbox, I mean, if I put the ID in the Id textbox I get as reseult the customer corresponding to that ID, if I put the name it shows me all the customers that matches with the name, and is the same case for the last name, but if I put both name and last name I only get the results of the last textbox I fill, How can I make the search with both values, the name and last name?
 Here is the code that I implement when clicking the search button.
Hope you could help me.
protected void btnBuscar_Click(object sender, EventArgs e)
        {
              if (rdTxtExp.Text == "" && rdTxtApat.Text == "" && rdTxtAmat.Text == "" && rdTxtNom.Text == "")
            {
                Alerta("Captura al menos un criterio de busqueda");
            }
            else
            {
                BuscaSolicitanteGrid();
            }
  
        }
  
        private void BuscaSolicitanteGrid()
        {
  
            try
            {
  
                var bdInstContext = new BD_INSTEntities();
  
                var empleados = from emp in bdInstContext.Empleados
                                where emp.exp_emp == rdTxtExp.Value
                                select emp;
  
  
                rgSolic.DataSource = empleados;
                rgSolic.Rebind();
  
                if (rdTxtNom.Text != "")
                {
                    var bdInstContextNom = new BD_INSTEntities();
  
                    var empleadoNom = bdInstContextNom.Empleados.Where("it.nombre_emp = '" + rdTxtNom.Text + "'");
  
  
                    //var empleadoNom = from emp in bdInstContextNom.Empleados
                    //                where emp.nombre_emp == rdTxtNom.Text
                    //                select emp;
  
                    rgSolic.DataSource = empleadoNom;
                    rgSolic.Rebind();
  
                }
  
                if (rdTxtApat.Text != "")
                {
                    var bdInstContextApat = new BD_INSTEntities();
  
  
  
  
                    var empleadoApat = from emp in bdInstContextApat.Empleados
                                       where emp.paterno_emp == rdTxtApat.Text
                                       select emp;
  
                    rgSolic.DataSource = empleadoApat;
                    rgSolic.Rebind();
  
                }
  
  
                if (rdTxtAmat.Text != "")
                {
                    var bdInstContextAmat = new BD_INSTEntities();
  
  
  
                    var empleadosAmat = from emp in bdInstContextAmat.Empleados
                                        where emp.materno_emp == rdTxtAmat.Text
                                        select emp;
  
                    rgSolic.DataSource = empleadosAmat;
                    rgSolic.Rebind();
  
                  }
  
            }
 
Genti
Telerik team
 answered on 28 May 2011
3 answers
122 views

This post replaces an earlier one with the same title

I am developing (Visual Studio 2010) a web application aimed at browsers with SVG capability, including Internet Explorer 9. I am using Telerik's ASP.NET Ajax (version Q2 2010) and loading the jQuery V1.4.2 javascript library into the page via the RadScriptManager.

<telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    <Scripts>
        <%--Needed for JavaScript IntelliSense in VS2010--%>
        <%--For VS2008 replace RadScriptManager with ScriptManager--%>
        <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
        <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
        <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
    </Scripts>
</telerik:RadScriptManager>

I would also like to use a jQuery plug-in to implement the SVG stuff see http://keith-wood.name/svg.html. This is an excellent plug-in but it has a small problem with IE9 (see the 'SVG DOM' tab in the previous link ) which requires some limited modifications to the jQuery core script.The mods are clearly indicated in the document (click on the 'show mods' button).

Since the jQuery script is contained in a compressed format in the Telerik assembly, I cannot get at it to incorporate the required changes.

It would help me (and many other developers too) if Telerik could make the required modifications to the jQuery code and make it available as a download from the Software Library.

This would enable me to replace

<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />

with

<asp:ScriptReference Path="~/Scripts/Telerik/jquery-svg.js" />


Many thanks

Len Jones

Leonard Jones
Top achievements
Rank 1
 answered on 28 May 2011
3 answers
81 views
There is a memory leak when you have a RadGrid that uses client-side binding via setting the OnCommand client event along with a column that has HeaderStyle-Width equal to a percentage value. Explorer cpu usage was static at 13%, and memory was slowly growing. The issue was not reproducible in Chrome.

<telerik:RadGrid ID="rgvStatus" runat="server" GridLines="None" Skin="Outlook" ShowFooter="True" EnableViewState="false">
  <MasterTableView AutoGenerateColumns="False">
     <Columns>
       <telerik:GridBoundColumn HeaderText="Name" DataType="System.String" DataField="Name"
           UniqueName="Name" HeaderStyle-Width="40%" />
       <telerik:GridBoundColumn HeaderText="Task" DataType="System.String" DataField="Task"
           UniqueName="Task" HeaderStyle-Width="40%" />
       <telerik:GridDateTimeColumn HeaderText="Time Started" DataType="System.DateTime"
           DataFormatString="{0:t}" DataField="TimeStarted" UniqueName="TimeStarted" />
    </Columns>
  </MasterTableView>
  
  <ClientSettings>
    <Scrolling AllowScroll="true" UseStaticHeaders="true" ScrollHeight="250px" />
     <ClientEvents OnCommand="pageLoad" />
  </ClientSettings>
  
  <FilterMenu EnableImageSprites="False"></FilterMenu>
                      
  <HeaderContextMenu CssClass="GridContextMenu GridContextMenu_Default">
  </HeaderContextMenu>
</telerik:RadGrid>

The OnCommand function does not have to do anything, it leaks regardless. I was able to work around the issue by using a pixel value for the column widths.


Nick
Pavlina
Telerik team
 answered on 28 May 2011
1 answer
55 views
Hello,

I'm trying to create a demo to convince my company to purchase the Telerik AJAX library.  One of our key requreiemtns is column freezing.  However, I notice what seems to be a pretty bad bug in this (it reproduces on the demo site http://demos.telerik.com/aspnet-ajax/grid/examples/generalfeatures/frozencolumns/defaultcs.aspx).

Open the demo and scroll horizontally all the way to the right.  Now grab the lower right resize handle of your browser and resize it a little.  The horizontal scrollbar disappears!  You can no longer get to the columns that are out of view.  This happens in both IE 9 and chrome!

Please help!
Pavlina
Telerik team
 answered on 28 May 2011
7 answers
113 views
Hi,

i am trying RadGrid on SP2010.
I added the Webpart to a page and it looks good.
Accessing the page with a standard user he gets Access denied?!
After removing the part he couls use the page again.
I would like to have at less rights as possible in that area for the users. Which permissions are required to access the radgrid.

P.S. is able to access the list displayed in the grid and also to view, add and edit items over there.

Best regards

Christof
Sebastian
Telerik team
 answered on 28 May 2011
7 answers
152 views
Hello,

I am trying to get the column index when right clicking the radgrid to open up a context menu. target.cellindex returns as 'Undefined'.
I find that sometimes it does return the right index and at other times its undefined. 
Upon further debugging I noticed that when the index returns as undefined, the 'cellIndex' variable property is not found under the 'target' reference and is when it returns a number.

This is pretty urgent and I'd like to get a fix for this ASAP. 
Has this issue been fixed or is there a workaround?

Thanks!

Posted 12 minutes ago (permalink)

Upon further debugging I noticed that when the index returns as undefined, the 'cellIndex' variable property is not found under the 'target' reference and is when it returns a number.

This is pretty urgent and I'd like to get a fix for this ASAP. 

Posted 12 minutes ago (permalink)

Upon further debugging I noticed that when the index returns as undefined, the 'cellIndex' variable property is not found under the 'target' reference and is when it returns a number.

This is pretty urgent and I'd like to get a fix for this ASAP. 
Tsvetina
Telerik team
 answered on 28 May 2011
1 answer
107 views
Hi,

i want to use red editor in my sharpoint web application...

I want custom fieldtype which has rad editor and this custom field type use in list..

Thanks in advance..
Stanimir
Telerik team
 answered on 28 May 2011
9 answers
274 views
Hello,i'm Student,i'm studying about RadGrid,i have some problem ,plz help me
I have 2 table that's Customer and Bill,i also 2 RadGrid , i want Radgrid1 containing Customer Information and Radgrid2 (In <NestedViewTemplate> )  containing  Bill information with condition is CustomerID= Value when i click Expand
What's should i do ?
http://nguy-hiem.co.cc/share/567.png

THANKS !
trunghieu
Top achievements
Rank 1
 answered on 28 May 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?