.detailHeader
{
background: #3065AE !important;
font-size: 8pt !important;
color: white !important;
background-image:url('Grid/sprite.gif') !important;
}
.detailItem
{
background: #E8F0FA !important;
color: black !important;
}
The detailHeader style tries to reference url('Grid/sprite.gif') as the background-image, but this isn't working correctly.
Hi,
im having two page views. When the page loads for the first time, im able to set the focus on the first control, which is an normal text box. when im clicking an button, im loading the second page view. In this page view i need to set focus on the rad date picker.
I cannot set the focus on this control. Can anyone help me on this.
This is the code currently im using. But it is not working.
imgBtnContinue.Attributes.Add(
"onClick", "javascript:return setFocus()");
function
setFocus()
{
var txtSignUpDate = document.getElementById('<%= AddStep2PageView.FindControl("txtSignUpDate").ClientID %>')
txtSignUpDate.style.visibility =
"visible";
txtSignUpDate.focus();
}
Regards,
Chandru
Chart.PlotArea.XAxis.DataLabelsColumn =
"XValue";
Chart.DataGroupColumn =
"YValueDescr";
with my datatable looking like
XValue: timestamp
YValue: the value shown on the chart
YValueDescr: the name of the serie
With this configuration, a new serie for each YValueDescr is made.
XValue YValue YValueDescr
1/1/2009 20 serie1 //time frame 1 starts
1/1/2009 15 serie2
2/1/2009 25 serie1
2/1/2009 10 serie2
1/2/2009 40 serie3 //time frame 2 starts
1/2/2009 30 serie4
2/2/2009 45 serie3
2/2/2009 35 serie4
What i want is a chart as follows
serie2 serie2 serie4 serie4
serie1 serie1 serie3 serie3
If I don't make new series for the second time frame and use serie1 and serie2, they are displayed correctly, but it doesn't show clearly where the new timeframe begins (all the same color).
If I make new series, the XValues and range are displayed correctly, but serie 3 and 4 are displayed stacked above 1 and 2 and the second half of the range of the Xaxis is empty.
I can do this trough the smart tag, but i have to do this manually.
Who can help me out here?
// Grid Code
rgDailyBuilds.DataSource = oDailyBuildFolder.DailyBuilds.ToList<
string>();
rgDailyBuilds.DataBind();
On the selected index change, I need to access the value of the grid item that was selected. Currently, I only allow for single select but in the future I will allow multiple select. That said, I started to approach it like this:
// Grid Code
GridItemCollection oGic = rgDailyBuilds.SelectedItems;
string sValue = string.Empty;
foreach (GridDataItem o in oGic)
sValue =
Convert.ToString(o.GetDataKeyValue("Item"));
But didn't get far. How can I access the values? Also, what if the grid contained more than one column. How would I retrieve the value from a single column of a row?
Thanks,
Jim