Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
65 views

Hello,
I'm trying to dynamically create multiple asyncupload controls. The creation happens without problems. When I try to send the files to the folder, they are not sent. I made some basic settings but I was not able to identify the problem.

There is no error return, just does not send the file to the folder.
Note: the file is loaded in the temporary folder.

I ask for help, please.

My code below.

Sub CarregaItensLicitacao(lcID As String)
        If Not String.IsNullOrEmpty(lcID) Then
            Dim strSQL As String = Vazio
            strSQL += " select *"
            strSQL += " from ItemLicitacao"
            strSQL += " where"
            strSQL += " ilLcID in ("
            strSQL += lcID
            strSQL += " )"

            Dim lc As New Licitacaocliente
            lc.Read(lcID)

            Dim dt As New DataTable
            ExecutaSQL(strSQL, dt)


            Dim c As Integer = 1
            For Each Item As DataRow In dt.Rows
                DoEvents()
                If Not Directory.Exists(lc.lcDiretorio & "\Itens\" & Item("ilDescricao")) Then
                    Directory.CreateDirectory(lc.lcDiretorio & "\Itens\" & Item("ilDescricao"))
                End If

                Dim upload As New RadAsyncUpload()
                upload.ID = "upload" & c
                upload.TargetFolder = lc.lcDiretorio & "\Itens\" & Item("ilDescricao")

                Dim lbl As New Label
                lbl.Text = Item("ilDescricao")

                pvItem.Controls.Add(lbl)
                pvItem.Controls.Add(upload)

                RadAjaxManager1.AjaxSettings.AddAjaxSetting(btnEnviarItem, upload, Nothing)
                c += 1
            Next
        End If
    End Sub

Ney
Top achievements
Rank 1
 asked on 03 Feb 2017
1 answer
130 views

Hi,

We notice some inconsistency in the RadEditor toolbar buttons pointers on hover.

We tested some skins on your site and it happens in all of them.

Please refer to attached screenshot for explanation.

Marc

Vessy
Telerik team
 answered on 03 Feb 2017
5 answers
133 views
Is this possible to use page break in the Rad Editor, if not is there any other control available in telerik with these features?
Rumen
Telerik team
 answered on 03 Feb 2017
1 answer
164 views

I'm creating a DNN module that uses the Notification control to either extend the session or redirect to the Login page using /logoff.aspx in the RadNotification Value property.  It works except that the Login page URL always has the Home page as the returnurl, no which page it originated from.

 I haven't been able to capture the page's url in order for it to show up as the return url.  And yes, I'm also posting this over on DNN.

 

Thank you!

Marin Bratanov
Telerik team
 answered on 03 Feb 2017
2 answers
500 views

Getting frustrated - 

Long time user of Telerik. I have a new Windows 10 build. clean installation of Visual Studio 2013. The only version of Telerik on this computer is 2017.1.118.45. I used the Telerik Control Panel to install Telerik into VS 2013. 

New Telerik Web Project. Give it a name. Select the Responsive web app. Compile and test - works great. Add a new page. Drop a radgrid on the page. 

'Could not load file or assembly 'Telerik.Web.UI, Version=2017.1.118.45, Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)'\\XXXXX\LCxxxxx

Delete the newly added page. Same problem. Permissions all seem OK on the Telerik files. Same result if I run Visual Studio as an admin or regular user. 

Thanks,

 

Dan

Marin Bratanov
Telerik team
 answered on 03 Feb 2017
3 answers
163 views

Hi,

 

For a certain project I need to enable Jquery 3.0.0

Are there any options to let the Telerik controls work together with Jquery 3.0.0?

When I couple as External Jquery, I see all kinds of JS errors appear in different browsers.

 

Marc

Rumen
Telerik team
 answered on 02 Feb 2017
1 answer
170 views

We are using the RadGrid and it's custom paging abilities.

We have a grid where we only bind the "PageSize" (typically 10) to the grid and set the Virtual Item Count equal to the total number of items. (in this case, 897).

When we export to Excel, we have to set the "Page Size" property on the Grid (not the master table view) to the total number of items, rebind the grid to the full dataset and then allow the export.  Otherwise, it will only export the current page.

We've noticed that after doing that, in the PageSize dropdown, there are items for the default (10, 20, 50) as well as the item number i exported which is 897.

How can i prevent that value from being saved into the PageSize dropdown.

Rumen
Telerik team
 answered on 02 Feb 2017
2 answers
272 views
Hello,

I' m facing the problem that is window.open() javascript funtion for open new tab doen't work in Radgrid item command event.Here is my Code for Item Command.

 protected void RadGrid2_ItemCommand(object sender, GridCommandEventArgs e)
 {
              if (e.CommandName == "Customer")
                {
                    lblID.Text = RadGrid2.Items[e.Item.ItemIndex].GetDataKeyValue("ID").ToString();
                    string strpath=  "../Report/Listing.aspx?ID=" + lblID.Text + "";
                  
                    Response.Write("<script>");
                    Response.Write("window.open('" + strpath + "', '_newtab');");
                    Response.Write("window.focus();");
                    Response.Write("</script>");
                }
}
I do appreciate all suggestions.
Zaid
Top achievements
Rank 1
 answered on 02 Feb 2017
1 answer
121 views
Shapes seem to have a minimium width of 20px. Is it possible to have a line tool?
Marin Bratanov
Telerik team
 answered on 02 Feb 2017
1 answer
110 views

Hi I have 8 tabs. The first 2 are General information and Employee Information. I want these to be completely filled out first before tabs 3-8 are accessible.

I just inherited this applicaition so I am new to telerik . Any input is appreciated.

Ivan Danchev
Telerik team
 answered on 02 Feb 2017
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?