.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Post New Web Links

Can animation extender be used to replicate Twitter's smooth-scrolling, latest-tweet control?

Posted By:      Posted Date: September 10, 2010    Points: 0   Category :ASP.Net
I'm not going for the exact same control, but if I can find a smart way to automatically/smoothly scroll through text from the database on Timer Tick intervals of 5 seconds... then I can use that as a template. My main idea would be to just dynamically create panels with the text inside of them, then dispose of them when they come towards the bottom of the list... but 3 things stop me 1) it would be a lot of work, 2) when the last panel cycles to the bottom of the display area then how do I make it smoothly disappear? 3) What would I use for the display spot?- a Panel won't work because if its contents exceed the set height, it either just expands to fit it or adds scroll bars. I basically want it to have slideshow functionallity how the images smoothly scroll every few seconds (without the scroll bar), and instead of images I want to use text. Any ideas?

View Complete Post

More Related Resource Links

Animation Extender ( LinkButton Disbale )


My flyout animation starts on a click of linkbutton, everything works fine on IE, as I click the linkbutton flyout animation is triggered and linkbutton gets disbaled during the animation. But on Firefox and Chorme linkbutton doesn't get disbaled , due which if I again and again click on the linkbutton the flyout animation keeps moving towards left side on every click.

In firefox and chorme linkbutton always remains enabled.

 <cc1:AnimationExtender ID="AnimationExtender1" TargetControlID="lnkBtnAbt" runat="server">
                        <EnableAction Enabled="false" />
                        <StyleAction AnimationTarget="moveMe" Attribute="display" Value="block"/>
                        <Parallel AnimationTarget="moveMe" Duration=".5" Fps="30">
                            <Move Horizontal="-350" Vertical="50"></Move>
                            <FadeIn Duration=".5"/>
                        <Parallel AnimationTarget="moveMe" Duration=".5">

Open different page using Ajax Modal PopUp Extender Control

The article Open different page using Ajax Modal PopUp Extender Control was added by Chintan Dave on Thursday, July 15, 2010.

You May use Modal Popup Extender to open some part of the page as Popup. But there we don't have any property to open other html or aspx page in Popup window.We can do it using IFrame control. What we have to do, just add IFrame control in Panel that

MVVM and Animation Control

I've been struggling with what should be a fairly straightforward issue...hoping someone's got a solution.I'm using MVVM in a scenario where I'm using a MediaElement in a View. The MediaElement has a Storyboard that I customize using DataBinding. The scenario works well when I'm using EventTriggers to control playback, but I have not discovered how to manipulate things using DataTriggers.My Storyboard consists of a ParallelTimeline, which contains the MediaTimeline (with Source, BeginTime and Duration databound to the ViewModel. I've got two buttons that are attached to the Storyboard in EventTriggers calling PauseStoryboard and ResumeStoryboard. This works well, but it's not the best paradigm for me.I am trying to accomplish a design where, if I have two such Views each containing a MediaElement with this type of Storyboard, when one Storyboard reaches its end point, the other View's MediaElement is triggered to play.I have tried to use a DataTrigger design, but I am having problems freezing the Storyboard because I'm using DataBinding to set some of the Storyboard parameters.Does anyone have any ideas as to how I can control a MediaElement via Storyboard/Timeline using DataTrigger instead of EventTrigger? Am I missing something obvious in MVVM?--- Jim ---

animation ajax control

hi , how I do like this http://www.asp.net/ajax/ajaxcontroltoolkit/Samples/Animation/Animation.aspx the first exemple

Visual Studio asp C#.NEt web application publishing tweet/status on Twitter/Facebook

Hi guysIf you could give me some guidelines It would mean a lot to me. what type of authentication I use, how to do  id from localhost, how to modify web.config file etc 

Extender Control with DataBinder Descriptor

Hi, I'm trying to create an Extender Control for a GridView.I followed the instructions in this document : http://msdn.microsoft.com/en-us/library/bb386403.aspx I need to set it a value (Binding) and then on it Postback action I want to retreived this value.Here is the Extender class[TargetControlType(typeof(Control))] public class MyExtender : ExtenderControl { private int _code; public int Code { get { return _code; } set { _code = value; } } protected override IEnumerable<ScriptReference> GetScriptReferences() { ScriptReference reference = new ScriptReference(); reference.Path = ResolveClientUrl("MyExtenderBehavior.js"); return new ScriptReference[] { reference }; } protected override IEnumerable<ScriptDescriptor> GetScriptDescriptors(Control targetControl) { ScriptBehaviorDescriptor descriptor = new ScriptBehaviorDescriptor("Samples.MyExtenderBehavior", targetControl.ClientID); descriptor.AddProperty("UniqueID", this.UniqueID); descriptor.AddProperty("code", this.Code); return new ScriptDescriptor[] { descriptor }; } void IPostBackEventHandler.RaisePostBackEvent(string eventArgument) { ... // this._code is alway 0 !!! Not as the Databinder set Why ? } }The Behavior propertiesdoPos

Creating mixed logo and text scrolling control

Hello I have a scrolling control that I use for text.   After a while, I switched to a picture combining the text messages and a logo in between.  So the process became: 1. Get message. 2. Get logo. 3. Create a picture of the text messages and the logo in between. 4. Scroll the picture. All was in the plain C# language.   My question is if I can do the same with WPF without creating a picture?   Thanks Eli

Sending a Tweet from VB.NET to Twitter

