telerik

Telerik 调用控件中的控件

不问归期 提交于 2019-11-27 07:28:43
现有RadListView列表控件,控件中有嵌套了一个RadRating,页面布局如下: 代码如下: <telerik:RadListView ID= " RlvwCriticism " runat= " server " AllowCustomPaging= " true " ItemPlaceholderID= " item " PageSize= " 8 " AllowPaging= " True " OnItemDataBound= " RlvwCriticism_ItemDataBound " OnItemCommand= " RlvwCriticism_ItemCommand " OnPageIndexChanged= " RlvwCriticism_PageIndexChanged " > <EmptyDataTemplate> <div style= " text-align: center; " > <span style= " color: #808080; text-decoration: none; " >暂无评论!</span> </div> </EmptyDataTemplate> <LayoutTemplate> <table id= " item " runat= " server " ></table> <table> <tr> <td>

Detecting Memory Leaks in ASP.NET [closed]

99封情书 提交于 2019-11-27 04:11:11
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 6 years ago . My development team is using ASP.NET 3.5 / 4.0 right now, and our sites are running on IIS 7.5. Recently, we've been having problems

Uncaught TypeError : cannot read property 'replace' of undefined In Grid

末鹿安然 提交于 2019-11-27 03:51:40
问题 I'm new in using Kendo Grid and Kendo UI . My question is how can i resolve this Error Uncaught TypeError: Cannot read property 'replace' of undefined This is my Code on my KendoGrid $("#Grid").kendoGrid({ scrollable: false, sortable: true, pageable: { refresh: true, pageSizes: true }, dataSource: { transport: { read: { url: '/Info/InfoList?search=' + search, dataType: "json", type: "POST" } }, pageSize: 10 }, rowTemplate: kendo.template($("#rowTemplate").html().replace('k-alt', '')),

Cannot identify selected page in telerik grid. I need selected page to be underlined. Help me in this

允我心安 提交于 2019-11-26 23:43:40
问题 For my telerik radgrid I am using numeric pages. I can see the page numbers. But I am not able to identify the selected page. All the page numbers remais alike after selecting the page. I need the selected page number to be underlined. Help me in this 回答1: There is a control called PagerTextFormat that allows you to display current page, total page number, total record number and etc. After adding your grid (radgrid), you can manually define a PagerStyle block in aspx side and put your code

How can I convert a string length to a pixel unit?

痞子三分冷 提交于 2019-11-26 18:10:00
问题 I have a string like this: string s = "This is my string"; I am creating a Telerik report and I need to define a textbox that is the width of my string. However the size property needs to be set to a Unit (Pixel, Point, Inch, etc). How can I convert my string length into, say a Pixel so I can set the width? EDIT: I have tried getting a reference to the graphics object, but this is done in a class that inherits from Telerik.Reporting.Report . 回答1: Without using of a control or form: using