1. Attach files as pcs no.1 on attach flle.
2. create file upload control as pcs no.2 on attach flle.
3. above attach files nothing becuae of postback
It's my big problem...
Do you have a ideas that how to reload files on upload like text and date?
my code is below..
Please help me...
thanks.
case 3:
RadUpload upload = (RadUpload)table.Rows[i].Cells[j].FindControl("RaduplodeAttach_" + i + j);
string serverfileName = string.Empty;
int fileCount = upload.UploadedFiles.Count;
RadUploadContext upcontext = RadUploadContext.Current;
//upcontext.UploadedFiles = upload.UploadedFiles;
if (fileCount>0)
{
upload.EnableViewState = false;
for (int k = 0; k < fileCount; k++)
{
FileInfo fInfo = new FileInfo(upload.UploadedFiles[k].FileName);
//?????????
}
}
break;
I'm editing radgrid using template
here is my code
<
EditFormSettings EditFormType="Template">
<FormTemplate>
<table id="Table2" cellspacing="2" cellpadding="1" width="100%" border="0" rules="none" >
<tr class="EditFormHeader">
<td colspan="2" style="font-size: small"><b>Name</b></td>
<td><asp:TextBox runat="server" ID="Name" Width="250px" Text='<%# Bind("Name") %>' /></td>
</tr>
<tr class="EditFormHeader">
<td colspan="2" style="font-size: small">
<b>Title</b>
</td>
<td><asp:TextBox runat="server" ID="Title" Width="250px" Text='<%# Bind("Title") %>' /></td>
</tr>
I am updating from code behind
protected
void radgrid_UpdateCommand(object source, GridCommandEventArgs e)
{
GridEditableItem editedItem = e.Item as GridEditableItem;
TextBox txtName = (TextBox)editedItem.FindControl("Name");
string Name = txtName .Text;
TextBox txtTitle = (TextBox)editedItem.FindControl("Title");
string Title = txtTitle.Text;
}
But this update 'Name' and 'Title' returns the old values not the updated one.
Need help.
I have one asp.net website application. In this application i used rad-control . now i installed the teleric rad control . But i am getting the following error. Bcz its working fine in production server . I dont know much more about this application . Now i configured my application in locally for enhancement. Now my doubt is just installtion is required or whether we want to add any refernce to bin folder or not. If yes tell me. Other wise plz provide some tips to resolve this issue
Error Creating Control - Rad Window Manager1
Unknown server tag rad:RadWindowManager
----------------------
Error Creting Control LoginView1
Unknow server tag 'ajax tool kit:validator call out extender