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


Top 5 Contributors of the Month
david stephan

Home >> Forum >> Windows Application >> Post New QuestionBookmark and Share Subscribe to Forum

Mouse Scroll wheel

Posted By: kamlesh     Posted Date: March 01, 2011    Points:2   Category :Windows Application
hi
i have created one application in which i take one datagrid it shows 100 rows but i want mouse scroll on datagrid view event for showing all data using mouse scroll (Middle Wheel of Mouse)

Please Help me

Kamlesh nikam

Responses
Author: Sunil Yadav       [Moderator]      
Posted Date: March 01, 2011     Points: 20   

Hi,

As per my understanding of your question, you want to implement Scrollbar in DataGrid .

If this is the can then you can place DataGrid inside a div tag and set it overflow:auto in its style property.


<div style="width:100%; height:400; overflow:auto;">
<asp:DataGrid ID="dgUsers" runat="server">
</asp:DataGrid>
</div>



Let me know if you need any help.

Author: kamlesh             
Posted Date: March 01, 2011     Points: 20   

thanks but it is a Windows application how to do in it please let me know

Thanks And Regards.
Kamlesh Nikam
Author: Narayanan             
Posted Date: July 12, 2011     Points: 20   


Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

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