or
Using the telerik controls when we display grids we observe that there is no provision to adjust size of the grid according to the Client Browser resolution. Please point us to a way to adjust the page size as per target browser resolution.
For e.g. see the blank space on a particular resolution in the file attached.
radgrid.Columns[3].SortAscImageUrl="image url";
radgrid.Columns[3].ShowSortIcon=true;
but this is only applying when the normal grid header sort event fires
not from outside of the grid (from dropdown)
please provide a solution for this ASAP
I have a combo box that is set to AllowCustomText = "True", however, I just cant seem to get it to clear. Here is my code:
<
telerik:RadComboBox
ID
=
"rcb_Users"
Runat
=
"server"
AutoPostBack
=
"True"
DataSourceID
=
"sds_UserList"
DataTextField
=
"UserName"
AllowCustomText
=
"True"
DataValueField
=
"UserName"
EmptyMessage
=
"Select User"
Height
=
"150px"
Skin
=
"WebBlue"
EnableAutomaticLoadOnDemand
=
"True"
EnableVirtualScrolling
=
"True"
ItemsPerRequest
=
"100"
ShowMoreResultsBox
=
"True"
OnClientKeyPressing
=
"HandleKeyPressUN"
>
</
telerik:RadComboBox
>
Private
Sub
ClearRCB_LUUserName()
rcb_Users.ClearSelection()
rcb_Users.Text =
String
.Empty
End
Sub
Any help much appreciated.
protected void GridPJ_GridExporting(object source, GridExportingArgs e)
{
string path = ((CImport)Session["CImport"]).sFileExcel;
using (FileStream fs = File.Create(path))
{
Byte[] info = System.Text.Encoding.Default.GetBytes(e.ExportOutput);
fs.Write(info, 0, info.Length);
}
Session["Export"] = true;
Response.Redirect(Request.Url.ToString());
}