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

I have the following RadPageView in my WebForms application:

<telerik:RadPageView ID="rpvInspsSketch" runat="server">
     
     <div class="fs-container">
          <div id="lc"></div>
     </div>
 
     <script src="../_js_libs/react-0.14.3.js"></script>
     <script src="../_js_libs/literallycanvas.js"></script>
                         
     <script type="text/javascript">
          var lc = LC.init(document.getElementById("lc"), {
          imageURLPrefix: '../_assets/lc-images',
          toolbarPosition: 'bottom',
          defaultStrokeWidth: 2,
          strokeWidths: [1, 2, 3, 5, 30]
          });
     </script>
 
</telerik:RadPageView>

 

The canvas displays properly, but none of the drawing tools work.  If I move the code outside the RadPageView it works as expected. 

How can I get this to work inside the RadPageView?

Thanks - Jerald

Marin Bratanov
Telerik team
 answered on 22 Feb 2017
1 answer
159 views

to be able to get the desired menu for my css, i need the following output of menu:

01.<ul id="leftMenu" data-role="menu" class="k-widget k-reset k-header k-menu k-menu-horizontal" tabindex="0" role="menubar"style="display: block;">
02.    <li id="HeaderMain" style="display: inline-block;" class="k-item k-state-default k-first selectedMenu" role="menuitem">
03.        <div class="mnuLiCont">
04.            <div class="mnuHomeIcon"></div>
05.            <div class="mnuTxt">Home</div>
06.        </div>
07.    </li>
08.    <li id="HeaderDashBoard" style="display: inline-block;" class="k-item k-state-default" role="menuitem">
09.        <div class="mnuLiCont">
10.            <div class="mnuDashBoardIcon"></div>
11.            <div class="mnuTxt">Dashboard</div>
12.        </div>
13.    </li>
14.</ul>

 

This is the code im doing to be able to create this menu:

01.@(Html.Kendo().Menu()
02.          .Name("leftMenu")
03.          .Items(items =>
04.          {
05.              items.Add().HtmlAttributes(new { @id = "HeaderMain" , @class = "selectedMenu",@style = "display: inline-block;"});
06.              items.Add().HtmlAttributes(new { @id = "HeaderDashboard", @style = "display: inline-block;" });
07.              items.Add().HtmlAttributes(new { @id = "HeaderExtra", @style = "display: none;" });
08.          })
09.          .HtmlAttributes(new {@style = "display: block"})
10. 
11.        )

 

1.$(document)
2.        .ready(function () {
3.            $("#HeaderMain").append("<div class='mnuLiCont'><div class='mnuHomeIcon'></div><div class='mnuTxt'>Home</div></div>");
4.            $("#HeaderDashboard").append("<div class='mnuLiCont'><div class='mnuDashBoardIcon'></div><div class='mnuTxt'>Dashboard</div></div>");
5.             
6. 
7.        });

 

And in the next code you can see the undesired SPAN in each menu item, which i need to get rid of.

 

01.<ul id="leftMenu" data-role="menu" class="k-widget k-reset k-header k-menu k-menu-horizontal" tabindex="0" e="menubar"style="display: block;">
02.    <li id="HeaderMain" style="display: inline-block;" class="k-item k-state-default k-first selectedMenu" role="menuitem">
03.        <span class="k-link"></span>
04.        <div class="mnuLiCont">
05.            <div class="mnuHomeIcon"></div>
06.            <div class="mnuTxt">Home</div>
07.        </div>
08.    </li>
09.    <li id="HeaderDashBoard" style="display: inline-block;" class="k-item k-state-default" role="menuitem">
10.        <span class="k-link"></span>
11.        <div class="mnuLiCont">
12.            <div class="mnuDashBoardIcon"></div>
13.            <div class="mnuTxt">Dashboard</div>
14.        </div>
15.    </li>
16.</ul>

 

Ivan Danchev
Telerik team
 answered on 22 Feb 2017
3 answers
458 views

Hello,

I am an old VBScript and PHP programmer and have never dealt with ASP.NET, so please take it easy on me.  I am simply trying to migrate website from an Azure server to an AWS instance.  I was able to install the Telerik and change the assembly references in web.config, but now I'm getting this mismatch error and cannot figure out why.  I have updated my versions and PublicKeyTokens everywhere I can find, and it still isn't working.  Any insight would be greatly appreciated.

Configuration Error
 
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
 
Parser Error Message: Could not load file or assembly 'Telerik.Web.UI, Version=2017.1.118.45, Culture=neutral' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
 
Source Error:
 
 
An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
 
Source File: C:\inetpub\wwwroot\frequentbrc.azurewebsites.net\web.config    Line: 16
 
Assembly Load Trace: The following information can be helpful to determine why the assembly 'Telerik.Web.UI, Version=2017.1.118.45, Culture=neutral' could not be loaded.
 
 
=== Pre-bind state information ===
LOG: DisplayName = Telerik.Web.UI, Version=2017.1.118.45, Culture=neutral
 (Partial)
