Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
686 views

Dear all,

 

is there a way to check if all radcombobox items are check on a button click event?

 

thanks

Doncho
Telerik team
 answered on 31 Dec 2020
2 answers
378 views

Hi, would like to check if Telerik has a control similar to Google Form control for dropdown option list?

something like on page load 1 textbox will be shown, when user entered a value into the textbox, another one will be created below it

Peter Milchev
Telerik team
 answered on 30 Dec 2020
1 answer
172 views

I am having an issue when attempting to export a radgrid to excel after utilizing the filters in the auto filter.

Before applying the filter, it works perfectly and exports the data to excel.  After applying the filter, the export does not work and appears to simply rebind the grid; however this time the filter rows are removed.

The data for the grid is populated using the NeedDataSource event.

Through searching the forums, I have found that I should probably be using the ExcelML, but this yields the same results.

protected void radimgbtnExcelExport_Click(object sender, ImageButtonClickEventArgs e)
        {
            radgridUsageRatio.ExportSettings.Excel.Format = GridExcelExportFormat.ExcelML;
            radgridUsageRatio.ExportSettings.IgnorePaging = true;
            radgridUsageRatio.ExportSettings.ExportOnlyData = true;
            radgridUsageRatio.ExportSettings.OpenInNewWindow = true;
            radgridUsageRatio.MasterTableView.Columns[0].Visible = false; //remove command column
            radgridUsageRatio.MasterTableView.Columns[1].Visible = false; //remove command column
            radgridUsageRatio.MasterTableView.ExportToExcel();
        }

 

Any help anyone can provide would be extremely helpful

Eyup
Telerik team
 answered on 28 Dec 2020
8 answers
328 views
I need to globally set a class on the combobox dropdown arrow

...but there's no public css property to do that right?  There's one for the control, the dropdown list, the input, and the label....but no button.

So I'm looking for a skinnable property, not a workaround to inherit from he control or parse the dom with jquery, or do any codebehind.  There's too many comobs to just go around updating all the code in every page (hoping to just leverage a .skin file)

Yes, no?...could you add one?
Steve
Peter Milchev
Telerik team
 answered on 25 Dec 2020
7 answers
207 views
Hello

Using RadNumericTextBox in a mobile website doesn't pop up numeric keyboard in iPad. We're developing a website where the user has to enter a lot of numeric information and it has to choose the numeric pad each time it enters a new numeric field.

I know that using RadTextBox and Inputtype solves this problem, but I mainly use RadNumericTextBox because it allows to specified validation like min and max values to each field.

Thanks in advanced
Roberto


Eyup
Telerik team
 answered on 24 Dec 2020
1 answer
497 views

So i have a textbox field that needs a few alerts and a confirm when a value is entered and the button in the grid is clicked to save the value of the textbox to the database.  How would this be achieved?

<telerik:GridTemplateColumn HeaderText="New Price" UniqueName="newprice">
<ItemTemplate> <asp:TextBox ID="txtNewPrice" runat="server" ></asp:TextBox> </ItemTemplate
</telerik:GridTemplateColumn
 <telerik:GridTemplateColumn HeaderText="Action" UniqueName="Action"> <ItemTemplate> <asp:Button ID="btnOverride" Text="Override" runat="server" OnClientClick="return Validate();" OnClick="Override_Click"></asp:Button> </ItemTemplate>  </telerik:GridTemplateColumn>
Eyup
Telerik team
 answered on 24 Dec 2020
3 answers
341 views

Hi,

 

When I try to use client side validation on RadMaskedTextbox as follows, the validation still takes place after a postback. is this a bug?

I try to follow your demo https://demos.telerik.com/aspnet-ajax/textbox/functionality/validation/defaultvb.aspx

 

    <asp:TextBox ID="batch" runat="server" Width="60%"></asp:TextBox>
     <asp:RequiredFieldValidator ErrorMessage="Mandatory" ValidationGroup="Contact" Enabled="True" id="batchReq" ControlToValidate="batch" CssClass="text-danger small" display="dynamic" runat=server />
    <br />



      <telerik:RadMaskedTextBox RenderMode="Lightweight" EnableEmbeddedSkins="false" Skin="MetroTouchNeutral" ValidationGroup="Contact" ID="rmt_tijd" visible="true" runat="server" Mask="<0..24>:<0..59>" Width="30%"></telerik:RadMaskedTextBox>




                            <asp:RequiredFieldValidator EnableClientScript="true" ErrorMessage="Mandatory" ValidationGroup="Contact" Enabled="true" InitialValue="00:00"  id="RequiredFieldValidator3" ControlToValidate="rmt_tijd" CssClass="text-danger small" display="dynamic" runat=server />

    <br />
    <asp:Button ID="Button1" runat="server" Text="Button" ValidationGroup="Contact"  />

 

 

Thanks for your help, stay safe

Marc

Peter Milchev
Telerik team
 answered on 24 Dec 2020
2 answers
80 views
Hi,

