Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
349 views

Hi team,

 

We have grid in windows application and having functionality to remove columns by dragging the column and dropping it outside the grid. now we are migrating the current windows client application to web based solution and we have considered using telerik ajax UI controls for development which has the similar features.. however for drag and drop functionality, RadGrid support only row level. what we need is column level, user should be able to remove the column by  dragging and dropping the column outside..

 

Regards,

Suruli

Eyup
Telerik team
 answered on 26 Sep 2018
1 answer
228 views

Hi there, 

I am trying to change the expand/collapse of the radgrid on the fly. The reason is because I wanna change the icon when I do not have any item on the detail table for the respective Item, working as a visual cue.

Following is my code:

 

GridItem[] nestedViewItems = tableView.GetItems(GridItemType.NestedView);
            foreach (GridNestedViewItem nestedViewItem in nestedViewItems)
            {
                foreach (GridTableView nestedView in nestedViewItem.NestedTableViews)
                {
                    if (**myBusinessLogic**)
                    {
                        nestedView.ExpandCollapseColumn.ButtonType = GridExpandColumnType.ImageButton;
                        nestedView.ExpandCollapseColumn.ExpandImageUrl = "../Resource/Image/CustomExpand.png";
                        nestedView.ExpandCollapseColumn.CollapseImageUrl = "../Resource/Image/CustomCollapse.png";
                    }
                }
            }

 

After running this code the icon remains the same. 

Thank you

 

Eyup
Telerik team
 answered on 26 Sep 2018
1 answer
225 views

Hello guys,

I'm having trouble updating textbox "A" thats inside a repeater from a button which gets some textbox "B" from is inside the repeater aswell.

First of all, the content of the textbox "A" is binded with DataBinder.Eval and I'm getting an error "The Controls collection cannot be modified because the control contains code blocks (i.e. <% … %>) " and I found a solution online by wraping the repeater with <telerik:RadCodeBlock runat="server">, is this the correct way of fixing it?

Here is my ajaxManager:

        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">   
        <AjaxSettings>  
            <telerik:AjaxSetting AjaxControlID="listaDeElementos"> 
                <UpdatedControls> 
                    <telerik:AjaxUpdatedControl ControlID="listaDeElementos" /> 
                </UpdatedControls> 
            </telerik:AjaxSetting> 
        </AjaxSettings>  
        </telerik:RadAjaxManager> 

After I click the button, changes are actually made in the database but the repeater does not refresh. Nothing happens and I have to reload the page to actually see the changes. Here is my repeater:

 

    <telerik:RadCodeBlock runat="server" ID="radcode1">
             <asp:Repeater ID="listaDeElementos" runat="server" OnItemCommand="listaDeElementos_ItemCommand" >
             <ItemTemplate> 
                 <asp:TextBox runat="server" ID="txtMostrarComentario" Text='<%# string.Format("{0}", DataBinder.Eval(Container.DataItem, "Comentario")) %>'        enabled="false" TextMode="MultiLine" Width="65%" style="margin-top:10px;resize:none"></asp:TextBox>
                 <asp:TextBox runat="server" ID="txtComentario" Text=""  placeholder="Añadir comentario" TextMode="MultiLine" Width="33%" style="margin-top:10px;resize:none"></asp:TextBox>
                 <asp:Button ID="btnGuardarComentarioYnumeroDeSerie" runat="server" CommandArgument='<%# Eval("Id") %>' CommandName="GuardarComentarioYnumerodeserie"  Text="Guardar" Width="100%" CausesValidation="False" />
                  <br />
                 <hr />
              </ItemTemplate>
            </asp:Repeater>
      </telerik:RadCodeBlock>

So how do I make it update? 

Thanks.

Vessy
Telerik team
 answered on 25 Sep 2018
7 answers
377 views
Hi

I'm looking into what the effects would be to upgrade jquery to the latest version in our web site. We do currently have jquery 1.6 and would like to upgrade it to 1.11. The telerik version we use are from Q1 2011. What I would like to have a confirmation on is wheter telerik use it's own version of jquery that is not registered in the global namespace. If it is not registered gloablly I guess it would mean that our telerik components will work just fine even though we are upgrading jquery for the rest of our site.
Marin Bratanov
Telerik team
 answered on 25 Sep 2018
6 answers
237 views
Telerik Team

i have 2 text boxes and one rad-editor on a page
when i tab in rad-Editor it didn't focus on content area
it focus on its other control like (image manager, alignment etc)



