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

I have display problem with scheduler (file attached). Teleric.dll  is 2009.1.311.20)
Plamen
Telerik team
 answered on 21 Apr 2014
3 answers
773 views
hi telerik ,
in my project i use ORGchart and ListBox  and use a button as item template in ORGchart ,
at click on the button i want to open a devexpress popup and  perform a callback to a devexpress grid view .. it is possible to do ? 
Eyup
Telerik team
 answered on 21 Apr 2014
3 answers
233 views
Hello, I have a RadButton which lives on a user control, which in turn is within a master page.

I'm trying to use the RegisterPostBackControl method of the master page's RadScriptManager object to register the button, but upon clicking it still is causing a FULL postback rather than executing the button's OnClick which references a separate ExportToExcel method I've created.

I have the Page_Load in the user control below as follows, what am I doing wrong?

        protected void Page_Load(object sender, EventArgs e)
        {
            if (Page.IsPostBack)
            {
                ((RadScriptManager)Page.Master.FindControl("RadScriptManager1")).RegisterPostBackControl(_ExportButton);
            }
        }



Here is the markup for the RadButton:

      <telerik:RadButton runat="server" ID="_ExportButton" Text="Export" Enabled="False" AutoPostBack="True" OnClick="ExportToExcelClick"  />
    
Eyup
Telerik team
 answered on 21 Apr 2014
4 answers
192 views
I have a Rad Grid that exports to PDF. There are several columns in the grid. Most of the data is only a couple words and is displayed on one line.  However, there is a comments column that sometimes is long and wraps to several lines. My issue is when this is the last row. The export starts the row on one page and continues it on the next page. Is there a way to have only complete rows on a page?
Eyup
Telerik team
 answered on 21 Apr 2014
1 answer
356 views
Hello,

I am listing items with checkboxes and I would like to use the strikethrough on the text of an item when the checkbox is checked. Kind of like a ToDo list and marking them completed. I also need to change it back when unchecking it. And I want to load the data that way. I guess I can always loop through and check to mark them and apply the css if needed.

Would this be easier to do with a gridview control also especially since I am data binding it?

Thanks,
Warren


Magdalena
Telerik team
 answered on 21 Apr 2014
6 answers
114 views

Are there any plans to have Typescript declarations for the various client side controls of the ASP.Net AJAX product? I'm developing a project in typescript and using the client APIs of the various controls a lot (TreeView, Menu's, etc) and having declarations would greatly help.


Thanks!

Guy

Rumen
Telerik team
 answered on 21 Apr 2014
2 answers
339 views

Hi,

I want to have a checkbox that binds to a field which stores 'Y' or 'N' instead of boolean value.  Is there an event which I can put the codes to alter true/false back to 'Y'/'N' before saving back to the database? Is this even possible?

In the ItemTemplate I am using label to display the content of the field, so it has no problem displaying. In the EditItemTemplate, here's what I'm doing:

aspx:
<asp:CheckBox runat="server" Text="Vendor" ID="ThirdPartyVendorCheckbox" />
 <asp:HiddenField runat="server" ID="hiddenThirdPartyVendor" Value='<%# Eval("thirdparty_vendor") %>' />

Code-Behind:

protected void RadListView1_ItemDataBound(object sender, RadListViewItemEventArgs e)
 
{
 
    if (e.Item is RadListViewEditableItem && e.Item.IsInEditMode)
 
    {
 
        CheckBox chkbox = e.Item.FindControl("ThirdPartyVendorCheckbox") as CheckBox;
 
        HiddenField hf = e.Item.FindControl("hiddenThirdPartyVendor") as HiddenField;
 
        string txtVal = hf.Value;
 
        if (txtVal != "Y")
 
            chkbox.Checked = true;
 
        else
 
            chkbox.Checked = false;
 
    }
 
}


Thank you,

Helen

Eyup
Telerik team
 answered on 21 Apr 2014
14 answers
3.1K+ views
I hate to waste your time because I know you must have answered this question before.  I did find one answer to it in the forums, but the example did not work on my system, so..........

I would like to display "Yes" or "No" for a SQL Server Boolean column in the RadGrid instead of a checkbox (your checkboxes in the grid are so "faded" that it is very difficult to tell if they are checked or not) or instead of "True"/"False".

I would prefer to write the code for this in the VB code behind page if possible. If not, I can add it to the .aspx page if needed.

The Boolean field is named "TextActive", although it really doesn't matter.

Thanks in advance for your assistance.

