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

I have a radcombobox and I add items with radcomboboxitems, how can I set a tooltip for each item in c#?

 

RadComboBox vRadComboBoxControl = new RadComboBox();

vRadComboBoxControl.ID = vCampo.CL_CAMPO;
vRadComboBoxControl.AutoPostBack = true;
vRadComboBoxControl.EmptyMessage = "Seleccionar";
vRadComboBoxControl.Width = Unit.Percentage(100);
vRadComboBoxControl.Filter = RadComboBoxFilter.Contains;
vRadComboBoxControl.ToolTip = vCampo.NB_TOOLTIP;

 

vRadComboBoxControl.Items.AddRange(oCatalogoValorNegocio.Obtener_C_CATALOGO_VALOR(ID_CATALOGO_LISTA: vIdCatalogoLista).Select(x => new RadComboBoxItem(x.NB_CATALOGO_VALOR.ToString(), x.ID_CATALOGO_VALOR.ToString())));
                           
Peter Milchev
Telerik team
 answered on 10 Mar 2022
1 answer
157 views

Hi There,

I have been reviewing quite a few forum posts and trying different suggestions, but I haven't found a solution that works for my situation. Help would be greatly appreciated. It's probably something simple that I'm missing.

I have a page that includes RadScriptManager, RadAjaxManager, RadSplitter, RadPane (with regular local content), RadSplitBar, and RadPane2 (contains other aspx pages like an iframe).

When RadPane2 contains another page, even if it's not an AJAX page, JavaScript calls to the RadAjaxManager from the primary page only fire the first time. I'm trying to call a method on the code behind page to update an item in a RadMenu.

If I have all the content is on one page without referring to a separate page, I can make multiple calls to the RadAjaxManager without problems.

Pieces of the code:

 <telerik:RadScriptManager ID="RadScriptManager1" runat="server" />
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" OnAjaxRequest="RadAjaxManager1_AjaxRequest">
                <AjaxSettings>
                  <telerik:AjaxSetting AjaxControlID="RadAjaxManager1">
                        <UpdatedControls>
                            <telerik:AjaxUpdatedControl ControlID="rmCounts"></telerik:AjaxUpdatedControl>
                        </UpdatedControls>
                    </telerik:AjaxSetting>
                </AjaxSettings>
</telerik:RadAjaxManager>

 

        <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server" >
        <script type="text/javascript" language="JavaScript">
             function countUpdate() {
                var ajaxManager = $find("<%= RadAjaxManager1.ClientID %>");
                ajaxManager.ajaxRequest("updateCounts");
                return false;      }
        </script>
        </telerik:RadCodeBlock>

Example code behind method:

        public void RadAjaxManager1_AjaxRequest(object sender, AjaxRequestEventArgs e)
        {
            updateCountsCodeBehind();
        }

 

Thanks,

Dan

Dan
Top achievements
Rank 1
Iron
 answered on 09 Mar 2022
0 answers
413 views

Good morning,

recently I downloaded latest version of Telerik dll files (2022.1.302.40) into my local machine. Change my web config files to pickup latest version:

<dependentAssembly>
      <assemblyIdentity name="Telerik.Web.UI" publicKeyToken="121fae78165ba3d4" />
      <bindingRedirect oldVersion="2022.1.119.40" newVersion="2022.1.302.40" />
          </dependentAssembly>

 

However when I begin to build solution received a lot of errors:

1.Namespace 'Telerik' could not be found(are you missing a using directive or an assembly reference?)

2.the type or namespace  name 'Telerik' could not be found in the global namespace

3. When i open any aspx page see error: Could not load or assembly 'Telerik.Web.UI, version =2022.1.119.40 or one of its dependencies.

For some reason i think it is pointing to the previous version but cannot find where.

Please help me out with this.

Thanks.

Vitaly. 

Vitaly
Top achievements
Rank 1
Iron
Iron
 asked on 09 Mar 2022
19 answers
3.6K+ views

By default, RadSpell offers the following three dictionaries: English (en-US), German (de-DE) and French (fr-FR). All other dictionaries are provided by our customers and can be downloaded from the links below:

 

Please, note that some of the dictionaries can be incomplete and they are not supported by Telerik. If you create a new properly working dictionary and share it with our community, we will gladly award you for your work.

