Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
91 views
HI,

We are using Telerik RadGrid control with .NET 4.0 ASP.NET code. We are attaching dataview to RadGrid Control, but at runtime there is mismatch with header columns and actual table columns in display. 

This issue is coming with IE 7.0 and IE 8.0

Is this the known issue? How could we solve this problem?

Rapid help would be much appreciated :-)

Thanks,
Dev Team First American

Pavlina
Telerik team
 answered on 12 Apr 2011
1 answer
90 views
Hi,

When I try to set ControlObjectsVisibility property at design time, receive Specified cast is not valid exception. When I set it manually from coode behind  and run page it doesn't throw any exception but seems not working.

<telerik:RadAsyncUpload runat="server" ID="RadAsyncUpload1" HttpHandlerUrl="~/UploadHandler.ashx"
    MultipleFileSelection="Disabled" MaxFileInputsCount="1" OnClientFileUploaded="fileUploaded"
    EnableInlineProgress="False" Skin="Default" >
</telerik:RadAsyncUpload>

I am using version 2011.1.405.40
Helen
Telerik team
 answered on 12 Apr 2011
3 answers
243 views
Hi Team,

While Saving Rad Editor Content as a RTF the content Format was changing (ex: Center alignment wast not coming, Underline)

i was also checked with the Telerik site , there also format was not coming correctly.

I'm Saving the Rad Editor content as RTF into database. while Retrieving the RTF from Database and loding into Rad Editor on that time i'm getting the content with the Question Mark Symbols and alignment was not coming correctly.

Please give the solution as soon as possible.

Regards,
Harish
Dobromir
Telerik team
 answered on 12 Apr 2011
2 answers
265 views
Hey!

The list displays message text and has 2 buttons "+" and "-", so users vote if they like or dislike the message.

I tried 2 solutions but have problems with both.

1st solution is without needdatasource:

Here is the ListView:

<telerik:RadListView ID="rlvTweets" runat="server" Width="100%" DataKeyNames="Tweet_ID"
    AllowPaging="True" PageSize="5" ItemPlaceholderID="ObjectHolder"
    OnItemCommand="rlvTweets_ItemCommand"
    OnItemDataBound="rlvTweets_ItemDataBound" >
  <LayoutTemplate>
    <asp:Panel ID="ObjectHolder" runat="server" />
    <telerik:RadDataPager ID="rdpTweets" runat="server" PagedControlID="rlvTweets" PageSize="5" Visible='<%# rlvTweets.PageCount != 1%>' >
      <Fields>
        <telerik:RadDataPagerButtonField FieldType="Numeric" />
      </Fields>
    </telerik:RadDataPager>
  </LayoutTemplate>
  <ItemSeparatorTemplate>
    <div class="separator"></div>
  </ItemSeparatorTemplate>
  <ItemTemplate>
 
    <%--Image Avatar--%>
    <asp:HyperLink ID="hlAvatar" runat="server" ImageUrl='<%#Eval("trTwitterUser.Avatar")%>' />
    <%--Link Username--%>
    <asp:HyperLink ID="hlUsername" runat="server" Text='<%#Eval("trTwitterUser.Username")%>' />
    <%--Buttons follow/stop following--%>
    <asp:Button ID="btnFollow" runat="server" Text="<%$ Resources:Localization, Follow  %>" ToolTip="<%$ Resources:Localization, Follow  %>" CommandName="Follow" />
    <asp:Button ID="btnStopFollowing" runat="server" Text="<%$ Resources:Localization, StopFollowing  %>" ToolTip="<%$ Resources:Localization, StopFollowing  %>" CommandName="StopFollowing" />
    <br />
    <%--Text message--%>
    <%#Eval("Text")%>
    <br />
    <%--Rank and plus/minus buttons--%>
    <asp:Label ID="lblRank" runat="server" Text='<%#Eval("Rank")%>' />
    <asp:Button ID="btnPlus" runat="server" Text="+" CommandName="PlusVote" />
    <asp:Button ID="btnMinus" runat="server" Text="-" CommandName="MinusVote" />
    <br />
    <%--TweetRank--%>
    <asp:Label ID="lblTweetRank" runat="server" Text='<%#Eval("TweetRank")%>' />
    <br />
    <%--Klout icon and KloutScore--%>
    <asp:Image ID="imgKlout" imageUrl="~/Resources/Images/KloutScore.png" runat="server" />
    <%#Eval("trTwitterUser.KloutScore")%>
    <br />
    <%--Date--%>
    <%#Eval("Date")%>
 
  </ItemTemplate>
  <EmptyDataTemplate>
    <asp:Label ID="lblNoTweets" runat="server" Text="<%$ Resources:Localization, NoTweetsFound  %>" />
  </EmptyDataTemplate>
