| | |
related to marquee & gridview
Please support our ASP.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Nov 2008
Posts: 34
Reputation:
Solved Threads: 0
Hi Friends
I have make an application in which news will be present in marquee & User could make updation & insertion in that .so for this i am calling gridview inside of marquee & that is working properly but the problem is that when i click on edit button marquee must be stop & when i click update button marquee must be start ,i am not able to doing this because i am calling marquee from source code & the code is being on code behind apart
so how i can stop marquee or is another way to make this applicaton
Plz help me
I have make an application in which news will be present in marquee & User could make updation & insertion in that .so for this i am calling gridview inside of marquee & that is working properly but the problem is that when i click on edit button marquee must be stop & when i click update button marquee must be start ,i am not able to doing this because i am calling marquee from source code & the code is being on code behind apart
so how i can stop marquee or is another way to make this applicaton
Plz help me
Hi manoj_582033,
I hope I can help you.
To stop and run marquee from server side, try this :
add new attribute in marquee control, runat = "server" so ASP.Net can recognize it.
Thanks.
I hope I can help you.
To stop and run marquee from server side, try this :
ASP.NET Syntax (Toggle Plain Text)
Protected Sub cmdStop_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles cmdStop.Click M.Attributes.Add("scrolldelay", 0) M.Attributes.Add("scrollamount", 0) End Sub Protected Sub cmdRun_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles cmdRun.Click M.Attributes.Add("scrolldelay", 100) M.Attributes.Add("scrollamount", 10) End Sub
add new attribute in marquee control, runat = "server" so ASP.Net can recognize it.
<form id="form1" runat="server">
<asp:Button ID="cmdStop" runat="server" Text="Stop" />
<asp:Button ID="cmdRun" runat="server" Text="Run" />
<div>
<marquee id="M" runat="server" direction="left" scrolldelay=100 scrollamount=10 >hello</marquee>
</div>
</form>Thanks.
NEVER NEVER NEVER GIVE UP
![]() |
Other Threads in the ASP.NET Forum
- Previous Thread: How to display all ASP.Net ProfileProvider User Profiles ??
- Next Thread: Roles.IsUserInRole() can't get it work !!!
| Thread Tools | Search this Thread |
.net 3.5 ajax alltypeofvideos appliances asp asp.net bc30451 beginner box browser businesslogiclayer button c# cac checkbox class commonfunctions control countryselector dataaccesslayer database datagrid datagridview datagridviewcheckbox datalist deployment development dgv dialog dropdownlist dropdownmenu dynamic dynamically edit embeddingactivexcontrol expose fileuploader fill findcontrol flash formatdecimal formview gridview gudi iis javascript list listbox login microsoft mouse mssql nameisnotdeclared news novell numerical opera panelmasterpagebuttoncontrols problem radio redirect registration relationaldatabases reportemail save schoolproject search security sessionvariables silverlight smartcard smoobjects software sql sql-server sqlserver2005 ssl suse textbox tracking treeview unauthorized validatedate validation vb.net video videos vista visualstudio vs2008 web webapplications webdevelopemnt webdevelopment webprogramming webservice wizard xsl youareanotmemberofthedebuggerusers





