Security_access for remove/delete

Hi!
Please give me advice in which way i can limit access for user ONLY for actions: DELETE, REMOVE with node?
I mean, that user must have access for any actions with node EXCEPT actions: DELETE, REMOVE.
It is very important for my current project.
I wait for your advice!
Thank you!
Svetlana

Try using real-time remove validations. You can base the validation on a derived property that uses the deriver formulas Username() and NodeAccessGroups().
Edited by: Naren Truelove on 21/03/2011 19:15

Similar Messages

  • Command key for REMOVING INSERTED EFFECTS

    Hi,
    Bypass an effects = Opt+Click on that effects in the slot of channel strip; But what's the command key for Removing/Deleting the Effects that i've inserted into Channel Strip?
    Thanks!!!!

    Use "reset channel strip" in the menue that opens when you long click the top of your channelstrip. It can´t be assigned to a keycommand unfortunately.

  • I have an iPad 2 and receive e-mail through internet connection. When I delete e-mails, and clear my Trash folder, they re-appear. Setting are for remove from server when moved from Inbox. Any idea what I can do to actually delete them?

    I have an iPad 2 and receive e-mail through regular internet connection. Lately, when I delete e-mails, and clear my Trash folder, they re-appear, downloaded anew from the server and marked as unread. My e-mail Advanced Settings are selected for "Remove from server when moved from Inbox." Even when I access the e-mail accountfrom my desktop and delete the e-mails, the re-appear on my iPad. Does anyone have any idea what is causing this and what I can do to actually delete them?

    Sounds like you are looking in the wrong Administrative Group container which is why you are seeing your Exchange 2010 servers in there.
    When you install Exchange 2003 only you will see a container named by default as "CN=First Administrative Group" container. But this could be named anything if you changed the Organization Name on the installation when you installed the first
    Exchange 2003 server into the domain/forest. 
    You will notice that when you install Exchange 2010 part of the AD setup is to create a new configuration container and is named by default "CN=First Administrative Group (FYDIBOHF23SPDLT)".
    So it sounds like you are not looking in the right location within ADSIEdit. 
    You may find the following article also helpful for this issue which is the same resolution:
    http://blogs.technet.com/b/sbs/archive/2012/05/17/empty-cn-servers-container-causing-issues-with-public-folders-on-small-business-server-2011.aspx
    I recommend though that you ensure your Exchange 2003 servers are fully uninstalled or no longer present in your environment before you go deleting the Servers container though.. The following Microsoft article will help with this:
    http://technet.microsoft.com/en-gb/library/gg576862(v=exchg.141).aspx

  • Hide or remove delete button - ESS personal data iView

    Hi, regarding for example ESS(50.4) personal data overview iView. 
    How to hide or remove delete button in the personal data overview iView screen(I know that this can be done on the ITS server side (web studio), but I want to do this in R3)
    /Best Regards
    Patrick

    Achim was right on. Edit/Change the Internet Service in R/3. A few things to consider though....
    (1) if using the original service, you may want to create a copy of theme 99 into your own theme (any number will do...99 is just the default theme). If doing so, be sure to change the service's service file (yeh, I always loved that about SAP's naming) to point the ~theme paramter to your new theme.
    or
    (2) Copy the entire service into your own "Z" service. Then modify the templates as you wish. You will need to point the iView to this "Z" service too.
    Also, it is best to do it via SE80 vs. file level because then it will be part of a transport and follow the correct path through the landscape.
    Now, if you really want to go back to R/3....find the function module or program the transaction code for your service actually calls, make a "Z" version of it, modify it, create your own "Z" t-code to call it, and THEN modify the internet service's service file (either the original SAP one or a custom version) to call your new "Z" t-code. Lot of work...yes, I know....but that's the way it's done if you gotta get back down to the ABAP level.
    Hope this helps!
    Message was edited by: Christopher Solomon

  • TS3899 My ipad does not communicate with iphone on one of my email accounts and will not remove deleted emails that are done on the iphone and vice versa, what setting should be changed?

    My ipad does not communicate with my iphone on one of my email accounts and will not remove deleted emails that are done on the iphone and vice versa, what setting needs to be changed?

    It's my understanding that an iPhone can only sync with one computer. You need to choose one computer. Sounds like it syncs at work, but not at home. If you want to just sync it at home, then you have to make sure the home computer has all the info that you want on it, like music etc. Then you have to deauthorize the work computer for it to sync at home. When you connect it will ask if you want to set up as a new iPhone or restore from backup. If you don't have a backup on the home computer then either way you will be wiped clean. So any photos, contacts, notes etc you have will be erased. You would need to backup or copy your photos from your iPhone. When you connect it to your home computer, it will give you that popup message to open your iPhone files. Then you can copy those photos and save them onto your computer and sync them back in through iTunes.
    For your contacts, do you use any type of address book? If so you'll want to back that up and then transfer to your home computer. For notes, you can just email those to yourself and then save that email. I use MobileMe so the contacts issue is easily resolved.

  • Remove/delete duplicate cash flows on facility

    Hi all
    Due to a error in SAP std, for a facility a number of duplicate commision flows are created when drawing a contract against a facility. The issue is solved with the implementation of SAP note 1389873 so no more duplicates are created.  Is there a way that I can remove/delete/reset a spesific cashflow manually?  I would like to avoid to have a it removed directly from the table(s)

    Hi,
    OK, since SAP given solution for avoiding creation of new flows, it should work with change mode of transaction as well. Try to reset the flows in trasaction if the flows are still scheduled. You cannot seperate flows with same date & update type from activity posting/marked as posting. TBB1_LC can be used for marking flows as fixed. Also, there is a function for reversing flows from Cash flow tab of transaction for money market products. Please check that as well.
    And finally, the possible solution will be reverse the entire transaction and create a new one instead.
    Regards
    Prasad AV

  • Removing/Deleting Errored Confirmations from SRM 5.0 EC

    Hi,
    I would like to know how people remove or delete SRM (5.0) Confirmations that end up failing (Error in Process) in the replication process.
    We have scenarios where our end users will create multiple SRM Confirmations for the same reference document if the initial one fails in the transfer process. The if they canu2019t figure out why they are failing, will resort to ML81N in the backend system to complete the process.
    The end result is we have multiple SRM u2018Error in Processu2019 confirmations for the PO that we would like to remove from the SRM system.
    We havenu2019t found a standard way of removing them from the system, is there a method we could use to remove/delete them?
    Thanks,
    Jerry

    Hi R/Reddy,
    thank you for your suggestion.
    I coded up a program using the function module and it can be used to delete Confirmations.
    The thing that I'm unsure of and worried about is that if I delete the errored Confirmation from the system using this low level function module I'm bypassing application business logic that maintains the document integrity.
    Have you used this technique to deal with this type of a problem or are you just saying that this function module is available to delete confirmations?
    If these 'Errored' confirmations didn't create any documents/transactions in the backend system and since they appear to not be associated with the PO and item in the PO Item Follow-on Documents display, then are they nothing more that a document that is stuck in limbo due to it's errored status and have no relevant value to the process? 
    If yes, then is that the only place that the document needs to be deleted from?
    Thanks,
    Jerry

  • How to remove/delete from a mysql table

    Hello!
    Please can someone help me with this one; I need to remove/delete a a row in a mysql table. When I use the query below, it removes this line from other tables containing the same numbers too. I only want to remove it from this table alone
    String update= ("DELETE FROM info WHERE Number = '" + Nr + "' AND week= " + week+ ");
    THX

    I don't understand this. You're saying that running this query removes values from other tables besides your info table? I don't believe it.
    One thing I'd caution you on is using names like "info" and "number" for tables and columns. They sound suspiciously close to keywords for your database. You'd be better off using less generic, more application specific names.
    But I don't think that explains the behavior you're describing. Either this is a very serious bug in MySQL or a very serious misunderstanding on your part.

  • Help with removing/deleting medical collection!

    Hello!! I am new to this forum and I am so glad that I found it. The wealth of information shared on this site is remarkable. Thank You All!!! I am looking for guidance with removing/deleting a medical collection from my CR. I researched the HIPPA process and guidelines (which I know cannot be discussed on this site) but I have not heard back from the creator. My question is has anyone had success with removing a medical collection without using the HIPPA process? If so, can you please share your strategy with me? The CA is Sav-it Enterprises in NJ and the amount owed is $300 from 2011 and I am willing to pay in full, today, in order to get it deleted. I sent them a pay for delete letter and they sent me the statement from the doctor's office and updated the account with the CRA. However, I did notice that the date of first delinquency is incorrect, if that even matters. I don’t know what I should do now or how I should move forward with getting it deleted. Any information you can share with me will be extremely helpful. This is the only remaining collection account that I have and I need it removed in order to increase my scores to qualify for a mortgage. Thanks in advance.

    Yes, I do have proof that they date is incorrect - its off by 1 year. Also, the billing statement they sent me shows the date as 2011 but they are reporting it as 2012. I also have explanation of benefits from my insurance provider which confirms that date as 2011. Okay. I will call them today to offer full payment and then send a GW letter shortly after paying. I really hope it works because I really need to get this removed. 

  • Is there an ap for finding/deleting corrupt files on OS X 10.7?

    I seem to have a corrupt file(s) which cause my MacBook Pro to freeze inexplicably (and randomly) upon start-up. I've been told that this is a symptom of having a corrupt file.
    Is there an an for finding/deleting corrupt files on OS X 10.7?
    I'm pretty much bound to my computer and simply don't have the time to go through it manually.
    Thank you.

    This is an old post and I am not the person who posted the original query, but I ran your terminal diagnostic and am hoping you are still attending to this forum. I have a mid 2011 macbook Air 11", 256 GB SSD, 1.8 GHz Intel Core i7, 4 GB  1333 MHz DDR3, Mac OS X v. 10.7.5 Lion. I have had various problems in my user homefolder for a while. I have gone through quite a few other troubleshooting and fixing steps, the most extensive following a posting here "Step by Step to fix your mac" by ds store in the Apple forums. These steps helped a lot. I did remove some 3rd party software as part of this process.
    My computer is running well in general now, but one thing that has been a recurring problem is problems with move/cut-paste. I researched this online and ACL's being present where they're not supposed to be seems to be an issue. I have used terminal commands to remove ACL's, used Onyx to repair user permissions, rebooted with command-r to reset password screen and reset user permissions. They all help, but then a some point later on the problem recurs. When I run repair disk permissions with either disk utility or onyx I always get this message:
    Repairing permissions for “maggieairHD”
    Warning: SUID file “System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/MacOS/ARDAg ent” has been modified and will not be repaired.
    ACL found but not expected on “Users”
    Repaired “Users”
    Permissions repair complete
    This ALWAYS comes up, even if I run it immediately after running it and haven't done anything else on the computer in between.
    I created another user and did not have the same problems I was having at the time with some programs, although I haven't used it that much to be able to really compare. The home folder permissions repair in Onyx comes out the same in that user, though.
    Here are my results from your diagnostic terminal commands:
    Last login: Wed Dec 26 09:36:47 on console
    Maggies-MacBook-Air:~ maggieair$ kextstat -kl | awk '!/com\.apple/ {print $6 $7}'
    com.rim.driver.BlackBerryUSBDriverInt(0.0.68)
    com.logmein.driver.LogMeInSoundDriver(1.0.0)
    com.protech.NoSleep(1.3.1)
    com.parallels.kext.prl_usb_connect(7.0
    com.parallels.kext.prl_hypervisor(7.0
    com.parallels.kext.prl_hid_hook(7.0
    com.parallels.kext.prl_netbridge(7.0
    com.parallels.kext.prl_vnic(7.0
    Maggies-MacBook-Air:~ maggieair$ sudo launchctl list | sed 1d | awk '!/0x|com\.apple/ {print $3}'
    Password:
    com.parallels.vm.prl_naptd
    org.x.privileged_startx
    org.postfix.master
    org.ntp.ntpd
    org.cups.cupsd
    com.vix.cron
    com.sharpcast.xfsmond
    com.parallels.desktop.launchdaemon
    com.microsoft.office.licensing.helper
    com.adobe.fpsaud
    Maggies-MacBook-Air:~ maggieair$ launchctl list | sed 1d | awk '!/0x|com\.apple/ {print $3}'
    org.x.startx
    org.openbsd.ssh-agent
    com.parallels.vm.prl_pcproxy
    com.parallels.DesktopControlAgent
    com.parallels.desktop.client.launch
    com.maintain.CocktailSystemEvents
    Maggies-MacBook-Air:~ maggieair$ ls -1A /e*/mach* {,/}L*/{Ad,Compon,Ex,Fram,In,Keyb,La,Mail/Bu,P*P,Priv,Qu,Scripti,Servi,Sta}* L*/Fonts 2> /dev/null
    /Library/Address Book Plug-Ins:
    RCFaxAB.bundle
    /Library/Components:
    /Library/Extensions:
    /Library/Frameworks:
    AEProfiling.framework
    AERegistration.framework
    Adobe AIR.framework
    AquaticPrime.framework
    AudioMixEngine.framework
    HPSmartPrint.framework
    NyxAudioAnalysis.framework
    PluginManager.framework
    RIM_VSP.framework
    RimBlackBerryUSB.framework
    iTunesLibrary.framework
    /Library/Input Methods:
    /Library/Internet Plug-Ins:
    AdobePDFViewer.plugin
    AdobePDFViewerNPAPI.plugin
    Flash Player.plugin
    Quartz Composer.webplugin
    QuickTime Plugin.plugin
    Silverlight.plugin
    flashplayer.xpt
    googletalkbrowserplugin.plugin
    npgtpo3dautoplugin.plugin
    nsIQTScriptablePlugin.xpt
    /Library/Keyboard Layouts:
    /Library/LaunchAgents:
    com.maintain.CocktailPurgeInactiveMemory.plist
    com.maintain.CocktailSystemEvents.plist
    com.parallels.DesktopControlAgent.plist
    com.parallels.desktop.launch.plist
    com.parallels.vm.prl_pcproxy.plist
    /Library/LaunchDaemons:
    com.adobe.fpsaud.plist
    com.apple.remotepairtool.plist
    com.microsoft.office.licensing.helper.plist
    com.parallels.desktop.launchdaemon.plist
    com.sharpcast.xfsmond.plist
    /Library/PreferencePanes:
    Flash Player.prefPane
    JavaControlPanel.prefpane
    NoSleep.prefPane
    /Library/PrivilegedHelperTools:
    Google Drive Icon Helper
    com.bresink.system.securityagent3
    com.microsoft.office.licensing.helper
    /Library/QuickLook:
    ParallelsQL.qlgenerator
    iWork.qlgenerator
    /Library/QuickTime:
    AppleIntermediateCodec.component
    AppleMPEG2Codec.component
    /Library/ScriptingAdditions:
    MTL.osax
    /Library/Services:
    AScrEd • New Script for Frontmost Application.workflow
    AScrEd • Open Application Scripting Dictionary.workflow
    AScrEd • Open Dictionary of Frontmost Application.workflow
    AScrEd • Open with AppleScript Editor.workflow
    Audio • Encode to iTunes Format.workflow
    Browse Movie Library.workflow
    Browse Photo Library.workflow
    Browse iTunes Library.workflow
    Disk Item • Rename Selected Items.workflow
    Disk Item • Set Spotlight Comments.workflow
    Image • Add Metadata to JPEGs.workflow
    Image • Change File Type.workflow
    Image • Import into iPhoto.workflow
    Image • Print Image Files.workflow
    Image • Rotate Clockwise.workflow
    Image • Rotate Counter-Clockwise.workflow
    Launch Terminal.workflow
    PDF • Encrypt File.workflow
    PDF • Set Metadata.workflow
    Terminal • Get Manual for Command.workflow
    Terminal • Insert Current Finder Directory.workflow
    Terminal • Insert Selected Finder Items.workflow
    UNIX • Apply Command to Selected Items.workflow
    UNIX • New Terminal Window to Insertion Location.workflow
    iPhoto • Spotlight Search for Detected People.workflow
    /Library/StartupItems:
    Cocktail
    /etc/mach_init.d:
    /etc/mach_init_per_login_session.d:
    /etc/mach_init_per_user.d:
    Library/Address Book Plug-Ins:
    .DS_Store
    SkypeABDialer.bundle
    SkypeABSMS.bundle
    Library/Fonts:
    Library/Input Methods:
    .localized
    Library/Internet Plug-Ins:
    CitrixOnlineWebDeploymentPlugin.plugin
    Google Earth Web Plug-in.plugin
    WebEx64.plugin
    Library/Keyboard Layouts:
    Library/LaunchAgents:
    com.apple.AddressBook.ScheduledSync.PHXCardDAVSource.7D3946E8-ADA6-4982-87CA-565 69B042BAC.plist
    com.apple.FolderActions.enabled.plist
    com.apple.FolderActions.folders.plist
    com.google.keystone.agent.plist
    com.macpaw.CleanMyMac.volumeWatcher.plist
    Library/Mail/Bundles:
    Library/PreferencePanes:
    .DS_Store
    Archives.prefPane
    Library/Services:
    .DS_Store
    GraphicConverter.service
    Sync with MacDropAny.workflow
    Maggies-MacBook-Air:~ maggieair$ osascript -e 'tell application "System Events" to get the name of every login item'
    NoSleep, iTunesHelper, Caffeine, Dropbox
    Maggies-MacBook-Air:~ maggieair$
    I have removed NoSleep, Caffeine, itunesHelper and Dropbox from login items before and didn't notice any difference, so I put them back. Some of these I know I don't want, like rim/blackberry, adobe AIR. Skype has never worked consistently on this computer. I don't use most of these Services, and I know I had trouble with some that were not compatible with Lion before. I am not using Parallels much now, have been thinking about taking it off as it uses a chunk of my SSD. But I don't feel confident about getting rid of .frameworks etc safely.
    I am glad to remove anything I don't use if I know how to do it safely. I am willing to remove anything I do use if it's necessary, but obviously would prefer to find a way to keep things that I find helpful.
    I appreciate any suggestions!

  • How do you remove deleted apps icons in App Store in purchased area?

    How do you remove deleted apps icons in App Store in purchased area?

    You can't permanently delete any items from your purchase history, but you should be able to hide them from the Purchased tab via your computer's iTunes : http://support.apple.com/kb/HT4919
    If your iPad is on iOS 7 then after hiding them on your computer you may need to log out of your account on your iPad by tapping on your id in Settings > iTunes & App Store and then log back in for them to be hidden from the Purchased tab

  • Remove delete

    can anybody tell me how to remove / delete items from my ipod

    For info on deleting songs or playlists off your iPod, see this:
    Deleting songs or playlists off your iPod
    If you have any additional questions, just post back and ask for what info you need.
    -Kylene

  • Script for removing color definitions

    I'm trying to create a script that will remove color definitions other than the default plus our corporate colors. I'm thinking some kind of "while" loop to go through the doc's color list, matching it to an array of named colors.
    I see that there is a Color object and methods such as Delete(), but it's not coming together for me.
    Any help would be appreciated.

    Finally able to get back to this project.
    Thanks for this snippet which does work great for removing a single "known" color. What I actually need to do is remove all colors except a specified list.
    I've made an attempt (I'm sill relatively new to JS programming), but it only deletes the first instance instead of iterating through all the color definitions:
    doc = app.ActiveDoc   //getting the active doc
    col  = doc.FirstColorInDoc   //getting the first color in doc
    keepColors = new Array ("Black","White","Red","Green","Blue","Cyan","Magenta","Yellow","Dark Grey","Pale Green","Forest Green","Royal Blue","Olive","Salmon","Mauve","Light Salmon","Custom Color");
    while (col.ObjectValid() )  //checking if the color object is valid
        if (col.Name in (keepColors))  //color exists
           break
    else {
    col.Delete()  //delete color
    col = col.NextColorInDoc

  • Re: removing deletion flag

    Hi guru's.
    The material is flag for deletion at client level, but unfortunately its stock is not removed,in one plant now this stock is to be removed from that plant & then marked for deletion, what to do.
    its urgent
    thanks
    tuljasingh.

    I am currently a student at RSU learning SAP and in trying to delete a material that had incorrect data I tried flagging the item for immediate deletion. Well I found out how to fix the standard price and when I went on to create the bill of materials is wouldn't let me because the material was flagged for deletion. After searching for this issue and solution I was able to remove the flag and finish the assignment. Thank you for having this trouble shooting information available to us.
    Marcus

  • Unable to get CommandAgrument value for the Edit Button in Gridview Control, Mean while it works for the Delete Button

    I want to show Edit/Delete Button using Ajax's HoverMenuExtender Control , But I also want to show edited record using ModalPopup Extender Control of AjaxCotrolltoolkit , for this I have used below code
    <asp:GridView ID="GridMainCat" runat="server" Width="100%" AutoGenerateColumns="false" DataKeyNames="CATID" OnRowDataBound="GridMainCat_RowDataBound" OnRowCommand="GridMainCat_RowCommand" OnPageIndexChanging="GridMainCat_PageIndexChanging" OnSelectedIndexChanging="GridMainCat_SelectedIndexChanging" AllowPaging="true" PageSize="10">
    <Columns>
    <asp:TemplateField>
    <HeaderTemplate>
    <table width="100%" border="1" style="color: blue;">
    <tr>
    <td width="20%">Catg Id</td>
    <td width="20%">Catg Name</td>
    <td width="25%">Catg Desc</td>
    <td width="35%">Catg Image</td>
    <%-- <td width="20%">Created Date</td>--%>
    </tr>
    </table>
    </HeaderTemplate>
    <ItemTemplate>
    <asp:Panel ID="panel2" runat="server">
    <table width="100%">
    <tr>
    <td width="20%"><%#Eval("CATID") %></td>
    <td width="20%"><%#Eval("CATNAME") %></td>
    <td width="25%"><%#Eval("CATDESC") %></td>
    <td width="35%"><%#Eval("CATIMAGE") %></td>
    <%-- <td width="20%"><%#Eval("CREATEDADTE") %></td>--%>
    </tr>
    </table>
    </asp:Panel>
    <!-----Panel for displaying the edit and delete options in GridView------>
    <asp:Panel ID="panel1" CssClass="HoverMenu"
    runat="server" Height="50" Width="50"
    HorizontalAlign="Left">
    <div>
    <asp:LinkButton Style="padding: 4px;" ID="lnkDel"
    CommandName="Dlt" runat="server" CausesValidation="false" Text="Delete" CommandArgument='<%#Bind("CATID") %>' OnClientClick="javascript:return('Are you sure, do you want to delete Record??')">
    </asp:LinkButton><br />
    <asp:LinkButton ID="lnkEdit" runat="server" Text="Edit" CausesValidation="false" CommandName="Edt" CommandArgument='<%#Bind("CATID") %>' style="padding: 4px;" ></asp:LinkButton>
    </div>
    </asp:Panel>
    <asp:HoverMenuExtender ID="HoverMenuExtender1" runat="server" TargetControlID="panel2" PopupControlID="panel1" PopupPosition="Left" HoverCssClass="Hover"></asp:HoverMenuExtender>
    </ItemTemplate>
    </asp:TemplateField>
    </Columns>
    </asp:GridView>
    To Show ModalPopup I have used following aspx Code:-
    <asp:Button ID="btnShowPopup" runat="server" Style="display: none" CausesValidation="false" />
    <asp:ModalPopupExtender ID="ModalPopupExtender1" runat="server" TargetControlID="btnShowPopup" PopupControlID="PanelEditMainCategory" CancelControlID="btnUpdate" BackgroundCssClass="modalBackground"></asp:ModalPopupExtender>
    <asp:Panel ID="PanelEditMainCategory" runat="server" CssClass="modalPopup" Style="display: none;">
    <table style="border-width: 3px; border-color: lightseagreen;" border="1" align="center" height="300px">
    <tr>
    <th>
    <table>
    <tr>
    <th align="left">Category Id:</th>
    </tr>
    <tr>
    <th align="left">Category Name:</th>
    </tr>
    <tr>
    <th align="left">Category Description:</th>
    </tr>
    <tr>
    <th align="left">Category Image:</th>
    </tr>
    </table>
    </th>
    <td>
    <table>
    <tr>
    <td align="left">
    <asp:TextBox ID="txtCatID" Text='<%#Eval("CATID") %>' runat="server" Enabled="false"></asp:TextBox>
    </td>
    </tr>
    <tr>
    <td align="left">
    <asp:TextBox ID="txtCatName" Text='<%#Eval("CATNAME") %>' runat="server"></asp:TextBox>
    </td>
    </tr>
    <tr>
    <td align="left">
    <asp:TextBox ID="txtCatDesc" runat="server" Text='<%#Eval("CATDESC") %>' TextMode="MultiLine"></asp:TextBox>
    </td>
    </tr>
    <tr>
    <td align="left">
    <asp:TextBox ID="txtCatImage" runat="server" Text='<%#Eval("CATIMAGE") %>'></asp:TextBox>
    </td>
    </tr>
    </table>
    </td>
    </tr>
    <tr>
    <th align="left" colspan="2">
    <asp:Button ID="btnUpdate" Text="Update" CausesValidation="false" runat="server" OnClick="btnUpdate_Click" />&nbsp;
    <asp:Button ID="btnCancel" Text="Cancel" CausesValidation="false" runat="server" OnClick="btnCancel_Click" />
    </th>
    </tr>
    <tr>
    <th align="left"></th>
    <td align="left"></td>
    </tr>
    </table>
    </asp:Panel>
    Here is my .CS code :-
    protected void GridMainCat_RowCommand(object sender, GridViewCommandEventArgs e)
    catID = e.CommandArgument.ToString();
    if (e.CommandName == "Edt" && e.CommandArgument != null)
    ModalPopupExtender1.Show();
    Bind_Edit_MainCategory(catID);
    if (e.CommandName == "Dlt")
    Bind_Delete_MainCategory(catID);
    private void Bind_Grid_MainCategory()
    using (SqlConnection cn = new SqlConnection(ConfigurationManager.ConnectionStrings["conStr"].ConnectionString))
    using (SqlCommand cmd = new SqlCommand("USP_FETCH_MAINCATEGORY", cn))
    try
    cmd.CommandType = CommandType.StoredProcedure;
    dt = new DataTable();
    da = new SqlDataAdapter(cmd);
    da.Fill(dt);
    GridMainCat.DataSource = dt;
    GridMainCat.DataBind();
    catch (Exception ex)
    throw ex;
    private void Bind_Delete_MainCategory(string catId)
    using (SqlConnection cn = new SqlConnection(ConfigurationManager.ConnectionStrings["conStr"].ConnectionString))
    using (SqlCommand cmd = new SqlCommand("USP_DELETE_MAINCATEGORY", cn))
    try
    cmd.CommandType = CommandType.StoredProcedure;
    cmd.Parameters.AddWithValue("@CATID", catId);
    cn.Open();
    cmd.ExecuteNonQuery();
    Bind_Grid_MainCategory();
    catch (Exception ex)
    throw ex;
    private void Bind_Edit_MainCategory(string catid)
    using (SqlConnection cn = new SqlConnection(ConfigurationManager.ConnectionStrings["conStr"].ConnectionString))
    using (SqlCommand cmd = new SqlCommand("USP_EDIT_MAINCATEGORY", cn))
    try
    cmd.CommandType = CommandType.StoredProcedure;
    cmd.Parameters.AddWithValue("@CATID", catid);
    cn.Open();
    SqlDataReader dr = cmd.ExecuteReader();
    if (dr.Read())
    txtCatID.Text = dr["CATID"].ToString();
    txtCatName.Text = dr["CATNAME"].ToString();
    txtCatDesc.Text = dr["CATDESC"].ToString();
    txtCatImage.Text = dr["CATIMAGE"].ToString();
    //modalPopupExtender1.Show();
    ModalPopupExtender1.Show();
    Bind_Grid_MainCategory();
    catch (Exception ex)
    throw ex;
    it works fine for HoverMenu Extender, and for the delete button as well. When I click on Delete Button It finds CommandArgument value But as I click on Edit Button It does not find CommandArguement value. Kindly help me to fix this problem

    Do you mean it's firing when you click Edit?. I've replicated your code as below and it worked, try to remove the OnRowCommand run a build and then add the it again:
    protected void Page_Load(object sender, EventArgs e)
    BindGridwithDummy();
    protected void GridMainCat_RowCommand(object sender, GridViewCommandEventArgs e)
    string catID = e.CommandArgument.ToString();
    if (e.CommandName == "Edt" && e.CommandArgument != null)
    if (e.CommandName == "Dlt")
    private void BindGridwithDummy()
    DataTable dt = new DataTable();
    DataRow dr;
    dt.Columns.Add(new System.Data.DataColumn("Test", typeof(String)));
    dr = dt.NewRow();
    dr[0] = "A dummy Data"; //Adds the Dummy Data in the Row
    dt.Rows.Add(dr);
    // Show the DataTable values in the GridView
    GridView1.DataSource = dt;
    GridView1.DataBind();
    <asp:GridView ID="GridView1" runat="server" OnRowCommand="GridMainCat_RowCommand">
    <Columns>
    <asp:BoundField DataField="Test" />
    <asp:TemplateField>
    <HeaderTemplate>
    Button</HeaderTemplate>
    <ItemTemplate>
    <asp:LinkButton Style="padding: 4px;" ID="lnkDel" CommandName="Dlt" runat="server"
    CausesValidation="false" Text="Delete" CommandArgument="1" OnClientClick="javascript:return('Are you sure, do you want to delete Record??')"></asp:LinkButton><br />
    <asp:LinkButton ID="lnkEdit" runat="server" Text="Edit" CausesValidation="false"
    CommandName="Edt" CommandArgument="2" Style="padding: 4px;"></asp:LinkButton>
    </ItemTemplate>
    </asp:TemplateField>
    </Columns>
    </asp:GridView>

Maybe you are looking for

  • System Update for OS X 10.5.8

    I have a MacBook Pro that was purchased in 2008 and currently just have OS X 10.5.8. I am trying to get 10.8, but cannot seem to find anything below 10.8.1. I need this to update my iTunes so that I can properly update to the iOS 7 on my phone. Help!

  • Creative Cloud desktop app doesn't show apps/can't update

    Hello, I am trying to update my current Creative Cloud apps, specifically Premiere Pro CC to the latest release. I have installed the Creative Cloud desktop app which launches the Home tab but when I click on the Apps tab I don't get any apps listed.

  • Is my Creative Suite 1.1.1 compatible with windows 8.1?

    I am a retired pastor who has used InDesign to create my sermon outlines for years. I now need to update my computer and will have to use Windows 8.1. Will my old CS 1.1.1 (from 1984) work with Windows 8.1. I cannot possible afford to go to a new ver

  • Bill of Lading Numbering

    I have a question in regards to the bill of lading numbering scheme that other companies are using. Currently, we are using the shipment and the stage numbers as the bill of lading number (i.e. 12345-01, 12345-02, etc.).  This number is what prints o

  • Giving OR Statement in formula evaluates only one condition

    This is the formula I used in the reports record selection. I need to display the records in division number = 9 and division number = 20 and need records where other field top account = true as well in the reports. But it displays only first conditi