[CLOSED] DirectEvent Parameters (Multiple)

  1. #1

    [CLOSED] DirectEvent Parameters (Multiple)

    Hello,

    Would it be possible to introduce some logic to allow DirectEvent parameters to evaluate arrays or collections to send multiple values? Would be extremely helpful in ASP.NET MVC as doing the following is getting annoying:

    					<DirectEvents>
    						<Click
    							Buffer="300"
    							CleanRequest="true"
    							Url="/Example/Example">
    							<ExtraParams>
    								<ext:Parameter Name="Parameter1" Value="Ext.pluck(Store.getRange(), 'id').join()" Mode="Raw" />
    							</ExtraParams>
    						</Click>
    					</DirectEvents>
    public ActionResult Example(string parameter1)
    {
    	string[] values = parameter1.Split(',');
    
    	...
    }
    Thoughts? I can think of few scenarios where it would be helpful.

    Cheers,
    Timothy
    Last edited by geoffrey.mcgill; Sep 09, 2010 at 9:46 PM. Reason: [CLOSED]
  2. #2
    Hi,

    Can you provide more details? What exactly do you need? You can pass arrays if set Encode="true" for the parameter (on the server side that array will be represented as string)

    I think you posted code should works fine, isn't it? Can you provide mockup code of desired functionality?
    Vladimir Shcheglov
    Sr. Developer
  3. #3
    Please close -- this was a misunderstanding on my part.

    Cheers

Similar Threads

  1. [CLOSED] DirectEvent return parameters?
    By vadym.f in forum 1.x Premium Help
    Replies: 2
    Last Post: Jul 13, 2012, 8:49 PM
  2. Replies: 1
    Last Post: Jun 09, 2011, 8:04 PM
  3. [CLOSED] Multiple Editors - Multiple Instances?
    By jwf in forum 1.x Premium Help
    Replies: 5
    Last Post: Jun 09, 2011, 6:45 PM
  4. Replies: 14
    Last Post: Jun 09, 2011, 5:37 AM
  5. Replies: 1
    Last Post: May 31, 2011, 11:29 AM

Posting Permissions