Lynn
Shinu
Top achievements
Rank 2
 answered on 21 Apr 2014
2 answers
102 views
Hi Telerik Team,

Problem:

We have purchased license your latest asp.net Ajax version for 4.5.We are in process of migrating our apps from our old classic Rad
controls for 2.0 to latest version of UI ASP.Net AJAX 4.5. On deep diving into your latest framework and architectural changes, found there are far too many
breaking changes and requires painful effort to migrate. It isn’t straightforward as mentioned in some your forums.  The upgrade wizard doesn’t help. The some of the control classes, properties,methods names have drastically changed from the old version to the new one.Moreover, not all changes have been documented. The upgrade process is risky and time consuming. But we need to go for the upgrade as we migrating our project to dotnet 4.5 framework.

Expectation from support team:

We need continuous technical support during the upgrade process in next 1 month. We have two projects to be converted. Will be posting
snippets of code to give us direction on upgrade if appropriate documentation not found in telerik site for controls/classes we are using.

Current status:

On referencing Radcontrols dlls to new “telerik.web.ui” and changing the namespaces from “telerik.webcontrols” to “telerik.web.ui” we got 74 errors
during build. After fixing some of the issues referring to doc on backward compatibility, the Errors are now reduced to 46.

To start with, posting few code snippets where we get errors:

Error 1: “Member not found” for each property within the “with”  stmnt

RadRotator = New RadRotator

          With _RadRotator
                .ID = "R"
                .FrameTemplate = Me.CreateFrameTemplate()
                .FrameTimeout = 3000
                .Height =System.Web.UI.WebControls.Unit.Pixel(Me.FrameHeight)
                .PauseOnMouseOver = True
                .TransitionType = RadRotator.RotatorTransitionType.Slideshow
                .TransitionEffect =RadRotator.RotatorTransitionEffect.Fade
                .UseRandomSlide = False
                .UseSmoothScroll = True

Error 2:  “RadToolbarToggleButton” is not defined. “b.buttonimage” is not defined

Code:
Dim b As RadToolbarButton
       If ButtonGroup Is Nothing Then
                b = New RadToolBarButton
       Else
                b = New RadToolbarToggleButton
        With CType(b, RadToolbarToggleButton)
                    .ButtonGroup = ButtonGroup
                    .Toggled = Toggled
        End With

       End If

            b.CommandName = CommandName
            b.ButtonImage = ButtonImage
            b.ToolTip = ToolTip

 We have to deliver the upgrade version to customer in one month time. A prompt help will be greatly appreciated from telerik team.

Thank you,

Kiesha.

 
Keisha
Top achievements
Rank 1
 answered on 21 Apr 2014
3 answers
339 views
Hello,
I have a RadGridwhich contains a GridButtonColumn named "Update" and a button under the RadGrid wich is invisible.
I want to set the button visible after click to the GridButtonColumn "Update".

code Asp:

<div id="lprulesdetails-container">
      <telerik:RadGrid ID="RadGridLPRulesDetails" runat="server" AllowPaging="True" AllowFilteringByColumn="true"
            AllowAutomaticDeletes="true" AllowAutomaticUpdates="true" PageSize="5">
            <MasterTableView AutoGenerateColumns="false">
                <Columns>
                    ...................
                    <telerik:GridButtonColumn ButtonType="LinkButton" CommandName="Update" 
                        Text="Update" UniqueName="Update" ItemStyle-Width="100px">
                    </telerik:GridButtonColumn>
                </Columns>
            </MasterTableView>
            <PagerStyle Mode="NumericPages"></PagerStyle>
        </telerik:RadGrid>
<div id="lprulescontainer">
        <div id="lprulesaddcontainer" runat="server">
            <div id="grid-action">
                <div class="action-operation-left">
                    <telerik:RadButton ID="RadButtonCancelAdding" runat="server" Text="Cancel" Visible="false">
                        <Icon PrimaryIconCssClass="rbCancel" PrimaryIconLeft="4" PrimaryIconTop="4" />
                    </telerik:RadButton>
                </div>
          ........................
</div>

Code VB.net

Private Sub RadGridLPRulesDetails_ItemCommand(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridCommandEventArgs) Handles RadGridLPRulesDetails.ItemCommand
       If e.CommandName = "Update" Then
            RadButtonCancelAdding.Visible = True
        End If
    End Sub


Where is the matter?

Thanks :)

Princy
Top achievements
Rank 2
 answered on 21 Apr 2014
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?