I'm working on a small project for work and I'm using Telerik:RadGrid controls. I'm trying to pass a query string with the DO name in the GridHyperLinkColumn. When the page renders and I hover over the link the query string is null (ie: GMRanking.aspx?DO=). It seems like a binding issue but I'm at a loss. Thanks in advance for your help.
I'm populating the grid like so:
var contestResults = ContestBiz.GetGMData();
GMGrid.DataSource = contestResults.Select(x => x.DoName).Distinct();
GMGrid.DataBind();
Here's what I've got in the aspx
<Columns>
<telerik:GridHyperLinkColumn
Text="Select"
HeaderStyle-Width="50px"
UniqueName="Link"
DataNavigateUrlFields="DO"
DataNavigateUrlFormatString="~/GMRanking.aspx?DO={0}">
</telerik:GridHyperLinkColumn>
<telerik:GridBoundColumn DataField="DO"
HeaderText="DO" UniqueName="DO" >
<HeaderStyle HorizontalAlign="Left" Font-Bold="true" />
<ItemStyle HorizontalAlign="Left" />
</telerik:GridBoundColumn>
</Columns>
try
{
RadGrid grdexp = new RadGrid();
RadGridExp.Visible =
true;
DataSet ds = Search();
RadGridExp.DataSource = ds;
RadGridExp.DataBind();
DateTime date = DateTime.Now;
RadGridExp.MasterTableView.Controls.Add(
new LiteralControl("This report was generated on " + date));
RadGridExp.ExportSettings.FileName =
"Test";
RadGridExp.ExportSettings.OpenInNewWindow =
true;
RadGridExp.MasterTableView.ExportToExcel();
}
catch (Exception ex)
{
string rtnstr;
rtnstr =
ExceptionObject.Builderrormsg(this.Page.ToString(), "btnExport_Click", ex.Message);
Exceptionlog.Error(rtnstr);
Session[
"Errmsg"] = ex.Message;
Response.Redirect(
"NoAccess.aspx?Type=2");
}
<telerik:RadComboBox runat="server" ID="uxDepartment" Width="325px" AutoPostBack="true" CausesValidation="false" OnSelectedIndexChanged="uxDepartment_SelectedIndexChanged" /><asp:RequiredFieldValidator runat="server" InitialValue="-1" ControlToValidate="uxDepartment" ErrorMessage="<%$ Resources:UI,inputRequired %>" />Image.FromStream(stream);Hello,
My Radscheduler header looks like the attached image. I want to bring the previous day and next day arrow keys on the either side of the month name. Like this
<| December 2013 |>. How can I do that? I am attaching an image for that as well. it is named as monthwanted.png
Also there is space between appointments. How can I get rid of that space and make the appointments to be adjacent to each other. I am attaching an image that shows space between the appointments