Page_Prerender() {
if (grid.Items.Count > 10)
{ grid.PagerStyle.AlwaysVisible = true; }
else
{ grid.PagerStyle.AlwaysVisible = false;}
}
Thanks for your time.
Regards,
Raj
tab = RadTabStrip1.FindTabByText("Tab1");
tab.Selected =
true;
pageView.Selected = true;
please assume that "Tab1" tab was already created
While changing the width to 80% in the property window the width automatically became 0px
and this is what caused the error. So I have corrected it.
I can now see the chart OK with the Y Axis fine with increasing numbers and also the Series is OK.
But please help me in regards to the X axis text content.
It currently shows 1 in the center
I tried these lines of codes (one at a time) but seems to do nothing!
ChartProjects.PlotArea.XAxis.AddItem(projectCount)
ChartProjects.PlotArea.XAxis.AxisLabel.TextBlock.Text = dbRow(
"ProjectName").ToString.Substring(0, 2)
Can you help in this regards?
Thanks,
Sanjay
protected
void
Page_Load(
object
sender, EventArgs e)
{
ComboBoxLoadOnDemand cbx =
new
ComboBoxLoadOnDemand();
cbx.TableName =
"ddl_report_collaborator"
;
cbx.DataTextField =
"text_ddl"
;
cbx.DataValueField =
"value_ddl"
;
cbx.Height = Unit.Pixel(250);
cbx.Width = Unit.Pixel(200);
cbx.NbItemsRequested = 50;
cbx.AutoPostBack =
true
;
cbx.ShowMoreResultsBox =
true
;
this
.form1.Controls.Add(cbx);
cbx.SelectedIndexChanged +=
new
Telerik.Web.UI.RadComboBoxSelectedIndexChangedEventHandler(cbx_SelectedIndexChanged);
}
void
cbx_SelectedIndexChanged(
object
sender, Telerik.Web.UI.RadComboBoxSelectedIndexChangedEventArgs e)
{
ComboBoxLoadOnDemand cbx2 =
new
ComboBoxLoadOnDemand();
cbx2.TableName =
"ddl_report_collaborator"
;
cbx2.DataTextField =
"text_ddl"
;
cbx2.DataValueField =
"value_ddl"
;
cbx2.Height = Unit.Pixel(250);
cbx2.Width = Unit.Pixel(200);
cbx2.NbItemsRequested = 50;
cbx2.ShowMoreResultsBox =
true
;
this
.form1.Controls.Add(cbx2);
}