Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
94 views
radbutton is not available in toolbox. what should i do ?
Pero
Telerik team
 answered on 13 Apr 2011
1 answer
40 views
Hi,

I have Tab strip with Multiple Page.
i have RadGrid on Page View.
i have used tooltipmanager to show the tooltip in radgrid.
Radtabstrip design will be changed when we tooltip loaded

Please find the attachment. i got an design issue like that.
Kate
Telerik team
 answered on 13 Apr 2011
1 answer
95 views
Hello guys

How do I get the tooltip box that appears on an outline of the message or image in the tooltip? Below is an example that I used but no box appears, just a background image.

<telerik:RadTextBox ID="RadTextBox" runat="server" Width="196px"  Skin="Office2007">
             <ClientEvents OnValueChanged="ValueChanged" />                             
</telerik:RadTextBox>

<telerik:RadToolTip runat="server" ID="RadToolTip2" RelativeTo="Element" Width="390px"  Height="70px"  TargetControlID="RadTextBox"  Animation="Fade" EnableShadow="true" CssClass="tooltip">
 <img src="../Imgs/ToolTip.png" alt="&nbsp;" /
</telerik:RadToolTip>

thanks for now
Marin Bratanov
Telerik team
 answered on 13 Apr 2011
2 answers
65 views
Hello,

I am manipulating a cell's text by using the Grid_ItemDatabound event.  See below:

If TypeOf e.Item Is GridDataItem Then
            Dim gridDataItem As GridDataItem = e.Item
            Dim quoteID = gridDataItem.Item("quoteID").Text
            Dim lineID = gridDataItem.Item("lineID").Text
            Select Case gridDataItem.Item("assortmentTypeID").Text
                Case 1000
                    gridDataItem.Item("assortmentTypeID").Text = "Text for 1000"
                Case 1002
                    gridDataItem.Item("assortmentTypeID").Text = "Text for 1002"
                Case 1003
                    gridDataItem.Item("assortmentTypeID").Text = "Text for 1003"
            End Select
        End If

This works fine until I place the grid in Edit Mode.  When I do, the text in the cell defaults back to the value coming from the datasource (1000, 1002, or 1003).  The value in this particular cell is ReadOnly, so I am not allowing edit.  How can I get the cell text to stay the way I format it regardless of what mode the grid is in?  I've tried several combinations of things using the IsInEditMode, GridEditableItem, GridEditFormItem, etc.

Thank you for any help you can offer.

Frustrated,
Jim
Jim
Top achievements
Rank 2
 answered on 13 Apr 2011
1 answer
195 views
Hi,

I am looking for a way to access the "Update" LinkButton in a GridEditCommandColumn.  I would like to set an onClientClick attibute to the button when its in Edit Mode

Thanks
Sebastian
Telerik team
 answered on 13 Apr 2011
4 answers
143 views

Hi,

i have an asp.net application using a radgrid. I want to froze some columns.
Everything works fine, but if I set UseStaticHeaders="true" and FrozenColumnsCount="4" the performance of our application will break down extremly.
Our data volumn is as follows: approximately 330 rows with each 55 columns. We build our grid programmatically in our code behind file.

Could you please give us an answer if it is wise to use FrozeColumns with such an data volumn and szenario? If so, please provide some performance hints.

Here the code of my aspx page:
<telerik:RadGrid ID="GridProjectProposals" runat="server" AutoGenerateColumns="false" AllowSorting="true" Height="650px" Width="1200px" GridLines="None" Skin="Windows7" AllowMultiRowSelection="True" AllowFilteringByColumn="True">
    <ClientSettings EnableRowHoverStyle="true">
        <Selecting AllowRowSelect="true" EnableDragToSelectRows="true" />
        <Scrolling AllowScroll="true" EnableVirtualScrollPaging="true" SaveScrollPosition="true" UseStaticHeaders="true" FrozenColumnsCount="4" />
    </ClientSettings>
    <MasterTableView GridLines="None" AllowNaturalSort="true" EditMode="InPlace" AllowMultiColumnSorting="true">
        <Columns>
        </Columns>
        <HeaderStyle Width="180px" />
    </MasterTableView>
</telerik:RadGrid>

Looking forward to get some ideas and your input.

Thanks ...

Pavlina
Telerik team
 answered on 13 Apr 2011
13 answers
138 views
Hello,

I currently updated our Telerik libraries to the latest version (2011.1.315.35) to be accessible to IE9. However, when performing AJAX operations in IE9, the loading panel on the control is not transparent; i.e. in the loading image, with a pure white background, is the only thing visible.
Is this replicable or is this just my browser?

Thanks,
Ernest
Veli
Telerik team
 answered on 13 Apr 2011
1 answer
86 views