I need to fix this issue as soon as possible
your early response will be appreciated
Regards
Rumen
Telerik team
 answered on 25 Sep 2018
3 answers
65 views

Hi, 

I have used RadListBox control at many places in my project. The issue is intermittent, especially in IE10 and IE11.
The icons(rlbButton) appears blank i.e. without the arrows etc... Please provide a solution or a workaround for the same.
Please find attached the snapshot.

Thanks

~P

Vessy
Telerik team
 answered on 25 Sep 2018
1 answer
281 views

Hello,

I want to make a default color in toolbar for the color and background : when the user select a text, and click on the buton of color,that will make my dafault color

i do this

<telerik:EditorTool Name="ForeColor"     Value="red" />

but when i select the text and try to make my color by default ,that open the dialog color and not colorized my text

 

Thank you

Rumen
Telerik team
 answered on 25 Sep 2018
2 answers
119 views

I'm trying to have my controls get updated when the SkinChooser changes value to some other Skin (I'm using the embedded DLL skins provided).

<telerik:RadSkinManager ID="rskmLogin" runat="server" Skin="Material" ShowChooser="True">
    <TargetControls>
        <telerik:TargetControl ControlID="rlb_Online" Skin="Metro" ControlsToApplySkin="RadLabel" />
        <telerik:TargetControl ControlID="rtb_Online" Skin="Bootstrap" ControlsToApplySkin="RadTextBox" />
        <telerik:TargetControl ControlID="rlb_Password" Skin="Metro" ControlsToApplySkin="RadLabel"/>
        <telerik:TargetControl ControlID="rtb_Password" Skin="Bootstrap" ControlsToApplySkin="RadTextBox"/>
        <telerik:TargetControl ControlID="rbn_SignIn" Skin="Glow" />
        <telerik:TargetControl ControlID="rlb_Or" Skin="Metro" />
        <telerik:TargetControl ControlID="rbn_CreateAnAccount" Skin="Glow" />
        <telerik:TargetControl ControlID="rbn_ResetPassword" Skin="Silk" />
        <telerik:TargetControl ControlID="rcb_Skins" Skin="Sunset" />
    </TargetControls>
</telerik:RadSkinManager>

 

in my code behind: 

Private Sub rskmLogin_SkinChanged(sender As Object, e As SkinChangedEventArgs) Handles rskmLogin.SkinChanged
 
    Try
 
        If e IsNot Nothing Then
 
            For Each TrgCtrl As TargetControl In Me.rskmLogin.TargetControls
 
                TrgCtrl.Skin = e.Skin
 
            Next
 
        End If
 
    Catch ex As Exception
 
        Dim ErrorLog As New DC.Errors.Log(ex)
 
    End Try
 
End Sub

 

fairly basic stuff, but my controls don't update with the newly selected skin ... what am I missing?

 

Cheers, Rob.

Eyup
Telerik team
 answered on 24 Sep 2018
5 answers
252 views

Hi, I'm using a treeview control on my application, and in my Dev, Test and UAT environments, I'm seeing the arrows for the expand/collapse icons.  However, on my Prod environment, which theoretically is the same as my UAT environment, I see the plus/minus signs.

Looking at the css coming down as a WebResource, on UAT, I see:

/* START Telerik.Web.UI.Skins.TreeViewLite.css */

 

But on the css that comes down from Prod, I see this:

/* START Telerik.Web.UI.Skins.TreeView.css */

I've gone through my code trying to figure out why, can't see anything.  Also, after looking through documentation on this site, I have added the following lines to my web.config, but with no change:

   <appSettings>

      ...
      <add key="Telerik.Web.UI.RenderMode" value="lightweight" />
   </appSettings>

...

   <system.webServer>

...

      <httpProtocol>
        <customHeaders>
          <add name="X-UA-Compatible" value="IE-Edge" />
        </customHeaders>
      </httpProtocol>
   </system.webServer>

 

Is there any other things I should know about my production environment that might be causing this behavior?

I'm currently using version 2017.1.228.40 of the Telerik assemblies &  running .NET 4.5.1

Thanks,

Phil

Vessy
Telerik team
 answered on 24 Sep 2018
1 answer
85 views

Is there any mechanism in the Spreadsheet classes that would allow me to insert or extract an object file from a spreadsheet?  I cannot seem to locate anything on the matter in the API documentation or on the objects when debugging.

Thanks,

Josh

Peter Milchev
Telerik team
 answered on 24 Sep 2018
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?