Sending querysrting arguments to dialogs

Last post 08-10-2009, 4:18 PM by BruceWMorgan. 2 replies.
Sort Posts: Previous Next
  •  07-27-2009, 8:54 PM 54320

    Sending querysrting arguments to dialogs

    I would like to be able to send querystring arguments to the dialogs for use in deciding how to configure the forms when they open.  For example, when a user opens the InsertImage.aspx dialog, I would like to be able to send a querystring to the dialog indicating the context from which the user is launching the dialog.  The user could be in one of several different locations in the web application, and each has its own requirements for how the InsertImage.aspx should be display.  Session variables won't work because the user could be on multiple pages simultaneously.  "HTTP_REFERER" is partially successful, but we lose the reference when the dialog goes through a postback.  Saving the original HTTP_REFERER in the form somehow might work, but the code quickly becomes inelegant and limits us to a single context from a particular page when we need a context by button.
     
     
    Thanks,
     
    Bruce
  •  07-28-2009, 1:33 PM 54344 in reply to 54320

    Re: Sending querysrting arguments to dialogs

    Bruce,
    Please use DNN_Arg.
     
    <CE:Editor id="Editor1" DNN_Arg="Size=111" runat="server"></CE:Editor>

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  08-10-2009, 4:18 PM 54622 in reply to 54344

    Re: Sending querysrting arguments to dialogs

    Sorry for not getting around to this until now, Adam.  That looks like it will work just right.  Thanks!
View as RSS news feed in XML