Hello Telerik Team,

  We have a problem using TreeListView. Because there are a lot of records as result, we need to use paging in db. First page is displayed ok, but when another page is selected, this error is thrown: “the table must contain row sections in order of header, body, then footer”. VirtualCount is not supported for this control.

 

  See below the definition of the treelist:

 

        <telerik:RadTreeList ID="rtlDescendants" runat="server" ShowTreeLines="true" ShowOuterBorders="true"

            ParentDataKeyNames="ParentInstanceID" DataKeyNames="InstanceID" AutoGenerateColumns="false"

            Skin="Office2007" OnNeedDataSource="rtlDescendants_NeedDataSource" OnItemDataBound="rtl_ItemDataBound"

            AllowPaging="true" AllowSorting="false" PageSize="10" onpageindexchanged="rtlDescendants_PageIndexChanged">

            <PagerStyle Position="Bottom" Mode="NextPrevAndNumeric" />

            <Columns>

                <telerik:TreeListTemplateColumn HeaderText="ID">

                    <ItemTemplate>

                        <asp:Image ID="imgDomain" Width="16px" Height="16px" ImageUrl='<%# String.Format("~/images/Metallic16x16/{0}16x16.png", Eval("DomainName").ToString().ToUpper()) %>'

                            runat="server" />&nbsp;

                        <asp:LinkButton ID="lnkName" runat="server" CausesValidation="false" Text='<%# Eval("Name")%>'

                            PostBackUrl='<%# String.Format("~/CI/Attributes.aspx?InstanceID={0}", Eval("InstanceID")) %>'></asp:LinkButton>

                    </ItemTemplate>

                </telerik:TreeListTemplateColumn>

                <telerik:TreeListTemplateColumn HeaderStyle-Width="3%" ItemStyle-Width="3%" ItemStyle-HorizontalAlign="Center">

                    <ItemTemplate>

                        <asp:ImageButton ID="imgbPreview" runat="server" CausesValidation="false" OnClientClick='<%# String.Format("OpenPreviewPanel({0})", Eval("InstanceID")) %>'

                            ImageUrl="~/imagesCMSite/folder-explorer-icon.png" CssClass="image" />

                    </ItemTemplate>

                </telerik:TreeListTemplateColumn>

                <telerik:TreeListBoundColumn HeaderText="Type" HeaderStyle-Width="27%" ItemStyle-Width="27%"

                    DataField="DomainName" UniqueName="DomainName">

                </telerik:TreeListBoundColumn>

                <telerik:TreeListBoundColumn HeaderText="Modified By" HeaderStyle-Width="20%" ItemStyle-Width="20%"

                    DataField="ModifiedBy" UniqueName="ModifiedBy">

                </telerik:TreeListBoundColumn>

                <telerik:TreeListBoundColumn HeaderText="Last Modified" HeaderStyle-Width="20%" ItemStyle-Width="20%"

                    DataField="LastModified" UniqueName="LastModified">

                </telerik:TreeListBoundColumn>

            </Columns>

        </telerik:RadTreeList>


In addition, next pages can include children nodes but their parent could be "located" in previous page

Thank you in advance for your help

Veli
Telerik team
 answered on 13 Apr 2011
1 answer
130 views
Hello everyone,

I would like to ask you,if there is a possible way to re-load the content of a pageView based on a value change from a radiobutton .

More specifically,I have a radio button list where the user can select a product.

Below this list, i have a RadTabStrip which contains 3 RadTabs. Each RadTab has its own RadPageView.
I want to re-load the pageview for a specific tab each time the user selects a product from the radiobutton list.

Could anyone help me with that?

Thanks in advance,
PS
Veronica
Telerik team
 answered on 13 Apr 2011
11 answers
124 views
I have a RadWindow that I show for two differing purposes, and this window is shown when either one of two respective buttons is clicked.  I want to set the window's title and icon based on which button was clicked.  Here's my code:

// Determine which item was clicked
if (eventArgs.get_item().get_text() == "Lock and Submit") {
    // Open the dialog
    var objWindow = $find("<%=rwLockAndSubmitPlan.ClientID%>");
    objWindow.set_title(eventArgs.get_item().get_text());
    objWindow.set_iconUrl("\Images/lock.png");
    objWindow.setUrl("\Dialogs/LockAndSubmitPlan.aspx?mode=lockandsubmit");
    objWindow.show();
}
else if (eventArgs.get_item().get_text() == "Provide Explanations") {
    // Open the dialog
    var objWindow = $find("<%=rwLockAndSubmitPlan.ClientID%>");
    objWindow.set_title(eventArgs.get_item().get_text());
    objWindow.set_iconUrl("\Images/notepad.gif");
    objWindow.setUrl("\Dialogs/LockAndSubmitPlan.aspx?mode=provideexplanations");
    objWindow.show();
}

The issue is that while the window's title is, in fact, changed based on the button that was clicked, the window's icon is not.  The first time I open the dialog, the window's icon is set, but that icon remains the window icon from that point on, not matter which button is clicked.

My RadWindowManager is defined as follows:

<telerik:RadWindowManager runat="server" ID="rwmRadWindowManager" VisibleStatusbar="false" ReloadOnShow="true">
    <Windows>
        <telerik:RadWindow runat="server" ID="rwLockAndSubmitPlan" Modal="true" ReloadOnShow="true" 
            VisibleTitlebar="true" Behaviors="Close" OnClientPageLoad="OnClientPageLoad_SpendingPlan" 
            OnClientClose="OnClientClose_Spending_Plan" Width="550" Height="450" />
    </Windows>
</telerik:RadWindowManager>

And, the OnClientPageLoad_SpendingPlan function is defined as follows:

function OnClientPageLoad_SpendingPlan(objWindow, objArguments) {
    objWindow.set_status("");
}

Perhaps this is a quick fix, so a prompt response would be much appreciated!  Thank you!
Marin Bratanov
Telerik team
 answered on 13 Apr 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
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
Iron
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?