Starting from Q3 2010, we provide support for NHunspell and OpenOffice dictionaries for RadSpell. You can find how to enable this feature in the following code library project: Using OpenOffice spell provider in RadSpell.

Best regards,
The Telerik team

Rumen
Telerik team
 updated question on 09 Mar 2022
1 answer
431 views

When a user drags and drops a file from a third-party file management application we use into our own ticketing system the file is empty (0 KB in size).  This is an issue with their application for which I'm building a workaround.

The RadAsyncUpload control allows this file to be added to the upload files collection, and uploaded to the site.  An error is received when attempting to access this file, as one would expect.

Using the OnClientFileDropped event, I can read the file size property.  If it's 0, add it to an array that is then read in the OnClientFileUploading event.  If the current filename exists in this array, I cancel the upload. 

My preference would be to handle this all within the OnClientFileUploading event.  As of yet, I've been unable to read the file size within this event, and I'm presuming it is not available there.

Again, assuming I cannot get the file size property in this event, is there an event that occurs after the args.set_cancel(true) method is triggered, where I can remove these canceled uploads from the displayed list?

 

Doncho
Telerik team
 answered on 07 Mar 2022
1 answer
192 views

2022.1.119.45

<telerik:GridTemplateColumn UniqueName="CheckBoxTemplateColumn">
                                    <ItemTemplate>
                                        <asp:CheckBox ID="CheckBox1" runat="server" OnCheckedChanged="ToggleRowSelection"
                                            AutoPostBack="True" />
                                    </ItemTemplate>
                                    <HeaderTemplate>
                                        <asp:CheckBox ID="headerChkbox" runat="server" OnCheckedChanged="ToggleSelectedState"
                                            AutoPostBack="True" />
                                    </HeaderTemplate>
</telerik:GridTemplateColumn>

 

 

<input id="ctl00_ContentPlaceHolder2_grdAccounts_ctl00_ctl04_CheckBox1" type="checkbox" name="ctl00$ContentPlaceHolder2$grdAccounts$ctl00$ctl04$CheckBox1" onclick="javascript:setTimeout('__doPostBack(\'ctl00$ContentPlaceHolder2$grdAccounts$ctl00$ctl04$CheckBox1\',\'\')', 0)">

 

I've tried the template and the gridcheckboxcolumn.

 

Nothing displays no matter what approach I take.  I am using a NeedDataSource method.

 

I've searched the forums and tried pretty much everything I've found.

 

Please help.

Thanks,
Jason

Doncho
Telerik team
 answered on 07 Mar 2022
2 answers
665 views

Could not find file 'F:\01MAR2022\App_Data\RadUploadTemp\1646320159823WOW Event Welcome Sign_Headshots.pdf.tmp'

What could be the cause of such error, time out?

WaldenGajo
Top achievements
Rank 2
Iron
 answered on 07 Mar 2022
0 answers
136 views

Hi, I have a RadWindow which appears when the button is clicked. 

The code in aspx is:

<telerik:RadWindow ID="rwSubmitForReview" Title="Submit For Review" runat="server" Localization-PinOff="Pin off" Width="305px" Height="250px" InitialBehaviors="Pin" >

Code in aspx.cs is

string script = "function f(){$find(\"" + rwSubmitForReview.ClientID + "\").show(); Sys.Application.remove_load(f);}Sys.Application.add_load(f);";
ScriptManager.RegisterStartupScript(this, this.GetType(), "key", script, true);

When i start to scroll down in the main page, the window disappears and i notice the top attribute follows the scroll? Please refer to the red highlighted line. How can I make it stop scrolling?

The telerik version is 2022.1.119.40.

Eugene
Top achievements
Rank 1
 asked on 04 Mar 2022
1 answer
123 views

I'm new in java script code i can't understand in the following code what is 'demo' is it the page or browser or what

   demo.lightBox = $find("<%=RadLightBox1.ClientID %>");

Vessy
Telerik team
 answered on 03 Mar 2022
0 answers
328 views

hi sir,

I use the below code in server side to get the control id in child page while radcombox  control in master page.

  Dim radcmbx As RadComboBox = CType(Page.Master.FindControl("Database_List"), RadComboBox)

So how i get master page control id from separate JavaScript file using javascript or jquery,

M Kumar
Top achievements
Rank 1
Iron
Iron
Veteran
 asked on 02 Mar 2022
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?