or
Hi,
I am using the Tree List control with Auto Generate Columns
set to false. I want to use in place editing, but the documentation states that
in place editing is only for Auto Generate Columns. I have placed an HTML text
box in an item template with an onClick event.
<input id="txtDescription" type="text" value="<%# Eval("Description") %>" onclick="Field_onClick(this, false);" onblur="Field_onBlur(this);" readonly="readonly" />
function Field_onClick(txt,
allowBlank) {
if (_mode == mode.Params)
{
_tlConfig.AllowEdit = true;
txt.readOnly = '';
txt.focus();
}
}
The problem is that I have to click on the text box twice
before I can edit it contents. Is there a way around this problem?
Thanks, Paul.
<
telerik:RadAsyncUpload
ID
=
"RadAsyncUpload1"
AllowedFileExtensions
=
"JPG,gif,png,jpg,tif,tiff"
MaxFileInputsCount
=
"3"
OnClientValidationFailed
=
"OnClientValidationFailed"
OnFileUploaded
=
"RadAsploayncUd1_FileUploaded"
runat
=
"server"
ChunkSize
=
"0"
Culture
=
"it-IT"
PostbackTriggers
=
"pulsante"
></
telerik:RadAsyncUpload
>
<asp:Button runat="server" ID="pulsante" Text="Aggiorna profilo" OnClick="Button1_Click" />
//and in the code:
protected void RadAsploayncUd1_FileUploaded(object sender, FileUploadedEventArgs e)
{
RadAsyncUpload1.TargetFolder = "~/App_CProfili/ImgProfili/";
}
protected void RadAsploayncUd1_FileUploaded(object sender, FileUploadedEventArgs e)
<telerik:RadNumericTextBox runat="server" ID="neNumValues" MinValue="1" MaxValue="30" DbValue='<%# Bind("NumItems") %>' NumberFormat-DecimalDigits="0" Width="60px" ShowSpinButtons="True" ShowButton="False" DataType="System.Int32"> |
</telerik:RadNumericTextBox> |
Ausnahmeinformation: |
Ausnahmetyp: System.Web.HttpParseException |
Ausnahmemeldung: Objekt des Typs System.Type kann nicht von seiner Zeichenfolgendarstellung System.Int32 für die DataType-Eigenschaft erstellt werden. |
Information zu interner Ausnahme (Ebene 1): |
Ausnahmetyp: System.Web.HttpParseException |
Ausnahmemeldung: Objekt des Typs System.Type kann nicht von seiner Zeichenfolgendarstellung System.Int32 für die DataType-Eigenschaft erstellt werden. |
Information zu interner Ausnahme (Ebene 2): |
Ausnahmetyp: System.Web.HttpException |
Ausnahmemeldung: Objekt des Typs System.Type kann nicht von seiner Zeichenfolgendarstellung System.Int32 für die DataType-Eigenschaft erstellt werden. |
RadGrid ReportData = new RadGrid();
ReportData.DataSource = datasource
ReportData.DataBind();
ReportData.ExportSettings.OpenInNewWindow = true;
ReportData.ExportSettings.ExportOnlyData = true;
ReportData.ExportSettings.IgnorePaging = true;
ReportData.ExportSettings.FileName = ReportName.Replace(" ", "_") + "_" + DateTime.Now.Month.ToString() + "_" + DateTime.Now.Day.ToString() + "_" + DateTime.Now.Year.ToString();
ReportData.MasterTableView.ExportToExcel();