BaseChart.PlotArea.YAxis.AxisLabel.Visible =
true
;
BaseChart.PlotArea.YAxis.AxisLabel.Appearance.RotationAngle = 360;
BaseChart.PlotArea.YAxis.AxisLabel.Appearance.Position.Auto =
false
;
BaseChart.PlotArea.YAxis.AxisLabel.Appearance.Position.AlignedPosition = Telerik.Charting.Styles.AlignedPositions.None;
BaseChart.PlotArea.YAxis.AxisLabel.Appearance.Position.X = 20;
BaseChart.PlotArea.YAxis.AxisLabel.Appearance.Position.Y = -30;
Hi,
Here’s the code:
<div>
<telerik:RadWindowManager ID="RadWindowManager1" runat="server" ShowContentDuringLoad="true" >
<Windows>
<telerik:RadWindow ID="RadWindow1" runat="server" Behaviors="Close,Minimize,Move,Resize,Maximize" Modal="true" Skin="Office2007" Title="NewPage" >
<ContentTemplate>
Here's the text for Modal window!
</ContentTemplate>
</telerik:RadWindow>
</Windows>
</telerik:RadWindowManager>
<br />
<input type="button" value="click Here" onclick="openRadWindow();" />
<script type="text/javascript">
function openRadWindow() {
var rwManager = $find("<%= RadWindowManager1.ClientID %>");
var rwindow = rwManager.Open("", "RadWindow1");
rwindow.center();
return false;
}
</script>
</div>
I’m using $find() to grab the Window Manager as this section is in a user control and the container page also has a RadWindowManager.
When I click on the button, the RadWindow shows up including the title but - anything inside the Content template does not show in the window.
Am I missing something?
Also, I wonder if the content template is specific to Q3-2009 release as we haven’t updated to that version yet.
Any help pointer will be great appreciated.
How to show only current month days in the MonthView and NOT show the last/next few days of the previous/next month.
Regards
Shashi
<
telerik:GridBoundColumn
DataField
=
"FullName"
UniqueName
=
"FullNameColumn"
HeaderText
=
"Имя"
ReadOnly
=
"true"
CurrentFilterFunction
=
"Contains"
AllowFiltering
=
"true"
ShowFilterIcon
=
"false"
FilterControlWidth
=
"200px"
>
<
FilterTemplate
>
<
telerik:RadTextBox
runat
=
"server"
AutoPostBack
=
"true"
ID
=
"NameRadTextBox"
ClientIDMode
=
"Static"
EmptyMessage
=
"Введите ФИО"
ClientEvents-OnKeyPress
=
"btnClick"
/>
<
telerik:RadCodeBlock
ID
=
"rcb1"
runat
=
"server"
>
<
script
type
=
"text/javascript"
>
function btnClick(sender, e) {
if (e.get_keyCode() == 13) {
$find("<%= RadAjaxManager.ClientID %>").ajaxRequest();
}
}
</
script
>
</
telerik:RadCodeBlock
>
</
FilterTemplate
>
</
telerik:GridBoundColumn
>
<
telerik:RadAjaxManager
ID
=
"RadAjaxManager"
runat
=
"server"
OnAjaxRequest
=
"RadAjaxManager_AjaxRequest"
>
.....
protected
void
RadAjaxManager_AjaxRequest(
object
sender, AjaxRequestEventArgs e)
{
var results =
new
List<CompanyUser>();
var searchStr = e.Argument;
var users = _userProvider.SearchByName(searchStr);
UsersList.DataSource = users;
UsersList.DataBind();
}
But nothing happens. Grid is still empty. I checked recieved data from database and it's ok. What is missed or what i'm doing wrong?
public
static
void
updatePanel(RadAjaxPanel sender, RadAjaxPanel target)
{
sender.ResponseScripts.Add(String.Format(
"$find('{0}').ajaxRequest();"
, target.ClientID));
}