WRN: Partial binding information was supplied for an assembly:
WRN: Assembly Name: Telerik.Web.UI, Version=2017.1.118.45, Culture=neutral | Domain ID: 7
WRN: A partial bind occurs when only part of the assembly display name is provided.
WRN: This might result in the binder loading an incorrect assembly.
WRN: It is recommended to provide a fully specified textual identity for the assembly,
WRN: that consists of the simple name, version, culture, and public key token.
WRN: See whitepaper http://go.microsoft.com/fwlink/?LinkId=109270 for more information and common solutions to this issue.
LOG: Appbase = file:///C:/inetpub/wwwroot/frequentbrc.azurewebsites.net/
LOG: Initial PrivatePath = C:\inetpub\wwwroot\frequentbrc.azurewebsites.net\bin
Calling assembly : (Unknown).
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\inetpub\wwwroot\frequentbrc.azurewebsites.net\web.config
LOG: Using host configuration file: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet.config
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config.
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/Temporary ASP.NET Files/root/d8e92edb/efd48374/Telerik.Web.UI.DLL.
LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/Temporary ASP.NET Files/root/d8e92edb/efd48374/Telerik.Web.UI/Telerik.Web.UI.DLL.
LOG: Attempting download of new URL file:///C:/inetpub/wwwroot/frequentbrc.azurewebsites.net/bin/Telerik.Web.UI.DLL.
WRN: Comparing the assembly name resulted in the mismatch: Revision Number
ERR: Failed to complete setup of assembly (hr = 0x80131040). Probing terminated.
Vessy
Telerik team
 answered on 22 Feb 2017
5 answers
116 views
Hi,

Is it possible to use the new TileList for ASP.NET AJAX  in a ASP.NET MVC Razor application? If not, are there any plans to release a TileList control for the Kendo UI?

Thanks,
Pedro Manfredi
Marin Bratanov
Telerik team
 answered on 22 Feb 2017
1 answer
148 views
I have a complex diagram that represents the flow through a document. The document has numerous cross references between sections and the connections are used to show those references. None of the default layouts worked well to represent the sections so I am setting the X and Y coordinates of each shape. The connections mostly look acceptable but there are a few that are routing over existing shapes. Is there anything I can do to prevent connections from routing over shapes?
Bill
Top achievements
Rank 1
 answered on 21 Feb 2017
4 answers
280 views
Hi

I am using FilterType="Combined" in a RadGrid and it works as expected in IE using both Classic and Checklist filtering.
In Chrome, the Checklist filter is only applied the first time.
Any subsequent adding or removing of filters in the Checklist is ignored.
Unchecking and clicking Apply does not change the grid.  
Is this a known problem?

Regards 

John
ali
Top achievements
Rank 1
 answered on 21 Feb 2017
2 answers
579 views

I have the following radcombobox setup:

<telerik:RadComboBox ID="cbChannel2" runat="server" DropDownWidth="200px" HighlightTemplatedItems="True" Width="200px" DataTextField="sle_chnl_cd" DataValueField="sle_chnl_id" AutoPostBack="True" AppendDataBoundItems="True">
    <HeaderTemplate>
        <table cellpadding="1" cellspacing="0" class="Main" width="190px">
            <tr>
                <td class="ComboHeader2" width="50px" style="text-align: left; visibility: visible;"><b>Code</b>
                </td>
                <td class="ComboHeader2" width="140px" style="text-align: left; visibility: visible;"><b>Description</b>
                </td>
            </tr>
        </table>
    </HeaderTemplate>
    <ItemTemplate>
        <table cellpadding="1" cellspacing="0" class="Main" width="190px">
            <tr>
                <td width="50px" style="text-align: left; visibility: visible;">
                    <%#DataBinder.Eval(Container.DataItem, "sle_chnl_cd")%>
                </td>
                <td width="140px" style="text-align: left; visibility: visible;">
                    <%#DataBinder.Eval(Container.DataItem, "sle_chnl_name")%>
                </td>
            </tr>
        </table>
    </ItemTemplate>
</telerik:RadComboBox>

Sometimes I have to add an additional row after the combobox has already been DataBound.  I understand how to add a radcomboboxitem  what I don't understand is how to add one such that "sle_chnl_name" actually gets a value?  How do I add a row that's contained in a dataset without losing the data that's already been loaded? 

SSirica
Top achievements
Rank 3
Iron
Iron
Iron
 answered on 21 Feb 2017
0 answers
53 views

Hi Team,

I am using autocomplete the list is bound to a column which can have empty values. Now when we click on control you shows the list which have blank values as well. If we click on the UI without selecting any option from the autocomplete it select the first blank option from the list. 

 

Behavior should be if we click on UI without selecting any option from the autocomplete list it should not select any value. Please suggest

Regards

 

Raju
Top achievements
Rank 1
 asked on 21 Feb 2017
1 answer
99 views

When filters are added to a sheet and then exported, the entire sheet is exported.

Is it possible to export only the filtered data on the sheet?

Vessy
Telerik team
 answered on 21 Feb 2017
1 answer
153 views

Hi

Is it possible to draw filled rectangles series to the radhtmlchart? See the attachment

 

Regards,

Auvo

 

 

Vessy
Telerik team
 answered on 21 Feb 2017
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?