rad-controls

Need to call server side event using __doPostBack

*爱你&永不变心* 提交于 2020-01-13 10:33:27
问题 I have server side event like this. protected void RadTreeView1_ContextMenuItemClick(object sender, RadTreeViewContextMenuEventArgs e) { // implementation here. } I am trying to call it from client side javascript. I have tried __doPostBack("contextMenuItemID", "some string") it posts the page back to server, but this does not invoke the original ContextMenuItemClick event. How can I invoke the original contextMenuItemClick event with proper event Args? 回答1: You'll want to look at using the

Telerik “Live Demos” solution - connection strings & database setup

余生长醉 提交于 2020-01-07 04:26:07
问题 Looking for a person who's setup the Telerik Rad Controls for ASP.NET AJAX Live Demos project before... I recently downloaded the Telerik Rad Controls for ASP.NET AJAX framework. I'm in the process of upgrading some of our company's code using the Telerik Rad Controls for ASP.NET (non-AJAX) framework from about 5-6 years ago to the new AJAX framework. Many of the old controls don't work in the latest browser releases (Google Chrome 12, Mozilla Firefox, Internet Explorer). Some controls work

Custom RTE Dropdown in Sitecore 7.0

一世执手 提交于 2019-12-24 05:21:34
问题 My client desires to have a dropdown similar to Symbols Dropdown in the RTE (sitecore version 7.0). The client wants different dropdowns for different symbol types, for example, a dropdown having Greek Symbols Upper case, a dropdown having Greek Symbols Lower case, a dropdown having Mathematical Symbols and a dropdown having Other/Misc types of symbols. I have tried to understand how RadControls work and how to add this on Telerik RadControl but I am unable to map the concept to sitecore's

Custom RTE Dropdown in Sitecore 7.0

佐手、 提交于 2019-12-24 05:21:14
问题 My client desires to have a dropdown similar to Symbols Dropdown in the RTE (sitecore version 7.0). The client wants different dropdowns for different symbol types, for example, a dropdown having Greek Symbols Upper case, a dropdown having Greek Symbols Lower case, a dropdown having Mathematical Symbols and a dropdown having Other/Misc types of symbols. I have tried to understand how RadControls work and how to add this on Telerik RadControl but I am unable to map the concept to sitecore's

Dynamic Telerik RadOutlookBar headers come out wrong with ItemTemplate

天大地大妈咪最大 提交于 2019-12-23 03:44:05
问题 I'm trying to use Telerik RadControls in a MVVM kind of way but having some strange problems. The Viewmodel behind the RadOutlookBar has a collection of ViewModels that each have a Title string property. I wanted to define it so way the they get Wrapped inside a RadOutlookBarItem and bind the header/title properties together. XAML: <telerik:RadOutlookBar x:Name="Items"> <telerik:RadOutlookBar.TitleTemplate> <DataTemplate> <ContentControl Content="{Binding Path=Title}" /> </DataTemplate> <

How to set a RadComboBox that is using a data source to a selected value in codebehind

房东的猫 提交于 2019-12-13 04:14:37
问题 I have a RadComboBox that is bounded by a datasource. I set the datacource to select from a the database using a select query. Run I run the project, I get a complete list of items in the RadComboBox. I want to set the RadComboBox to a selected value, or index in the codebehind. So the RadComboBox will have a value in it once the page is load, instead of it being empty. I have tried to do this with the code like so: RadComboBoxItem item = RCB_PO_NUM.FindItemByText("2000"); item.Selected =

Telerik Radgrid export file name

不想你离开。 提交于 2019-12-10 13:48:56
问题 Does any one know how to provide file name to the exported file in Telerik RadGrid , Exported file could be of any format pdf, excel or word 回答1: Source: Grid / MS Excel/MS Word/CSV Use RadGrid.ExportSettings.FileName property, a string specifying the name (without the extension) of the file that will be created. The file extension is automatically added based on the method that is used Try setting the FileName in the ItemCommand event as shown below. From: When to set RadGrid.ExportSettings

Dynamic Telerik RadOutlookBar headers come out wrong with ItemTemplate

瘦欲@ 提交于 2019-12-08 19:49:50
I'm trying to use Telerik RadControls in a MVVM kind of way but having some strange problems. The Viewmodel behind the RadOutlookBar has a collection of ViewModels that each have a Title string property. I wanted to define it so way the they get Wrapped inside a RadOutlookBarItem and bind the header/title properties together. XAML: <telerik:RadOutlookBar x:Name="Items"> <telerik:RadOutlookBar.TitleTemplate> <DataTemplate> <ContentControl Content="{Binding Path=Title}" /> </DataTemplate> </telerik:RadOutlookBar.TitleTemplate> <telerik:RadOutlookBar.ItemTemplate> <DataTemplate> <telerik

Get text of RadAutoCompleteBox

微笑、不失礼 提交于 2019-12-06 06:51:34
问题 How can I get the text of a RadAutoCompleteBox using RadControls Q1 2013 in C#? autoCompleteBox.SelectedItem returns "ServerCrafterTelerikWPF.Command" . Edit 1: Here's my XAML: <telerik:RadAutoCompleteBox x:Name="txtboxCommand" ItemsSource="{Binding Commands, Source={StaticResource ViewModel}}" DisplayMemberPath="ACommand" AutoCompleteMode="Append" HorizontalAlignment="Left" telerik:StyleManager.Theme="Modern" Margin="280,405,0,0" VerticalAlignment="Top" Width="330" Height="30" KeyDown=

Get text of RadAutoCompleteBox

蓝咒 提交于 2019-12-04 14:47:14
How can I get the text of a RadAutoCompleteBox using RadControls Q1 2013 in C#? autoCompleteBox.SelectedItem returns "ServerCrafterTelerikWPF.Command" . Edit 1: Here's my XAML: <telerik:RadAutoCompleteBox x:Name="txtboxCommand" ItemsSource="{Binding Commands, Source={StaticResource ViewModel}}" DisplayMemberPath="ACommand" AutoCompleteMode="Append" HorizontalAlignment="Left" telerik:StyleManager.Theme="Modern" Margin="280,405,0,0" VerticalAlignment="Top" Width="330" Height="30" KeyDown="txtboxCommand_KeyDown"/> And I don't have any C# code. I just want, when a button is pressed, to get the