Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
149 views
Hi,

I have a short form that the end user fills it. When he hits the 'submit button' it saves the fields into a database table and it returns it's identity seed.
Now I added the RadAsyncUpload control, and need to associate the seed of the form with the uploaded file.
The problem is that the RadAsyncUpload.FileUploaded event runs before the 'submit button' event.

What is the workaround for this case?

    Protected Sub RadAsyncUpload1_FileUploaded(sender As Object, e As Telerik.Web.UI.FileUploadedEventArgs) Handles RadAsyncUpload1.FileUploaded

        Dim targetFolder As String = RadAsyncUpload1.TargetFolder

        Dim newName As String = hdnPesquisaID.Value & System.Guid.NewGuid.ToString 

        e.File.SaveAs(Path.Combine(Server.MapPath(targetFolder), newName + e.File.GetExtension()))

    End Sub

    Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click

        hdnPesquisaID.Value = "returns identity seed from database"

    End Sub
Jorge
Top achievements
Rank 1
 answered on 05 Apr 2013
2 answers
155 views
I spend all morning updating resources in my app and debugging. And after I finally got my project to successfully rebuild, I have a very dynamic RadGrid that has two problems.

Now keep in mind the code has not changed and it has always worked fine. I don't know if these issues are related or not.  I can provide code, but I didn't make any changes. I did run the Telerik Upgrade Wizard, but I don't think it would have changed lines of code in my apps. 

1. I dynamically set images and Hyperlinks in a Hyperlink column.  After the updated my images are not showing. And my assigned URL/Links are not updating.

2. When a filter is changed, the results are not being updated.  The page refreshes the records load but the filter criteria is not behaving. I put a postback button in to try to catch the problem and I can't figure it out. Eventually if I postback the filter is passed and loaded.  

Is there anything anyone can recommend to check or try?  I'm about to do a system restore and revert back to my old 2012 version, I'm kinda freaking out because I have a lot of work that is not functioning now and I need to do an update on the production code.

Thanks
Jason  
Maria Ilieva
Telerik team
 answered on 05 Apr 2013
2 answers
193 views
hi, i am student. i have downloaded telerik radcontrols (trial version-30 days) to develop my project web application in asp.net. but my web application will take 2 and half month to get completed. so after trial version expires can i use it again? what should i do to extend validity of product?
Rachana
Top achievements
Rank 1
 answered on 05 Apr 2013
2 answers
164 views
Hi,

Inside my grid CommandItemTemplate i am using radtextbox.

In my radtextbox OnBlur even i am checking whether my textbox value is null or not if null i am assign the hidden field value as null using jquery but checking null value is not working. below is my code can anyone he me on this.


 function validateprodno(sender, args) {
            var grid = $find("<%=grdInbound.ClientID %>");
            var txt = $telerik.findControl(grid.get_element(), "txtOrdNumGrid");
            if (txt.get_value() == "") {
                document.getElementById("<%= hidd_prodcode.ClientID %>").value = "";       
            }
        }


Regards,
Nithya
Nithya Rani
Top achievements
Rank 1
 answered on 05 Apr 2013
2 answers
206 views
Hi Telerik,

Please help me how to add (different) image with all the X-axis labels in RAD HTML5 chart.

Thanks in Advance!
-Alex
Alex
Top achievements
Rank 1
 answered on 05 Apr 2013
1 answer
280 views
Hi,

My shopping cart check out page contains a RadCombobox with few items and there is a RadTextBox with a label given declaratively. For one particular item selected from the RadCombobox, I want to change the textbox label to another Text. How can I do this in JavaScript?

Karl
Princy
Top achievements
Rank 2
 answered on 05 Apr 2013
1 answer
118 views
Hi,

There is a RadMenu on top of my page. Based on the selected menu, I want to populate another RadMenu. Please help.

Thanks in advance
Joseph.
Princy
Top achievements
Rank 2
 answered on 05 Apr 2013
0 answers
63 views
Hi,

I am using two RadComboBox in SharePoint environment inside update panel. The control is inside a user control web part. The problem is when we switch to ie 7, these combo boxes disappear randomly. I tried to apply position:relative to its parent div but this does not solve the issue. Please help.

Thanks and regards.
Rujoota
Top achievements
Rank 1
 asked on 05 Apr 2013
1 answer
236 views
I have a set of RadListBox es used to select categories. I want to validate that the transfer destination has items. I can get this to work but not when the control to validate is the RadListBox. Seems like I have to validate a text box to get  the Validator to fire client side. If the text box is not changed or is valid then the RadListBox does not get validated until the server side (which is better than never). Is it possible to get the Validator to fire another time even if it is just on the submit button? Here is the code:

Available Sub Categories<br />
<telerik:RadListBox ID="rlbAvailableSubcategories" runat="server" Height="200px"
    Width="200px" AllowTransfer="true" TransferToID="rlbMappedSubcategories" TransferMode="Copy"
    ButtonSettings-ShowTransferAll="false" SelectionMode="Multiple" AllowDelete="false" AllowTransferOnDoubleClick="True" ButtonSettings-TransferButtons="TransferFrom">
</telerik:RadListBox>
Mapped<br />
<telerik:RadListBox ID="rlbMappedSubcategories" runat="server" AllowTransferDuplicates="false"
    Height="200px" Width="200px" AllowDelete="true">
</telerik:RadListBox>
<asp:CustomValidator ID="ValidateMappedSubcategories" EnableClientScript="True" runat="server" ErrorMessage="You must add at least 1 category"
    ClientValidationFunction="rlbMappedSubcategoriesHasItems" ControlToValidate="txtAddLongDesc" ValidateEmptyText="True" OnServerValidate="rlbMappedSubcategoriesHasItems_Validate" Display="Dynamic"></asp:CustomValidator>
 
<script type="text/javascript">
    function rlbMappedSubcategoriesHasItems(source, args) {
        var list = $find("<%= rlbMappedSubcategories.ClientID %>");
        args.IsValid = list.get_items().get_count() > 0;
    }
</script>
Bozhidar
Telerik team
 answered on 05 Apr 2013
1 answer
132 views
Hi,

In certain websites I have seen the Menu is rendered in two or three columns. How to do the same with RadMenu? I want to make the RadMenu displayed in two columns so as to save space.

Thanks in advance
Joseph
Princy
Top achievements
Rank 2
 answered on 05 Apr 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?