</telerik:RadListView>


I databind the list in page_load;

rlvTweets.DataSource = _db.trTweets.Where(tw => tw.Date > dt).OrderByDescending(t => t.Date);
rlvTweets.DataBind();

Everything works fine on the first page, the itemcommand fires, tweet is set properly... However if I use the pager the ItemCommand doesn't even fire.

protected void rlvTweets_ItemCommand(object sender, RadListViewCommandEventArgs e)
{
      RadListViewDataItem item = (RadListViewDataItem)e.ListViewItem;
      trTweet tweet = (trTweet)item.DataItem;
        if (e.CommandName == "PlusVote")
        {
             ....
        }
}


The second solution is with using the needdatasource:

ListIs the same except for needdatasource event, itemcommand is the same, the itemcommand fires everywhere now except that the item.DataItem is always null...

I removed the databinding from the page load and added it to the needdata source. I feel like I have to call the list's DataBind function somewhere, but I don't know here...

this is what i do in needdatasource:

protected void rlvTweets_NeedDataSource(object sender, RadListViewNeedDataSourceEventArgs e)
        {
            DateTime dt = DateTime.Now.AddDays(-30);
            rlvTweets.DataSource = _db.trTweets.Where(tw => tw.Date > dt).OrderByDescending(t => t.Date);
        }


Thanks for you help!

Sincerely, Jure


Princy
Top achievements
Rank 2
 answered on 12 Apr 2011
1 answer
41 views
Dear,


I have problem in Sheduler control which show the(do not work time means same color with to do work time color) in IE8
but work fine in the firebox and grome.

Please help me as soon as posible.

Thanks You,


Best Regards

Mutum Jiten Singh
Akhil Systems
Veronica
Telerik team
 answered on 12 Apr 2011
1 answer
163 views
We are evaluating the Q1 2011 Rad Controls for ASP.NET Ajax suite. In testing the Editor's ability to load RTF content, we loaded a test RTF that included an embedded image. The rendering in the editor of the document did not show the image. Looking at the HTML source of the rendered document shown that the image's URL was set to something that did not exist.

1. Did we not set up the RadEditor correctly on the website to render embedded images correctly?
2. Is this one of those limitations/problems with 3rd party RTF-to-XHTML library you are using?
Rumen
Telerik team
 answered on 12 Apr 2011
4 answers
135 views
Hy,

I noticed one little bug while using RadListBox.

When I disable RadListBoxItem on client side, using javascript function item.disable(), item gets disabled and turns into grey, that's ok.

But the problem is when I enable it using item.enable(), item gets enabled, but it stays grey, it doesn't turn back in black.

I'm using the default skin.

Thanks in advance!
Peter Filipov
Telerik team
 answered on 12 Apr 2011
3 answers
67 views
Hi,

I am looking for a telerik asp.net ajax control which works like a .net drop-down with multiple selection ability. I thought of ComboBox but I dont if it supports multiple selection since I didn't see that feature in demo and documentation.

Can you please tell me which ajax control I should use?

Thanks!
Shinu
Top achievements
Rank 2
 answered on 12 Apr 2011
1 answer
122 views
Dear,
I want to set the view of days(two or three days in a week) not all days when i click week in Sheduler control. But presently it show all the days of week.


Please help me as soon as possible.
Thanks You

Best Regards

Mutum Jiten Singh

Akhil Systems
Veronica
Telerik team
 answered on 12 Apr 2011
1 answer
112 views
Hello ,

I have used telerik scheduler in the project by using telerik trial version for asp.net ajax control. Now I have deployed the license version. I have copied the dlls in the bin folder of the project and then added the reference accordingly. Now I want to ask that do we need to mention the license in the web.config? If so then please tell me how to do this?

Thanks,
roshani

Veronica
Telerik team
 answered on 12 Apr 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?