Hello, I have a radgrid that is associated with a really large table as far as columns. This table may have 60 columns in which data from different reports are written to this table. I want to have a drop down that when a value is selected from the dropdown, I can set certain columns to be visible and certain columns to be hidden based on that selected value. For example report 1 might use columns 1-15, and report 2 might use columns 1-5 and 16-25, so I want to be able to dynamically show and hide columns based on the column name that I plan to store in another table in relation to the report. So when a user selects a report from a dropdown list, I can query the table that has what columns should be visible for the selected report, and dynamically show/hide columns in the radgrid based on that selection.
I am not finding anything in the documentation for this. Any idea/suggestions would be appreciated. Thanks.
I tried to change the ConfirmText and ConfirmTitle for a GridButtonColumn from the back-end in the ItemDataBound event, but this only applies after a PostBack. So if on the first load of the page, I clicked the Delete button, it would delete without a confirmation window. However, after any PostBack, the confirmation window comes up successfully. Am I using the wrong event to change this?
01.
protected
void
rgPackagesHistory_ItemDataBound(
object
sender, GridItemEventArgs e)
02.
{
03.
if
(e.Item
is
GridDataItem)
04.
{
05.
((GridButtonColumn)rgPackagesHistory.MasterTableView.GetColumnSafe(
"column1abc"
)).ConfirmTitle = rxM.GetString(
"DeleteConfirmationTitle"
, cul);
06.
((GridButtonColumn)rgPackagesHistory.MasterTableView.GetColumnSafe(
"column1abc"
)).ConfirmText = rxM.GetString(
"DeleteConfirmation"
, cul);
07.
}
08.
}
Hi,
I have master page , in that i added default.aspx, when click button in master page , i bind data in child page (default.aspx), Data are binding correctly, but how to update controls only in default.aspx, instead of refreshing full page and binding data. Master page contains ContentPlaceHolder1 which show defaullt.aspx page.
Thanks
I have a main page opening a radwindow with URL pointing to another domain. Now is there a way to track the rad window closing in the opening domain?
Main Page: https://www.sitename.com/subdomain1/mainpage.aspx
Radwindow URL: https://www.sitename.com/subdomain2/windowpage.aspx
When the Radwindow is closed i am able to trigger an event in "subdomain1/mainpage.aspx". But i would like to trigger an event (server side or client side) in "subdomain2/windowpage.aspx".
Using the menu in the code below, my expectation is that the child menu items would expand immediately, but would collapse 5 seconds after the mouse leaves the item. What's happening is the collapse happens immediately after the mouse leaves the item. What am I not understanding about CollapseDelay.
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Test.aspx.cs" Inherits="Test" %>
<!DOCTYPE html>
<
html
xmlns
=
"http://www.w3.org/1999/xhtml"
>
<
head
runat
=
"server"
>
<
title
></
title
>
<
style
type
=
"text/css"
>
</
style
>
</
head
>
<
body
>
<
form
id
=
"form1"
runat
=
"server"
>
<
asp:ScriptManager
ID
=
"ScriptManagerProxy1"
runat
=
"server"
/>
<
telerik:RadSkinManager
ID
=
"RadSkinManager1"
runat
=
"server"
Skin
=
"Default"
ShowChooser
=
"false"
/>
<
telerik:RadFormDecorator
ID
=
"RadFormDecorator1"
Runat
=
"server"
DecoratedControls
=
"All"
/>
<
telerik:RadMenu
ID
=
"RadMenu1"
runat
=
"server"
EnableRootItemScroll
=
"true"
EnableRoundedCorners
=
"true"
EnableShadows
=
"true"
BorderWidth
=
"0"
Width
=
"100%"
CollapseDelay
=
"5000"
>
<
Items
>
<
telerik:RadMenuItem
Text
=
"Guitars"
>
<
Items
>
<
telerik:RadMenuItem
Text
=
"Classical Guitars"
>
<
Items
>
<
telerik:RadMenuItem
Text
=
"1/2 Size Classical Guitars"
/>
<
telerik:RadMenuItem
Text
=
"3/4 Size Classical Guitars"
/>
<
telerik:RadMenuItem
Text
=
"7/8 Size Classical Guitars"
/>
<
telerik:RadMenuItem
Text
=
"4/4 Size Classical Guitars"
/>
<
telerik:RadMenuItem
Text
=
"Lefthanded Classical Guitars"
/>
<
telerik:RadMenuItem
Text
=
"Concert Guitars"
/>
</
Items
>
</
telerik:RadMenuItem
>
<
telerik:RadMenuItem
Text
=
"Steel String Guitars"
>
<
Items
>
<
telerik:RadMenuItem
Text
=
"3/4 Size and Travel Guitars"
/>
<
telerik:RadMenuItem
Text
=
"Dreadnought Guitars"
/>
<
telerik:RadMenuItem
Text
=
"Jumbo Guitars"
/>
<
telerik:RadMenuItem
Text
=
"Folk Guitars"
/>
<
telerik:RadMenuItem
Text
=
"12-String Westernguitars"
/>
<
telerik:RadMenuItem
Text
=
"Lefthanded Acoustic Guitars"
/>
</
Items
>
</
telerik:RadMenuItem
>
<
telerik:RadMenuItem
Text
=
"Acoustic Basses"
/>
<
telerik:RadMenuItem
Text
=
"Electric Guitars"
>
<
Items
>
<
telerik:RadMenuItem
Text
=
"ST Models"
/>
<
telerik:RadMenuItem
Text
=
"T-Models"
/>
<
telerik:RadMenuItem
Text
=
"LP-Models"
/>
<
telerik:RadMenuItem
Text
=
"SG Models"
/>
<
telerik:RadMenuItem
Text
=
"7-String Guitars"
/>
<
telerik:RadMenuItem
Text
=
"8-String Guitars"
/>
<
telerik:RadMenuItem
Text
=
"Lefthanded Guitars"
/>
</
Items
>
</
telerik:RadMenuItem
>
<
telerik:RadMenuItem
Text
=
"Electric Basses"
>
<
Items
>
<
telerik:RadMenuItem
Text
=
"4-String J-Basses"
/>
<
telerik:RadMenuItem
Text
=
"5-String J-Basses"
/>
<
telerik:RadMenuItem
Text
=
"4-String P-Basses"
/>
<
telerik:RadMenuItem
Text
=
"Misc. 4-String Basses"
/>
<
telerik:RadMenuItem
Text
=
"Misc. 5-String Basses"
/>
</
Items
>
</
telerik:RadMenuItem
>
<
telerik:RadMenuItem
Text
=
"Amplifiers for Acoustic Guitars"
/>
<
telerik:RadMenuItem
Text
=
"Amplifiers for Electric Guitars"
/>
<
telerik:RadMenuItem
Text
=
"Bass Amplifiers"
/>
</
Items
>
</
telerik:RadMenuItem
>
</
Items
>
</
telerik:RadMenu
>
</
form
>
</
body
>
</
html
>
Thanks,
Dave
Can someone help - I can't find anything in the docs, but it shoud be easy...
I have an image gallery working with sqldatasource and all looks good except the readability of the title text which appears over the image.
The customers for this website are 'senior citizens' and can't read the captions. (see bessacarr-owners-club.org/photo-gallery.aspx)
My problem is that the text is a shade of grey and the surrounding box is also a (lighter) shade of grey. How can I make the text more contrasting.
eg the background darker and the text lighter?
Thanks
Clive
Q2 2016 controls in use
Hello -- I am not having any luck with opening a popup. My code is listed below.
Can someone please help? I get an error - 'Unable to get property "open" of undefined or null reference
Thanks, Raka.
<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
<script type="text/javascript">
function editInfo() {
if (confirm('Are you sure you want to do this?'))
return window.radopen('/Folder/Edit.aspx', 'rwGeneric');
}
</script>
</telerik:RadCodeBlock>
With radhtmlchart, is it possible to do a diverging bar chart similar to this?
If so, is there an example I can follow?