I'm using  the following AccessDataSource

<asp:AccessDataSource ID="AccessDataSource2" runat="server" 
       EnableCaching="true"
       CacheDuration="300"
       DataFile="\\servername\myfile.mdb" 
       SelectCommand="SELECT `CustomerNo`, `Company`, `Attention`, `City`, `State` FROM `Customers`" >       
   </asp:AccessDataSource>

for
<telerik:RadComboBox ID="ddlCustomers" runat="server" 
                    Width="150px" Height="150px"
                    Skin="Vista"
                    DataSourceID = "AccessDataSource2"
                    DataTextField = "CustomerNo"                   
                    DataValueField = "CustomerNo"
                    DropDownWidth="410px"
                    EmptyMessage="Select a Customer"
                    EnableItemCaching="true"
                    EnableLoadOnDemand="true"
                    EnableVirtualScrolling="true"
                    HighlightTemplatedItems="true"
                    SelectedValue='<%# DataBinder.Eval(Container, "DataItem.CustomerName") %>'
                    AllowCustomText="true" 
                    OnSelectedIndexChanged="ddlCustomers_OnSelectedIndexChanged" AutoPostBack="True"
                    >
                      
                    <HeaderTemplate>
                        <table style="width: 400px" cellspacing="0" cellpadding="0">
                                    <tr>
                                        <td style="width: 100px;"> Customer No</td>
                                        <td style="width: 150px;">Company Name</td>
                                        <td style="width: 150px;">City</td>
                                    </tr>
                                    <tr>
                                        <td style="width: 100px;"></td>
                                        <td style="width: 150px;">Attention</td>
                                        <td style="width: 150px;">State</td>
                                    </tr>
                                </table>
                    </HeaderTemplate>
                    <ItemTemplate>
                        <table style="width: 400px" cellspacing="0" cellpadding="0">
                                    <tr>
                                        <td style="width: 100px;"><%# DataBinder.Eval(Container.DataItem, "CustomerNo")%></td>
                                        <td style="width: 150px;"><%# DataBinder.Eval(Container.DataItem, "Company")%></td>
                                        <td style="width: 150px;"><%# DataBinder.Eval(Container.DataItem, "City")%></td>
                                    </tr>
                                    <tr>
                                        <td style="width: 100px;"></td>
                                        <td style="width: 150px;"><%# DataBinder.Eval(Container.DataItem, "Attention")%></td>
                                        <td style="width: 150px;"><%# DataBinder.Eval(Container.DataItem, "State")%></td>
                                    </tr>
                                </table>
                    </ItemTemplate>
                </telerik:RadComboBox>

and if that Access file not open, then its fine otherwise I can received this error  "Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: Could not use ''; file already in use."  I can open this Access file fine without any error when other is opening it.

Thanks

Vinh Vu
Edward
Top achievements
Rank 1
Veteran
Iron
Iron
 answered on 24 Dec 2020
12 answers
143 views

I have data in English/French/Chinese in my database and I want to bind that data in RadComboBox. But I am getting Script error on postback in RadComboBox. 

.aspx page:

<telerik:RadComboBox ID="rcbCourses" runat="server" CheckBoxes="true" EnableCheckAllItemsCheckBox="true" EmptyMessage="       --Select Course--       "
                                Width="150" Localization-AllItemsCheckedString="All Courses selected" DropDownAutoWidth="Enabled" Filter="Contains" MarkFirstMatch="true" AutoCompleteSeparator="," AutoPostBack="false" >
                            </telerik:RadComboBox>

 

.aspx.cs page:

obj.BGetAllDetails(objBEAdmin);
{
                if (objBEAdmin.DtResult.Rows.Count > 0)
                {
                    rcbCourses.DataSource = objBEAdmin.DtResult;
                    rcbCourses.DataTextField = "CourseName";
                    rcbCourses.DataValueField = "CourseID";
                    rcbCourses.DataBind();
                }
                gvReports.DataSource = new object[] { };
                gvReports.DataBind();

}

 

I am getting below error:

Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3abc17b1ef-7a1b-49cb-a795-5f1c64597a53%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2013.1.403.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a128ef0a7-4d36-4e4e-8195-e785e5239856%3a16e4e7cd%3a874f8ea2%3af7645509%3a24ee1bba%3af46195d3%3a19620875%3a490a9d4e%3a2003d0b8%3a1e771326%3aaa288e2d%3a7165f74%3a58366029:6 Uncaught Sys.WebForms.PageRequestManagerServerErrorException: Sys.WebForms.PageRequestManagerServerErrorException: A generic error occurred in GDI+.

 

Please help. Thank You In Advance.

Peter Milchev
Telerik team
 answered on 24 Dec 2020
1 answer
179 views

How remove bottom border in Material skin? Or set all borders in RadDropDownTree using Material skin?

And how set RadDropDownTree Height (the combobox...)?

Doncho
Telerik team
 answered on 23 Dec 2020
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?