Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
181 views
I'm trying to implement the code at the bottom of this page as a test and I'm not sure what dll's I need to reference?

http://demos.telerik.com/aspnet-ajax/chart/examples/skinning/misc/defaultcs.aspx 
Richard
Top achievements
Rank 1
 answered on 08 May 2012
1 answer
126 views
I have used both Telerik.WebControls.RadGrid and Telerik.Web.UI.RadGrid.

Telerik.WebControls.RadGrid has skin property as Windows (skin="Windows") and Telerik.Web.UI.RadGrid has skin property as Outlook (skin="Outlook").

Now I need the same styles for Telerik.Web.UI.RadGrid as like the Telerik.WebControls.RadGrid.

I have tried this by changing the skin as "Windows" name and EnableEmbeddedSkins="false" for Telerik.Web.UI.RadGrid. It applies some of its style as "Windows" but not similar as Telerik.WebControls.RadGrid.

Can anyone help me.
Richard
Top achievements
Rank 1
 answered on 08 May 2012
4 answers
261 views
Hello team,

Sorry for my flurry of questions.

I'm binding a table having the columns A, B, C, D, E, F, G, H to the radscheduler and setting A, B, C, D as the DataKeyField, DataSubjectField, DataStartField, DataEndField.

My questions -

1. Now i want the tooltip to show the values from the columns E, F and G. How to do that?

2. What does Appointment.DataItem really return? Can i get the values of E, F and G from Appointment.DataItem? (I always get it as null)

Thank you once again.
NLV
InfySam
Top achievements
Rank 1
 answered on 08 May 2012
5 answers
161 views
Hi,

I would like to use the RadScheduler with an ASMX webservice for fetching appointment data. This works, but i would like to send some attributes along with the request so the SchedulerProvider can use this as a filter. Otherwise i have to get fetch a lot of data from my data layer.

I have tried to use the SchedulerProvider directly setting the property ProviderName on the RadScheduler and removed the webservice settings. When i add an attribute to the RadScheduler object, it is accessible in the SchedulerProvider. This way of passing filter values works, but not when is use the webservice.

Is it possible to send custom attributes along with the webservice call?
Plamen
Telerik team
 answered on 08 May 2012
2 answers
87 views
Hi,

I'm trying to get my panel content to inherit the CSS class of the DIV that surrounds the panel. We change the font and make the text a dark grey - but all the items inside the RanPanel are using this:

.RadPanelBar_Transparent a.rpLink, .RadPanelBar_Transparent div.rpHeaderTemplate, .RadPanelBar_Transparent .rpTemplate {
  1. colorblack;
  2.   fontnormal 12px/24px Tahoma,Arial,sans-serif;
}

so they don't match the rest of the page.

If I use Chrome's 'Inspect Element' screen to disable those two properties, everything appears as I want it to.


Is there an easy way to stop that rpTemplate from overriding the styling of items inside my panel item's <ContentTemplate> so it will properly match the rest of the page? I've tried setting a dummy CssClass  class on the Panel and Item that just inherits from it's parent container, but the rpTemplate is applied AFTER those.


Here's what my panel looks like:

<div id="page-formview-content">
    <div id="mainBody">
        <div style="float: left; width: 100%; padding-bottom: 4px; padding-top: 8px">
            <telerik:RadPanelBar ID="RadPanelBar1" runat="server" Width="100%" >
                <Items>
                <telerik:RadPanelItem Text="Test Panel 1" Expanded="true">
                <ContentTemplate>
                    <asp:Label ID="Label1" runat="server" Text="HIDE AND SHOW!">
                    </asp:Label>
                </ContentTemplate>
                </telerik:RadPanelItem>
                </Items>
            </telerik:RadPanelBar>
        </div>
    </div>
</div>


I want the label text to use the same styling as the rest of the items on the page. The text color is set in the CSS for the <body> tag of the master page, so reusing the CSS on the label itself isn't really an option. I'd prefer to just disable the rpTemplate styling somehow, or override it with inherit-only styles.


Thanks,
-Adam
Adam
Top achievements
Rank 1
 answered on 08 May 2012
1 answer
61 views
How to show different user controls on edit and insert operation?
Princy
Top achievements
Rank 2
 answered on 08 May 2012
3 answers
128 views
Hi,

Another issue found by our 508 team for radgrid table with pagination. When user tab through it, after the tab of the last column header of radgrid, it should goes to the 1st checkbox inside the radgrid table ( 1st row of the radgrid data table has checkbox), but instead, it come to the 1st link of pagination portion. The tab order is incorrect.

Is there any way to address it?

Thanks,
Wei
Princy
Top achievements
Rank 2
 answered on 08 May 2012
6 answers
179 views
Hi,

my requirement is to show list of values in a grid and when the user clicks on one of the columns, I have to display a radbutton. this button is on the page and is outside the grid
I am getting the commandname in the itemcommand event and trying to make radbutton visible.  button.visible=true. when i debug the code it looks like its working but the button is not diplayed. this button is invisible by default.
do i have to do a find control like i do for the controls inside the grid? if so what is the syntax for it?

Thanks.



rms
Top achievements
Rank 1
 answered on 08 May 2012
5 answers
141 views
I have a RadListView nested within a RadListView. The inner RadListView has LinkButtons for copying/deleting/organizing the elements. When the LinkButtons are clicked, the events fire and I copy/delete/reorganize the data, but the page doesn't get updated. If I refresh the page or execute another command, the data is refreshed...but it's always one click behind. It's obviously an event sequence and after lots of searching it sounds like I need to use the AjaxManager. I've been wresting with this too long and need help.

