Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
D

dotnetcsharpdev

@dotnetcsharpdev
About
Posts
29
Topics
13
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • jquery and asp.net form parameters
    D dotnetcsharpdev

    Hi, I have a webform with many controls. On click of a button a jquery modal window populates with the details of say products of an organisation. in the popup these results are being rendered thru a webservice and bound to a gridview. on selecting any one product I want to transfer all the details back to main form and close the modal. Also if user doesn't want any of the products, user should just close and come back to main page. Till now I have been able to get a jquery modal in button click and have loaded the other aspx form in the modal dialog. I am able to pass hardcoded values but unable to pass selected parameters !! :( Also I cannot return the values back from the aspx loaded in modal back to parent form.

    $(

    function(){

    /* Modal Dialog Box Configuration */
    $(

    "#addproductsForm").dialog({

    autoOpen:

    false,
    modal:

    true,
    overlay: {

    "background-color": "#000",

    "opacity": "0.5",

    "-moz-opacity": "0.5"
    }

    });

    $(

    "#btnAddSession").click(function(event){
    $(

    "#addproductsForm").dialog("open");

    //event.preventDefault();

    return false;
    });

    });

    <

    div id="addproductsForm" title="Dialog Title" >
    <

    iframe src = "WebForm4.aspx?id='jack'&id2='jill'" width="480"></iframe>
    </

    div>

    How do i trap the click event of the gridview checkbox select to send the vales back to the parent window and also close the modal :~

    ASP.NET question csharp javascript asp-net workspace

  • Menu Colour
    D dotnetcsharpdev

    onclick of the link: Network Error (tcp_error) A communication error occurred: "Operation timed out"   The Web Server may be down, too busy, or experiencing other problems preventing it from responding to requests. You may wish to try again at a later time.

    ASP.NET css help tutorial

  • Menu Colour
    D dotnetcsharpdev

    I have an asp menu with 8 menuitems. I also have a multiview with 8 views and On click of MenuItem these views are made visible. Now I want to give a different colour only to each menu tab and not the view. I have a change in colour for selected view in css but dunno how to give seperate colour to each menu tab..    please help

    ASP.NET css help tutorial

  • Death
    D dotnetcsharpdev

    Don't forget to post it back in CP for other CP iet's Reference as a 'Must Have'. :)

    The Lounge html

  • Getting Started With Share Point
    D dotnetcsharpdev

    http://www.microsoft.com/downloads/details.aspx?FamilyId=7BB3A2A3-6A9F-49F4-84E8-FF3FB71046DF&amp;displaylang=en download this tutorial.

    SharePoint csharp

  • getting date less than 3 yr.s old
    D dotnetcsharpdev

    got it   :-D Posting it here if it might help anyone in future !!.. select myDate from myTable where datediff (yyyy,myDate ,getdate()) <= 3

    Database css database help

  • getting date less than 3 yr.s old
    D dotnetcsharpdev

    select myDate from myTable where myDate > datediff(yyyy,now,myDate)=> 3) I want to select date which is greater that   now - 3 years(less than 3 yr.s old) above query gives me following error:- Msg 102, Level 15, State 1, Line 5 Incorrect syntax near '=' :sigh:

    Database css database help

  • Popup with command arguments
    D dotnetcsharpdev

    <pre> <asp:TemplateField ShowHeader="False">                         <itemtemplate>                               <asp:LinkButton id="linkBtnSurrender"   runat="server" Text="Surrender" CommandName="Surrender" onclientclick="confirmation()" value = "Surrender"   CommandArgument='<%#Eval("SOVehicle.SOVehicleId") %>' ></asp:LinkButton>                                                                                  </itemtemplate>                   </asp:TemplateField> </pre> Is it possible to popup in javascript everytime this link button is clicked to confirm surrender yes no? I am using command argument to pass the id of vehicle to be surrendered. the javascript functions pops up but irrespective of yes no the vehicle gets surrendered.

    ASP.NET javascript sysadmin question

  • Popup with command arguments
    D dotnetcsharpdev

    <pre> <asp:TemplateField ShowHeader="False">                         <itemtemplate>                               <asp:LinkButton id="linkBtnSurrender"   runat="server" Text="Surrender" CommandName="Surrender" onclientclick="confirmation()" value = "Surrender"   CommandArgument='<%#Eval("SOVehicle.SOVehicleId") %>' ></asp:LinkButton>                               <%----%>                                                    </itemtemplate>                   </asp:TemplateField> </pre> Is it possible to popup in javascript everytime this link button is clicked to confirm surrender yes no? I am using command argument to pass the id of vehicle to be surrendered. the javascript functions pops up but irrespective of yes no the vehicle gets surrendered.

    ASP.NET javascript sysadmin question

  • passing session details from user control
    D dotnetcsharpdev

    he he he!! sorry mayb i was not clear in my question. The thing is i was handling the UC [which had a grid with links]events and not UC Clicked event and that has limitations but i got a workaround. Many thanks.

    ASP.NET winforms help tutorial announcement

  • passing session details from user control
    D dotnetcsharpdev

    the session values pass across all pages . The problem is on this page I have a user control which is a grid with links. when i click on these links i am passed to other pages with different values for different links of the grid. but the next page gets only those values which are set in the first page where UC is embedded I need to change values in UC.

    ASP.NET winforms help tutorial announcement

  • passing session details from user control
    D dotnetcsharpdev

    I have a page which has 4 user controls on it. The problem is : I have a link on this user control and when clicked goes to other page but I dunno how to pass the session variable to the other page from this page containing that uc. The other page always gets the same values as the session variable doesn't update when user control is clicked for different values.

    ASP.NET winforms help tutorial announcement

  • client side script for server control
    D dotnetcsharpdev

    Thanx v much.. it worked.. :-D

    ASP.NET javascript sysadmin tools question

  • client side script for server control
    D dotnetcsharpdev

    thanx all. I tried it but getting an error can anyone help <pre> <asp:TemplateField ShowHeader="False">                         <itemtemplate>                               <asp:LinkButton id="linkBtnSurrender" runat="server" Text="Surrender" CommandName="Surrender" CommandArgument='<%#Eval("SOVehicle.SOVehicleId") %>'   onclick="confirmation()" value = "Surrender"></asp:LinkButton>                         </itemtemplate>                   </asp:TemplateField> </pre> getting this error :doh: CS0117: 'ASP.usercontrols_sovehiclepodcontrol_ascx' does not contain a definition for 'confirmation'

    ASP.NET javascript sysadmin tools question

  • client side script for server control
    D dotnetcsharpdev

    need to have a popup window asking user for yes and no when he selects delete if he says yes i go ahead and delete otherwise i return back to screen and   do other things. Can I write a javascript method and call it in onclick of my delete button? will it work? not sure as delete linkbutton runat="server".

    ASP.NET javascript sysadmin tools question

  • client side validation for server control
    D dotnetcsharpdev

    I need to have a popup window asking user for yes and no when he selects delete if he says yes i go ahead and delete otherwise i return back to screen and   do other things. Can I write a javascript method and call it in onclick of my delete button? will it work? not sure as delete linkbutton runat="server".

    C# javascript sysadmin question

  • CHECKING NULL VALUES
    D dotnetcsharpdev

    Well replies not reqd. I've got the query: pasting it here incase helps someone in future: <pre> BEGIN      OPEN SYMMETRIC KEY PasswordFieldSymmetricKey      DECRYPTION BY CERTIFICATE PasswordFieldCertificate; SELECT COUNT(ApplicantID) FROM APPLICANT WHERE IsNull (CONVERT(DATETIME, DecryptByKey(DOB), GETDATE()),'01/01/01')= '01/01/01' END </pre>

    Database database help

  • regarding foreignkey data
    D dotnetcsharpdev

    If itz in a form, u can trap the error number and popup a window with the message. Use "Try Catch" and popup window in Catch

    Database help

  • regarding foreignkey data
    D dotnetcsharpdev

    U can enter only enter those values in table2(Rank) which are present in Primary Key. This is the fundamental of having a foreign key. If you want to add values other than those in primary key remove the constraint.

    Database help

  • CHECKING NULL VALUES
    D dotnetcsharpdev

    HI, I WANT TO GET A COUNT OF ALL THE VALUES FOR A COLUMN AS NULL IN A STORED PROCEDURE. CAN U HELP PLZ.

    Database database help
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups