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

I am facing reference issue with RadGantt, i am using Telerik.Web.UI, Version=2013.3.1015.45

Error 85 The type or namespace name 'RadGantt' does not exist in the namespace 'Telerik.Web.UI' (are you missing an assembly reference?) F:\Magazine Web\Code\CAMWeb\WebFormsApp\WebTest.aspx.designer.cs 22 42 WebFormsApp

Using this demo code

<telerik:RadGantt ID="RadGantt1" 
            runat="server" 
            DataSourceID="SqlDataSource1" 
            DependenciesDataSourceID="SqlDataSource2" 
            ReadOnly="true" 
            SelectedView="WeekView">
             <DataBindings>
                <TasksDataBindings IdField="ID" ParentIdField="ParentID" StartField="Start" OrderIdField="OrderID" SummaryField="Summary" ExpandedField="Expanded" EndField="End" TitleField="Title"
                    PercentCompleteField="PercentComplete" />
                <DependenciesDataBindings TypeField="Type" IdField="ID" PredecessorIdField="PredecessorID" SuccessorIdField="SuccessorID" />
             </DataBindings>
        </telerik:RadGantt>

Ivan Danchev
Telerik team
 answered on 21 Jan 2015
1 answer
84 views
I am wanting to track the time it takes a user to begin the edit process when they click on a edit button (ImageButtonEdit)  in a editCommandColumn,
This is the eqatec code I want to inject on the server side via register script when the button is clicked... 

// Tracking timing
g._eqatecmonitor.trackFeatureStart("SomeLongOperation");


When they click on the save command.. I want to insert the stop monitoring code..

someLongOperation();
g._eqatecmonitor.trackFeatureStop("SomeLongOperation");


Has anyone done this?  I am using the eqatec javascript side of this to track client behavior, not the server side options.





01.<Columns>
02.    <telerik:GridTemplateColumn UniqueName="EditCommandColumn" AllowFiltering="false">
03.        <ItemTemplate>
04.            <div style="width: 50px">
05.                <asp:ImageButton ID="ImageButtonEdit" runat="server" CommandName="Edit" ImageUrl='<%# string.Format("~/App_Themes/{0}/Grid/Edit.gif", Page.Theme) %>'
06.                    AlternateText="Edit" ToolTip="Edit" />
07.                  
08.                <asp:ImageButton ID="ImageButtonDuplicate" runat="server" CommandName="Duplicate"
09.                    ImageUrl='<%# string.Format("~/App_Themes/{0}/Images/Copy_16.gif", Page.Theme) %>'
10.                    AlternateText="Duplicate" ToolTip="Duplicate" />
11.            </div>
12.        </ItemTemplate>
13.        <ItemStyle HorizontalAlign="Center" />
14.    </telerik:GridTemplateColumn>
Richard Flamsholt
Telerik team
 answered on 21 Jan 2015
6 answers
476 views
I need to be able to occasionally span a Text value across 3 NumericColumns when those columns are not relevant. I have attached a screenshot where I have cleared the appropriate columns and added the Text info. Now I need to know how to span the text from Column 1 into Column 2 and 3 without affecting the column headers or the data in other rows.

Here are a few snippets of my code to show what I'm working with:

CODE-BEHIND (ItemDataBound)
If Not IsDBNull(dataRow("span_data")) Then
  For Each col As GridColumn In TryCast(sender, RadGrid).MasterTableView.RenderColumns
    Select Case col.UniqueName
      Case "column1"
        col.ItemStyle.HorizontalAlign = HorizontalAlign.Leftrow("column1_data").Text = CStr(dataRow("span_data"))
      Case "column2"
        row("column2_data").Text = " "
      Case "column3"
        row("column3_data").Text = " "
    End Select
  Next
End If


FRONT-END
<telerik:GridNumericColumn HeaderText="Column 1" HeaderStyle-Width="80px" ItemStyle-HorizontalAlign="Right" DataField="column1" UniqueName="column1" SortExpression="column1" DataFormatString="{0:$#,##0;($#,##0);$#,##0}" />

<
telerik:GridNumericColumn HeaderText="Column 2" HeaderStyle-Width="80px" ItemStyle-HorizontalAlign="Right" DataField="column2" UniqueName="column2" SortExpression="column2" DataFormatString="{0:$#,##0;($#,##0);$#,##0}" />

<
telerik:GridNumericColumn HeaderText="Column 3" HeaderStyle-Width="80px" ItemStyle-HorizontalAlign="Right" DataField="column3" UniqueName="column3" SortExpression="column3" DataFormatString="{0:$#,##0;($#,##0);$#,##0}" />

License
Top achievements
Rank 1
 answered on 21 Jan 2015
8 answers
238 views
After setting the back color of the treelist,, the alternating row selection color only covers half the row. How can I remove this behavior?
Pavlina
Telerik team
 answered on 21 Jan 2015
1 answer
333 views
We are using a third party tool to monitor our web application and log exceptions.  That tool is showing "The Pattern constraint failed" (class: XmlSchemaException) exceptions within RadMenu_Load event. I tried to identify the possible cause, but I did not make it.  Are you aware of this exception in RadMenu ? Is there any possibility in getting this exception in RadMenu ?
Boyan Dimitrov
Telerik team
 answered on 21 Jan 2015
1 answer
133 views
We had recently updated from 2012 - Q2 to 2013 - Q3 . We have come across an issue where url encodes with %20 (aka a space in the name of the image) causes a RadButton with an image to change the url on mouse over / hover and make the image disappear / lose it's original URL because the encoding is changing.

For example, the original url for an image will load and display as:

http://8f2270e13c3e0703baa2-6c2aaf386ecfc7423d48bccd1a997322.r2.cf1.rackcdn.com/Public-Personal/Who%20We%20Are/Our%20Mission/plumpy-updated.jpg

When hovered, it is changed to:

http://8f2270e13c3e0703baa2-6c2aaf386ecfc7423d48bccd1a997322.r2.cf1.rackcdn.com/Public-Personal/Who%2520We%2520Are/Our%2520Mission/plumpy-updated.jpg

The url returned back that then does not display is encoding my %20 (a space) now to a %2520 (%25 is a %) and the added 20 goes no where causing a dead link. 

Is there a simple solution to prevent the automatic encoding from happening? I would prefer to not go through a 4 year old project and change every image that could potentially have this happening. 

We have typically tried to keep spacing out of our url's as a best practice, but it does not always happen that way.

Thanks
Danail Vasilev
Telerik team
 answered on 21 Jan 2015
1 answer
38 views
Hello,

I have an editor (type GridEditFormType.Template) which itself can open a little popup window (just a little div with position: absolute and z-index: 5000). This works well, but it is hidden behind the table header. I posted you a screenshot where you can see the popup hidden behind the header.
Just raising the z-index won't work, some how its always hidden behind the grid.
Is there an easy way to get the div to be shown over the header?

Thanks!
Konstantin Dikov
Telerik team
 answered on 21 Jan 2015
1 answer
81 views
Is it possible to get some vertical space between items?
Ideal for me would be to have 15px between root times and 10 px between root items and child items.
Some direction on this would be appreciated.
Thanks
Konstantin Dikov
Telerik team
 answered on 21 Jan 2015
9 answers
892 views

Hello Team,

                          Currently i am using  Telerik rad grid in my project and i am facing some problem during edit time and problem is that i want to give tab indexing to my text boxes so that tab indexing should be from left to right and vice versa and currently first it is working only for left side and after that right side as i have attached screen shot that's my need so please revert me soon i am waiting of your reply...


Thanks & Regards,
Sunny
Eyup
Telerik team
 answered on 21 Jan 2015
11 answers
140 views
Hi Everyone,

I would like to ask if anyone can help me with this problem, since till now i wasnt able to solve it myself. Problem is with RadAsyncUpload.
- This control is in <asp:Panel> so maybe that can cause it, maybe not.

- This problem occures only in Firefox. In IE and Chrome, upload control is working as expected.

- Problem definition: I click "Browse My Computer" button. Dialog will appear, then i select file and click "open". Dialog will close and nothing will happen. Nothing will start uploading, nothing will show up. There is only "Browse my computer" button and nothing is being done.

- In Firefox when i click on "Browse my computer" button, the page goes to loadPage javascript action and i think also to postback, since i hit the debugger in my customControl.ascx.cs file, so i concluded that in FF after clicking on this button i immediately go to postback but on Chrome and IE i am not jumping into pageLoad nor to debugger in .cs file.

- Also, in Firefox after i click open i wont jump into rauUpload_FileUploaded method. in IE and Chrome i do.

- I checked telerik live demos and it works OK in firefox there.

- Please note that postback happens after i click on "Browse my computer button", NOT after clicking on "open"

The structure is like follows:

MasterPage
{
    page.aspx
    {  
         <asp:panel>
         customControl.ascx
         {
             <RadAsyncUpload>
         }
         </asp:panel>
    }
}


UploadControl code:
<telerik:RadAsyncUpload ID="rauUpload" runat="server" OnFileUploaded="rauUpload_FileUploaded"
    EnableInlineProgress="false" ManualUpload="false" MultipleFileSelection="Automatic"
    MaxFileInputsCount="1" HideFileInput="true" OnClientFilesUploaded="checkFiles"
    OnClientFileUploadRemoved="fileRemoved" Width="150px" OnClientFileDropped="fileRemoved">
    <Localization Select="Select" />
</telerik:RadAsyncUpload>


Files and Versions included from MasterPage(I write these, since it can maybe interfere with telerik asyncupload somehow. They are included in the order they are written here):
jquery-2.1.js
jquery-migrate-1.2.1.min.js
jquery-ui-1.10.4.custom.min.js
jquery.tooltipster.min.js
select2.js
jquery.reveal.js
jquery.dropdown.min.js
JEditable.js
jquery.maskedinput.min.js
UploadControl.js
CommonScripts.js
Telerik DLLs are latest version, i downloaded them yesterday - 2014.3.1024.40


Thanks to anyone who is willing to help me with this.

Plamen
Telerik team
 answered on 21 Jan 2015
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?