ASPX
I included surrounding controls just in case this affected the solution. The issues I'm having are with rlvGroups,

<telerik:RadMultiPage ID="rmpTabs" runat="server" SelectedIndex="0" Width="100%">
    <telerik:RadPageView ID="rpv1" runat="server">
        Page title: <asp:TextBox ID="txtTitle" runat="server"></asp:TextBox>
    </telerik:RadPageView>
    <telerik:RadPageView ID="rpv2" runat="server">
        <asp:Panel ID="pnlNotRelevant" runat="server">
        </asp:Panel>
    </telerik:RadPageView>
    <telerik:RadPageView ID="rpv4" runat="server">
        <asp:Panel ID="pnlItems" runat="server">
            <telerik:RadListView ID="rlvGroups" runat="server" OnItemDataBound="rlvGroups_ItemDataBound"
                Width="100%">
                <ItemTemplate>
                    <%# DataBinder.Eval(Container.DataItem, "Name")%>
                    <br />
                    <telerik:RadListView ID="rlvItems" runat="server" OnItemDataBound="rlvItems_ItemDataBound"
                        Width="100%">
                        <ItemTemplate>
                            <%# DataBinder.Eval(Container.DataItem, "Title")%>
                            <asp:LinkButton ID="lbUp" runat="server" OnCommand="lbUp_Command"><img src="arrow-up.png" /></asp:LinkButton>
                            <asp:LinkButton ID="lbDown" runat="server" OnCommand="lbDown_Command"><img src="arrow-down.png" /></asp:LinkButton>
                            <asp:LinkButton ID="lbEdit" runat="server" OnCommand="lbEdit_Command"><img src="edit.jpg" /></asp:LinkButton>
                            <asp:LinkButton ID="lbCopy" runat="server" OnCommand="lbCopy_Command"><img src="copy.jpg" /></asp:LinkButton>
                            <asp:LinkButton ID="lbDelete" runat="server" OnCommand="lbDelete_Command"><img src="delete.png" /></asp:LinkButton>
                        </ItemTemplate>
                    </telerik:RadListView>
                    <asp:LinkButton ID="lbAddPage" runat="server" Text="Add Page" OnCommand="lbAddPage_Command" />
                    <br />
                    <br />
                </ItemTemplate>
            </telerik:RadListView>
            <asp:LinkButton ID="lbAddGroup" runat="server" Text="Add Group" OnCommand="lbAddGroup_Command" />
        </asp:Panel>
    </telerik:RadPageView>
</telerik:RadMultiPage>

C#
Data is loaded from custom classes:
private void RefreshGroupsItems()
{
    rlvGroups.DataSource = tab.ViewX.Groups.Group;
    rlvGroups.DataBind();
}

protected void rlvGroups_ItemDataBound(object sender, RadListViewItemEventArgs e)
{
    if (e.Item.ItemType == RadListViewItemType.DataItem || e.Item.ItemType == RadListViewItemType.AlternatingItem)
    {
        //Get datarow
        Group group = (Group)(((RadListViewDataItem)e.Item).DataItem);

        //Find controls
        RadListView rlvItems = (RadListView)e.Item.FindControl("rlvItems");
        LinkButton lbAddPage = (LinkButton)e.Item.FindControl("lbAddPage");

        //Populate controls
        List<ListItem> data = DataHelpers.BuildListItem(group);
        rlvItems.DataSource = data;
        rlvItems.DataBind();
        lbAddPage.CommandArgument = group.ID.ToString();
    }
}

protected void rlvItems_ItemDataBound(object sender, RadListViewItemEventArgs e)
{
    if (e.Item.ItemType == RadListViewItemType.DataItem || e.Item.ItemType == RadListViewItemType.AlternatingItem)
    {
        //Get datarow
        ListItem item = (ListItem)(((RadListViewDataItem)e.Item).DataItem);

        //Find controls
        LinkButton lbUp = (LinkButton)e.Item.FindControl("lbUp");
        LinkButton lbDown = (LinkButton)e.Item.FindControl("lbDown");
        LinkButton lbEdit = (LinkButton)e.Item.FindControl("lbEdit");
        LinkButton lbCopy = (LinkButton)e.Item.FindControl("lbCopy");
        LinkButton lbDelete = (LinkButton)e.Item.FindControl("lbDelete");

        //Populate controls
        lbUp.CommandArgument = item.ID.ToString();
        lbDown.CommandArgument = item.ID.ToString();
        lbEdit.CommandArgument = item.ID.ToString();
        lbCopy.CommandArgument = item.ID.ToString();
        lbDelete.CommandArgument = item.ID.ToString();
    }
}

Please help!
Andrey
Telerik team
 answered on 08 May 2012
1 answer
61 views
hi all,

well i have a question, i am using a telerik RadGrid to bind the data from the server end and i need the filter that data on the client end without hitting the server again i.e. without getting the data back from database.

i know it is possible with using columns and binding the data back with GridBoundColumn but my problem is that i am using ItemTemplate within which i am creating the table to make it look just like my client needs, so is it possible to filter the data in the ItemTemplate without columns(gridboundcolumns).

i hope i make sense out of it.

Thanks in advance, 

waiting for the possible solution asap.

Gaurav Sharma
Andrey
Telerik team
 answered on 08 May 2012
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?