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

Top 5 Contributors of the Month
Post New Web Links

Seadragon mouse wheel motion zoom/zoomout not working

Posted By:      Posted Date: September 08, 2010    Points: 0   Category :ASP.Net
using following code.. vs 2008 andajaxtoolkit 3.5.40412.2what is is to be done to make it work? <form id="form1" runat="server"> <ajaxToolkit:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server"> </ajaxToolkit:ToolkitScriptManager> <ajaxToolkit:Seadragon ID="Seadragon2" Height="500px" Width="500px" runat="server" SourceUrl="dzc_output.xml" MouseNavEnabled="true" > </ajaxToolkit:Seadragon> </form>

View Complete Post

More Related Resource Links

Why is the scrolling with a scroll wheel on a mouse so choppy in VS.NET 2010?

I have a Microsoft Mouse that contains a scroll wheel used for scrolling the vertical scroll bars in applications. IE, Word, Outlook, Safari, you name it have smooth consistent scrolling when using the wheel.  However in VS.NET 2010 it is real choppy, like the scroll bar moves in steps or increments. Is there a configuration specific to VS.NET 2010 for configuring this?

Get scroll value after mouse wheel on datagrid



How can I get scroll value after mouse wheel on datagrid?
I need this for synchronize 2 datagrid scrolling action.


The .NET programmer

Zoom while working in form designer?


While working in the form designer of visual studio, is it possible to zoom into parts of the form for working in crowded areas? I can see how to zoom in and out of the code text with the ctrl key & middle mouse wheel, but I don't see a way to do that in the designer mode. Is there an addon perhaps that will allow this?


WorkflowDesigner.Load causes Grid resizing mouse cursor to stop working.


Hi all,

We have a problem where WorklowDesigner.Load() causes the WPF Grid control's resizing mouse cursor not to come up. I have demo app written if anyone wants to double check. http://cid-467e12cdf12776bc.office.live.com/self.aspx/.Public/WpfApplication6.zip


If you just run the demo, you will see the resize cursor will work when you hover over the red grid splitters. However if you go into the wfusercontrol2 control and uncomment this line //wf.Load(new System.Activities.Statements.Flowchart()); , then run the application again you will notice the resize cursor does not show up when hovering over the  grid splitter.


It seems as though under the hood somewhere this exception occurs: Could not load file or assembly 'System.Activities.Presentation.Aero, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

Isenabled property in WPF not working on mouse right click



   I set Isenabled =false on a paticular condition using trigger evry thing got disabled but mouse right click is working and Getting selected,can any one let me know how to resolve this issue.


Thanks in Advance

datagriview scroll - using mouse wheel


I know the option to scroll down the dgv using the mouse-wheel is associated with the scroll bars.

i had to disable the scroll bars but would still like to enable the use of the mouse wheel to scroll down the grid.

i have no idea how, nor i have seen an event for the mouse wheel.

any help would be appreciated


zoom on mouse down and dragging in winforms picturebox



I have found so many samples doing zoom on button click or on mouse wheel. But I am looking to zoom an image on mouse move. So if i do mouse down and then drag the mouse downside, the image should zoom in and if i drag the mouse on upside the image should zoom out.

Please help.


C# Developer

LayoutTransform not taking mouse location as center for ZoomIn or ZoomOut !!?


Hello everyone,

I am using LayoutTransform for zooming in and out of my canvas and is working exactly the way I want (almost).

I have a small problem though. Its not taking mouse location as center for ZoomIn or ZoomOut. It always takes top left corner (0,0) for this operation.

Here is my code:

private void ZoomIn()
            //Get the current matrix
            Matrix currentMattrix = this.canvas.LayoutTransform.Value;

            double mouseX = Mouse.GetPosition(this.canvas).X;
            double mouseY = Mouse.GetPosition(this.canvas).Y;

             //Zoom in by increasing the scale transofrm
             this.canvas.LayoutTransform = new ScaleTransform(currentMattrix.M11 + 0.1, currentMattrix.M22 + 0.1, mouseX, mouseY);

Any ideas?

Mouse.OverrideCursor not working correct


I am confused as to why this isnt working and hoping someone can tell me what I may be doing wrong.  I currently have a WPF app and I am using some Syncfusion controls within it.  Now when I clisk a submit button on my main form I just want to change the mouse pointer to a wait cursor.  I am using the below implementation with which I have found all over the net:

Mouse.OverrideCursor = Cursors.Wait;



 //Do Stuff


catch(Exception Ex)


  //Handle Exception




  //Set our cursor back to normal

  Mouse.OverrideCursor = null;


Now if I step through debug, this works just as it should.  However when I don't set a break point and just let it run, you see it change to the "Wait" cursor real quick, it then turns to the "Arrow" cursor and then at the end where I have a messagebox popup giving a status, when I clcik ok I see the wait cursor come up again really quickly and then flip back to the arrow, which at this point is correct because then I set it back to null.

Something quikly that I would like to add

Richtextbox Zoom not working?


I have a Windows form containing a Richtextbox and I want to change its Tab settings. My code as follows works fine except that if the form was zoomed the zoom level gets re-set to the default. So I save the zoom level and attempt to reset it after the change but the request to reset the level is ignored. Is there a work-around so that I can restore the zoom level?

This is waht I am doing:



Text As String = RichTextBox1.Text


Dim Zoom As

Working with SharePoint document libraries

Document libraries are collections of files that you can share with team members on a Web based on Microsoft Windows SharePoint Services. For example, you can create a library of common documents for a project, and team members can use their Web browsers to find the files, read them, and make comments. Users with Microsoft Office 2003 can check out and edit the files as if they resided on a local or network drive.

By default, your team Web site comes with a built-in document library named Shared Documents, which is listed on the Quick Launch bar as well as on the Documents and Lists page.

How to highlight datagrid or GridView row on mouse over?

This article will show how you can Ajax with GridView to display popup messages when mouse moves over certain column. In the demo project I have added first column as an image column with a help icon in it. This kind of implements a feature that if you want more information about the row you can move mouse over this icon, a asynchronous request is sent to server for data about that row and when call returns the returned message is show as a popup message.

Working with DropDownList and ListBox Controls in ASP.NET

"In my application i am using dropdownlist to display all categories from a table. When the user clicks this control I display all records in that category. Category table also contains column called color.

I wanted display some categories in dropdown list different color and others in different color using ASP.NET."-Anonymous

Server side validation of Fileupload control not working



I've tried this method in my code behind to try and validate that the Fileupload control has a file or not. I get the error message the the event "Server Validate" cannot be found. Can anyone tell why? Thanks.

Public Sub CustomValidator1_ServerValidate(ByVal source As Object, ByVal args As System.Web.UI.WebControls.ServerValidateEventArgs) Handles CustomValidator1.ServerValidate

' Get file name

        Dim uploadAvatar As FileUpload = DirectCast(AdvertisementForm.FindControl("uploadAvatar"), FileUpload)

        Dim UploadFileName As String = uploadAvatar.PostedFile.FileName

        If UploadFileName = "" Then
            ' There is no file selected
            args.IsValid = False
            Dim Extension As String = UploadFileName.Substring(UploadFileName.L

Row command working on all rows not selected one?



I have this code that hides a column in a gridview.  (The column houses another nested gridview).

    Protected Sub GridView1_RowCommand(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewCommandEventArgs) Handles GridView1.RowCommand
        If e.CommandName = "Select" Then
            If GridView1.Columns(0).Visible = False Then
                GridView1.Columns(0).Visible = True
                GridView1.Columns(0).Visible = False
            End If
        End If
    End Sub

The trouble is that if I click the select link on one row that action to hide is carried out on all rows.  How can I set this up so that it only hides the row that is selected?


upload file not working



iam using masterpage and ajax update panel, i have child page called  fileupload.aspx,i try to upload the file

but its not working , can i use updatepanel in child page , pls very urgent

looking forward for answer.

JQuery Treeview plugin is not working with Ajax page load in ie8


Hi there,

I developed a page where i m using jquery treeview plugin to generate tree. It worked fine on FF, IE8 with out ajax.

But when my page loads thro' ajax call in IE8, it is not collapsing or expanding tree.

Any idea?

Thanks in advance.

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