Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
245 views
I have a RadAsyncUpload in repeater. The problem is that when the upload button is clicked (which is in the same row of the repeater), there is no file uploaded after the postback. my code is:

protected void rptAttendeeHeadShot_ItemDataBound(object sender, RepeaterItemEventArgs e)
    {
...
RadAsyncUpload fileUploadHeadShot = (RadAsyncUpload)e.Item.FindControl("fileUploadHeadShot");
fileUploadHeadShot.ID = "fileUploadHeadShot_" + (e.Item.ItemIndex + 1);
fileUploadHeadShot.ClientIDMode = ClientIDMode.Static;
...
}

protected void rptAttendeeHeadShot_ItemCommand(object source, RepeaterCommandEventArgs e)
    {
...
RadAsyncUpload fileUploadHeadShot = (RadAsyncUpload)e.Item.FindControl("fileUploadHeadShot");
string[] validExtensions = { ".jpg", ".jpeg", ".png", ".gif", ".bmp" };
                if (fileUploadHeadShot.UploadedFiles.Count > 0)
                {
}
...
}

and in the repeater:
<telerik:RadAsyncUpload ID="fileUploadHeadShot" runat="server" MultipleFileSelection="Disabled"
                                            MaxFileInputsCount="1" HttpHandlerUrl="~/CustomHandler.ashx" MaxFileSize="52428801"
                                            OnClientFilesUploaded="headShotOnchange" OnClientFileUploadRemoved="headShotOnRemove"
                                            >
                                        </telerik:RadAsyncUpload>
Peter Filipov
Telerik team
 answered on 09 Apr 2013
1 answer
119 views
Hi All,

I have Grid with country column here i need to apply filter for this column and also i need to make that filter as Combo Box.
How to bind data for that but not static data.How to implement this?

Thanks in Advance..!
Princy
Top achievements
Rank 2
 answered on 09 Apr 2013
4 answers
163 views
I have a radgrid and it has dynamically added columns using following code. I have phone number column and I want to apply dataformatstring for this column but it is not getting reflected. What is that I am missing here?

GridBoundColumn boundColumn1 = new GridBoundColumn();
RadGrid1.MasterTableView.Columns.Add(boundColumn1);
boundColumn1.ItemStyle.Wrap = false;
boundColumn1.DataField = "PhoneNumber";
boundColumn1.UniqueName = "PhoneNumber";
boundColumn1.SortExpression = "PhoneNumber";
boundColumn1.HeaderText = "Phone Number";
boundColumn1.AllowFiltering = AllowFiltering;
boundColumn1.ShowFilterIcon = false;
boundColumn1.AutoPostBackOnFilter = true;
boundColumn1.DataFormatString = "{0:(###)###-###}";

Please help

Thank you
Andrey
Telerik team
 answered on 09 Apr 2013
1 answer
673 views
Hi

Is there any property available to display the RadCaptcha after two invalid login attempt? My requirement is that the user needs to undergo a captcha validation after entering an invalid username/password two times. Please help.

Thank you,
Shahi.
Princy
Top achievements
Rank 2
 answered on 09 Apr 2013
1 answer
40 views
Some time ago we purchased asp.net ajax v2012.2.912.40. 

Does this version include area charts?

Thanks.
Yavor
Telerik team
 answered on 09 Apr 2013
1 answer
106 views
Hi,

I was wondering if it is possible to select multiple items from a combobox in one field of an insert on a grid, and once the Insert button is clicked, it parses out the items in that combobox into different records but with the same information on the other fields.
Please look at the attachment for an example. I am working in vb.net
Shinu
Top achievements
Rank 2
 answered on 09 Apr 2013
1 answer
124 views
Hi,

Using JavaScript, How to set the NavigateUrl property of RadWindow in a RadButton Click?

Thanks,
Dona
Princy
Top achievements
Rank 2
 answered on 09 Apr 2013
1 answer
1.0K+ views
Hi,

Can I hide the close button in the RadWindow Title bar?

Thanks,
Dona
Princy
Top achievements
Rank 2
 answered on 09 Apr 2013
2 answers
316 views
Hi All !

I have a Treeview inside EditFormSetting -> FormTemplate . I want to when I click edit row for update data Treeview auto expand and select node. Thank a lot .
Khiem
Top achievements
Rank 1
 answered on 09 Apr 2013
6 answers
313 views
Hi All !
I'm from VietNam. Today I have a question for you. I need you help me . Thanks

I have use RadGrid and input controls in EdtiFormSetting --> FormTemplate. I have use Treeview in Combobox . But I can't get value for combobox when i edit row and use updatecommand .

I have attach file below.

This is my code :

HTML :

<EditFormSettings EditFormType="Template">
                    <FormTemplate>
                        <div id="frmTemp">
                            <div class="frmTemp_left">
                                <label>Danh mục</label>
                                <div>
                                     
                                    <telerik:RadComboBox ID="cbbCategory" runat="server" AppendDataBoundItems="true">
                                        <ItemTemplate>
                                            <div id="div1"  onclick="StopPropagation(event);" >
                                                <telerik:RadTreeView ID="trvCategory" runat="server"
                                                    DataFieldID="CategoryId"
                                                    DataFieldParentID="ParentId"
                                                    DataTextField="CateName"
                                                    DataValueField="CategoryId"
                                                    OnClientNodeClicking="nodeClicking" >
                                                </telerik:RadTreeView>
                                            </div>
                                        </ItemTemplate>
                                        <Items>
                                            <telerik:RadComboBoxItem Text="" Value="" Selected="True"></telerik:RadComboBoxItem>
                                        </Items>
                                    </telerik:RadComboBox>
                                </div>
                                <label>Tên danh mục</label>
                                <div>
                                    <asp:TextBox ID="txtCateName" runat="server" Text='<%# Bind("CateName") %>'></asp:TextBox>
                                </div>
                                <label>Sắp xếp</label>
                                <div>
                                    <asp:TextBox ID="txtOrderBy" runat="server" Text='<%# Bind("OrderBy") %>'></asp:TextBox>
                                </div>
                                <label>Hiển thị</label>
                                <div>
                                    <asp:CheckBox ID="ckbActive" runat="server" Checked='<%# ((Container is TreeListEditFormInsertItem) ? false : Eval("Active")) %>' />
                                </div>
                                <div style="padding-top: 10px;">
                                    <asp:HiddenField ID="HiddenField2" runat="server" Value='<%# Eval("ParentId") %>' />
                                    <asp:HiddenField ID="HiddenField1" runat="server" Value='<%# Eval("CategoryId") %>' />
                                    <telerik:RadButton ID="btnUpdate" Text='<%# (Container is TreeListEditFormInsertItem) ? "Lưu" : "Cập nhật" %>'
                                        runat="server" CommandName='<%# (Container is TreeListEditFormInsertItem) ? "PerformInsert" : "Update" %>'
                                        Icon-PrimaryIconCssClass="rbOk">
                                    </telerik:RadButton>
                                      
                            <telerik:RadButton ID="btnCancel" Text="Đóng" runat="server" CausesValidation="False"
                                CommandName="Cancel" Icon-PrimaryIconCssClass="rbCancel">
                            </telerik:RadButton>
                                </div>
                            </div>
                        </div>
                    </FormTemplate>
                </EditFormSettings>






 
Khiem
Top achievements
Rank 1
 answered on 09 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?