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

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

BIDS undo/redo buttons

Posted By:      Posted Date: August 28, 2010    Points: 0   Category :Sql Server
In MS Visual Studio 2008 on Windows Server 2008 or BIDS my undo / redo buttons are grayed out when I am editing an SSIS package. I would like to know if there is a way to enable this. I have searched and searched everything looks retardedly complicated to get this working. Help? Anyone, anyone... Microsoft are you there?

View Complete Post

More Related Resource Links

Problem implementing Undo/redo functionality in an UML editor

Ok so I will try to make this short.
I am implementing undo/redo functionality in an UML diagram editor. I have objects of classes, all implementing my VisualUMLComponent interface.
I have a class, VisualUMLCollection, implementing ObservableCollection<VisualUMLComponent> to keep track of all objects (classes, interfaces, arrows, comments, abstracts, etc) to draw on my Canvas object. This works fine.

Now to the point.
I try to implement undo/redo, with having each object having a pointer to a PreviousState and NextState of type VisualUMLComponent. As such, when I change an object, I can first Clone() it, and insert it at the proper place in the doubly linked list.
I have made class for the undo/redo functionality. It has two stacks undoStack and redoStack of type Stack<DiagramChange>. DiagramChange class represents changes in the diagram. It can have three types: Add, Remove and Alter, for when adding an object, removing an object, or changing an object respectively.

My problem is with the code below, that I get an ArgumentOutOfRangeException    at System.Windows.Media.VisualCollection.Insert(Int32 index, Visual visual), when I try to .Add an old state object to my VisualUMLCollection:


How to Implement Undo and Redo in c#



    I have a picture box in my page..i am drawing some graphics like circle ,ellipse and arrow on the picture box in the picturebox_mouseup event .I need to undo or redo the drawing that i have drawn on the picture box after clicking undo or redo button..i don't know how to implement this in my page..Can you please help me with code...Here is my code in the picturebox mouse_up event..

  private void pictureBox1_MouseUp(object sender, MouseEventArgs e)
            blnDrawing = false;
            blnErasing = false;
            a =e.X;
              if (circle == 1 || text == 1 || ellipse == 1 || arrow == 1)



how do i implement undo/redo features in C#

how to create undo / redo function into my form

Im new to VB but have a strong aptitude for code and with a bit of guidence I can usally get it done. Is this function tought to get working?

how to create undo / redo function into my form

I posted this in the wrong area sorry for that..
Im new to VB but have a strong aptitude for code and with a bit of guidence I can usally get it done. Is this function tought to get working?

Gridview with Radio Buttons

As now, Radio buttons are HTML controls, I am not able to get it on server side. When user select any radio button and press submit, Control will not available at code behind, you can use "e.Item.FindControl" as it is not "runat='server'". I want ID "Primary Key" value for selected radio button. To achive this I took the help of Javascript. I wrote javascript function that sets the values of "Primary Key" in hidden field when user clicks on any radio button. Now when user clicks on Submit button, user can get selected value froim hidden field.

Team System: Work Items and Undo Support


Add support for work items to the Team Foundation Server version control add-in.

Brian A. Randell

MSDN Magazine September 2007

{ End Bracket }: To Confirm is Useless, to Undo Divine


The common user interface technique of confirmation, popping a dialog box into the user's face and asking, "Are you really REALLY sure you want to do that?" is evil. It's unfriendly, it's distracting, and it's completely ineffective.

David S. Platt

MSDN Magazine March 2005

Buttons with Mouse-Over Behaviors - Redux

I recently posted some CSS and HTML snippets for a buttons collection I was using for a Menu style UI Scott Koon from www.LazyCoder.com posted a comment with a better way (thanks Scott). This way I don't have to set the CSS Class for each button. Just contain them in a div. Here is the [...] Read More......(read more)

single form multiple buttons in MVC


In a single page  has two buttons , ddown and tempname.

I wrote two actionresult separetly each one for ddown and tempname.

I need one is post and another one is get method. so i gave like

1. Get Method


        [AcceptParameter(Name = "button", Value = "tempname")]
        public ActionResult ddown_tempname(string statusName, NewsLetterAdminViewModel viewModel)

return View();



2.Post Method


        [AcceptParameter(Name = "button", Value = "ddown")]
        public ActionResult ddown(string statusName, string button, NewsLetterAdminViewModel viewModel, FormCollection collection)

return View();



if i call the post method its worked well. but if i call the get method, the code does not execute. the brea

Ajax.BeginForm with multiple buttons


can i have more than one AjaxOptions in Ajax.BeginForm targetting different controls?

Actually I want to exchange data between two listboxes placed in a single ajax.beginform.

How to do it..................help me.

Disable VS2005 Undo?


Does anyone know if there is a way to disable the Undo feature within VS2005?  I searched through the options but nothing jumped out at me.


Edin, New and Delete buttons in gridview?


Hi guys. I have gried view that shows me all info from the table i made. So my SelectCommand works fine. I'v add 3 additional buttons "new", "edit" and "delete" i'v made their query but still have mistake by clicking it in browser. I follow from the book Begginer to Novice 3.5 ASP C# but that's what it's shown. I know something missing. I'v check in the net but not found how to fixed, because i use SqlDataSource. Can you advise how to proceed from here? Here's what i did:

<asp:SqlDataSource ID="SqlDataSource5" runat="server" ProviderName="System.Data.SqlClient" ConnectionString="<%$ ConnectionStrings:ThisIsMyConnection%>"


              SelectCommand = "SELECT * FROM [Resident] WHERE (([FNAME] + ' ' + [LNAME] LIKE '%' + @FANDLNAME + '%'))"


              UpdateCommand = "UPDATE Resident SET FNAME=@FNAME, LNAME=@LNAME, MobileNum=@MobileNum, HomeNum=@HomeNum, OfficeNum=@OfficeNum, FaxNum=@FaxNum WHERE FNAME=@original_FNAME AND LNA

Series of Radio Buttons in MVC


Hi.  I'm fairly new to MVC and admittedly don't fully understand how data is passed between Views and Controllers.  That said, here is my issue.


I am working with C#.  I have a page which has a list of items.  Each item has a radio button set of three associated with it and there are 15 of these sets on the page.  Thus I have radio1, radio2....radio15, etc.  Each of these has value 0, 1, or 2 upon submit.  I can't seem to understand how to get the information out of these radio button sets from the controller without passing 15 different variables to the post method in the controller which is associated with the view; ie passing Int32 radio1, Int32 radio2,.., Int32 radio15, etc.

I tried using ViewData["radio"+i] in a loop to access the value of each radio button set, but this, apparently can only be used to pass data to the View from the Controller and not the other way around.

Any advice is appreciated.



link buttons are not working in Blackberry bold (9650, 9700)



we have deveoped a mobile application . and have some link buttons  ,thease linkbuttons are working fine with blackberry curve but not working when we use Blackberry bold (9650, 9700)


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