Well, it used to be pretty simple to send a Tweet to twitter from within my vb.net website. Now they have changed the rules using OAuth! I can't seem to find a simple solution to send tweets. All I am really sending are announcements as to what is going on. I need to be able to do it all behind the scenes whenever a new event is entered by the web site user. I Have the consumerKey and the consumerSecret, how do I get the PIN and the  OAuthToken, and the OAuthTokenSecret? Can anyone give me a valid VB Example that I can modify to work on my web site? No dll's just good, simple code. Thanks.

How can I stop a WinFormsHosted control from scrolling over my ScrollViewer?

I have a WPF application where the main window contains a NavigatorFrame and a ScrollViewer, like so: <ScrollViewer x:Name="scrollViewer" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto" > <MainWindow:NavigatorFrame x:Name="navigatorFrame" Background="{StaticResource windowBackground}" IsTabStop="False" NavigationUIVisibility="Hidden" > .... </MainWindow:NavigatorFrame> </ScrollViewer> I use the NavigatorFrame to display WPF Pages, and one of the Pages contains two WinFormsHost controls that each contain a WinForms SyntaxEditor (from Actipro). Unfortunately, when I try to scroll using the ScrollViewer, the WinForms editors move above the scrollbars and overlap other controls in my application. When I remove the ScrollViewer, the SyntaxEditors go back to behaving (except their Page doesn't have scrollbars). My understanding is that WinFormsHosts have a ZOrder that causes them to appear over WPF elements, which may explain this issue. Nevertheless, I'm wondering if

Update Gridvew Row inside popup extender control

I have a gridview with popup control extender to show details of the row, it works ok. But I also need to update the fields inside this popup window. How do I get the row ID and pass it to the button click event handler? Please help. 

how to highlight todays date in calender extender control and how to apply css



how to highlight todays date in  calender extender control popus and  how to apply background color to every cell in calender control

and how to apply css 

<asp:TextBox ID="txt_DueDate" runat="server"></asp:TextBox>
                        <cc1:CalendarExtender ID="cal" runat="server" TargetControlID="txt_DueDate" PopupButtonID="btn_AddDue_Date">
                        <asp:Button ID="btn_AddDue_Date" runat="server" Text="Add_DueDate" OnClick="Add_New_Schedule" />

ajax animation extender Help


Hello Friends,

I want to create a Content Slider like http://flowplayer.org/tools/scrollable/autoscroll.html

i think this would be possible with the ajax control toolkit using animation extender control using sequence tag and inside sequence tag we have to use move tag....

now my question is that

1. whether m i going into the right direction or not..

2. Provide me some refrence for study about the animation of the animation extender control??

3. though i want to create a content slider, so my content would be bind in the repeater,

and becoz of performance concern i have to implement paging inside this.....

so is this possible to attach animation extender with repeater with paging...

one of thing, what i think to try is that i have to bind the jst tripple of the record each time to maintain the sliding animation.

so what u would suggest me for this, your replyies really would be helpful.

Thanks and Regards

Inderjeet Singh Khalsa

Calendar control - disable dates? (calendar extender)


Hi there,

Does anyone know if it is possible to disable some of the dates available for selection.  For example, on opening the calendar all the dates before today are grayed out so that it is only possible to select dates in the future.

On my site I am using two calendar controls which are representing a start date of an event and an end date.  In the end date calendar I would like to disable all dates before the selected start date.

Is anything like this possible with the calendar control?

Thanks for your help,

v3.5 Ajax ToolkitScriptManager Extender Control not working in Nested Master Pages


I am using v3.0.31106.0 of the AjaxControlTookkit.dlll.  I have nested master pages.

The site Master page has the only ScriptManager & holds the oneColumn & twoColumn master pages.
The twoColumn master page holds content pages. In the content page there is a update panel.

Here is my Site Master Page:

<%@ Master Language="VB" CodeFile="SiteMasterPage.master.vb" Inherits="SiteMasterPage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    <div><h2>Main Master Page</h2>
        <br /></div>
        <asp:ContentPlaceHolder id="ContentPlaceHolder1" runat="server">

Here is the Nested Master Page:

How to use popupcontrol extender animation..?


Hello friends and Scienour experts.

i am new in asp.net programing and not familer with ajax control tool kit.

My ajaxcontrol toolkit is working fine.But when i add animation tag into it like this.Now when i execute the browser is waiting for some thing and my IDE(visual studio 2008) is asking for a cs file.How to make this file...?..Please Help me.

<ajax:PopupControlExtender ID="MyTestPopupControlExtender" runat="server"

TargetControlID="TestButton" PopupControlID="MyTestPanel" Position="Bottom">



how to move a div at particular position of page with the help of animation extender?


hello developers, m working on product catalog

what m doing is m binding the product featured image with the product other info in a repeater.

and i have one another repeater in which m binding the remaining images of the product.

i have an animation extender, which helps to move image in vertical direction.

problem is that all of the images move 300 px vertical from its current position.

what i want is, i want to move image at the position where my featured image is currently visible.

ex like after click on to the div of img1 moves to the featured image div, same as img2 moves to the featured image div after click.

featued img


how can achive this..

my code is as follow:-

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>Show Animation Simple</title>
    <form id="form1" runat="server&q

MutuallyExclusiveCheckBoxExtender is not a registered extender control


 I am getting this error on a simple page that has the following registration:

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>Additionally, I have the following in the MasterPage:

 <cc1:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server" EnablePageMethods="true" EnablePartialRendering="true">  </cc1:ToolkitScriptManager>

I have three Checkboxes with the extension as follows:

<asp:UpdatePanel ID="UpdatePanel3" UpdateMode="Conditional" Visible="false" runat="server">
                             <asp:Label ID="voteLabel1" runat="server" ForeColor="black" Font-Size="Medium" Text="This alert request your vote"></asp:Label>

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend